Simplify sendmmsg code.
[glibc.git] / ChangeLog
blob5387b1949be8db8c2c2129fef7ddc172320f1cf8
1 2017-05-09  Joseph Myers  <joseph@codesourcery.com>
3         * sysdeps/unix/sysv/linux/kernel-features.h
4         (__ASSUME_SENDMMSG_SYSCALL): Define unconditionally.
5         (__ASSUME_SENDMMSG): Likewise.
6         (__ASSUME_SENDMMSG_SOCKETCALL): Remove macro.
7         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Define using
8         sendmmsg syscall if that can be assumed to be present, socketcall
9         otherwise, with no fallback for runtime failure.
11         * sysdeps/unix/sysv/linux/kernel-features.h
12         (__ASSUME_RECVMMSG_SYSCALL): Define unconditionally.
13         (__ASSUME_RECVMMSG_SOCKETCALL): Remove macro.
14         (__ASSUME_RECVMMSG): Likewise.
15         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Define using
16         recvmmsg syscall if it can be assumed to be present, socketcall
17         otherwise, with no fallback for runtime failure.
19 2017-05-09  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
20             Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
22         * bits/libc-header-start.h:
23         (__GLIBC_USE_IEC_60559_TYPES_EXT): New macro.
24         * include/features.h: Describe __STDC_WANT_IEC_60559_TYPES_EXT__.
25         * manual/creature.texi: Likewise.
27 2017-05-09  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
28             Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
30         * math/Makefile:
31         (type-float128-suffix): New variable
32         (type-float128-routines): Likewise
33         (type-float128-yes): Likewise
34         (types): Append float128 if supported
35         (types-basic): New variable to control the use of templates for
36         float, double, and long double, but not for float128 or newer types.
37         (type-basic-foreach): Likewise.
39         * sysdeps/ieee754/float128/Makeconfig: New file.
40         * sysdeps/ieee754/float128/Versions: New file.
42 2017-05-09  Joseph Myers  <joseph@codesourcery.com>
44         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PRLIMIT64):
45         Remove macro.
46         * sysdeps/unix/sysv/linux/getrlimit64.c (__getrlimit64): Assume
47         prlimit64 is always available and does not give an ENOSYS error.
48         * sysdeps/unix/sysv/linux/prlimit.c [__NR_prlimit64]: Make code
49         unconditional.
50         [!__NR_prlimit64]: Remove conditional code.
51         * sysdeps/unix/sysv/linux/setrlimit.c (__setrlimit): Assume
52         prlimit64 is always available and does not give an ENOSYS error.
53         * sysdeps/unix/sysv/linux/setrlimit64.c (__setrlimit64): Likewise.
55 2017-05-09  Zack Weinberg  <zackw@panix.com>
57         * sunrpc/tst-xdrmem2.c: Include stdint.h.
59 2017-05-09  Florian Weimer  <fweimer@redhat.com>
61         [BZ #21474]
62         * resolv/res_libc.c (res_init): Use RES_DFLRETRY.
63         (__res_maybe_init): Likewise.
65 2017-05-09  Zack Weinberg  <zackw@panix.com>
67         * extra-modules.mk: Delete file.
68         * cppflags-iterator.mk: Rename to ...
69         * libof-iterator.mk: ...this.  Adjust comments.
71         * Makerules, extra-lib.mk, benchtests/Makefile, elf/Makefile
72         * elf/rtld-Rules, iconv/Makefile, locale/Makefile, malloc/Makefile
73         * nscd/Makefile, sunrpc/Makefile, sysdeps/s390/Makefile:
74         Use libof-iterator.mk instead of cppflags-iterator.mk or
75         extra-modules.mk.
77         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Remove
78         extra-modules.mk and cppflags-iterator.mk, add libof-iterator.mk.
80 2017-05-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
82         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
84 2017-05-08  Carlos O'Donell  <carlos@redhat.com>
86         * stdio-common/vfprintf.c (EXTSIZ): Define.
87         (vfprintf): Use EXTSIZ.
88         (printf_positional): Likewise.
90 2017-05-08  Joseph Myers  <joseph@codesourcery.com>
92         * sysdeps/unix/sysv/linux/kernel-features.h
93         (__ASSUME_PROC_PID_TASK_COMM): Remove macro.
94         * sysdeps/unix/sysv/linux/tst-setgetname.c: Do not include
95         <kernel-features.h>.
96         (do_test) [!__ASSUME_PROC_PID_TASK_COMM]: Remove conditional code.
98         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h
99         (__ASSUME_GETCPU_SYSCALL): Remove macro.
101 2017-05-08  Florian Weimer  <fweimer@redhat.com>
103         Prevent multiple deletion of temporary files.
104         * support/temp_file.c (struct temp_name_list): Add owner member.
105         (add_temp_file): Record owner.
106         (support_delete_temp_files): Delete file only if owner matches.
107         * posix/tst-exec.c (temp_fd1, temp_fd2): Define.
108         (do_prepare): Use create_temp_file instead of add_temp_file.
109         Initialize temp_fd1, temp_fd2.
110         (do_test): Use global temp_fd1, temp_fd2 variables.  Let the test
111         framework remove the temporary files.
112         * posix/tst-exec.c (temp_fd1, temp_fd2, temp_fd3): Define.
113         (do_prepare): Use create_temp_file instead of add_temp_file.
114         Initialize temp_fd1, temp_fd2, temp_fd3.
115         (do_test): Use global temp_fd1, temp_fd2, temp_fd3 variables.  Let
116         the test framework remove the temporary files.
117         * posix/tst-vfork3.c (do_prepare): Adjust for LIFO order of file
118         deletion.
119         * posix/tst-pathconf.c (do_test): Do not call rmdir on the
120         temporary directory.  It is removed by the test framework.
121         * dirent/tst-scandir.c (do_test): Likewise.
123 2017-05-08  Florian Weimer  <fweimer@redhat.com>
125         Delete temporary files in LIFO order.
126         * support/temp_file.c (struct temp_name_list): Replace q member
127         with next.
128         (add_temp_file): Add new file to front of linked list.
129         (support_delete_temp_files): Use next member.
130         (support_print_temp_files): Likewise.
132 2017-05-08  Florian Weimer  <fweimer@redhat.com>
134         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
135         sys/ultrasound.h.
136         * sysdeps/unix/sysv/linux/sys/ultrasound.h: Remove file.
138 2017-05-08  Joseph Myers  <joseph@codesourcery.com>
140         * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel):
141         Remove.
142         * sysdeps/unix/sysv/linux/i386/configure: Regenerated.
143         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac
144         (arch_minimum_kernel): Remove.
145         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated.
146         * README: Update statement about Linux kernel requirements.
148 2017-05-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
150         * manual/llio.texi: Add preadv and pwritev documentation.
152 2017-05-04  Joseph Myers  <joseph@codesourcery.com>
154         [BZ #21455]
155         * bits/stdint-intn.h: New file.
156         * bits/stdint-uintn.h: Likewise.
157         * stdlib/Makefile (headers): Add bits/stdint-intn.h and
158         bits/stdint-uintn.h.
159         * inet/netinet/in.h: Include <bits/stdint-uintn.h> instead of
160         <stdint.h>.
161         * posix/sys/types.h: Include <bits/stdint-intn.h>.
162         (__int8_t_defined): Do not define here.
163         (int8_t): Likewise.
164         (int16_t): Likewise.
165         (int32_t): Likewise.
166         (int64_t): Likewise.
167         [__GNUC_PREREQ (2, 7)] (__intN_t): Likewise.
168         * resolv/netdb.h: Include <bits/stdint-uintn.h> instead of
169         <stdint.h>.
170         * include/netdb.h [_ISOMAC]: Do not include <stdint.h>.
171         * sysdeps/generic/stdint.h: Include <bits/stdint-intn.h> and
172         <bits/stdint-uintn.h>.
173         (int8_t): Do not define here.
174         (int16_t): Likewise.
175         (int32_t): Likewise.
176         (int64_t): Likewise.
177         (uint8_t): Likewise.
178         (uint16_t): Likewise.
179         (uint32_t): Likewise.
180         (uint64_t): Likewise.
181         * conform/Makefile (test-xfail-XPG42/arpa/inet.h/conform): Remove
182         variable.
183         (test-xfail-XPG42/netdb.h/conform): Likewise.
184         (test-xfail-XPG42/netinet/in.h/conform): Likewise.
185         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
186         (test-xfail-UNIX98/netdb.h/conform): Likewise.
187         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
189 2017-05-04  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
191         * sysdeps/generic/math_private.h (mathx_hidden_def): New macro.
192         * sysdeps/ieee754/ldbl-128/s_finitel.c: Replace hidden_def with
193         the above.
194         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
195         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
197 2017-05-04  Joseph Myers  <joseph@codesourcery.com>
199         [BZ #21445]
200         * signal/signal.h [__USE_XOPEN2K8] (bsd_signal): Do not declare.
202         [BZ #21457]
203         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h
204         [_MIPS_SIM != _ABIO32] (mcontext_t): Rename field reserved to
205         __glibc_reserved1.
206         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h
207         (struct _fpx_sw_bytes): Rename field padding to __glibc_reserved1.
208         (struct _fpxreg): Likewise.
209         [!__x86_64__] (struct _fpstate): Rename field reserved to
210         __glibc_reserved1.  Rename field padding to __glibc_reserved2.
211         [__x86_64__] (struct _fpstate): Rename field padding to
212         __glibc_reserved1.
213         (struct _xsave_hdr): Rename field reserved1 to __glibc_reserved1.
214         Rename field reserved2 to __glibc_reserved2.
215         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h
216         [__x86_64__] (struct _libc_fpxreg): Rename field padding to
217         __glibc_reserved1.
218         [__x86_64__] (struct _libc_fpstate): Rename field padding to
219         __glibc_reserved1.
221 2017-05-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
223         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Correct hwcap
224         variable name.
226 2017-05-03  H.J. Lu  <hongjiu.lu@intel.com>
228         [BZ #21391]
229         * sysdeps/i386/dl-machine.h (dl_platform_init) [IS_IN (rtld)]:
230         Only call init_cpu_features.
231         [!IS_IN (rtld)]: Only set GLRO(dl_platform) to NULL if needed.
232         * sysdeps/x86_64/dl-machine.h (dl_platform_init): Likewise.
233         * sysdeps/i386/dl-procinfo.h: Removed.
234         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Don't include
235         <sysdeps/i386/dl-procinfo.h> nor <ldsodefs.h>.  Include
236         <sysdeps/x86/dl-procinfo.h>.
237         (_dl_procinfo): Replace _DL_HWCAP_COUNT with 32.
238         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h [!IS_IN (ldconfig)]:
239         Include <sysdeps/x86/dl-procinfo.h> instead of
240          <sysdeps/generic/dl-procinfo.h>.
241         * sysdeps/x86/cpu-features.c: Include <dl-hwcap.h>.
242         (init_cpu_features): Set dl_platform, dl_hwcap and dl_hwcap_mask.
243         * sysdeps/x86/cpu-features.h (bit_cpu_LZCNT): New.
244         (bit_cpu_MOVBE): Likewise.
245         (bit_cpu_BMI1): Likewise.
246         (bit_cpu_BMI2): Likewise.
247         (index_cpu_BMI1): Likewise.
248         (index_cpu_BMI2): Likewise.
249         (index_cpu_LZCNT): Likewise.
250         (index_cpu_MOVBE): Likewise.
251         (index_cpu_POPCNT): Likewise.
252         (reg_BMI1): Likewise.
253         (reg_BMI2): Likewise.
254         (reg_LZCNT): Likewise.
255         (reg_MOVBE): Likewise.
256         (reg_POPCNT): Likewise.
257         * sysdeps/x86/dl-hwcap.h: New file.
258         * sysdeps/x86/dl-procinfo.h: Likewise.
259         * sysdeps/x86/dl-procinfo.c (_dl_x86_hwcap_flags): New.
260         (_dl_x86_platforms): Likewise.
262 2017-05-03  DJ Delorie  <dj@redhat.com>
264         [BZ #21411]
265         * malloc/malloc.c: Tweak realloc/MREMAP comment to be more accurate.
267 2017-05-03  Phil Blundell  <pb@pbcl.net>
269         * inet/netinet/in.h (struct ip_mreq_source): Correct misplaced
270         comments.
272 2017-05-03  Carlos O'Donell  <carlos@redhat.com>
274         [BZ #20116]
275         * nptl/pthread_create.c: Expand comments to describe
276         semaphore-like and mutex-like uses of PD->lock.
278 2017-04-03  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
280         * sysdeps/unix/sysv/linux/epoll_wait.c: New file.
281         * sysdeps/unix/sysv/linux/generic/epoll_wait.c: Remove file.
282         * sysdeps/unix/sysv/linux/syscalls.list: Remove epoll_wait from
283         auto-generation list.
284         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add
285         epoll_wait.
286         * sysdeps/unix/sysv/linux/generic/Makefile (sysdep_routines):
287         Remove epoll_wait.
289         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdep_routines): Add
290         osf_select.
291         * sysdeps/unix/sysv/linux/alpha/select.c: New file.
292         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove select and
293         osf_select from auto-generation list.
294         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
295         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
296         * sysdeps/unix/sysv/linux/generic/select.c: Remove file.
297         * sysdeps/unix/sysv/linux/select.c: New file.
299         * sysdeps/unix/sysv/linux/generic/poll.c: Remove file.
300         * sysdeps/unix/sysv/linux/poll.c: New file.
301         * sysdeps/unix/sysv/linux/syscalls.list: Remove poll from
302         auto-generation list.
304 2017-05-03  Joseph Myers  <joseph@codesourcery.com>
306         * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_ASIMDRDM):
307         New macro.
309 2017-05-02  Vladimir Mezentsev <vladimir.mezentsev@oracle.com>
311         [BZ #21179]
312         * sysdeps/sparc/sparc64/dl-machine.h: Handle R_SPARC_DISP64 and
313         R_SPARC_REGISTER relocations.
315 2017-05-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
317         * include/unistd.h (__pread): Add libc_hidden_proto.
318         (__pread64): Likewise.
319         (__pwrite): Likewise.
320         * sysdeps/unix/sysv/linux/microblaze/localplt.data [libc.so]
321         (__pread64): Remove.
322         * sysdeps/unix/sysv/linux/pread.c (__pread64): Add libc_hidden_weak.
323         * sysdeps/unix/sysv/linux/pread64.c (__pread64): Likewise.
324         * sysdeps/unix/sysv/linux/pwrite.c (__pwrite): Likewise.
326 2017-05-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
328         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
330 2017-04-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
332         * nptl/tst-cancel4-common.c: Use libsupport.
333         * nptl/tst-cancel4-common.h: Likewise.
334         * nptl/tst-cancel4.c (tf_read): Likewise.
335         (tf_readv): Likewise.
336         (tf_write): Likewise.
337         (tf_writev): Likewise.
338         (tf_sleep): Likewise.
339         (tf_usleep): Likewise.
340         (tf_nanosleep): Likewise.
341         (tf_select): Likewise.
342         (tf_pselect): Likewise.
343         (tf_poll): Likewise.
344         (tf_ppoll): Likewise.
345         (tf_wait): Likewise.
346         (tf_waitpid): Likewise.
347         (tf_waitid): Likewise.
348         (tf_sigpause): Likewise.
349         (tf_sigsuspend): Likewise.
350         (tf_sigwait): Likewise.
351         (tf_sigwaitinfo): Likewise.
352         (tf_sigtimedwait): Likewise.
353         (tf_pause): Likewise.
354         (tf_accept): Likewise.
355         (tf_send): Likewise.
356         (tf_recv): Likewise.
357         (tf_recvfrom): Likewise.
358         (tf_recvmsg): Likewise.
359         (tf_open): Likewise.
360         (tf_close): Likewise.
361         (tf_pread): Likewise.
362         (tf_pwrite): Likewise.
363         (tf_preadv): Likewise.
364         (tf_pwritev): Likewise.
365         (tf_fsync): Likewise.
366         (tf_fdatasync): Likewise.
367         (tf_msync): Likewise.
368         (tf_sendto): Likewise.
369         (tf_sendmsg): Likewise.
370         (tf_creat): Likewise.
371         (tf_connect): Likewise.
372         (tf_tcdrain): Likewise.
373         (tf_msgrcv): Likewise.
374         (tf_msgsnd): Likewise.
375         * nptl/tst-cancel4_1.c (tf_sendmmsg): Likewise.
376         * nptl/tst-cancel4_2.c (tf_recvmmsg): Likewise.
378         * misc/tst-preadvwritev-common.c (do_prepare): Use libsupport
379         expected arguments.
380         (do_test): Adapt to use libsupport.
382 2017-05-01  Joseph Myers  <joseph@codesourcery.com>
384         * sysdeps/gnu/netinet/tcp.h (TCP_FASTOPEN_CONNECT): New macro.
386         * sysdeps/unix/sysv/linux/bits/socket.h (PF_SMC): New macro.
387         (PF_MAX): Set to 44.
388         (AF_SMC): New macro.
390         * scripts/build-many-glibcs.py (Context.checkout): Default Linux
391         kernel version to 4.11.
393 2017-04-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
395         [BZ #21280]
396         * sysdeps/powerpc/power7/fpu/s_logbl.c (__logbl): Ignore the
397         signal of subnormals and adjust the exponent of power of 2 down
398         when low part has opposite sign.
400 2017-04-28  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
402         * sysdeps/powerpc/powerpc64le/Implies: New file.
403         * sysdeps/powerpc/powerpc64le/fpu/Implies: New file.
404         * sysdeps/powerpc/powerpc64le/fpu/multiarch/Implies: New file.
405         * sysdeps/powerpc/powerpc64le/multiarch/Implies: New file.
406         * sysdeps/powerpc/powerpc64le/power7/Implies: New file.
407         * sysdeps/powerpc/powerpc64le/power7/fpu/Implies: New file.
408         * sysdeps/powerpc/powerpc64le/power7/fpu/multiarch/Implies: New file.
409         * sysdeps/powerpc/powerpc64le/power7/multiarch/Implies: New file.
410         * sysdeps/powerpc/powerpc64le/power8/Implies: New file.
411         * sysdeps/powerpc/powerpc64le/power8/fpu/Implies: New file.
412         * sysdeps/powerpc/powerpc64le/power8/fpu/multiarch/Implies: New file.
413         * sysdeps/powerpc/powerpc64le/power8/multiarch/Implies: New file.
414         * sysdeps/powerpc/powerpc64le/power9/Implies: New file.
415         * sysdeps/powerpc/powerpc64le/power9/fpu/Implies: New file.
416         * sysdeps/powerpc/powerpc64le/power9/fpu/multiarch/Implies: New file.
417         * sysdeps/powerpc/powerpc64le/power9/multiarch/Implies: New file.
418         * sysdeps/powerpc/preconfigure: New file.
419         * sysdeps/unix/sysv/linux/powerpc/powerpc64le/Implies: New file.
420         * sysdeps/unix/sysv/linux/powerpc/powerpc64le/fpu/Implies: New file.
422 2017-04-28  Joseph Myers  <joseph@codesourcery.com>
424         * conform/data/semaphore.h-data [XOPEN2K] (time.h): Allow header
425         inclusion.
426         * conform/Makefile (test-xfail-XOPEN2K/semaphore.h/conform):
427         Remove.
429 2017-04-27  Joseph Myers  <joseph@codesourcery.com>
431         * conform/GlibcConform.pm (XPG4): Rename standard to XPG42.
432         (XPG3): Rename standard to XPG4.
433         * conform/Makefile: Likewise.
434         * conform/list-header-symbols.pl: Likewise.
435         * conform/data/aio.h-data: Likewise.
436         * conform/data/arpa/inet.h-data: Likewise.
437         * conform/data/complex.h-data: Likewise.
438         * conform/data/ctype.h-data: Likewise.
439         * conform/data/dlfcn.h-data: Likewise.
440         * conform/data/fcntl.h-data: Likewise.
441         * conform/data/fenv.h-data: Likewise.
442         * conform/data/float.h-data: Likewise.
443         * conform/data/fmtmsg.h-data: Likewise.
444         * conform/data/ftw.h-data: Likewise.
445         * conform/data/grp.h-data: Likewise.
446         * conform/data/inttypes.h-data: Likewise.
447         * conform/data/iso646.h-data: Likewise.
448         * conform/data/langinfo.h-data: Likewise.
449         * conform/data/libgen.h-data: Likewise.
450         * conform/data/limits.h-data: Likewise.
451         * conform/data/locale.h-data: Likewise.
452         * conform/data/math.h-data: Likewise.
453         * conform/data/mqueue.h-data: Likewise.
454         * conform/data/ndbm.h-data: Likewise.
455         * conform/data/net/if.h-data: Likewise.
456         * conform/data/netdb.h-data: Likewise.
457         * conform/data/netinet/in.h-data: Likewise.
458         * conform/data/poll.h-data: Likewise.
459         * conform/data/pthread.h-data: Likewise.
460         * conform/data/pwd.h-data: Likewise.
461         * conform/data/sched.h-data: Likewise.
462         * conform/data/search.h-data: Likewise.
463         * conform/data/semaphore.h-data: Likewise.
464         * conform/data/signal.h-data: Likewise.
465         * conform/data/spawn.h-data: Likewise.
466         * conform/data/stdbool.h-data: Likewise.
467         * conform/data/stdint.h-data: Likewise.
468         * conform/data/stdio.h-data: Likewise.
469         * conform/data/stdlib.h-data: Likewise.
470         * conform/data/string.h-data: Likewise.
471         * conform/data/strings.h-data: Likewise.
472         * conform/data/stropts.h-data: Likewise.
473         * conform/data/sys/mman.h-data: Likewise.
474         * conform/data/sys/resource.h-data: Likewise.
475         * conform/data/sys/select.h-data: Likewise.
476         * conform/data/sys/socket.h-data: Likewise.
477         * conform/data/sys/stat.h-data: Likewise.
478         * conform/data/sys/statvfs.h-data: Likewise.
479         * conform/data/sys/time.h-data: Likewise.
480         * conform/data/sys/timeb.h-data: Likewise.
481         * conform/data/sys/types.h-data: Likewise.
482         * conform/data/sys/uio.h-data: Likewise.
483         * conform/data/sys/un.h-data: Likewise.
484         * conform/data/sys/wait.h-data: Likewise.
485         * conform/data/syslog.h-data: Likewise.
486         * conform/data/termios.h-data: Likewise.
487         * conform/data/tgmath.h-data: Likewise.
488         * conform/data/time.h-data: Likewise.
489         * conform/data/ucontext.h-data: Likewise.
490         * conform/data/unistd.h-data: Likewise.
491         * conform/data/utmpx.h-data: Likewise.
492         * conform/data/varargs.h-data: Likewise.
493         * conform/data/wchar.h-data: Likewise.
494         * conform/data/wctype.h-data: Likewise.
496 2017-04-26  Joseph Myers  <joseph@codesourcery.com>
498         * scripts/build-many-glibcs.py (Context.checkout): Default gcc
499         version to 7 branch.
501 2017-04-25  Uros Bizjak  <ubizjak@gmail.com>
503         * sysdeps/alpha/fpu/math_private.h (__ieee754_sqrt): Add
504         earlyclobber to output operand of sqrt insn.
505         (__ieee754_sqrtf): Ditto.
507 2017-04-25  Joseph Myers  <joseph@codesourcery.com>
509         [BZ #21426]
510         * misc/bits/types/struct_iovec.h: New file.
511         * misc/Makefile (headers): Add bits/types/struct_iovec.h.
512         * include/bits/types/struct_iovec.h: New file.
513         * bits/uio.h (struct iovec): Replace by inclusion of
514         <bits/types/struct_iovec.h>.
515         * sysdeps/unix/sysv/linux/bits/uio.h (struct iovec): Likewise.
516         * socket/sys/socket.h: Include <bits/types/struct_iovec.h> instead
517         of <sys/uio.h>.
518         * nptl/tst-cancel4.c: Include <sys/uio.h>
519         * posix/test-errno.c: Likewise.
520         * support/resolv_test.c: Likewise.
521         * conform/Makefile (test-xfail-POSIX2008/arpa/inet.h/conform):
522         Remove.
523         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
524         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
525         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
527         * conform/data/sys/socket.h-data (*_t): Allow.
529 2017-04-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
531         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Remove ununsed
532         assignment.
534 2017-04-24  Daurnimator  <quae@daurnimator.com>
535             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
537         [BZ #21340]
538         * posix/Makefile (tests): Add tst-posix_spawn-setsid to list of tests.
539         * posix/spawn.h: define POSIX_SPAWN_SETSID flag.
540         * posix/spawnattr_setflags.c (ALL_FLAGS): Add POSIX_SPAWN_SETSID to
541         valid flags.
542         * posix/tst-posix_spawn-setsid.c: Add test for POSIX_SPAWN_SETSID.
543         * sysdeps/mach/hurd/spawni.c (__spawni): Implementation of
544         POSIX_SPAWN_SETSID.
545         * sysdeps/posix/spawni.c (__spawni): Likewise.
546         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
547         * NEWS: Add note about POSIX_SPAWN_SETSID support.
549 2017-04-24  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
551         * sysdeps/generic/math_private.h: Move the declaration of many
552         functions to sysdeps/generic/math_private_calls.h.
553         * sysdeps/generic/math_private_calls.h: New file with the
554         declarations of the functions removed from math_private.h
555         macroized by floating-point type.
557 2017-04-21  Stefan Liebler  <stli@linux.vnet.ibm.com>
559         * sysdeps/s390/multiarch/utf8-utf32-z9.c: New File.
560         * sysdeps/s390/utf8-utf32-z9.c: Move ifunc resolvers to multiarch
561         folder and define ifunc versions depending on HAVE_[FROM|TO]_[C|CU|VX].
562         (HAVE_FROM_C, HAVE_FROM_CU, HAVE_FROM_VX, HAVE_TO_C, HAVE_TO_VX,
563         FROM_LOOP_DEFAULT, FROM_LOOP_C, FROM_LOOP_CU, FROM_LOOP_VX,
564         TO_LOOP_DEFAULT, TO_LOOP_C, TO_LOOP_VX): New Define.
566 2017-04-21  Stefan Liebler  <stli@linux.vnet.ibm.com>
568         * sysdeps/s390/multiarch/utf16-utf32-z9.c: New File.
569         * sysdeps/s390/utf16-utf32-z9.c: Move ifunc resolvers to multiarch
570         folder and define ifunc versions depending on HAVE_[FROM|TO]_[C|VX].
571         (HAVE_FROM_C, HAVE_FROM_VX, HAVE_TO_C, HAVE_TO_VX, FROM_LOOP_DEFAULT,
572         FROM_LOOP_C, FROM_LOOP_VX, TO_LOOP_DEFAULT, TO_LOOP_C, TO_LOOP_VX):
573         New Define.
575 2017-04-21  Stefan Liebler  <stli@linux.vnet.ibm.com>
577         * sysdeps/s390/multiarch/utf8-utf16-z9.c: New File.
578         * sysdeps/s390/utf8-utf16-z9.c: Move ifunc resolvers to multiarch
579         folder and define ifunc versions depending on HAVE_[FROM|TO]_[C|CU|VX].
580         (HAVE_FROM_C, HAVE_FROM_CU, HAVE_FROM_VX, HAVE_TO_C, HAVE_TO_VX,
581         FROM_LOOP_DEFAULT, FROM_LOOP_C, FROM_LOOP_CU, FROM_LOOP_VX,
582         TO_LOOP_DEFAULT, TO_LOOP_C, TO_LOOP_VX): New Define.
584 2017-04-21  Stefan Liebler  <stli@linux.vnet.ibm.com>
586         * sysdeps/s390/multiarch/ifunc-resolve.h
587         (s390_libc_ifunc_expr_init, s390_libc_ifunc_expr): New Define.
588         * sysdeps/s390/multiarch/8bit-generic.c
589         (__to_generic, __from_generic): Use s390_libc_ifunc_expr to
590         define ifunc resolvers.
592 2017-04-21  Florian Weimer  <fweimer@redhat.com>
594         [BZ #20424]
595         * manual/memory.texi (Replacing malloc): New section.
596         (Allocating Storage For Program Data): Reference it.
597         (The GNU Allocator): Likewise.
599 2017-04-20  Joseph Myers  <joseph@codesourcery.com>
601         * stdlib/Versions (__strtod_internal): List explicitly, not as
602         wildcard.
603         (__strtof_internal): Likewise.
604         (__strtold_internal): Likewise.
605         (__strtol_internal): Likewise.
606         (__strtoll_internal): Likewise.
607         (__strtoul_internal): Likewise.
608         (__strtoull_internal): Likewise.
609         (__strtoq_internal): Likewise.
610         (__strtouq_internal): Likewise.
611         * wcsmbs/Versions (__wcstod_internal): Likewise.
612         (__wcstof_internal): Likewise.
613         (__wcstold_internal): Likewise.
614         (__wcstol_internal): Likewise.
615         (__wcstoll_internal): Likewise.
616         (__wcstoul_internal): Likewise.
617         (__wcstoull_internal): Likewise.
619 2017-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
621         * io/sys/stat.h: Use __USE_XOPEN2K8 insteaf of __USE_ATFILE for
622         struct timespec definition.
624 2017-04-19  Florian Weimer  <fweimer@redhat.com>
626         * resolv/nss_dns/dns-host.c (getanswer_r): Fix parentheses.
628 2017-04-19  Florian Weimer  <fweimer@redhat.com>
630         * inet/rcmd.c (rresvport_af): Fix typo in comment.
631         * inet/rexec.c (rexec_af): Likewise.
633 2017-04-19  Zack Weinberg  <zackw@panix.com>
635         * posix/tst-mmap-offset.c: Include stdint.h.
636         * resolv/tst-ns_name_compress.c: Include string.h.
637         * resolv/tst-resolv-edns.c: Include resolv.h.
639 2017-04-19  Florian Weimer  <fweimer@redhat.com>
641         * resolv/gai_suspend.c (gai_suspend): Replace __builtin_expect
642         with __glibc_likely.
643         * resolv/nss_dns/dns-host.c (getanswer_r, gaih_getanswer_slice):
644         Replace __builtin_expect with __glibc_unlikely.
645         * resolv/res_init.c (__res_vinit): Likewise.
646         * resolv/res_query.c (__libc_res_nquery): Likewise.
647         * resolv/res_send.c (__libc_res_nsend): Likewise.
649 2017-04-19  Florian Weimer  <fweimer@redhat.com>
651         [BZ #15722]
652         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Create socket
653         with SOCK_CLOEXEC.
654         * resolv/res_send.c (send_vc, reopen): Likewise.
655         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Likewise.
656         * sysdeps/unix/sysv/linux/check_native.c (__check_native):
657         Likewise.
658         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_open): Likewise.
659         * inet/rexec.c (rexec_af): Add comment.
660         * inet/rcmd.c (rresvport_af): Likewise.
662 2017-04-19  Florian Weimer  <fweimer@redhat.com>
664         * nscd/connections.c (have_accept4): Removed definition.
665         (nscd_run_worker, main_loop_poll, main_loop_epolll): Assume that
666         accept4 works.
667         * manual/install.texi (Linux): Require at least kernel 3.2.18 for
668         ia64 because that was the first version with accept4 support.
669         * support/Makefile (libsupport-routines): Add xaccept4.
670         * support/xsocket.h (xaccept4): Declare.
671         * support/xaccept4.c: New file.
672         * socket/tst-accept4.c: New file.
673         * socket/Makefile (tests): Add tst-accept4.
674         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Remove
675         definition.
676         * sysdeps/nacl/kernel-features.h (__ASSUME_ACCEPT4): Remove
677         comment.
678         * sysdeps/unix/sysv/linux/accept4.c: Assume that an accept4
679         implementation is available.
680         (accept4): Use the system call if available, otherwise use the
681         socket call.
682         * sysdeps/unix/sysv/linux/ia64/configure.ac (arch_minimum_kernel):
683         Set to 3.2.18.
684         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
685         (__ASSUME_ACCEPT4_SYSCALL, __ASSUME_ACCEPT4): Do not undefine.
686         accept4 is unconditionally available in later 3.2 stable kernels.
687         (__ASSUME_ACCEPT4_SYSCALL): Define.
688         * sysdeps/unix/sysv/linux/kernel-features.h
689         (__ASSUME_ACCEPT4_SOCKETCALL, __ASSUME_ACCEPT4): Remove
690         definitions.
691         * sysdeps/unix/sysv/linux/i386/kernel-features.h
692         (__ASSUME_ACCEPT4_SYSCALL): Define for Linux 4.3 or later.
694 2017-04-18  Joseph Myers  <joseph@codesourcery.com>
696         * conform/Makefile (tests-special): Do not make addition of
697         $(conformtest-header-tests) conditional on [$(cross-compiling) = no].
698         (generated): Do not make addition of $(conformtest-header-base)
699         conditional on [$(cross-compiling) = no].
701         [BZ #21267]
702         * sysdeps/unix/sysv/linux/bits/socket.h (IOCSIZE_MASK): Undefine
703         if defined by <asm/socket.h> and not previously defined.
704         (IOCSIZE_SHIFT): Likewise.
705         (IOC_IN): Likewise.
706         (IOC_INOUT): Likewise.
707         (IOC_OUT): Likewise.
709 2017-04-18  H.J. Lu  <hongjiu.lu@intel.com>
711         [BZ #21396]
712         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
713         Prefer_No_AVX512 if AVX512ER isn't available.
714         * sysdeps/x86/cpu-features.h (bit_arch_Prefer_No_AVX512): New.
715         (index_arch_Prefer_No_AVX512): Likewise.
716         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Don't use
717         AVX512 version if Prefer_No_AVX512 is set.
718         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk):
719         Likewise.
720         * sysdeps/x86_64/multiarch/memmove.S (__libc_memmove): Likewise.
721         * sysdeps/x86_64/multiarch/memmove_chk.S (__memmove_chk):
722         Likewise.
723         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
724         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk):
725         Likewise.
726         * sysdeps/x86_64/multiarch/memset.S (memset): Likewise.
727         * sysdeps/x86_64/multiarch/memset_chk.S (__memset_chk):
728         Likewise.
730 2017-04-18  H.J. Lu  <hongjiu.lu@intel.com>
732         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
733         Prefer_No_VZEROUPPER if AVX512ER is available.
734         * sysdeps/x86/cpu-features.h
735         (bit_cpu_AVX512PF): New.
736         (bit_cpu_AVX512ER): Likewise.
737         (bit_cpu_AVX512CD): Likewise.
738         (bit_cpu_AVX512BW): Likewise.
739         (bit_cpu_AVX512VL): Likewise.
740         (index_cpu_AVX512PF): Likewise.
741         (index_cpu_AVX512ER): Likewise.
742         (index_cpu_AVX512CD): Likewise.
743         (index_cpu_AVX512BW): Likewise.
744         (index_cpu_AVX512VL): Likewise.
745         (reg_AVX512PF): Likewise.
746         (reg_AVX512ER): Likewise.
747         (reg_AVX512CD): Likewise.
748         (reg_AVX512BW): Likewise.
749         (reg_AVX512VL): Likewise.
751 2017-04-18  Florian Weimer  <fweimer@redhat.com>
753         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Assume that
754         O_CLOEXEC is defined.
755         * include/fcntl.h (__have_o_cloexec): Remove declaration.
756         * io/Makefile (aux): Remove.
757         * io/have_o_cloexec.c: Remove file.
758         * libio/fileops.c (_IO_new_file_fopen): Assume that O_CLOEXEC is
759         defined and works.
760         * libio/iopopen.c (_IO_new_proc_open): Assume that O_CLOEXEC is
761         defined.
762         * login/utmp_file.c (O_flags): Remove definition.
763         (setutent_file): Use O_CLOEXEC instead of O_flags.  Assume that
764         O_CLOEXEC works.
765         (pututline_file): Likewise.
766         * malloc/mtrace.c: Assume that O_CLOEXEC works.
767         * nis/nss_compat/compat-grp.c (__compat_have_cloexec): Remove
768         definition.
769         (internal_setgrent): Assume that O_CLOEXEC works.
770         * nis/nss_compat/compat-initgroups.c (__compat_have_cloexec):
771         Remove definition.
772         (internal_setgrent): Assume that O_CLOEXEC works.
773         * nis/nss_compat/compat-pwd.c (__compat_have_cloexec): Remove
774         definition.
775         (internal_setpwent): Assume that O_CLOEXEC works.
776         * nis/nss_compat/compat-spwd.c (__compat_have_cloexec): Remove
777         definition.
778         (internal_setspent): Assume that O_CLOEXEC works.
779         * nscd/connections.c (EXTRA_O_FLAGS): Remove definition.
780         (nscd_init): Use O_CLOEXEC instead of EXTRA_O_FLAGS.  Assume that
781         O_CLOEXEC is defined and works.
782         * nss/Makefile (libnss_files-routines): Remove
783         files-have_o_cloexec.
784         * nss/nss_db/db-open.c (internal_setent): Assume that O_CLOEXEC is
785         defined.
786         * nss/nss_files/files-XXX.c (internal_setent): Assume that
787         O_CLOEXEC is defined and works.
788         * nss/nss_files/files-alias.c (internal_setent): Likewise.
789         * nss/nss_files/files-have_o_cloexec.c: Remove.
790         * posix/wordexp.c (exec_comm_child): Assume that O_CLOEXEC is
791         defined.
792         * shadow/lckpwdf.c (__lckpwdf): Assume that O_CLOEXEC is defined
793         and works.
794         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_O_CLOEXEC): Remove
795         definition.
796         * sysdeps/nacl/kernel-features.h (__ASSUME_O_CLOEXEC): Likewise.
797         * sysdeps/posix/getcwd.c (__getcwd): Assume that O_CLOEXEC works.
798         * sysdeps/posix/opendir.c (opendir_oflags): Turn into enum constant.
799         (__opendirat, __opendir): Adjust opendir_oflags call.
800         (check_have_o_cloexec): Remove.
801         (__alloc_dir): Assume that O_CLOEXEC is defined and works.
802         * sysdeps/posix/shm_open.c (shm_open): Assume that O_CLOEXEC is
803         defined.
804         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_O_CLOEXEC):
805         Remove definition.
807 2017-04-18  Florian Weimer  <fweimer@redhat.com>
809         * include/unistd.h (__have_dup3): Remove declaration.
810         * libio/freopen.c (freopen): Assume that O_CLOEXEC is defined and
811         dup3 is available.
812         * libio/freopen64.c (freopen64): Likewise.
813         * socket/Makefile (aux): Remove have_sock_cloexec.
814         * socket/have_sock_cloexec.c: Remove file.
815         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Remove
816         definition.
817         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_DUP3):
818         Likewise.
819         * sysdeps/nacl/kernel-features.h: Update comment.
821 2017-04-18  Florian Weimer  <fweimer@redhat.com>
823         * include/unistd.h (__have_pipe2): Remove declaration.
824         * socket/have_sock_cloexec.c (__have_pipe2): Remove definition.
825         * libio/iopopen.c (_IO_new_proc_open): Assume that pipe2 is
826         available.
827         * posix/wordexp.c (exec_comm_child, exec_comm): Likewise.
828         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PIPE2):
829         Remove definition.
831 2017-04-18  Florian Weimer  <fweimer@redhat.com>
833         * malloc/malloc.c (cfree): Turn into compat symbol.
834         (__cfree): Remove alias.
835         * stdlib/stdlib.h (cfree): Remove declaration.
836         * malloc/malloc.h (cfree): Likewise.
837         * manual/memory.texi (Freeing after Malloc): Remove cfree.
838         * malloc/Versions (GLIBC_2.26): Add.
840 2017-04-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
842         * sysdeps/powerpc/powerpc64/multiarch/Makefile
843         (sysdep_routines): Add strrchr-power8.
844         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
845         (strrchr): Add __strrchr_power8 to list of strrchr functions.
846         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power8.S: New file.
847         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c
848         (strrchr): Add __strrchr_power8 to ifunc list.
849         * sysdeps/powerpc/powerpc64/power8/strrchr.S: New file.
851 2017-04-17  Rabin Vincent  <rabinv@axis.com>
853         [BZ #21357]
854         * sysdeps/generic/unwind-dw2-fde.c (__deregister_frame_info_bases):
855         Call free() outside of mutex.
857 2017-04-13  Florian Weimer  <fweimer@redhat.com>
859         * csu/check_fds.c (__libc_check_standard_fds): Assume O_NOFOLLOW
860         is defined.
861         * elf/rtld.c (process_envvars): Likewise.
862         * sysdeps/posix/shm_open.c (shm_open): Likewise.
863         * elf/dl-profile.c (EXTRA_FLAGS): Remove definition.  Use
864         O_NOFOLLOW directly.
865         * gmon/gmon.c (O_NOFOLLOW): Remove definition.
867 2017-04-13  Florian Weimer  <fweimer@redhat.com>
869         [BZ #21369]
870         Remove EDNS fallback.
871         * resolv/res_query.c (__libc_res_nquery): Remove RES_F_EDNS0ERR
872         handling.
873         * resolv/res_send.c (send_dg): Likewise.
874         * resolv/tst-resolv-edns.c (response): Handle "formerr." and
875         "tcp." prefixes.
876         (do_test): Send a "formerr."-prefixed query in an attempt to
877         trigger EDNS fallback.
879 2017-04-13  Florian Weimer  <fweimer@redhat.com>
881         [BZ #21361]
882         Limit EDNS buffer size to 1200 bytes.
883         * include/resolv.h (__res_nopt): Remove declaration.
884         * resolv/Makefile (tests): tst-resolv-edns.
885         (tst-resolv-edns): Link with -lresolv, -lpthread.
886         * resolv/res_mkquery.c (__res_ntop): Limit EDNS buffer size to the
887         interval [512, 1200].
888         * resolv/res_query.c (__libc_res_nquery): Use 1200 buffer size if
889         we can resize the buffer.
890         * resolv/resolv-internal.h (RESOLV_EDNS_BUFFER_SIZE): Define.
891         (__res_nopt): Declare.
892         * resolv/tst-resolv-edns.c: New file.
893         * resolv/resolv_test.h (struct resolv_edns_info): Define.
894         (struct resolv_response_context): Add edns member.
895         * resolv/resolv_test.c (struct query_info): Add edns member.
896         (parse_query): Extract EDNS information from the query.
897         (server_thread_udp_process_one): Propagate EDNS data.
898         (server_thread_tcp_client): Likewise.
900 2017-04-13  Florian Weimer  <fweimer@redhat.com>
902         [BZ #21359]
903         * resolv/ns_name.c (ns_name_pack): Do not require an additional
904         byte in the destination buffer.  Avoid out-of-bounds pointer
905         arithmetic.
906         * resolv/Makefile (tests): Add tst-ns_name_compress.
907         (tst-ns_name_compress): Link with -lresolv.
908         * resolv/tst-ns_name_compress.c: New file.
909         * resolv/tst-resolv-basic.c (LONG_NAME): Define.
910         (response): Recognize LONG_NAME.
911         (do_test): Add LONG_NAME tests.
912         * resolv/tst-ns_name.c (run_test_case): Fix expected data check
913         for ns_name_unpack.  Add tests for ns_name_pton and
914         ns_name_compress.
916 2017-04-13  Florian Weimer  <fweimer@redhat.com>
918         * resolv/resolv.h (RES_EXHAUSTIVE, p_section, res_npquery)
919         (res_nisourserver): Remove definition.
920         (p_section, res_npquery, res_nisourserver): Remove declaration.
921         (RES_F_VC, RES_F_CONN, RES_F_EDNS0ERR): Move ...
922         * resolv/resolv-internal.h (RES_F_VC, RES_F_CONN, RES_F_EDNS0ERR):
923         ... here.
924         * resolv/res_send.c: Include <resolv/resolv-internal.h> instead of
925         <resolv.h>.
926         * resolv/res_query.c: Likewise.
927         * resolv/res_debug.c (p_section): Define as static.
929 2017-04-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
931         * sysdeps/powerpc/powerpc64/multiarch/Makefile (sysdep_routines): Add
932         strncat-power8.
933         * sysdeps/powerpc/powerpc64/multiarch/strncat.c (strncat): Add
934         __strncat_power8 to ifunc list.
935         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
936         (strncat): Add __strncat_power8 to list of strncat functions.
937         * sysdeps/powerpc/powerpc64/multiarch/strncat-power8.c: New file.
939 2017-04-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
941         [BZ #21270]
942         * posix/tst-mmap-offset.c (do_prepare): New function.
943         (do_test): Rename to do_test_bz18877 and use FAIL_RET.
944         (do_test_bz21270): New function.
945         * sysdeps/unix/sysv/linux/aarch64/mmap.c: Remove file.
946         * sysdeps/unix/sysv/linux/arm/mmap.c: Remove file.
947         * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c: Likewise.
948         * sysdeps/unix/sysv/linux/hppa/mmap.c: Likewise.
949         * sysdeps/unix/sysv/linux/i386/mmap.c: Likewise.
950         * sysdeps/unix/sysv/linux/m68k/mmap.S: Likewise.
951         * sysdeps/unix/sysv/linux/m68k/mmap64.c: Likewise.
952         * sysdeps/unix/sysv/linux/microblaze/mmap.S: Likewise.
953         * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: Likewise.
954         * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: Likewise.
955         * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: Likewise.
956         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
957         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
958         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
959         * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: Likewise.
960         * sysdeps/unix/sysv/linux/wordsize-64/mmap64.c: Likewise.
961         * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
962         * sysdeps/unix/sysv/linux/mmap_internal.h: New file.
963         * sysdeps/unix/sysv/linux/m68k/mmap_internal.h: Likewise.
964         * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap_internal.h: Likewise.
965         * sysdeps/unix/sysv/linux/s390/mmap_internal.h: Likewise.
966         * sysdeps/unix/sysv/linux/x86_64/64/mmap_internal.h: Likewise.
967         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list: Remove mmap
968         from auto-generation list.
969         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list: Likewise.
970         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
971         * sysdeps/unix/sysv/linux/mmap.c: New file.
972         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Add check for invalid
973         offsets and support for mmap2 syscall.
975         * posix/globtest.sh: Add cleanup routine on trap 0.
977 2017-04-11  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
979         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: Define the
980         implementation-specific function name and remove unneeded
981         macros definition.
982         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: Likewise.
983         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: Likewise.
984         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Set a default function
985         name if not defined and pass as parameter to macros accordingly.
986         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
987         * sysdeps/powerpc/powerpc64/power7/memmove.S: Likewise.
989         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: Define the
990         implementation-specific function name and remove unneeded
991         macros definition.
992         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: Likewise.
993         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: Likewise.
994         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: Likewise.
995         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: Likewise.
996         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
997         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: Likewise.
998         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Set a default function
999         name if not defined and pass as parameter to macros accordingly.
1000         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
1001         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
1002         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
1003         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
1004         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
1005         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.
1007         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: Define the
1008         implementation-specific function name and remove unneeded macros
1009         definition.
1010         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: Likewise.
1011         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: Likewise.
1012         * sysdeps/powerpc/powerpc64/power7/memchr.S: Set a default
1013         function name if not defined and pass as parameter to macros
1014         accordingly.
1015         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
1016         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Likewise.
1018         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: Define the
1019         implementation-specific function name and remove unneeded macros
1020         definition.
1021         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
1022         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
1023         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: Likewise.
1024         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
1025         * sysdeps/powerpc/powerpc64/memset.S: Set a default function name if
1026         not defined and pass as parameter to macros accordingly.
1027         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
1028         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
1029         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
1030         * sysdeps/powerpc/powerpc64/power8/memset.S: Likewise.
1032         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Define the
1033         strcasestr implementation name and remove unneeded macros definition.
1034         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: Define
1035         strstr implementation name and remove unneeded macros definition.
1036         * sysdeps/powerpc/powerpc64/power7/strstr.S: Set a default function
1037         name if not defined and pass as parameter to macros accordingly.
1038         * sysdeps/powerpc/powerpc64/power8/strcasestr.S: Likewise.
1040         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: Define the
1041         implementation-specific function name and remove unneeded macros
1042         definition.
1043         * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: Likewise.
1044         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: Likewise.
1045         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: Likewise.
1046         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: Likewise.
1047         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: Likewise.
1048         * sysdeps/powerpc/powerpc64/power7/strchr.S: Set a default
1049         function name if not defined and pass as parameter to macros
1050         accordingly.
1051         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Likewise.
1052         * sysdeps/powerpc/powerpc64/power7/strrchr.S: Likewise.
1053         * sysdeps/powerpc/powerpc64/power8/strchr.S: Likewise.
1054         * sysdeps/powerpc/powerpc64/strchr.S: Likewise.
1056         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: Define
1057         the strlen implementation name and remove unneeded macros definition.
1058         * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: Likewise.
1059         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
1060         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Define
1061         the strnlen implementation name and remove unneeded macros definition.
1062         * sysdeps/powerpc/powerpc64/power7/strlen.S: Set a default function
1063         name if not defined and pass as parameter to macros accordingly.
1064         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Likewise.
1065         * sysdeps/powerpc/powerpc64/power8/strlen.S: Likewise.
1066         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
1068         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Define
1069         the implementation-specific function name and remove unneeded
1070         macros definition.
1071         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: Likewise.
1072         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S Likewise.
1073         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
1074         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
1075         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: Likewise.
1076         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: Likewise.
1077         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
1078         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
1079         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
1080         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Set a default function
1081         name if not defined and pass as parameter to macros accordingly.
1082         * sysdeps/powerpc/powerpc64/power7/strcmp.S: Likewise.
1083         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
1084         * sysdeps/powerpc/powerpc64/power8/strcmp.S: Likewise.
1085         * sysdeps/powerpc/powerpc64/power8/strncmp.S: Likewise.
1086         * sysdeps/powerpc/powerpc64/power9/strcmp.S: Likewise.
1087         * sysdeps/powerpc/powerpc64/power9/strncmp.S: Likewise.
1088         * sysdeps/powerpc/powerpc64/strcmp.S: Likewise.
1089         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
1091         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: Define the
1092         implementation-specific function name and remove unneeded macros
1093         definition.
1094         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: Likewise.
1095         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Likewise.
1096         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: Likewise.
1097         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: Likewise.
1098         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Likewise.
1099         * sysdeps/powerpc/powerpc64/power7/strncpy.S: Set a default
1100         function name if not defined.
1101         * sysdeps/powerpc/powerpc64/power8/strcpy.S: Likewise.
1102         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Likewise.
1104 2017-04-11  Paul Clarke  <pc@us.ibm.com>
1106         * elf/elf.h (AT_L1I_CACHESIZE, AT_L1I_CACHEGEOMETRY, AT_L1D_CACHESIZE,
1107         AT_L1D_CACHEGEOMETRY, AT_L2_CACHESIZE, AT_L2_CACHEGEOMETRY,
1108         AT_L3_CACHESIZE, AT_L3_CACHEGEOMETRY): New.  Add auxvec
1109         identifiers from kernel arch/powerpc/include/uapi/asm/auxvec.h.
1111 2017-04-11  Florian Weimer  <fweimer@redhat.com>
1112             Zack Weinberg  <zackw@panix.com>
1114         * manual/filesys.texi (Reading/Closing Directory): Mark readdir,
1115         readdir64 as thread-safe.  Update warning about readdir_r.
1117 2017-04-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1119         * sysdeps/unix/sysv/linux/x86/Implies: New file.
1120         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: Move to ...
1121         * sysdeps/alpha/nptl/bits/pthreadtypes.h: ... here.
1122         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Move to ...
1123         * sysdeps/powerpc/nptl/bits/pthreadtypes.h: ... here.
1124         * sysdeps/x86/bits/pthreadtypes.h: Move to ...
1125         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
1127 2017-04-10  H.J. Lu  <hongjiu.lu@intel.com>
1129         * sysdeps/i386/dl-procinfo.c: Include
1130         <sysdeps/x86/dl-procinfo.c>.
1131         * sysdeps/x86_64/dl-procinfo.c: Likewise.
1132         * sysdeps/x86/dl-procinfo.c: New file.
1134 2017-04-10  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1136         * sysdeps/generic/math_private.h: Remove declarations of
1137         many functions that are already declared in math.h.
1138         * sysdeps/ieee754/ldbl-128/e_logl.c: Include math.h to get the
1139         declaration for __frexpl.
1140         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Include math.h to get
1141         the declarations for __scalbnl and fabsl.
1143 2017-04-09  Dmitry V. Levin  <ldv@altlinux.org>
1145         [BZ #20831]
1146         * elf/dl-map-segments.h (_dl_map_segments): Check for failure
1147         of __mprotect to change protection on the excess portion
1148         to disallow all access.
1150 2017-04-07  H.J. Lu  <hongjiu.lu@intel.com>
1152         * sysdeps/i386/fpu/fclrexcpt.c (__feclearexcept): Use
1153         HAS_CPU_FEATURE to check for SSE.
1154         * sysdeps/i386/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
1155         * sysdeps/i386/fpu/feenablxcpt.c (feenableexcept): Likewise.
1156         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Likewise.
1157         * sysdeps/i386/fpu/fegetmode.c (fegetmode): Likewise.
1158         * sysdeps/i386/fpu/feholdexcpt.c (__feholdexcept): Likewise.
1159         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Likewise.
1160         * sysdeps/i386/fpu/fesetmode.c (fesetmode): Likewise.
1161         * sysdeps/i386/fpu/fesetround.c (__fesetround): Likewise.
1162         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
1163         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Likewise.
1164         * sysdeps/i386/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
1165         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
1166         * sysdeps/i386/setfpucw.c (__setfpucw): Likewise.
1167         * sysdeps/x86/cpu-features.h (bit_cpu_SSE): New.
1168         (index_cpu_SSE): Likewise.
1169         (reg_SSE): Likewise.
1171 2017-04-07  Paul Eggert  <eggert@cs.ucla.edu>
1173         * posix/getopt1.c: Include <config.h>, not "config.h".
1175 2017-04-07  Zack Weinberg  <zackw@panix.com>
1177         * posix/bits/getopt_core.h, posix/bits/getopt_ext.h
1178         * posix/getopt.c, posix/getopt1.c, posix/getopt_int.h:
1179         Mention in top-of-file boilerplate that these files are shared
1180         with gnulib.
1181         * posix/getopt.h, posix/bits/getopt_posix.h:
1182         Mention in top-of-file boilerplate that these files are NOT shared
1183         with gnulib, unlike the rest of the getopt implementation.
1185         * posix/bits/getopt_core.h, posix/bits/getopt_ext.h:
1186         New files, intended to be shared with gnulib.
1187         * posix/bits/getopt_posix.h:
1188         New file, not intended to be shared with gnulib.
1189         * posix/getopt.h: Now just includes features.h,
1190         bits/getopt_core.h, and bits/getopt_ext.h.  Will
1191         no longer be shared with gnulib.
1192         * include/bits/getopt_core.h, include/bits/getopt_ext.h
1193         * include/bits/getopt_posix.h: New wrappers.
1194         * posix/Makefile: Install new headers.
1195         * posix/unistd.h, libio/stdio.h:
1196         Include bits/getopt_posix.h instead of getopt.h.
1198         * include/libc-symbols.h: For gnulib compatibility, define
1199         _GL_UNUSED, _GL_UNUSED_LABEL, _GL_ATTRIBUTE_PURE, and
1200         _GL_ATTRIBUTE_CONST.
1201         * posix/getopt.c (_getopt_initialize): Mark argc and argv
1202         parameters with _GL_UNUSED.
1204         * posix/getopt.c: When used standalone, define __libc_use_alloca
1205         as always false and alloca to abort if called.
1206         (process_long_option): Rewrite handling of ambiguous long options
1207         to use a single boolean vector, not a linked list; use
1208         __libc_use_alloca to decide whether to allocate this using alloca.
1209         * posix/tst-getopt_long1.c: Adjust text of expected error message.
1211         * posix/getopt.c (process_long_option): New function split out
1212         from _getopt_internal_r.
1213         (_getopt_internal_r): Replace both copies of the long-option
1214         processing code with calls to process_long_option.
1215         * posix/bug-getopt4.c (one_test): Print argv[0] in error messages.
1216         (do_test): Differentiate argv[0] in the two subtests.
1218         * posix/getopt_int.h (_getopt_data): Remove __posixly_correct field.
1219         * posix/getopt.c (_getopt_internal_r): Move some initialization code...
1220         (_getopt_initialize): ...here. Don't set d->__posixly_correct.
1222         * posix/getopt.h: Add backup definition of __nonnull for
1223         consistency with gnulib.  Define __getopt_argv_const to const
1224         if not already defined.
1225         (getopt): Update doc comment from gnulib.  Prototype
1226         unconditionally.  Add __nonnull annotation.
1227         (__posix_getopt): Add __nonnull annotation.
1228         (getopt_long, getopt_long_only): Use __getopt_argv_const in
1229         prototypes for consistency with gnulib.  Add __nonnull
1230         annotations.
1231         * posix/getopt.c (_getopt_initialize, _getopt_internal_r)
1232         (getopt_internal): Change 'argv' argument to type 'char **'.
1233         Remove now-unnecessary casts.
1234         (getopt, __posix_getopt): Eliminate repetition with a macro.
1235         Cast 'argv' to 'char **' when calling _getopt_internal.
1236         * posix/getopt1.c (getopt_long, getopt_long_only):
1237         Use __getopt_argv_const for consistency with gnulib.
1238         Cast 'argv' to 'char **' when calling _getopt_internal.
1239         (_getopt_long_r, _getopt_long_only_r):
1240         Change 'argv' argument to type 'char **'.
1241         (main): Constify 'long_options'.
1242         * posix/getopt_int.h (getopt_internal, _getopt_internal_r)
1243         (_getopt_long_r, _getopt_long_only_r):
1244         Change 'argv' argument to type 'char **'.
1246         * stdio-common/fxprintf.c (__fxprintf_nocancel): New function.
1247         (locked_vfxprintf): New helper function. Handle arbitrary
1248         multibyte strings, not just ASCII.
1249         * include/stdio.h: Declare __fxprintf_nocancel.
1250         * posix/getopt.c: When _LIBC is defined, define fprintf to
1251         __fxprintf_nocancel, flockfile to _IO_flockfile, and funlockfile
1252         to _IO_funlockfile.  When neither _LIBC nor
1253         _POSIX_THREAD_SAFE_FUNCTIONS is defined, define flockfile and
1254         funlockfile as no-ops.
1255         (_getopt_internal_r): Remove all internal #ifdef _LIBC blocks;
1256         the standalone error-printing code can now be used for libc as
1257         well.  Add an flockfile/funlockfile pair around one case where
1258         the error message is printed in several chunks.  Don't use fputc.
1259         * posix/tst-getopt-cancel.c: New test.
1260         * posix/Makefile: Run it.
1262         * posix/getopt.c (_getopt_internal_r): Don't increment
1263         d->optind a second time when reporting ambiguous -W options.
1265         * posix/getopt_int.h: Include getopt.h.
1266         Use impl-namespace names for all arguments to _getopt_internal and
1267         _getopt_internal_r.
1268         Declare __ordering enum outside the struct.
1269         Harmonize comments with gnulib.
1270         * posix/getopt1.c: Simplify #ifdeffage at top of file. Remove
1271         ELIDE_CODE logic entirely.  Move inclusion of stdlib.h to
1272         #ifdef TEST block and make unconditional.  Do not define NULL.
1273         * posix/getopt.c: Partial merge from gnulib, covering the
1274         initial includes and global declarations, commentary, and
1275         a couple of semantically-neutral code changes.
1277         * posix/getopt.c, posix/getopt.h, posix/getopt1.c, posix/getopt_int.h:
1278         Use '...' instead of `...' for quotation marks inside
1279         comments and strings.
1281         * config.h.in (USE_NONOPTION_FLAGS): Remove.
1282         * csu/init-first.c: Remove all #ifdef USE_NONOPTION_FLAGS blocks.
1283         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
1284         * posix/getopt_int.h: Likewise.
1285         * posix/getopt.c: Likewise. Also remove SWAP_FLAGS and the
1286         __libc_argc and __libc_argv externs, which were only used by
1287         #ifdef USE_NONOPTION_FLAGS blocks.
1288         * posix/getopt_init.c: Remove file.
1289         * posix/Makefile (routines): Remove getopt_init.
1290         * include/getopt.h: Don't declare __getopt_initialize_environment.
1291         * manual/getopt.texi: Remove mention of USE_NONOPTION_FLAGS in
1292         a comment.
1294 2017-04-07  Florian Weimer  <fweimer@redhat.com>
1296         * resolv/res_mkquery.c (res_nmkquery): Remove IQUERY support.
1298 2017-04-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1300         * sysdeps/sparc/sparc32/Makefile (libc.so-gnulib): New rule.
1301         * sysdeps/sparc/sparc32/sparcv8/udiv.S (.udiv): Make a strong_alias
1302         to __wrap_.udiv.
1303         * sysdeps/sparc/sparc32/sparcv9/udiv.S (.udiv): Likewise.
1304         * sysdeps/sparc/sparc32/udiv.S (.udiv): Likewise.
1306         * sysdeps/i386/symbol-hacks.h: New file.
1307         * sysdeps/m68k/symbol-hacks.h: New file.
1308         * sysdeps/powerpc/powerpc32/symbol-hacks.h: New file.
1309         * sysdeps/s390/s390-32/symbol-hacks.h: New file.
1310         * sysdeps/unix/sysv/linux/i386/Makefile
1311         [$(subdir) = csu] (sysdep_routines): New rule: divdi3 object.
1312         [$(subdir) = csu] (sysdep-only-routines): Likewise.
1313         [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
1314         * sysdeps/unix/sysv/linux/m68k/Makefile
1315         [$(subdir) = csu] (sysdep_routines): Likewise.
1316         [$(subdir) = csu] (sysdep-only-routines): Likewise.
1317         [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
1318         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
1319         [$(subdir) = csu] (sysdep_routines): Likewise.
1320         [$(subdir) = csu] (sysdep-only-routines): Likewise.
1321         [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
1322         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile
1323         [$(subdir) = csu] (sysdep_routines): Likewise.
1324         [$(subdir) = csu] (sysdep-only-routines): Likewise.
1325         [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
1326         * sysdeps/wordsize-32/Makefile: Remove file.
1327         * sysdeps/wordsize-32/symbol-hacks.h: Definitions move to ...
1328         * sysdeps/wordsize-32/divdi3-symbol-hacks.h: ... here.
1330 2017-04-05  H.J. Lu  <hongjiu.lu@intel.com>
1332         * elf/tst-dlopen-aout.c (TEST_FUNCTION): Removed.
1333         (TEST_FUNCTION_ARGV): New.
1335 2017-04-05  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
1337         * elf/next.c: Import support/test-driver.c instead of
1338         test-skeleton.c and delete TEST_FUNCTION macro definition.
1339         * elf/nodelete.c: Likewise.
1340         * elf/order2.c: Likewise.
1341         * elf/tst-_dl_addr_inside_object.c: Likewise.
1342         * elf/tst-addr1.c: Likewise.
1343         * elf/tst-align.c: Likewise.
1344         * elf/tst-align2.c: Likewise.
1345         * elf/tst-audit11.c: Likewise.
1346         * elf/tst-audit12.c: Likewise.
1347         * elf/tst-audit2.c: Likewise.
1348         * elf/tst-audit9.c: Likewise.
1349         * elf/tst-auxv.c: Likewise and define TEST_FUNCTION_ARGV macro.
1350         * elf/tst-deep1.c: Likewise.
1351         * elf/tst-dl-iter-static.c: Likewise.
1352         * elf/tst-dlmodcount.c: Likewise.
1353         * elf/tst-dlmopen1.c: Likewise.
1354         * elf/tst-dlmopen2.c: Likewise.
1355         * elf/tst-dlmopen3.c: Likewise.
1356         * elf/tst-dlopen-aout.c: Likewise.
1357         * elf/tst-dlopenrpath.c: Likewise.
1358         * elf/tst-dlsym-error.c: Likewise.
1359         * elf/tst-execstack-needed.c: Likewise.
1360         * elf/tst-execstack-prog.c: Likewise.
1361         * elf/tst-execstack.c: Likewise.
1362         * elf/tst-global1.c: Likewise.
1363         * elf/tst-gnu2-tls1.c: Likewise.
1364         * elf/tst-latepthread.c: Likewise.
1365         * elf/tst-leaks1.c: Likewise.
1366         * elf/tst-linkall-static.c: Likewise.
1367         (do_test): New function.
1368         * elf/tst-nodelete-opened.c: Likewise.
1369         * elf/tst-nodelete.cc: Likewise.
1370         * elf/tst-nodelete2.c: Likewise.
1371         * elf/tst-noload.c: Likewise.
1372         * elf/tst-null-argv.c: Likewise and define TEST_FUNCTION_ARGV marcro.
1373         * elf/tst-order-main.c: Likewise.
1374         * elf/tst-pathopt.c: Likewise.
1375         * elf/tst-pie2.c: Likewise.
1376         * elf/tst-piemod1.c: Likewise.
1377         * elf/tst-prelink.c: Likewise.
1378         * elf/tst-protected1a.c: Likewise.
1379         * elf/tst-protected1b.c: Likewise.
1380         * elf/tst-ptrguard1.c: Likewise, import getopt.h,
1381         and define _GNU_SOURCE macro.
1382         (cmdline_process_function): New function.
1383         * elf/tst-relsort1.c: Likewise.
1384         * elf/tst-stackguard1.c: Likewise, import getopt.h,
1385         and define _GNU_SOURCE macro.
1386         (cmdline_process_function): New function.
1387         * elf/tst-thrlock.c: Likewise.
1388         * elf/tst-tls-dlinfo.c: Likewise.
1389         * elf/tst-tls-manydynamic.c: Likewise and import support/xthread.h.
1390         * elf/tst-tls1.c: Likewise.
1391         * elf/tst-tls10.c: Likewise.
1392         * elf/tst-tls11.c: Likewise.
1393         * elf/tst-tls12.c: Likewise.
1394         * elf/tst-tls13.c: Likewise.
1395         * elf/tst-tls14.c: Likewise.
1396         * elf/tst-tls15.c: Likewise.
1397         * elf/tst-tls16.c: Likewise.
1398         * elf/tst-tls17.c: Likewise.
1399         * elf/tst-tls18.c: Likewise.
1400         * elf/tst-tls19.c: Likewise.
1401         * elf/tst-tls2.c: Likewise.
1402         * elf/tst-tls3.c: Likewise.
1403         * elf/tst-tls4.c: Likewise.
1404         * elf/tst-tls5.c: Likewise.
1405         * elf/tst-tls6.c: Likewise.
1406         * elf/tst-tls7.c: Likewise.
1407         * elf/tst-tls8.c: Likewise.
1408         * elf/tst-tls9.c: Likewise.
1409         * elf/tst-tlsalign-extern.c: Likewise.
1410         * elf/tst-tlsalign.c: Likewise.
1411         * elf/tst-unique1.c: Likewise.
1412         * elf/tst-unique2.c: Likewise.
1413         * elf/vismain.c: Likewise.
1415 2017-04-05  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
1417         * string/test-strnlen.c (do_page_tests): New function
1418         to check length of strings ending at the page boundary.
1419         (test_main): Added call to the do_page_tests function.
1421 2017-04-05  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
1422             Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1424         * sysdeps/powerpc/powerpc64/multiarch/Makefile
1425         (sysdep_routines): Add strnlen-power8.
1426         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1427         (strnlen): Add __strnlen_power8 to list of strnlen functions.
1428         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power8.S: New file.
1429         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c
1430         (__strnlen): Add __strnlen_power8 to ifunc list.
1431         * sysdeps/powerpc/powerpc64/power8/strnlen.S: New file.
1433 2017-04-04  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
1435         * wcsmbs/tst-btowc.c: Import support/test-driver.c and remove
1436         the TEST_FUNCTION macro definition.
1437         * wcsmbs/tst-mbrtowc2.c: Likewise.
1438         * wcsmbs/tst-mbsrtowcs.c: Likewise.
1439         * wcsmbs/tst-wchar-h.c: Likewise.
1440         * wcsmbs/tst-wcpncpy.c: Likewise.
1441         * wcsmbs/tst-wcrtomb.c: Likewise.
1442         * wcsmbs/tst-wcsnlen.c: Likewise.
1443         * wcsmbs/tst-wcstof.c: Likewise.
1445 2017-04-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1447         * nptl/pthread_create.c (START_THREAD_DEFN): Remove
1448         CALL_THREAD_FCT macro usage.
1449         * sysdeps/i386/nptl/tls.h (CALL_THREAD_FCT): Remove definition.
1450         * sysdeps/x86_64/nptl/tls.h (CALL_THREAD_FCT): Likewise.
1451         * sysdeps/x86_64/32/nptl/tls.h: Remove file.
1453         * nptl/pthreadP.h (USE_REQUEUE_PI): Remove ununsed macro.
1454         * sysdeps/unix/sysv/linux/arm/kernel-features.h
1455         (__ASSUME_REQUEUE_PI): Likewise.
1456         * sysdeps/unix/sysv/linux/kernel-features.h
1457         (__ASSUME_REQUEUE_PI): Likewise.
1458         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
1459         (__ASSUME_REQUEUE_PI): Likewise.
1460         * sysdeps/unix/sysv/linux/mips/kernel-features.h
1461         (__ASSUME_REQUEUE_PI): Likewise.
1462         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
1463         (__ASSUME_REQUEUE_PI): Likewise.
1465 2017-04-04  Florian Weimer  <fweimer@redhat.com>
1467         * resolv/tst-resolv-canonname.c: New file.
1468         * resolv/Makefile (tests): Add tst-resolv-canonname.
1469         (tst-resolv-canonname): Link with -ldl, -lresolv, -lpthread.
1471 2017-04-04  Florian Weimer  <fweimer@redhat.com>
1473         * include/arpa/nameser.h (__ns_name_ntop, __ns_name_unpack):
1474         Declare.
1475         * resolv/nss_dns/dns-network.c: Include <arpa/nameser.h>.
1476         (NS_MAXCDNAME): Remove definition.
1477         (__ns_name_ntop, __ns_name_unpack): Remove declaration.
1478         * resolv/nss_dns/dns-host.c: Include <arpa/nameser.h>.
1479         (NS_MAXCDNAME): Remove definition.
1480         (__ns_name_ntop, __ns_name_unpack): Remove declaration.
1482 2017-04-04  Florian Weimer  <fweimer@redhat.com>
1484         * resolv/nss_dns/dns-network.c (getanswer_r): Remove __dn_expand
1485         call whose result is not used.
1487 2017-04-04  Florian Weimer  <fweimer@redhat.com>
1489         * resolv/tst-ns_name.c, resolv/tst-ns_name.data: New file.
1490         * resolv/Makefile (tests): Add tst-ns_name.
1491         (tst-ns_name): Link with -lresolv.
1492         (tst-ns_name.out): Depend on the input data file.
1494 2017-04-04  Stefan Liebler  <stli@linux.vnet.ibm.com>
1496         * sysdeps/s390/s390-32/tls-macros.h (TLS_LD, TLS_GD):
1497         Clobber also r14.
1499 2017-04-03  Mike Frysinger  <vapier@gentoo.org>
1501         [BZ #21253]
1502         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Increase argv_size
1503         slack space by 32KiB.
1505 2017-04-01  Wladimir van der Laan  <laanwj@gmail.com>
1507         [BZ #21338]
1508         * malloc/malloc.c: Call do_set_arena_max for M_ARENA_MAX
1509         instead of incorrect do_set_arena_test
1511 2017-03-31  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1513         * math/math.h: Fix check for __MATH_DECLARE_LDOUBLE.
1514         * math/bits/math-finite.h: Likewise.
1516 2017-03-31  Slava Barinov  <v.barinov@samsung.com>
1518         [BZ #21289]
1519         * io/fts.h (fts_set): Replace __REDIRECT with __REDIRECT_NTH.
1521 2017-03-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1523         * sysdeps/unix/sysv/linux/test-errno-linux.c (do_test): Handle
1524         non expected inotify_add_watch and quotactl return.
1526 2017-03-30  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1528         * math/e_rem_pio2l.c (__ieee754_rem_pio2l): Change return type
1529         to int32_t.
1530         * sysdeps/generic/math_private.h: Declare __ieee754_rem_pio2l
1531         as returning int32_t.
1533 2017-03-30  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1535         * math/math.h: Include bits/math-finite.h once per
1536         floating-point type.
1537         * math/bits/math-finite.h: Macroize all declarations by
1538         floating-point type.
1540 2017-03-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1542         [BZ #21182]
1543         * string/test-memchr.c (do_test): Add BZ#21182 checks for address
1544         near end of a page.
1545         * sysdeps/i386/i686/multiarch/memchr-sse2.S (__memchr): Fix
1546         overflow calculation.
1548 2017-03-28  Steve Ellcey  <sellcey@caviumnetworks.com>
1550         * benchtests/bench-memcpy-random.c (TEST_NAME): Change to memcpy.
1551         (IMPL) Call with 1 instead of 0 as argument.
1553 2017-03-28  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1555         * sysdeps/unix/sysv/linux/arm/setegid.c: Remove file.
1556         * sysdeps/unix/sysv/linux/arm/seteuid.c: Likewise.
1557         * sysdeps/unix/sysv/linux/arm/setgid.c: Likewise.
1558         * sysdeps/unix/sysv/linux/arm/setgroups.c: Likewise.
1559         * sysdeps/unix/sysv/linux/arm/setregid.c: Likewise.
1560         * sysdeps/unix/sysv/linux/arm/setresgid.c: Likewise.
1561         * sysdeps/unix/sysv/linux/arm/setresuid.c: Likewise.
1562         * sysdeps/unix/sysv/linux/arm/setreuid.c: Likewise.
1563         * sysdeps/unix/sysv/linux/arm/setuid.c: Likewise.
1564         * sysdeps/unix/sysv/linux/i386/setegid.c: Likewise.
1565         * sysdeps/unix/sysv/linux/i386/seteuid.c: Likewise.
1566         * sysdeps/unix/sysv/linux/i386/setgid.c: Likewise.
1567         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
1568         * sysdeps/unix/sysv/linux/i386/setregid.c: Likewise.
1569         * sysdeps/unix/sysv/linux/i386/setresgid.c: Likewise.
1570         * sysdeps/unix/sysv/linux/i386/setresuid.c: Likewise.
1571         * sysdeps/unix/sysv/linux/i386/setreuid.c: Likewise.
1572         * sysdeps/unix/sysv/linux/i386/setuid.c: Likewise.
1573         * sysdeps/unix/sysv/linux/m68k/setegid.c: Likewise.
1574         * sysdeps/unix/sysv/linux/m68k/seteuid.c: Likewise.
1575         * sysdeps/unix/sysv/linux/m68k/setgid.c: Likewise.
1576         * sysdeps/unix/sysv/linux/m68k/setgroups.c: Likewise.
1577         * sysdeps/unix/sysv/linux/m68k/setregid.c: Likewise.
1578         * sysdeps/unix/sysv/linux/m68k/setresgid.c: Likewise.
1579         * sysdeps/unix/sysv/linux/m68k/setresuid.c: Likewise.
1580         * sysdeps/unix/sysv/linux/m68k/setreuid.c: Likewise.
1581         * sysdeps/unix/sysv/linux/m68k/setuid.c: Likewise.
1582         * sysdeps/unix/sysv/linux/microblaze/setgroups.c: Likewise.
1583         * sysdeps/unix/sysv/linux/s390/s390-32/setegid.c: Likewise.
1584         * sysdeps/unix/sysv/linux/s390/s390-32/seteuid.c: Likewise.
1585         * sysdeps/unix/sysv/linux/s390/s390-32/setgid.c: Likewise.
1586         * sysdeps/unix/sysv/linux/s390/s390-32/setgroups.c: Likewise.
1587         * sysdeps/unix/sysv/linux/s390/s390-32/setregid.c: Likewise.
1588         * sysdeps/unix/sysv/linux/s390/s390-32/setresgid.c: Likewise.
1589         * sysdeps/unix/sysv/linux/s390/s390-32/setresuid.c: Likewise.
1590         * sysdeps/unix/sysv/linux/s390/s390-32/setreuid.c: Likewise.
1591         * sysdeps/unix/sysv/linux/s390/s390-32/setuid.c: Likewise.
1592         * sysdeps/unix/sysv/linux/sh/setegid.c: Likewise.
1593         * sysdeps/unix/sysv/linux/sh/seteuid.c: Likewise.
1594         * sysdeps/unix/sysv/linux/sh/setgid.c: Likewise.
1595         * sysdeps/unix/sysv/linux/sh/setgroups.c: Likewise.
1596         * sysdeps/unix/sysv/linux/sh/setregid.c: Likewise.
1597         * sysdeps/unix/sysv/linux/sh/setresgid.c: Likewise.
1598         * sysdeps/unix/sysv/linux/sh/setresuid.c: Likewise.
1599         * sysdeps/unix/sysv/linux/sh/setreuid.c: Likewise.
1600         * sysdeps/unix/sysv/linux/sh/setuid.c: Likewise.
1601         * sysdeps/unix/sysv/linux/sparc/sparc32/setegid.c: Likewise.
1602         * sysdeps/unix/sysv/linux/sparc/sparc32/seteuid.c: Likewise.
1603         * sysdeps/unix/sysv/linux/sparc/sparc32/setgid.c: Likewise.
1604         * sysdeps/unix/sysv/linux/sparc/sparc32/setgroups.c: Likewise.
1605         * sysdeps/unix/sysv/linux/sparc/sparc32/setregid.c: Likewise.
1606         * sysdeps/unix/sysv/linux/sparc/sparc32/setresgid.c: Likewise.
1607         * sysdeps/unix/sysv/linux/sparc/sparc32/setresuid.c: Likewise.
1608         * sysdeps/unix/sysv/linux/sparc/sparc32/setreuid.c: Likewise.
1609         * sysdeps/unix/sysv/linux/sparc/sparc32/setuid.c: Likewise.
1610         * sysdeps/unix/sysv/linux/setegid.c (setegid): Use
1611         INLINE_SYSCALL_ERROR_RETURN_VALUE.
1612         * sysdeps/unix/sysv/linux/seteuid.c (seteuid): Likewise.
1613         * sysdeps/unix/sysv/linux/setgid.c (setgid): Use __NR_setgid32 if
1614         defined.
1615         * sysdeps/unix/sysv/linux/setgroups.c (setgroups): Use
1616         __NR_setgroups32 if defined.
1617         * sysdeps/unix/sysv/linux/setregid.c (__setregid): Use __NR_setregid32
1618         if defined.
1619         * sysdeps/unix/sysv/linux/setresgid.c (__setresgid): Use
1620         __NR_setresgid32 is defined.
1621         * sysdeps/unix/sysv/linux/setresuid.c (__setresuid): Use
1622         __NR_setresuid32 if defined.
1623         * sysdeps/unix/sysv/linux/setreuid.c (__setreuid): Use
1624         __NR_setreuid32 if defined.
1625         * sysdeps/unix/sysv/linux/setuid.c (__setuid): Use __NR_setuid32 if
1626         defined.
1627         * sysdeps/unix/sysv/linux/arm/setegid.c: Remove file.
1628         * sysdeps/unix/sysv/linux/arm/seteuid.c: Likewise.
1629         * sysdeps/unix/sysv/linux/arm/setgid.c: Likewise.
1630         * sysdeps/unix/sysv/linux/arm/setgroups.c: Likewise.
1631         * sysdeps/unix/sysv/linux/arm/setregid.c: Likewise.
1632         * sysdeps/unix/sysv/linux/arm/setresgid.c: Likewise.
1633         * sysdeps/unix/sysv/linux/arm/setresuid.c: Likewise.
1634         * sysdeps/unix/sysv/linux/arm/setreuid.c: Likewise.
1635         * sysdeps/unix/sysv/linux/arm/setuid.c: Likewise.
1636         * sysdeps/unix/sysv/linux/i386/setegid.c: Likewise.
1637         * sysdeps/unix/sysv/linux/i386/seteuid.c: Likewise.
1638         * sysdeps/unix/sysv/linux/i386/setgid.c: Likewise.
1639         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
1640         * sysdeps/unix/sysv/linux/i386/setregid.c: Likewise.
1641         * sysdeps/unix/sysv/linux/i386/setresgid.c: Likewise.
1642         * sysdeps/unix/sysv/linux/i386/setresuid.c: Likewise.
1643         * sysdeps/unix/sysv/linux/i386/setreuid.c: Likewise.
1644         * sysdeps/unix/sysv/linux/i386/setuid.c: Likewise.
1645         * sysdeps/unix/sysv/linux/m68k/setegid.c: Likewise.
1646         * sysdeps/unix/sysv/linux/m68k/seteuid.c: Likewise.
1647         * sysdeps/unix/sysv/linux/m68k/setgid.c: Likewise.
1648         * sysdeps/unix/sysv/linux/m68k/setgroups.c: Likewise.
1649         * sysdeps/unix/sysv/linux/m68k/setregid.c: Likewise.
1650         * sysdeps/unix/sysv/linux/m68k/setresgid.c: Likewise.
1651         * sysdeps/unix/sysv/linux/m68k/setresuid.c: Likewise.
1652         * sysdeps/unix/sysv/linux/m68k/setreuid.c: Likewise.
1653         * sysdeps/unix/sysv/linux/m68k/setuid.c: Likewise.
1654         * sysdeps/unix/sysv/linux/microblaze/setgroups.c: Likewise.
1655         * sysdeps/unix/sysv/linux/s390/s390-32/setegid.c: Likewise.
1656         * sysdeps/unix/sysv/linux/s390/s390-32/seteuid.c: Likewise.
1657         * sysdeps/unix/sysv/linux/s390/s390-32/setgid.c: Likewise.
1658         * sysdeps/unix/sysv/linux/s390/s390-32/setgroups.c: Likewise.
1659         * sysdeps/unix/sysv/linux/s390/s390-32/setregid.c: Likewise.
1660         * sysdeps/unix/sysv/linux/s390/s390-32/setresgid.c: Likewise.
1661         * sysdeps/unix/sysv/linux/s390/s390-32/setresuid.c: Likewise.
1662         * sysdeps/unix/sysv/linux/s390/s390-32/setreuid.c: Likewise.
1663         * sysdeps/unix/sysv/linux/s390/s390-32/setuid.c: Likewise.
1664         * sysdeps/unix/sysv/linux/sh/setegid.c: Likewise.
1665         * sysdeps/unix/sysv/linux/sh/seteuid.c: Likewise.
1666         * sysdeps/unix/sysv/linux/sh/setgid.c: Likewise.
1667         * sysdeps/unix/sysv/linux/sh/setgroups.c: Likewise.
1668         * sysdeps/unix/sysv/linux/sh/setregid.c: Likewise.
1669         * sysdeps/unix/sysv/linux/sh/setresgid.c: Likewise.
1670         * sysdeps/unix/sysv/linux/sh/setresuid.c: Likewise.
1671         * sysdeps/unix/sysv/linux/sh/setreuid.c: Likewise.
1672         * sysdeps/unix/sysv/linux/sh/setuid.c: Likewise.
1673         * sysdeps/unix/sysv/linux/sparc/sparc32/setegid.c: Likewise.
1674         * sysdeps/unix/sysv/linux/sparc/sparc32/seteuid.c: Likewise.
1675         * sysdeps/unix/sysv/linux/sparc/sparc32/setgid.c: Likewise.
1676         * sysdeps/unix/sysv/linux/sparc/sparc32/setgroups.c: Likewise.
1677         * sysdeps/unix/sysv/linux/sparc/sparc32/setregid.c: Likewise.
1678         * sysdeps/unix/sysv/linux/sparc/sparc32/setresgid.c: Likewise.
1679         * sysdeps/unix/sysv/linux/sparc/sparc32/setresuid.c: Likewise.
1680         * sysdeps/unix/sysv/linux/sparc/sparc32/setreuid.c: Likewise.
1681         * sysdeps/unix/sysv/linux/sparc/sparc32/setuid.c: Likewise.
1682         * sysdeps/unix/sysv/linux/setegid.c (setegid): Use
1683         INLINE_SYSCALL_ERROR_RETURN_VALUE.
1684         * sysdeps/unix/sysv/linux/seteuid.c (seteuid): Likewise.
1685         * sysdeps/unix/sysv/linux/setgid.c (setgid): Use __NR_setgid32 if
1686         defined.
1687         * sysdeps/unix/sysv/linux/setgroups.c (setgroups): Use
1688         __NR_setgroups32 if defined.
1689         * sysdeps/unix/sysv/linux/setregid.c (__setregid): Use __NR_setregid32
1690         if defined.
1691         * sysdeps/unix/sysv/linux/setresgid.c (__setresgid): Use
1692         __NR_setresgid32 is defined.
1693         * sysdeps/unix/sysv/linux/setresuid.c (__setresuid): Use
1694         __NR_setresuid32 if defined.
1695         * sysdeps/unix/sysv/linux/setreuid.c (__setreuid): Use
1696         __NR_setreuid32 if defined.
1697         * sysdeps/unix/sysv/linux/setuid.c (__setuid): Use __NR_setuid32 if
1698         defined.
1700 2017-03-27  Joseph Myers  <joseph@codesourcery.com>
1702         [BZ #21277]
1703         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (IUCLC): Define
1704         unconditionally.
1705         (IMAXBEL): Likewise.
1706         (IUTF8): Likewise.
1708 2017-03-27  Szabolcs Nagy  <szabolcs.nagy@arm.com>
1710         * sysdeps/aarch64/libm-test-ulps: Update.
1712 2017-03-24  Sunyeop Lee  <sunyeop97@gmail.com>
1714         * README.tunables: Updated descriptions.
1715         * elf/dl-tunables.list: Fixed typo: SXID_NONE -> NONE.
1716         * scripts/gen-tunables.awk: Updated the code related to the
1717         commit.
1719 2017-03-23  Wilco Dijkstra  <wdijkstr@arm.com>
1721         * benchtests/Makefile (string-benchset): Add memcpy-random.
1722         * benchtests/bench-memcpy-random.c: New file.
1724 2017-03-23  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
1726         * stdio-common/printf.h (register_printf_modifier): Change the
1727         order of __wur and __THROW.
1728         (register_printf_type): Likewise.
1730 2017-03-23  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
1732         * string/test-string.h (TEST_FUNCTION): Use test_main instead of
1733         test_main ().
1734         (CMDLINE_PROCESS): Use function instead of defined macro.
1735         * debug/test-strcpy_chk.c: Import support/test-driver.c and also
1736         <suppport/support.h> to use set_fortify_handler().
1737         * string/bug-envz1.c: Import support/test-driver.c instead of
1738         test-skeleton.c.
1739         * string/bug-strcoll2.c: Likewise.
1740         * string/bug-strtok1.c: Likewise.
1741         * string/stratcliff.c: Likewise.
1742         * string/test-ffs.c: Likewise.
1743         * string/test-memccpy.c: Likewise.
1744         * string/test-memchr.c: Likewise.
1745         * string/test-memcmp.c: Likewise.
1746         * string/test-memcpy.c: Likewise.
1747         * string/test-memmem.c: Likewise.
1748         * string/test-memmove.c: Likewise.
1749         * string/test-memrchr.c: Likewise.
1750         * string/test-memset.c: Likewise.
1751         * string/test-rawmemchr.c: Likewise.
1752         * string/test-strcasecmp.c: Likewise.
1753         * string/test-strcasestr.c: Likewise.
1754         * string/test-strcat.c: Likewise.
1755         * string/test-strchr.c: Likewise.
1756         * string/test-strcmp.c: Likewise.
1757         * string/test-strcpy.c: Likewise.
1758         * string/test-string.h: Likewise.
1759         * string/test-strlen.c: Likewise.
1760         * string/test-strncasecmp.c: Likewise.
1761         * string/test-strncat.c: Likewise.
1762         * string/test-strncmp.c: Likewise.
1763         * string/test-strncpy.c: Likewise.
1764         * string/test-strnlen.c: Likewise.
1765         * string/test-strpbrk.c: Likewise.
1766         * string/test-strrchr.c: Likewise.
1767         * string/test-strspn.c: Likewise.
1768         * string/test-strstr.c: Likewise.
1769         * string/tst-bswap.c: Likewise.
1770         * string/tst-cmp.c: Likewise.
1771         * string/tst-endian.c: Likewise.
1772         * string/tst-inlcall.c: Likewise.
1773         * string/tst-strcoll-overflow.c: Likewise.
1774         * string/tst-strfry.c: Likewise.
1775         * string/tst-strlen.c: Likewise.
1776         * string/tst-strtok.c: Likewise.
1777         * string/tst-strtok_r.c: Likewise.
1778         * string/tst-strxfrm.c: Likewise.
1779         * string/tst-strxfrm2.c: Likewise.
1780         * string/tst-svc.c: Likewise.
1781         * string/tst-svc2.c: Likewise.
1783 2017-03-22  Zack Weinberg  <zackw@panix.com>
1785         * stdio-common/bug25.c: Include stdlib.h.
1786         * support/tst-support_format_dns_packet.c: Include stdio.h,
1787         stdlib.h, and string.h.
1788         * support/tst-support_record_failure.c: Include string.h.
1789         * support/tst-support_record_failure-2.sh: Adjust line number
1790         expectations and correct a typo in an error message.
1792 2017-03-21  H.J. Lu  <hongjiu.lu@intel.com>
1794         [BZ #21258]
1795         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve_opt):
1796         Define only if _dl_runtime_resolve is defined to
1797         _dl_runtime_resolve_sse_vex.
1798         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_opt):
1799         Fallthrough to _dl_runtime_resolve_sse_vex.
1801 2017-03-21  Joseph Myers  <joseph@codesourcery.com>
1803         * INSTALL: Regenerated.
1805 2017-03-21  Thorsten Kukuk  <kukuk@suse.com>
1807         * config.h.in: Add LINK_OBSOLETE_NSL.
1808         * config.make.in: Add build-obsolete-nsl.
1809         * configure.ac: Add obsolete-nsl option.
1810         * include/libc-symbols.h: Define libnsl_hidden_nolink_def.
1811         * include/rpcsvc/yp.h: Add missing functions as libnsl_hidden_proto.
1812         * include/rpcsvc/nislib.h: Likewise.
1813         * include/rpcsvc/ypclnt.h: Likewise.
1814         * manual/install.texi: Document --enable-obsolete-nsl.
1815         * nis/Makefile: Build only libnsl by default (add build-obsolete-nsl).
1816         * nis/nis_add.c: Replace libnsl_hidden_def with
1817         libnsl_hidden_nolink_def.
1818         * nis/nis_addmember.c: Likewise.
1819         * nis/nis_call.c: Likewise.
1820         * nis/nis_clone_obj.c: Likewise.
1821         * nis/nis_defaults.c: Likeise.
1822         * nis/nis_domain_of_r.c: Likewise.
1823         * nis/nis_error.c: Likewise.
1824         * nis/nis_file.c: Likewise.
1825         * nis/nis_free.c: Likewise.
1826         * nis_local_names.c: Likewise.
1827         * nis/nis_lookup.c: Likewise.
1828         * nis/nis_modify.c: Likewise.
1829         * nis/nis_print.c: Likewise.
1830         * nis/nis_remove.c: Likewise.
1831         * nis/nis_table.c: Likewise.
1832         * nis/nis_util.c: Likewise.
1833         * nis/nis_xdr.c: Likewise.
1834         * nis/yp_xdr.c: Likewise.
1835         * nis/ypclnt.c: Likewise.
1836         * nis/ypupdate_xdr.c: Likewise.
1837         * nis/nis_checkpoint.c: Add libnsl_hidden_nolink_def to all functions.
1838         * nis/nis_clone_dir.c: Likewise.
1839         * nis/nis_clone_res.c: Likewise.
1840         * nis/nis_creategroup.c: Likewise.
1841         * nis/nis_destroygroup.c: Likewise.
1842         * nis/nis_domain_of.c: Likewise.
1843         * nis/nis_getservlist.c: Likewise.
1844         * nis/nis_ismember.c: Likewise.
1845         * nis/nis_mkdir.c: Likewise.
1846         * nis/nis_ping.c: Likewise.
1847         * nis/nis_print_group_entry.c: Likewise.
1848         * nis/nis_removemember.c: Likewise.
1849         * nis/nis_rmdir.c: Likewise.
1850         * nis/nis_server.c: Likewise.
1851         * nis/nis_subr.c: Likewise.
1852         * nis/nis_verifygroup.c: Likewise.
1854 2017-03-21  Stefan Liebler  <stli@linux.vnet.ibm.com>
1856         * malloc/tst-interpose-aux.c (check_for_allocations):
1857         Move compiler barrier before free.
1859 2017-03-20  Joseph Myers  <joseph@codesourcery.com>
1861         [BZ #21279]
1862         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile
1863         [$(subdir) = conform] (conformtest-xfail-conds): Update comment.
1864         * conform/data/mqueue.h-data (mq_attr.mq_flags): XFAIL for
1865         x86_64-x32-linux.
1866         (mq_attr.mq_maxmsg): Likewise.
1867         (mq_attr.mq_msgsize): Likewise.
1868         (mq_attr.mq_curmsgs): Likewise.
1870         [BZ #21278]
1871         * sysdeps/unix/sysv/linux/mips/mips32/Makefile
1872         [$(subdir) = conform] (conformtest-xfail-conds): Update comment.
1873         * conform/data/sys/stat.h-data (stat.st_rdev): XFAIL for
1874         mips-o32-linux.
1876         [BZ #21268]
1877         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (NL2): Define only
1878         if [__USE_MISC]
1879         (NL3): Likewise.
1881 2017-03-20  Mike Frysinger  <vapier@gentoo.org>
1883         [BZ #21275]
1884         * sysdeps/unix/sysv/linux/spawni.c [__ia64__] (CLONE): Rename
1885         __stack to __stackbase.
1886         (STACK): Invert _STACK_GROWS_DOWN and _STACK_GROWS_UP order of
1887         checks so we can include defined(__ia64__) first.
1889 2017-03-19  Christian Brauner  <christian.brauner@ubuntu.com>
1891         * sysdeps/unix/sysv/linux/ttyname.h: New file.
1892         * sysdeps/unix/sysv/linux/ttyname.c: Include "ttyname.h".
1893         (ttyname) [!_STATBUF_ST_RDEV]: Make code unconditional.
1894         Call is_pty when the link does not exist or does not match, fail
1895         with ENODEV when it returns true.
1896         * sysdeps/unix/sysv/linux/ttyname_r.c: Include "ttyname.h".
1897         (__ttyname_r) [!_STATBUF_ST_RDEV]: Make code unconditional.
1898         Call is_pty when the link does not exist or does not match, fail
1899         with ENODEV when it returns true.
1901 2017-03-18  Joseph Myers  <joseph@codesourcery.com>
1903         [BZ #16437]
1904         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile
1905         [$(subdir) = conform] (conformtest-xfail-conds): New variable.
1906         * conform/data/signal.h-data (timespec.tv_nsec): XFAIL for
1907         x86_64-x32-linux.
1908         * conform/data/sys/select.h-data (timespec.tv_nsec): Likewise.
1909         * conform/data/sys/stat.h-data (timespec.tv_nsec): Likewise.
1910         * conform/data/time.h-data (timespec.tv_nsec): Likewise.
1912         [BZ #21261]
1913         * sysdeps/unix/sysv/linux/sparc/bits/setjmp.h
1914         [__WORDSIZE == 64 && !_ASM] (__sparc64_jmp_buf): Use reserved
1915         names for all fields.
1916         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Update
1917         for jmp_buf field renaming.
1918         (_JMPBUF_UNWINDS_ADJ): Likewise.
1920         * conform/conformtest.pl: Handle xfail[cond]- in header mentioned
1921         with allow-header.
1923 2017-03-17  Chris Evans  <scarybeasts@gmail.com>
1925         * malloc/malloc.c (unlink): Add consistency check between size and
1926         next->prev->size, to further harden against 1-byte overflows.
1928 2017-03-17  H.J. Lu  <hongjiu.lu@intel.com>
1930         * sysdeps/x86/cpu-features.c (init_cpu_features): Check AVX with
1931         CPU_FEATURES_CPU_P.
1933 2017-03-17  Joseph Myers  <joseph@codesourcery.com>
1935         [BZ #21259]
1936         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (IXANY): Define
1937         unconditionally, not just for [__USE_MISC].
1939         [BZ #17786]
1940         * sysdeps/unix/sysv/linux/mips/mips32/Makefile: New file.
1941         * conform/data/sys/stat.h-data (stat.st_dev): XFAIL for
1942         mips-o32-linux.
1944         [BZ #21260]
1945         * sysdeps/unix/sysv/linux/alpha/Makefile
1946         [$(subdir) = conform] (conformtest-xfail-conds): New variable.
1947         * conform/data/netdb.h-data (netent.n_net): XFAIL for alpha-linux.
1949         * conform/conformtest.pl ($cross): New variable.
1950         (--cross): New command-line option.
1951         (runtest): Skip test execution when cross-compiling.
1952         * conform/Makefile (conformtest-cross): New variable.
1953         ($(conformtest-header-tests)): Pass $(conformtest-cross) to
1954         conformtest.pl.
1956         * conform/conformtest.pl ($xfail_str): New variable.
1957         (--xfail=): New command-line option.
1958         (top level): Handle expectations starting xfail[cond]-.
1959         * conform/Makefile (conformtest-xfail): New variable.
1960         ($(conformtest-header-tests)): Pass $(conformtest-xfail) to
1961         conformtest.pl.
1963 2017-03-16  Joseph Myers  <joseph@codesourcery.com>
1965         * conform/conformtest.pl: Use compilation instead of execution
1966         tests for testing values of constants and usability in #if.
1968 2017-03-16  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
1970         * math/auto-libm-test-in: Mark some catan and catanh as
1971         xfail-rounding:ibm128-libgcc.
1972         * math/auto-libm-test-out-catan: Regenerate.
1973         * math/auto-libm-test-out-catanh: Likewise.
1975 2017-03-16  Joseph Myers  <joseph@codesourcery.com>
1977         * misc/sys/cdefs.h (__BEGIN_NAMESPACE_STD): Remove macro.
1978         (__END_NAMESPACE_STD): Likewise.
1979         (__USING_NAMESPACE_STD): Likewise.
1980         (__BEGIN_NAMESPACE_C99): Likewise.
1981         (__END_NAMESPACE_C99): Likewise.
1982         (__USING_NAMESPACE_C99): Likewise.
1983         * math/math.h (_Mdouble_BEGIN_NAMESPACE): Do not define and
1984         undefine macro.
1985         (_Mdouble_END_NAMESPACE): Likewise.
1986         * ctype/ctype.h: Do not handle C++ namespaces.
1987         * libio/bits/stdio-ldbl.h: Likewise.
1988         * libio/stdio.h: Likewise.
1989         * locale/locale.h: Likewise.
1990         * math/bits/mathcalls.h: Likewise.
1991         * setjmp/setjmp.h: Likewise.
1992         * signal/signal.h: Likewise.
1993         * stdlib/bits/stdlib-float.h: Likewise.
1994         * stdlib/bits/stdlib-ldbl.h: Likewise.
1995         * stdlib/stdlib.h: Likewise.
1996         * string/string.h: Likewise.
1997         * sysdeps/x86/fpu/bits/mathinline.h: Likewise.
1998         * time/bits/types/clock_t.h: Likewise.
1999         * time/bits/types/struct_tm.h: Likewise.
2000         * time/bits/types/time_t.h: Likewise.
2001         * time/time.h: Likewise.
2002         * wcsmbs/bits/wchar-ldbl.h: Likewise.
2003         * wcsmbs/uchar.h: Likewise.
2004         * wcsmbs/wchar.h: Likewise.
2005         [_GLIBCPP_USE_NAMESPACES] (wint_t): Remove conditional definition.
2006         * wctype/wctype.h: Do not handle C++ namespaces.
2007         * scripts/begin-end-check.pl: Remove.
2008         * Makefile (installed-headers): Likewise.
2009         (tests-special): Do not add $(objpfx)begin-end-check.out.
2010         ($(objpfx)begin-end-check.out): Remove.
2012 2017-03-15  Steve Ellcey  <sellcey@caviumnetworks.com>
2013             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2015         * sysdeps/aarch64/dl-machine.h: Include cpu-features.c.
2016         (DL_PLATFORM_INIT): New define.
2017         (dl_platform_init): New function.
2018         * sysdeps/aarch64/ldsodefs.h: Include cpu-features.h.
2019         * sysdeps/unix/sysv/linux/aarch64/cpu-features.c: New file.
2020         * sysdeps/unix/sysv/linux/aarch64/cpu-features.h: Likewise.
2021         * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c: Likewise.
2022         * sysdeps/unix/sysv/linux/aarch64/libc-start.c: Likewise.
2024 2017-03-15  Mike Frysinger  <vapier@gentoo.org>
2026         * sysdeps/x86_64/mempcpy_chk.S (__mempcpy_chk): Check for SHARED
2027         instead of PIC.
2029 2017-03-15  Joseph Myers  <joseph@codesourcery.com>
2031         [BZ #21094]
2032         * sysdeps/ieee754/flt-32/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
2033         24+24+24-bit pi for wider range of values around pi/2.
2034         * math/auto-libm-test-in: Add more tests of cos and tan.
2035         * math/auto-libm-test-out-cos: Regenerated.
2036         * math/auto-libm-test-out-tan: Likewise.
2038 2017-03-15  John David Anglin  <danglin@gcc.gnu.org>
2040         * sysdeps/hppa/dl-machine.h (DL_STACK_END): Define.
2041         (RTLD_START): Don't record stack end address in _dl_start_user.
2043 2017-03-15  Alexey Neyman  <stilor@att.net>
2045         [BZ #21088]
2046         * nss/nsswitch.c (nscd_init_cb, is_nscd): Make the #if check
2047         around definitions match those around use.
2049 2017-03-15  Alexey Neyman  <stilor@att.net>
2051         * configure.ac: Avoid empty subexpression in grep.
2052         * configure: Regenerate.
2054 2017-03-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2056         * posix/test-errno.c (do_test): Initialize setsockopt optlen.
2057         * sysdeps/unix/sysv/linux/test-errno.c: Move to ...
2058         * sysdeps/unix/sysv/linux/test-errno-linux.c: ... here.
2059         (test_wrp_rv): Fix format.
2060         (test_wrp_rv2): New macro.
2061         (do_test): Handle mlock return on 64 bits kernels with 32 bits
2062         binaries.
2064 2017-03-15  Joseph Myers  <joseph@codesourcery.com>
2066         * sysdeps/x86/fpu/test-math-vector-sincos.h (INIT_VEC_PTRS_LOOP):
2067         Use a union when storing pointers.
2068         (VECTOR_WRAPPER_fFF_2): Do not take address of integer vector and
2069         cast result when passing to INIT_VEC_PTRS_LOOP.
2070         (VECTOR_WRAPPER_fFF_3): Likewise.
2071         (VECTOR_WRAPPER_fFF_4): Likewise.
2073 2017-03-14  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
2075         * include/bits/mathcalls-helper-functions.h: New file.
2076         * math/Makefile (headers): Add bits/mathcalls-helper-functions.h.
2077         * math/bits/mathcalls.h (__finite, __fpclassify, __iseqsig)
2078         (__isinf, __isnan, __issignaling, __signbit): Move declarations to
2079         math/bits/mathcalls-helper-functions.h.
2080         * math/bits/mathcalls-helper-functions.h: New file.
2081         * math/math.h: Include bits/mathcalls-helper-functions.h for
2082         float, double, and long double.
2084 2017-03-15  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
2086         * math/s_iseqsig_template.c (__iseqsig): Use __feraiseexcept
2087         instead of feraiseexcept.
2089 2017-03-15  Florian Weimer  <fweimer@redhat.com>
2091         [BZ #21243]
2092         * support/temp_file.c (support_delete_temp_files): Add comment
2093         about ignored errors.
2095 2017-03-15  Florian Weimer  <fweimer@redhat.com>
2097         [BZ #21244]
2098         * support/xclose.c: New file.
2099         * support/Makefile (libsupport-routines): Add xclose.
2100         * support/xunistd.h (xclose): Declare.
2101         * support/resolv_test.c (server_thread_tcp_client)
2102         (server_thread_tcp, make_server_sockets, resolv_test_start)
2103         (resolv_test_end): Call xclose instead of close.
2104         * support/support_enter_network_namespace.c
2105         (support_enter_network_namespace): Likewise.
2106         * support/support_run_diff.c (write_to_temp_file): Likewise.
2108 2017-03-15  Florian Weimer  <fweimer@redhat.com>
2110         * support/support_format_dns_packet.c (support_format_dns_packet):
2111         Handle CNAME records in the response.  Extract RDATA names from
2112         rdata, not the whole packet.  Check AAAA record length.
2113         * support/tst-support_format_dns_packet.c: New file.
2114         * support/Makefile (tests): Add tst-support_format_dns_packet.
2115         (tst-support_format_dns_packet): Link against libresolv.
2117 2017-03-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2119         [BZ #21232]
2120         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c: Add
2121         posix_fadvise64 weak_alias for static build.
2123 2017-03-14  Andreas Schwab  <schwab@suse.de>
2125         * sysdeps/generic/dl-procinfo.h (_dl_platform_string): Remove.
2126         * sysdeps/alpha/dl-procinfo.h (_dl_platform_string): Remove.
2127         (_dl_string_platform): Use GLRO(dl_alpha_platforms) directly.
2128         * sysdeps/i386/dl-procinfo.h (_dl_platform_string): Remove.
2129         * sysdeps/mips/dl-procinfo.h (_dl_platform_string): Remove.
2130         (_dl_string_platform): Use GLRO(dl_mips_platforms) directly.
2131         * sysdeps/s390/dl-procinfo.h (_dl_platform_string): Remove.
2132         * sysdeps/sparc/dl-procinfo.h (_dl_platform_string): Remove.
2134 2017-03-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2136         * sysdeps/mach/hurd/send.c (__send): Convert hurdish error code into
2137         posix error code.
2138         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
2140 2017-03-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2142         * scripts/build-many-glibcs.py (Context.add_all_configs): Remove
2143         no_isolate usage for SH.
2145 2017-03-13  Wilco Dijkstra  <wdijkstr@arm.com>
2147         [BZ #15105]
2148         [BZ #19463]
2149         * elf/dl-cache.c (_dl_load_cache_lookup): Use __strdup.
2150         * inet/rcmd.c (rcmd_af): Likewise.
2151         * inet/rexec.c   (rexec_af): Likewise.
2152         * intl/dcigettext.c (_LIBC): Likewise.
2153         * intl/finddomain.c (_nl_find_domain): Use strdup expansion.
2154         * locale/loadarchive.c (_nl_load_locale_from_archive): Use __strdup.
2155         * locale/setlocale.c (setlocale): Likewise.
2156         * posix/spawn_faction_addopen.c
2157         (posix_spawn_file_actions_addopen): Likewise.
2158         * stdlib/putenv.c (putenv): Use __strndup.
2159         * sunrpc/svc_simple.c (__registerrpc): Use __strdup.
2160         * sysdeps/posix/getaddrinfo.c (gaih_inet): Use __strdup/__strndup.
2161         * include/stdlib.h (__need_malloc_and_calloc): Remove uses.
2162         (__Need_M_And_C) Remove define/undef.
2163         * stdlib/stdlib.h (__need_malloc_and_calloc): Remove uses.
2164         (__malloc_and_calloc_defined): Remove define.
2165         * string/bits/string2.h (__strdup): Remove define.
2166         (strdup): Likewise.
2167         (__strndup): Likewise.
2168         (strndup): Likewise.
2170 2017-03-13  Joseph Myers  <joseph@codesourcery.com>
2172         * sysdeps/unix/sysv/linux/bits/in.h (IPV6_AUTOFLOWLABEL): New
2173         macro.
2174         (IPV6_ADDR_PREFERENCES): Likewise.
2175         (IPV6_MINHOPCOUNT): Likewise.
2176         (IPV6_ORIGDSTADDR): Likewise.
2177         (IPV6_RECVORIGDSTADDR): Likewise.
2178         (IPV6_TRANSPARENT): Likewise.
2179         (IPV6_UNICAST_IF): Likewise.
2180         (IPV6_RECVFRAGSIZE): Likewise.
2182 2017-03-13  Thorsten Kukuk  <kukuk@suse.com>
2184         * sunrpc/Makefile: only run rpcgen tests if we build rpcgen.
2186 2017-03-12  Alexey Neyman <stilor@att.net>
2188         * sysdeps/sh/dl-machine.h (elf_machine_rela): The condition
2189         in R_SH_DIR32 case is always false when inlined from
2190         dl-conflict.c. Ifdef out to prevent GCC from insertin an
2192 2016-03-12  Marko Myllynen  <myllynen@redhat.com>
2194         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
2195         (__ASSUME_RECV_SYSCALL): Replace duplicate by
2196         __ASSUME_SEND_SYSCALL.
2198 2017-03-11  Thorsten Kukuk  <kukuk@suse.com>
2200         * sunrpc/Makefile: don't build and install rpcsvc header
2201         files, rpcgen and librpcsvc.a by default.
2203 2017-03-10  Stefan Liebler  <stli@linux.vnet.ibm.com>
2205         * math/auto-libm-test-out-catan: Regenerated.
2206         * math/auto-libm-test-out-catanh: Likewise.
2207         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
2209 2017-03-09  Joseph Myers  <joseph@codesourcery.com>
2211         * sysdeps/mips/mips64/libm-test-ulps: Update catan and catanh ulps
2212         for long double with corrected test expectations.
2214 2016-03-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2216         * sysdeps/unix/sysv/linux/sysdep.h (HAVE_INTERNAL_SEND_SYMBOL):
2217         Define.
2218         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
2219         (HAVE_INTERNAL_SEND_SYMBOL): Undefine.
2220         * sysdeps/unix/sysv/linux/nios2/sysdep.h
2221         (HAVE_INTERNAL_SEND_SYMBOL): Likewise.
2222         * sysdeps/unix/sysv/linux/tile/sysdep.h
2223         (HAVE_INTERNAL_SEND_SYMBOL): Likewise.
2224         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
2225         (__ASSUME_RECV_SYSCALL): Define.
2226         * sysdeps/unix/sysv/linux/arm/kernel-features.h
2227         (__ASSUME_RECV_SYSCALL): Likewise.
2228         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
2229         (__ASSUME_RECV_SYSCALL): Likewise.
2230         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
2231         (__ASSUME_RECV_SYSCALL): Likewise.
2232         * sysdeps/unix/sysv/linux/mips/kernel-features.h
2233         (__ASSUME_RECV_SYSCALL): Likewise.
2234         * sysdeps/unix/sysv/linux/i386/kernel-features.h
2235         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Remove define.
2236         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
2237         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
2238         * sysdeps/unix/sysv/linux/s390/kernel-features.h
2239         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
2240         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove send from
2241         auto-generation list.
2242         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
2243         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
2244         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewike.
2245         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
2246         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
2247         * sysdeps/unix/sysv/linux/send.c: Simplify includes.
2248         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Replace by
2249         __ASSUME_SENDTO_SYSCALL.
2250         * sysdeps/unix/sysv/linux/x86_64/send.c: Remove file.
2251         * sysdeps/unix/sysv/linux/mips/mips64/send.c: Likewise.
2252         * sysdeps/unix/sysv/linux/generic/send.c: Likewise.
2254         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove sendto from
2255         auto-generation list.
2256         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
2257         * sysdeps/unix/sysv/linux/generic/syscalls.list: Likewise.
2258         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
2259         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
2260         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
2261         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
2262         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
2263         * sysdeps/unix/sysv/linux/kernel-features.h
2264         (__ASSUME_SENDTO_SYSCALL): Define by default.
2265         * sysdeps/unix/sysv/linux/i386/kernel-features.h
2266         (__ASSUME_SENDTO_SYSCALL): Undef it is kernel does not support
2267         __NR_sendto.
2268         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
2269         (__ASSUME_SENDTO_SYSCALL): Likewise.
2270         * sysdeps/unix/sysv/linux/s390/kernel-features.h
2271         (__ASSUME_SENDTO_SYSCALL): Likewise.
2272         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2273         (__ASSUME_SENDTO_SYSCALL): Remove definition.
2274         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
2275         (__ASSUME_SENDTO_SYSCALL): Likewise.
2276         * sysdeps/unix/sysv/linux/sh/kernel-features.h:
2277         (__ASSUME_SENDTO_SYSCALL): Likewise.
2278         * sysdeps/unix/sysv/linux/sendto.c: Simplify includes.
2280         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove recv from
2281         auto-generation list.
2282         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
2283         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
2284         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
2285         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
2286         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
2287         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
2288         (__ASSUME_RECV_SYSCALL): New define.
2289         * sysdeps/unix/sysv/linux/arm/kernel-features.h
2290         (__ASSUME_RECV_SYSCALL): Likewise.
2291         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
2292         (__ASSUME_RECV_SYSCALL): Likewise.
2293         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
2294         (__ASSUME_RECV_SYSCALL): Likewise.
2295         * sysdeps/unix/sysv/linux/mips/kernel-features.h
2296         (__ASSUME_RECV_SYSCALL): Likewise.
2297         * sysdeps/unix/sysv/linux/i386/kernel-features.h
2298         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Remove define.
2299         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
2300         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Remove define.
2301         * sysdeps/unix/sysv/linux/s390/kernel-features.h
2302         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Remove define.
2303         * sysdeps/unix/sysv/linux/generic/recv.c: Remove file.
2304         * sysdeps/unix/sysv/linux/mips/mips64/recv.c: Likewise.
2305         * sysdeps/unix/sysv/linux/x86_64/recv.c: Likewise.
2306         * sysdeps/unix/sysv/linux/recv.c: Simplify includes.
2307         (__libc_recv): Use __ASSUME_RECVFROM_SYSCALL instead of
2308         __ASSUME_RECVFROM_FOR_RECV_SYSCALL to issue recvfrom syscall.
2310         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove recvfrom from
2311         auto-generation list.
2312         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
2313         * sysdeps/unix/sysv/linux/generic/syscalls.list: Likewise.
2314         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
2315         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
2316         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
2317         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
2318         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
2319         * sysdeps/unix/sysv/linux/i386/kernel-features.h
2320         (__ASSUME_RECVFROM_SYSCALL): Define by default.
2321         * sysdeps/unix/sysv/linux/kernel-features.h
2322         (__ASSUME_RECVFROM_SYSCALL): Undef it if kernel does not support
2323         __NR_recvfrom.
2324         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
2325         (__ASSUME_RECVFROM_SYSCALL): Likewise.
2326         * sysdeps/unix/sysv/linux/s390/kernel-features.h
2327         (__ASSUME_RECVFROM_SYSCALL): Likewise.
2328         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2329         (__ASSUME_RECVFROM_SYSCALL): Remove definition.
2330         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
2331         (__ASSUME_RECVFROM_SYSCALL): Likewise.
2332         * sysdeps/unix/sysv/linux/sh/kernel-features.h
2333         (__ASSUME_RECVFROM_SYSCALL): Likewise.
2334         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
2335         (__ASSUME_RECVFROM_SYSCALL): Likewise.
2336         * sysdeps/unix/sysv/linux/recvfrom.c: Simplify includes.
2338         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove connect from
2339         auto-generation list.
2340         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
2341         * sysdeps/unix/sysv/linux/generic/syscalls.list: Likewise.
2342         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
2343         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
2344         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
2345         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
2346         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
2347         * sysdeps/unix/sysv/linux/connect.c: Simplify include list.
2348         * sysdeps/unix/sysv/linux/kernel-features.h
2349         (__ASSUME_CONNECT_SYSCALL): Define.
2350         * sysdeps/unix/sysv/linux/i386/kernel-features.h
2351         (__ASSUME_CONNECT_SYSCALL): Undef if kernel does not support it.
2352         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
2353         (__ASSUME_CONNECT_SYSCALL): Likewise.
2354         * sysdeps/unix/sysv/linux/s390/kernel-features.h
2355         (__ASSUME_CONNECT_SYSCALL): Likewise.
2356         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
2357         (__ASSUME_CONNECT_SYSCALL): Likewise.
2359         * sysdeps/unix/sysv/linux/accept.c (__libc_accept): Replace
2360         __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL by __ASSUME_ACCEPT4_SYSCALL.
2361         * sysdeps/unix/sysv/linux/alpha/syscalls.list?: Remove accept from
2362         auto-generation list.
2363         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
2364         * sysdeps/unix/sysv/linux/generic/syscalls.list: Likewise.
2365         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
2366         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
2367         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
2368         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
2369         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
2370         * sysdeps/unix/sysv/linux/i386/kernel-features.h
2371         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Remove define.
2372         (__ASSUME_ACCEPT_SYSCALL): Undefine.
2373         * sysdeps/unix/sysv/linux/kernel-features.h
2374         (__ASSUME_ACCEPT_SYSCALL): New define.
2375         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
2376         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Remove define.
2377         (__ASSUME_ACCEPT_SYSCALL): Define wheter kernel version supports.
2378         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2379         (__ASSUME_ACCEPT_SYSCALL): Define.
2380         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
2381         (__ASSUME_ACCEPT_SYSCALL): Undefine.
2382         * sysdeps/unix/sysv/linux/s390/kernel-features.h
2383         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Remove define.
2384         (__ASSUME_ACCEPT_SYSCALL): Undefine.
2385         * sysdeps/unix/sysv/linux/sh/kernel-features.h
2386         (__ASSUME_ACCEPT_SYSCALL): Undefine.
2387         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
2388         (__ASSUME_ACCEPT_SYSCALL): Undefine for 32 bits.
2390 2017-03-08  Yury Norov <ynorov@caviumnetworks.com>
2391             Zack Weinberg  <zackw@panix.com>
2393         * posix/test-errno.c: New file.
2394         * posix/Makefile (tests): Add test-errno.
2395         * sysdeps/unix/sysv/linux/test-errno.c: New file.
2396         * sysdeps/unix/sysv/linux/Makefile (tests): Add test-errno.
2398 2017-03-08  Stefan Liebler  <stli@linux.vnet.ibm.com>
2400         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
2402 2017-03-07  Florian Weimer  <fweimer@redhat.com>
2404         * time/tzset.c (compute_offset): Open-code min macro.
2405         (min, max, sign): Remove.
2407 2017-03-07  Florian Weimer  <fweimer@redhat.com>
2409         [BZ #15576]
2410         Remove TZNAME_MAX limit from sysconf.
2411         * include/time.h (__tzname_cur_max, __tzname_max): Remove
2412         declaration.
2413         * time/tzfile.c (__tzfile_read, __tzfile_default): Do not call
2414         compute_tzname_max.
2415         (compute_tzname_max): Remove.
2416         * time/tzset.c (__tzname_cur_max, __tzname_max): Remove.
2417         (update_vars): Do not update __tzname_cur_max.
2418         (tzset_internal): Remove argument.
2419         (__tzset): Adjust call to tzset_internal.
2420         (__tz_convert): Likewise.
2422         * posix/sysconf.c (__sysconf): Return -1 for _SC_TZNAME_MAX.
2423         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
2424         * manual/conf.texi (Sysconf Definition): Update comment.
2426 2017-03-07  Siddhesh Poyarekar  <siddhesh@sourceware.org>
2428         [BZ #21209]
2429         * elf/rtld.c (process_envvars): Ignore LD_HWCAP_MASK for
2430         AT_SECURE processes.
2431         * sysdeps/generic/unsecvars.h: Add LD_HWCAP_MASK.
2432         * elf/tst-env-setuid.c (test_parent): Test LD_HWCAP_MASK.
2433         (test_child): Likewise.
2434         * elf/Makefile (tst-env-setuid-ENV): Add LD_HWCAP_MASK.
2436 2017-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2438         * sysdeps/unix/sysv/linux/hppa/ipc_priv.h: New file.
2440 2017-03-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
2442         * sysdeps/s390/atomic-machine.h
2443         (USE_ATOMIC_COMPILER_BUILTINS): Define to 1.
2444         (__arch_compare_and_exchange_val_8_acq,
2445         __arch_compare_and_exchange_val_16_acq,
2446         __arch_compare_and_exchange_val_32_acq,
2447         __arch_compare_and_exchange_val_64_acq):
2448         Delete macro.
2449         (atomic_compare_and_exchange_val_acq,
2450         atomic_compare_and_exchange_val_rel,
2451         atomic_compare_and_exchange_bool_acq,
2452         catomic_compare_and_exchange_bool_acq,
2453         atomic_exchange_acq, atomic_exchange_rel,
2454         atomic_exchange_and_add_acq,
2455         atomic_exchange_and_add_rel,
2456         catomic_exchange_and_add, atomic_or_val,
2457         atomic_or, catomic_or, atomic_bit_test_set,
2458         atomic_and_val, atomic_and, catomic_and):
2459         Define macros with help of C11 atomic builtins.
2461 2017-03-03  Justus Winter <justus@gnupg.org>
2463         * sysdeps/mach/hurd/ftruncate64.c: New file.
2464         * sysdeps/mach/hurd/truncate64.c: Likewise.
2466 2017-03-03  Florian Weimer  <fweimer@redhat.com>
2468         * time/tzfile.c (NOID): Do not define.
2469         * time/tzset.c (NOID): Likewise.
2471 2017-03-03  Florian Weimer  <fweimer@redhat.com>
2473         * time/tzset.c (compute_offset): Remove __attribute_noinline__.
2475 2017-03-02  Florian Weimer  <fweimer@redhat.com>
2477         * elf/get-dynamic-info.h: Remove header file inclusion guard.
2479 2017-03-02  Florian Weimer  <fweimer@redhat.com>
2481         [BZ #21015]
2482         * manual/install.texi (Configuring and compiling): Document
2483         --enable-bind-now.
2484         * Makeconfig [bind-now] (LDFLAGS-lib.so): Set.
2485         (build-shlib-helper): Use $(LDFLAGS-lib.so).
2486         (format.lds): Likewise.
2487         [bind-now] (LDFLAGS-c.so): Remove.
2488         * sysdeps/x86_64/localplt.data (libm.so): matherr relocation can
2489         be R_X86_64_GLOB_DAT.
2490         * sysdeps/unix/sysv/linux/i386/localplt.data (libm.so): matherr
2491         relocation can be R_386_GLOB_DAT.
2492         * sysdeps/unix/sysv/linux/alpha/localplt.data (libm.so): matherr
2493         relocaiton can be R_ALPHA_GLOB_DAT.
2494         * iconvdata/Makefile [bind-now] (LDFLAGS.so): Add -Wl,-z,now.
2496 2017-03-01  Zack Weinberg  <zackw@panix.com>
2498         * include/libc-pointer-arith.h: New file.  Define
2499         cast_to_integer, ALIGN_UP, ALIGN_DOWN, PTR_ALIGN_UP, and
2500         PTR_ALIGN_DOWN here.
2501         * include/libc-internal.h: Definitions of above macros
2502         moved from here.  Don't include libc-diag.h anymore either.
2503         * posix/wordexp-test.c: Include stdint.h and libc-pointer-arith.h.
2504         Don't include libc-internal.h.
2506         * debug/pcprofile.c, elf/dl-tunables.c, elf/soinit.c, io/openat.c
2507         * io/openat64.c, misc/ptrace.c, nptl/pthread_clock_gettime.c
2508         * nptl/pthread_clock_settime.c, nptl/pthread_cond_common.c
2509         * string/strcoll_l.c, sysdeps/nacl/brk.c
2510         * sysdeps/unix/clock_settime.c
2511         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c
2512         * sysdeps/unix/sysv/linux/ia64/get_clockfreq.c
2513         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
2514         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c:
2515         Don't include libc-internal.h.
2517         * elf/get-dynamic-info.h, iconv/loop.c
2518         * iconvdata/iso-2022-cn-ext.c, locale/weight.h, locale/weightwc.h
2519         * misc/reboot.c, nis/nis_table.c, nptl_db/thread_dbP.h
2520         * nscd/connections.c, resolv/res_send.c, soft-fp/fmadf4.c
2521         * soft-fp/fmasf4.c, soft-fp/fmatf4.c, stdio-common/vfscanf.c
2522         * sysdeps/ieee754/dbl-64/e_lgamma_r.c
2523         * sysdeps/ieee754/dbl-64/k_rem_pio2.c
2524         * sysdeps/ieee754/flt-32/e_lgammaf_r.c
2525         * sysdeps/ieee754/flt-32/k_rem_pio2f.c
2526         * sysdeps/ieee754/ldbl-128/k_tanl.c
2527         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
2528         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
2529         * sysdeps/ieee754/ldbl-96/k_tanl.c, sysdeps/nptl/futex-internal.h:
2530         Include libc-diag.h instead of libc-internal.h.
2532         * elf/dl-load.c, elf/dl-reloc.c, locale/programs/locarchive.c
2533         * nptl/nptl-init.c, string/strcspn.c, string/strspn.c
2534         * malloc/malloc.c, sysdeps/i386/nptl/tls.h
2535         * sysdeps/nacl/dl-map-segments.h, sysdeps/x86_64/atomic-machine.h
2536         * sysdeps/unix/sysv/linux/spawni.c
2537         * sysdeps/x86_64/nptl/tls.h:
2538         Include libc-pointer-arith.h instead of libc-internal.h.
2540         * elf/get-dynamic-info.h, sysdeps/nacl/dl-map-segments.h
2541         * sysdeps/x86_64/atomic-machine.h:
2542         Add multiple include guard.
2544         * nss/tst-cancel-getpwuid_r.c: Include nss.h.
2545         * string/strcasestr.c: No need to include config.h.
2546         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c: Include
2547         sys/auxv.h. Don't include sysdep.h.
2548         * sysdeps/powerpc/tst-set_ppr.c: Don't include dl-procinfo.h.
2550         * dlfcn/tst-dladdr.c: Don't include ldsodefs.h.  Don't use
2551         DL_LOOKUP_ADDRESS.
2552         * math/test-misc.c: Instead of testing NO_LONG_DOUBLE, test whether
2553         LDBL_MANT_DIG is greater than DBL_MANT_DIG.
2554         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Use
2555         sysconf (_SC_PAGESIZE) instead of __getpagesize in definition
2556         of ARTIFICIAL_LIMIT.
2557         * sysdeps/unix/sysv/linux/tst-clone.c [__ia64__]: Add extern
2558         declaration of __clone2.
2560 2017-02-28  Florian Weimer  <fweimer@redhat.com>
2562         * scripts/backport-support.sh (latest_commit): New file.
2564 2017-02-28  Florian Weimer  <fweimer@redhat.com>
2566         [BZ #20257]
2567         * inet/Makefile (routines): Add deadline.
2568         (tests-static): Add tst-deadline.
2569         * inet/net-internal.h (struct deadline_current_time)
2570         (__deadline_current_time, struct deadline, __deadline_is_infinite)
2571         (__deadline_elapsed, __deadline_first, __deadline_from_timeval)
2572         (__deadline_to_ms, __is_timeval_valid_timeout): Declare.
2573         * inet/deadline.c: New file.
2574         * inet/tst-deadline.c: Likewise.
2575         * sunrpc/Makefile (tests): Add tst-udp-nonblocking,
2576         tst-udp-timeout, tst-udp-garbage.
2577         (tst-udp-nonblocking, tst-udp-timeout): Link against libc.so
2578         explicitly.
2579         (tst-udp-garbage): Likewise.  Also link against thread library.
2580         * sunrpc/clnt_udp.c (struct cu_data): Mention in comment that the
2581         struct layout is part of the ABI.
2582         (clntudp_call): Rework timeout handling.
2583         * sunrpc/tst-udp-garbage.c: New file.
2584         * sunrpc/tst-udp-nonblocking.c: Likewise.
2585         * sunrpc/tst-udp-timeout.c: Likewise.
2587 2017-02-28  Florian Weimer  <fweimer@redhat.com>
2589         [BZ #5010]
2590         * sunrpc/svc.c (svc_is_mapped): Remove.
2591         (svc_unregister): Obtain mapped status while the service is still
2592         registered.
2593         * sunrpc/Makefile [have-thread-library] (tests): Add
2594         tst-svc_register.
2595         (tst-svc_register): Link against libc.so explicitly and the thread
2596         library.
2597         * sunrpc/tst-svc_register.c: New file.
2599 2017-02-28  Andreas Schwab  <schwab@linux-m68k.org>
2601         * bits/sigthread.h: Refer to <signal.h>, not <pthread.h>.
2602         * sysdeps/pthread/bits/sigthread.h: Likewise.
2604 2017-02-27  Florian Weimer  <fweimer@redhat.com>
2606         [BZ #21115]
2607         * sunrpc/clnt_udp.c (clntudp_call): Free ancillary data later.
2608         * sunrpc/Makefile (tests): Add tst-udp-error.
2609         (tst-udp-error): Link against libc.so explicitly.
2610         * sunrpc/tst-udp-error: New file.
2612 2017-02-25  Zack Weinberg  <zackw@panix.com>
2614         * sysdeps/generic/math_private.h: Use __BIG_ENDIAN and
2615         __LITTLE_ENDIAN, not BIG_ENDIAN and LITTLE_ENDIAN.
2617         * sysdeps/generic/math_ldbl.h
2618         * sysdeps/ia64/fpu/math_ldbl.h
2619         * sysdeps/ieee754/ldbl-128/math_ldbl.h
2620         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
2621         * sysdeps/ieee754/ldbl-96/math_ldbl.h
2622         * sysdeps/powerpc/fpu/math_ldbl.h
2623         * sysdeps/x86_64/fpu/math_ldbl.h:
2624         Allow direct inclusion.  Use uintNN_t instead of u_intNN_t.
2625         Use __BIG_ENDIAN and __LITTLE_ENDIAN, not BIG_ENDIAN and
2626         LITTLE_ENDIAN.  Include endian.h and/or stdint.h if necessary.
2627         Add copyright notices.
2629         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
2630         Don't use EXTRACT_WORDS64.
2632         * sysdeps/ieee754/ldbl-96/test-canonical-ldbl-96.c
2633         * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c
2634         * sysdeps/ieee754/ldbl-128ibm/test-canonical-ldbl-128ibm.c
2635         * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c:
2636         Include math_ldbl.h, not math_private.h.
2638 2017-02-25  Zack Weinberg  <zackw@panix.com>
2640         * include/libc-diag.h: New file.  Define ignore_value,
2641         DIAG_PUSH_NEEDS_COMMENT, DIAG_POP_NEEDS_COMMENT,
2642         DIAG_IGNORE_NEEDS_COMMENT, and DIAG_IGNORE_Os_NEEDS_COMMENT here.
2644         * include/libc-internal.h: Definitions of above macros moved from
2645         here.  Include libc-diag.h.  Add copyright notice.
2647         * malloc/tst-malloc.c, malloc/tst-memcheck.c, malloc/tst-realloc.c
2648         * misc/tst-error1.c, posix/tst-dir.c, stdio-common/bug21.c
2649         * stdio-common/scanf14.c, stdio-common/scanf4.c, stdio-common/scanf7.c
2650         * stdio-common/test-vfprintf.c, stdio-common/tst-printf.c
2651         * stdio-common/tst-printfsz.c, stdio-common/tst-sprintf.c
2652         * stdio-common/tst-unlockedio.c, stdio-common/tstdiomisc.c
2653         * stdlib/bug-getcontext.c, string/tester.c, string/tst-endian.c
2654         * time/tst-strptime2.c, wcsmbs/tst-wcstof.c:
2655         Include libc-diag.h instead of libc-internal.h.
2657         * stdlib/tst-environ.c: Include libc-diag.h.  Suppress -Wnonnull for
2658         call to unsetenv (NULL).
2659         * nptl/tst-mutex1.c: Include libc-diag.h.  Suppress -Wnonnull for
2660         call to pthread_mutexattr_destroy (NULL).
2662 2017-02-25  Zack Weinberg  <zackw@panix.com>
2664         * include/features.h (__GLIBC_USE_DEPRECATED_GETS): New macro.
2665         * libio/stdio.h, libio/bits/stdio2.h: Condition gets on
2666         __GLIBC_USE (DEPRECATED_GETS).  Update comments to indicate
2667         gets was removed from C++ in C++14.
2668         * include/stdio.h: Remove redundant declaration of gets.
2669         * debug/tst-chk1.c, stdio-common/tst-gets.c: Force gets to
2670         be declared, since we are testing it.
2671         * stdio-common/Makefile (tst-gets.c): Compile with
2672         -Wno-deprecated-declarations.
2673         * debug/Makefile (tst-chk1.c, tst-chk2.c, tst-chk3.c, tst-chk4.cc)
2674         (tst-chk5.cc, tst-chk6.cc, tst-lfschk1.c, tst-lfschk2.c)
2675         (tst-lfschk3.c, tst-lfschk4.cc, tst-lfschk5.cc, tst-lfschk6.cc):
2676         Compile with -Wno-deprecated-declarations.
2678 2017-02-24  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
2680         * math/libm-test-support.c (check_ulp): Use LIT() around literal
2681         numbers.
2683 2017-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
2685         * resolv/tst-resolv-qtypes.c (domain):
2686         Change type to const pointer to const char.
2688 2017-02-24  Joseph Myers  <joseph@codesourcery.com>
2690         * math/Makefile (libm-tests-generated): Remove variable.
2691         (libm-tests-base-normal): New variable.
2692         (libm-tests-base-finite): Likewise.
2693         (libm-tests-base-inline): Likewise.
2694         (libm-tests-base): Likewise.
2695         (libm-tests-normal): Likewise.
2696         (libm-tests-finite): Likewise.
2697         (libm-tests-inline): Likewise.
2698         (libm-tests-vector): Likewise.
2699         (libm-tests): Define in terms of these new variables.
2700         (libm-tests-for-type): New variable.
2701         (libm-tests.o): Move definition.
2702         (tests): Move addition of $(libm-tests).
2703         (generated): Update for new and removed libm test files.
2704         ($(objpfx)libm-test.c): Remove target.
2705         ($(objpfx)libm-have-vector-test.h): Likewise.
2706         (CFLAGS-test-double-vlen2.c): Remove variable.
2707         (CFLAGS-test-double-vlen4.c): Likewise.
2708         (CFLAGS-test-double-vlen8.c): Likewise.
2709         (CFLAGS-test-float-vlen4.c): Likewise.
2710         (CFLAGS-test-float-vlen8.c): Likewise.
2711         (CFLAGS-test-float-vlen16.c): Likewise.
2712         (CFLAGS-test-float.c): Likewise.
2713         (CFLAGS-test-float-finite.c): Likewise.
2714         (CFLAGS-libm-test-support-float.c): Likewise.
2715         (CFLAGS-test-double.c): Likewise.
2716         (CFLAGS-test-double-finite.c): Likewise.
2717         (CFLAGS-libm-test-support-double.c): Likewise.
2718         (CFLAGS-test-ldouble.c): Likewise.
2719         (CFLAGS-test-ldouble-finite.c): Likewise.
2720         (CFLAGS-libm-test-support-ldouble.c): Likewise.
2721         (libm-test-inline-cflags): New variable.
2722         (CFLAGS-test-ifloat.c): Remove variable.
2723         (CFLAGS-test-idouble.c): Likewise.
2724         (CFLAGS-test-ildouble.c): Likewise.
2725         ($(addprefix $(objpfx), $(libm-tests.o))): Move target and update
2726         dependencies.
2727         ($(foreach t,$(libm-tests-normal),$(objpfx)$(t).c)): New rule.
2728         ($(foreach t,$(libm-tests-finite),$(objpfx)$(t).c)): Likewise.
2729         ($(foreach t,$(libm-tests-inline),$(objpfx)$(t).c)): Likewise.
2730         ($(foreach t,$(libm-tests-vector),$(objpfx)$(t).c)): Likewise.
2731         ($(foreach t,$(types),$(objpfx)libm-test-support-$(t).c)):
2732         Likewise.
2733         (dependencies on libm-test-support-*.o): Remove.
2734         ($(foreach f,$(libm-test-funcs-all),$(objpfx)$(o)-$(f).o)): New
2735         rules using iterators.
2736         ($(addprefix $(objpfx),$(call libm-tests-for-type,$(o)))):
2737         Likewise.
2738         ($(objpfx)libm-test-support-$(o).o): Likewise.
2739         ($(addprefix $(objpfx),$(filter-out $(tests-static)
2740         $(libm-vec-tests),$(tests)))): Filter out $(libm-tests-vector)
2741         instead.
2742         ($(addprefix $(objpfx), $(libm-vec-tests))): Use iterator to
2743         define rule instead.
2744         * math/README.libm-test: Update.
2745         * math/libm-test-acos.inc: Include libm-test-driver.c.
2746         (do_test): New function.
2747         * math/libm-test-acosh.inc: Include libm-test-driver.c.
2748         (do_test): New function.
2749         * math/libm-test-asin.inc: Include libm-test-driver.c.
2750         (do_test): New function.
2751         * math/libm-test-asinh.inc: Include libm-test-driver.c.
2752         (do_test): New function.
2753         * math/libm-test-atan.inc: Include libm-test-driver.c.
2754         (do_test): New function.
2755         * math/libm-test-atan2.inc: Include libm-test-driver.c.
2756         (do_test): New function.
2757         * math/libm-test-atanh.inc: Include libm-test-driver.c.
2758         (do_test): New function.
2759         * math/libm-test-cabs.inc: Include libm-test-driver.c.
2760         (do_test): New function.
2761         * math/libm-test-cacos.inc: Include libm-test-driver.c.
2762         (do_test): New function.
2763         * math/libm-test-cacosh.inc: Include libm-test-driver.c.
2764         (do_test): New function.
2765         * math/libm-test-canonicalize.inc: Include libm-test-driver.c.
2766         (do_test): New function.
2767         * math/libm-test-carg.inc: Include libm-test-driver.c.
2768         (do_test): New function.
2769         * math/libm-test-casin.inc: Include libm-test-driver.c.
2770         (do_test): New function.
2771         * math/libm-test-casinh.inc: Include libm-test-driver.c.
2772         (do_test): New function.
2773         * math/libm-test-catan.inc: Include libm-test-driver.c.
2774         (do_test): New function.
2775         * math/libm-test-catanh.inc: Include libm-test-driver.c.
2776         (do_test): New function.
2777         * math/libm-test-cbrt.inc: Include libm-test-driver.c.
2778         (do_test): New function.
2779         * math/libm-test-ccos.inc: Include libm-test-driver.c.
2780         (do_test): New function.
2781         * math/libm-test-ccosh.inc: Include libm-test-driver.c.
2782         (do_test): New function.
2783         * math/libm-test-ceil.inc: Include libm-test-driver.c.
2784         (do_test): New function.
2785         * math/libm-test-cexp.inc: Include libm-test-driver.c.
2786         (do_test): New function.
2787         * math/libm-test-cimag.inc: Include libm-test-driver.c.
2788         (do_test): New function.
2789         * math/libm-test-clog.inc: Include libm-test-driver.c.
2790         (do_test): New function.
2791         * math/libm-test-clog10.inc: Include libm-test-driver.c.
2792         (do_test): New function.
2793         * math/libm-test-conj.inc: Include libm-test-driver.c.
2794         (do_test): New function.
2795         * math/libm-test-copysign.inc: Include libm-test-driver.c.
2796         (do_test): New function.
2797         * math/libm-test-cos.inc: Include libm-test-driver.c.
2798         (do_test): New function.
2799         * math/libm-test-cosh.inc: Include libm-test-driver.c.
2800         (do_test): New function.
2801         * math/libm-test-cpow.inc: Include libm-test-driver.c.
2802         (do_test): New function.
2803         * math/libm-test-cproj.inc: Include libm-test-driver.c.
2804         (do_test): New function.
2805         * math/libm-test-creal.inc: Include libm-test-driver.c.
2806         (do_test): New function.
2807         * math/libm-test-csin.inc: Include libm-test-driver.c.
2808         (do_test): New function.
2809         * math/libm-test-csinh.inc: Include libm-test-driver.c.
2810         (do_test): New function.
2811         * math/libm-test-csqrt.inc: Include libm-test-driver.c.
2812         (do_test): New function.
2813         * math/libm-test-ctan.inc: Include libm-test-driver.c.
2814         (do_test): New function.
2815         * math/libm-test-ctanh.inc: Include libm-test-driver.c.
2816         (do_test): New function.
2817         * math/libm-test-erf.inc: Include libm-test-driver.c.
2818         (do_test): New function.
2819         * math/libm-test-erfc.inc: Include libm-test-driver.c.
2820         (do_test): New function.
2821         * math/libm-test-exp.inc: Include libm-test-driver.c.
2822         (do_test): New function.
2823         * math/libm-test-exp10.inc: Include libm-test-driver.c.
2824         (do_test): New function.
2825         * math/libm-test-exp2.inc: Include libm-test-driver.c.
2826         (do_test): New function.
2827         * math/libm-test-expm1.inc: Include libm-test-driver.c.
2828         (do_test): New function.
2829         * math/libm-test-fabs.inc: Include libm-test-driver.c.
2830         (do_test): New function.
2831         * math/libm-test-fdim.inc: Include libm-test-driver.c.
2832         (do_test): New function.
2833         * math/libm-test-floor.inc: Include libm-test-driver.c.
2834         (do_test): New function.
2835         * math/libm-test-fma.inc: Include libm-test-driver.c.
2836         (do_test): New function.
2837         * math/libm-test-fmax.inc: Include libm-test-driver.c.
2838         (do_test): New function.
2839         * math/libm-test-fmaxmag.inc: Include libm-test-driver.c.
2840         (do_test): New function.
2841         * math/libm-test-fmin.inc: Include libm-test-driver.c.
2842         (do_test): New function.
2843         * math/libm-test-fminmag.inc: Include libm-test-driver.c.
2844         (do_test): New function.
2845         * math/libm-test-fmod.inc: Include libm-test-driver.c.
2846         (do_test): New function.
2847         * math/libm-test-fpclassify.inc: Include libm-test-driver.c.
2848         (do_test): New function.
2849         * math/libm-test-frexp.inc: Include libm-test-driver.c.
2850         (do_test): New function.
2851         * math/libm-test-fromfp.inc: Include libm-test-driver.c.
2852         (do_test): New function.
2853         * math/libm-test-fromfpx.inc: Include libm-test-driver.c.
2854         (do_test): New function.
2855         * math/libm-test-getpayload.inc: Include libm-test-driver.c.
2856         (do_test): New function.
2857         * math/libm-test-hypot.inc: Include libm-test-driver.c.
2858         (do_test): New function.
2859         * math/libm-test-ilogb.inc: Include libm-test-driver.c.
2860         (do_test): New function.
2861         * math/libm-test-iscanonical.inc: Include libm-test-driver.c.
2862         (do_test): New function.
2863         * math/libm-test-iseqsig.inc: Include libm-test-driver.c.
2864         (do_test): New function.
2865         * math/libm-test-isfinite.inc: Include libm-test-driver.c.
2866         (do_test): New function.
2867         * math/libm-test-isgreater.inc: Include libm-test-driver.c.
2868         (do_test): New function.
2869         * math/libm-test-isgreaterequal.inc: Include libm-test-driver.c.
2870         (do_test): New function.
2871         * math/libm-test-isinf.inc: Include libm-test-driver.c.
2872         (do_test): New function.
2873         * math/libm-test-isless.inc: Include libm-test-driver.c.
2874         (do_test): New function.
2875         * math/libm-test-islessequal.inc: Include libm-test-driver.c.
2876         (do_test): New function.
2877         * math/libm-test-islessgreater.inc: Include libm-test-driver.c.
2878         (do_test): New function.
2879         * math/libm-test-isnan.inc: Include libm-test-driver.c.
2880         (do_test): New function.
2881         * math/libm-test-isnormal.inc: Include libm-test-driver.c.
2882         (do_test): New function.
2883         * math/libm-test-issignaling.inc: Include libm-test-driver.c.
2884         (do_test): New function.
2885         * math/libm-test-issubnormal.inc: Include libm-test-driver.c.
2886         (do_test): New function.
2887         * math/libm-test-isunordered.inc: Include libm-test-driver.c.
2888         (do_test): New function.
2889         * math/libm-test-iszero.inc: Include libm-test-driver.c.
2890         (do_test): New function.
2891         * math/libm-test-j0.inc: Include libm-test-driver.c.
2892         (do_test): New function.
2893         * math/libm-test-j1.inc: Include libm-test-driver.c.
2894         (do_test): New function.
2895         * math/libm-test-jn.inc: Include libm-test-driver.c.
2896         (do_test): New function.
2897         * math/libm-test-lgamma.inc: Include libm-test-driver.c.
2898         (do_test): New function.
2899         * math/libm-test-llogb.inc: Include libm-test-driver.c.
2900         (do_test): New function.
2901         * math/libm-test-llrint.inc: Include libm-test-driver.c.
2902         (do_test): New function.
2903         * math/libm-test-llround.inc: Include libm-test-driver.c.
2904         (do_test): New function.
2905         * math/libm-test-log.inc: Include libm-test-driver.c.
2906         (do_test): New function.
2907         * math/libm-test-log10.inc: Include libm-test-driver.c.
2908         (do_test): New function.
2909         * math/libm-test-log1p.inc: Include libm-test-driver.c.
2910         (do_test): New function.
2911         * math/libm-test-log2.inc: Include libm-test-driver.c.
2912         (do_test): New function.
2913         * math/libm-test-logb.inc: Include libm-test-driver.c.
2914         (do_test): New function.
2915         * math/libm-test-lrint.inc: Include libm-test-driver.c.
2916         (do_test): New function.
2917         * math/libm-test-lround.inc: Include libm-test-driver.c.
2918         (do_test): New function.
2919         * math/libm-test-modf.inc: Include libm-test-driver.c.
2920         (do_test): New function.
2921         * math/libm-test-nearbyint.inc: Include libm-test-driver.c.
2922         (do_test): New function.
2923         * math/libm-test-nextafter.inc: Include libm-test-driver.c.
2924         (do_test): New function.
2925         * math/libm-test-nextdown.inc: Include libm-test-driver.c.
2926         (do_test): New function.
2927         * math/libm-test-nexttoward.inc: Include libm-test-driver.c.
2928         (do_test): New function.
2929         * math/libm-test-nextup.inc: Include libm-test-driver.c.
2930         (do_test): New function.
2931         * math/libm-test-pow.inc: Include libm-test-driver.c.
2932         (do_test): New function.
2933         * math/libm-test-remainder.inc: Include libm-test-driver.c.
2934         (do_test): New function.
2935         * math/libm-test-remquo.inc: Include libm-test-driver.c.
2936         (do_test): New function.
2937         * math/libm-test-rint.inc: Include libm-test-driver.c.
2938         (do_test): New function.
2939         * math/libm-test-round.inc: Include libm-test-driver.c.
2940         (do_test): New function.
2941         * math/libm-test-roundeven.inc: Include libm-test-driver.c.
2942         (do_test): New function.
2943         * math/libm-test-scalb.inc: Include libm-test-driver.c.
2944         (do_test): New function.
2945         * math/libm-test-scalbln.inc: Include libm-test-driver.c.
2946         (do_test): New function.
2947         * math/libm-test-scalbn.inc: Include libm-test-driver.c.
2948         (do_test): New function.
2949         * math/libm-test-setpayload.inc: Include libm-test-driver.c.
2950         (do_test): New function.
2951         * math/libm-test-setpayloadsig.inc: Include libm-test-driver.c.
2952         (do_test): New function.
2953         * math/libm-test-signbit.inc: Include libm-test-driver.c.
2954         (do_test): New function.
2955         * math/libm-test-significand.inc: Include libm-test-driver.c.
2956         (do_test): New function.
2957         * math/libm-test-sin.inc: Include libm-test-driver.c.
2958         (do_test): New function.
2959         * math/libm-test-sincos.inc: Include libm-test-driver.c.
2960         (do_test): New function.
2961         * math/libm-test-sinh.inc: Include libm-test-driver.c.
2962         (do_test): New function.
2963         * math/libm-test-sqrt.inc: Include libm-test-driver.c.
2964         (do_test): New function.
2965         * math/libm-test-tan.inc: Include libm-test-driver.c.
2966         (do_test): New function.
2967         * math/libm-test-tanh.inc: Include libm-test-driver.c.
2968         (do_test): New function.
2969         * math/libm-test-tgamma.inc: Include libm-test-driver.c.
2970         (do_test): New function.
2971         * math/libm-test-totalorder.inc: Include libm-test-driver.c.
2972         (do_test): New function.
2973         * math/libm-test-totalordermag.inc: Include libm-test-driver.c.
2974         (do_test): New function.
2975         * math/libm-test-trunc.inc: Include libm-test-driver.c.
2976         (do_test): New function.
2977         * math/libm-test-ufromfp.inc: Include libm-test-driver.c.
2978         (do_test): New function.
2979         * math/libm-test-ufromfpx.inc: Include libm-test-driver.c.
2980         (do_test): New function.
2981         * math/libm-test-y0.inc: Include libm-test-driver.c.
2982         (do_test): New function.
2983         * math/libm-test-y1.inc: Include libm-test-driver.c.
2984         (do_test): New function.
2985         * math/libm-test-yn.inc: Include libm-test-driver.c.
2986         (do_test): New function.
2987         * math/libm-test-driver.c: Do not include libm-have-vector-test.h.
2988         (HAVE_VECTOR): Remove macro.
2989         (START): Do not call HAVE_VECTOR.
2990         * math/test-double-vlen2.h (FUNC_TEST): Remove macro.
2991         * math/test-double-vlen4.h (FUNC_TEST): Remove macro.
2992         * math/test-double-vlen8.h (FUNC_TEST): Remove macro.
2993         * math/test-float-vlen16.h (FUNC_TEST): Remove macro.
2994         * math/test-float-vlen4.h (FUNC_TEST): Remove macro.
2995         * math/test-float-vlen8.h (FUNC_TEST): Remove macro.
2996         * math/test-math-vector.h (FUNC_TEST): New macro.
2997         (WRAPPER_DECL): Rename to WRAPPER_DECL_f.
2998         * sysdeps/x86_64/fpu/Makefile (double-vlen2-funcs): New variable.
2999         (double-vlen4-funcs): Likewise.
3000         (double-vlen4-avx2-funcs): Likewise.
3001         (double-vlen8-funcs): Likewise.
3002         (float-vlen4-funcs): Likewise.
3003         (float-vlen8-funcs): Likewise.
3004         (float-vlen8-avx2-funcs): Likewise.
3005         (float-vlen16-funcs): Likewise.
3006         (CFLAGS-test-double-vlen4-avx2.c): Remove variable.
3007         (CFLAGS-test-float-vlen8-avx2.c): Likewise.
3008         * sysdeps/x86_64/fpu/test-double-vlen4.h (TEST_VECTOR_cos): Remove
3009         macro.
3010         (TEST_VECTOR_sin): Likewise.
3011         (TEST_VECTOR_sincos): Likewise.
3012         (TEST_VECTOR_log): Likewise.
3013         (TEST_VECTOR_exp): Likewise.
3014         (TEST_VECTOR_pow): Likewise.
3015         * sysdeps/x86_64/fpu/test-double-vlen8.h (TEST_VECTOR_cos):
3016         Likewise.
3017         (TEST_VECTOR_sin): Likewise.
3018         (TEST_VECTOR_sincos): Likewise.
3019         (TEST_VECTOR_log): Likewise.
3020         (TEST_VECTOR_exp): Likewise.
3021         (TEST_VECTOR_pow): Likewise.
3022         * sysdeps/x86_64/fpu/test-float-vlen16.h (TEST_VECTOR_cosf):
3023         Likewise.
3024         (TEST_VECTOR_sinf): Likewise.
3025         (TEST_VECTOR_sincosf): Likewise.
3026         (TEST_VECTOR_logf): Likewise.
3027         (TEST_VECTOR_expf): Likewise.
3028         (TEST_VECTOR_powf): Likewise.
3029         * sysdeps/x86_64/fpu/test-float-vlen8.h (TEST_VECTOR_cosf):
3030         Likewise.
3031         (TEST_VECTOR_sinf): Likewise.
3032         (TEST_VECTOR_sincosf): Likewise.
3033         (TEST_VECTOR_logf): Likewise.
3034         (TEST_VECTOR_expf): Likewise.
3035         (TEST_VECTOR_powf): Likewise.
3036         * math/gen-libm-have-vector-test.sh: Remove file.
3037         * math/libm-test.inc: Likewise.
3038         * math/libm-test-support-double.c: Likewise.
3039         * math/libm-test-support-float.c: Likewise.
3040         * math/libm-test-support-ldouble.c: Likewise.
3041         * math/test-double-finite.c: Likewise.: Likewise.
3042         * math/test-double.c: Likewise.
3043         * math/test-float-finite.c: Likewise.
3044         * math/test-float.c: Likewise.
3045         * math/test-idouble.c: Likewise.
3046         * math/test-ifloat.c: Likewise.
3047         * math/test-ildouble.c: Likewise.
3048         * math/test-ldouble-finite.c: Likewise.
3049         * math/test-ldouble.c: Likewise.
3050         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
3051         * sysdeps/x86_64/fpu/test-double-vlen2.h: Likewise.
3052         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
3053         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
3054         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
3055         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
3056         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
3057         * sysdeps/x86_64/fpu/test-float-vlen4.h: Likewise.
3058         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
3059         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
3061 2017-02-23 Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
3062            Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3064         * math/Makefile: Add wrappers to gen-libm-calls.
3065         * math/w_acos_template.c: New file.
3066         * math/w_acosh_template.c: Likewise.
3067         * math/w_asin_template.c: Likewise.
3068         * math/w_atan2_template.c: Likewise.
3069         * math/w_atanh_template.c: Likewise.
3070         * math/w_cosh_template.c: Likewise.
3071         * math/w_exp10_template.c: Likewise.
3072         * math/w_exp2_template.c: Likewise.
3073         * math/w_exp_template.c: Likewise.
3074         * math/w_fmod_template.c: Likewise.
3075         * math/w_hypot_template.c: Likewise.
3076         * math/w_j0_template.c: Likewise.
3077         * math/w_j1_template.c: Likewise.
3078         * math/w_jn_template.c: Likewise.
3079         * math/w_lgamma_r_template.c: Likewise.
3080         * math/w_lgamma_template.c: Likewise.
3081         * math/w_log10_template.c: Likewise.
3082         * math/w_log2_template.c: Likewise.
3083         * math/w_log_template.c: Likewise.
3084         * math/w_pow_template.c: Likewise.
3085         * math/w_remainder_template.c: Likewise.
3086         * math/w_sinh_template.c: Likewise.
3087         * math/w_sqrt_template.c: Likewise.
3088         * math/w_tgamma_template.c: Likewise.: Likewise.
3089         * sysdeps/generic/math-type-macros-double.h
3090         (__USE_WRAPPER_TEMPLATE): New macro to control inclusion of
3091         the new wrappers.
3092         * sysdeps/generic/math-type-macros-float.h: Likewise.
3093         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
3095 2017-02-22  Joseph Myers  <joseph@codesourcery.com>
3097         * sysdeps/unix/sysv/linux/sys/timerfd.h (TFD_TIMER_CANCEL_ON_SET):
3098         New enum constant and macro.
3100         * scripts/build-many-glibcs.py (Context.checkout): Default Linux
3101         kernel version to 4.10.
3103 2017-02-21  Joseph Myers  <joseph@codesourcery.com>
3105         * sysdeps/unix/sysv/linux/bits/in.h (IP_RECVFRAGSIZE): New macro.
3107 2017-02-21  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
3109         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3111 2017-02-21  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
3113         * sysdeps/powerpc/tst-set_ppr.c: New file.
3114         Implement test cases for __ppc_set_ppr_* functions.
3115         * sysdeps/powerpc/Makefile ($(subdir),misc): Add tst-set_ppr
3116         in the list of tests.
3118 2017-02-21  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
3120         * sysdeps/powerpc/test-get_hwcap.c: Use <support/test-driver.c>
3121         instead of test-skeleton.c.
3122         (do_test): Replaced pthread_create and pthread_join with
3123         xpthread_create and xpthread_join.  Use TEST_VERIFY_EXIT macro.
3124         Removed unneeded status variable.
3125         * sysdeps/powerpc/test-gettimebase.c: Use <support/test-driver.c>
3126         instead of test-skeleton.c.
3127         * sysdeps/powerpc/tst-tlsopt-powerpc.c: Likewise.
3129 2017-02-20  Mike FABIAN  <mfabian@redhat.com>
3131         [BZ #20313]
3132         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
3133         201605L, for Unicode 9.
3135 2017-02-20  Joseph Myers  <joseph@codesourcery.com>
3137         * math/libm-test-support.h (EXCEPTIONS_OK): Remove macro.
3138         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
3139         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
3140         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
3141         (UNDERFLOW_EXCEPTION_OK_DOUBLE): Likewise.
3142         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
3144 2017-02-19  Zack Weinberg  <zackw@panix.com>
3146         * rt/tst-mqueue4.c: Include stdint.h.
3148 2017-02-17  Joseph Myers  <joseph@codesourcery.com>
3150         * sysdeps/arm/libm-test-ulps: Update.
3151         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
3152         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
3153         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
3155 2017-01-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3157         [BZ #21029]
3158         * config.h.in [CAN_USE_REGISTER_ASM_EBP]: New define.
3159         * sysdeps/unix/sysv/linux/i386/Makefile
3160         [$(subdir) = elf] (sysdep-dl-routines): Add libc-do-syscall.
3161         (uses-6-syscall-arguments): Remove.
3162         [$(subdir) = misc] (CFLAGS-epoll_pwait.o): Likewise.
3163         [$(subdir) = misc] (CFLAGS-epoll_pwait.os): Likewise.
3164         [$(subdir) = misc] (CFLAGS-mmap.o): Likewise.
3165         [$(subdir) = misc] (CFLAGS-mmap.os): Likewise.
3166         [$(subdir) = misc] (CFLAGS-mmap64.o): Likewise.
3167         [$(subdir) = misc] (CFLAGS-mmap64.os): Likewise.
3168         [$(subdir) = misc] (CFLAGS-pselect.o): Likewise.
3169         [$(subdir) = misc] (cflags-pselect.o): Likewise.
3170         [$(subdir) = misc] (cflags-pselect.os): Likewise.
3171         [$(subdir) = misc] (cflags-rtld-mmap.os): Likewise.
3172         [$(subdir) = sysvipc] (cflags-semtimedop.o): Likewise.
3173         [$(subdir) = sysvipc] (cflags-semtimedop.os): Likewise.
3174         [$(subdir) = io] (CFLAGS-posix_fadvise64.o): Likewise.
3175         [$(subdir) = io] (CFLAGS-posix_fadvise64.os): Likewise.
3176         [$(subdir) = io] (CFLAGS-posix_fallocate.o): Likewise.
3177         [$(subdir) = io] (CFLAGS-posix_fallocate.os): Likewise.
3178         [$(subdir) = io] (CFLAGS-posix_fallocate64.o): Likewise.
3179         [$(subdir) = io] (CFLAGS-posix_fallocate64.os): Likewise.
3180         [$(subdir) = io] (CFLAGS-sync_file_range.o): Likewise.
3181         [$(subdir) = io] (CFLAGS-sync_file_range.os): Likewise.
3182         [$(subdir) = io] (CFLAGS-fallocate.o): Likewise.
3183         [$(subdir) = io] (CFLAGS-fallocate.os): Likewise.
3184         [$(subdir) = io] (CFLAGS-fallocate64.o): Likewise.
3185         [$(subdir) = io] (CFLAGS-fallocate64.os): Likewise.
3186         [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrdlock.o):
3187         Likewise.
3188         [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrdlock.os):
3189         Likewise.
3190         [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrwlock.o):
3191         Likewise.
3192         [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrwlock.os):
3193         Likewise.
3194         [$(subdir) = nptl] (CFLAGS-sem_wait.o): Likewise.
3195         [$(subdir) = nptl] (CFLAGS-sem_wait.os): Likewise.
3196         [$(subdir) = nptl] (CFLAGS-sem_timedwait.o): Likewise.
3197         [$(subdir) = nptl] (CFLAGS-sem_timedwait.os): Likewise.
3198         * sysdeps/unix/sysv/linux/i386/configure.ac: Add check if compiler allows
3199         ebp on inline assembly.
3200         * sysdeps/unix/sysv/linux/i386/configure: Regenerate.
3201         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
3202         Set if CAN_USE_REGISTER_ASM_EBP is set.
3204 2017-02-17  H.J. Lu  <hongjiu.lu@intel.com>
3206         * sysdeps/x86/cpu-features.c (init_cpu_features): Use
3207         index_cpu_RTM and reg_RTM to clear the bit_cpu_RTM bit.
3209 2017-02-17  Joseph Myers  <joseph@codesourcery.com>
3211         * math/auto-libm-test-in: Add tests of catan and catanh.
3212         * math/auto-libm-test-out-catan: New generated file.
3213         * math/auto-libm-test-out-catanh: Likewise.
3214         * math/libm-test-catan.inc (catan_test_data): Use AUTO_TESTS_c_c.
3215         Move tests with finite inputs, except divide-by-zero cases, to
3216         auto-libm-test-in.
3217         * math/libm-test-catanh.inc (catanh_test_data): Likewise.
3218         * math/Makefile (libm-test-funcs-auto): Add catan and catanh.
3219         (libm-test-funcs-noauto): Remove catan and catanh.
3220         * sysdeps/i386/fpu/libm-test-ulps: Update.
3221         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
3222         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3224         * math/auto-libm-test-in: Add tests of casin and casinh.
3225         * math/auto-libm-test-out-casin: New generated file.
3226         * math/auto-libm-test-out-casinh: Likewise.
3227         * math/libm-test-casin.inc (casin_test_data): Use AUTO_TESTS_c_c.
3228         Move tests with finite inputs to auto-libm-test-in.
3229         * math/libm-test-casinh.inc (casinh_test_data): Likewise.
3230         * math/Makefile (libm-test-funcs-auto): Add casin and casinh.
3231         (libm-test-funcs-noauto): Remove casin and casinh.
3232         * sysdeps/i386/fpu/libm-test-ulps: Update.
3233         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
3234         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3236         * math/auto-libm-test-in: Add tests of cacos and cacosh.
3237         * math/auto-libm-test-out-cacos: New generated file.
3238         * math/auto-libm-test-out-cacosh: Likewise.
3239         * math/libm-test-cacos.inc (cacos_test_data): Use AUTO_TESTS_c_c.
3240         Move tests with finite inputs to auto-libm-test-in.
3241         * math/libm-test-cacosh.inc (cacosh_test_data): Likewise.
3242         * math/Makefile (libm-test-funcs-auto): Add cacos and cacosh.
3243         (libm-test-funcs-noauto): Remove cacos and cacosh.
3244         * sysdeps/i386/fpu/libm-test-ulps: Update.
3245         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
3246         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3248         Revert:
3249         2017-02-16  Zack Weinberg  <zackw@panix.com>
3251         * sysdeps/x86_64/fpu/math-tests-arch.h: Include cpu-features.h.
3252         Don't include init-arch.h.
3253         * sysdeps/x86_64/multiarch/test-multiarch.h: Include cpu-features.h.
3254         Don't include init-arch.h.
3256 2017-02-17  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
3258         [BZ #21171]
3259         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Return
3260         +Inf and raise divide-by-zero when x is negative.
3261         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Likewise.
3262         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Likewise.
3263         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10):  Return
3264         -Inf and raise divide-by-zero when x = +-0.
3265         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
3266         * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
3267         * sysdeps/ieee754/flt-32/e_log2f.c (__ieee754_log2f): Likewise.
3268         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Likewise.
3269         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
3270         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
3271         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
3273 2017-02-16  Zack Weinberg  <zackw@panix.com>
3275         * scripts/build-many-glibcs.py (bot_build_mail): If the
3276         bot_config does not contain all of the necessary email-
3277         related settings, just print a warning and continue.
3279 2017-02-16  Zack Weinberg  <zackw@panix.com>
3281         * crypt/md5.h: Test _LIBC with #if defined, not #if.
3282         * dirent/opendir-tst1.c: Include sys/stat.h.
3283         * dirent/tst-fdopendir.c: Include sys/stat.h.
3284         * dirent/tst-fdopendir2.c: Include stdlib.h.
3285         * dirent/tst-scandir.c: Include stdbool.h.
3286         * elf/tst-auditmod1.c: Include link.h and stddef.h.
3287         * elf/tst-tls15.c: Include stdlib.h.
3288         * elf/tst-tls16.c: Include stdlib.h.
3289         * elf/tst-tls17.c: Include stdlib.h.
3290         * elf/tst-tls18.c: Include stdlib.h.
3291         * iconv/tst-iconv6.c: Include endian.h.
3292         * iconvdata/bug-iconv11.c: Include limits.h.
3293         * io/test-utime.c: Include stdint.h.
3294         * io/tst-faccessat.c: Include sys/stat.h.
3295         * io/tst-fchmodat.c: Include sys/stat.h.
3296         * io/tst-fchownat.c: Include sys/stat.h.
3297         * io/tst-fstatat.c: Include sys/stat.h.
3298         * io/tst-futimesat.c: Include sys/stat.h.
3299         * io/tst-linkat.c: Include sys/stat.h.
3300         * io/tst-mkdirat.c: Include sys/stat.h and stdbool.h.
3301         * io/tst-mkfifoat.c: Include sys/stat.h and stdbool.h.
3302         * io/tst-mknodat.c: Include sys/stat.h and stdbool.h.
3303         * io/tst-openat.c: Include stdbool.h.
3304         * io/tst-readlinkat.c: Include sys/stat.h.
3305         * io/tst-renameat.c: Include sys/stat.h.
3306         * io/tst-symlinkat.c: Include sys/stat.h.
3307         * io/tst-unlinkat.c: Include stdbool.h.
3308         * libio/bug-memstream1.c: Include stdlib.h.
3309         * libio/bug-wmemstream1.c: Include stdlib.h.
3310         * libio/tst-fwrite-error.c: Include stdlib.h.
3311         * libio/tst-memstream1.c: Include stdlib.h.
3312         * libio/tst-memstream2.c: Include stdlib.h.
3313         * libio/tst-memstream3.c: Include stdlib.h.
3314         * malloc/tst-interpose-aux.c: Include stdint.h.
3315         * misc/tst-preadvwritev-common.c: Include sys/stat.h.
3316         * nptl/tst-basic7.c: Include limits.h.
3317         * nptl/tst-cancel25.c: Include pthread.h, not pthreadP.h.
3318         * nptl/tst-cancel4.c: Include stddef.h, limits.h, and sys/stat.h.
3319         * nptl/tst-cancel4_1.c: Include stddef.h.
3320         * nptl/tst-cancel4_2.c: Include stddef.h.
3321         * nptl/tst-cond16.c: Include limits.h.
3322         Use sysconf(_SC_PAGESIZE) instead of __getpagesize.
3323         * nptl/tst-cond18.c: Include limits.h.
3324         Use sysconf(_SC_PAGESIZE) instead of __getpagesize.
3325         * nptl/tst-cond4.c: Include stdint.h.
3326         * nptl/tst-cond6.c: Include stdint.h.
3327         * nptl/tst-stack2.c: Include limits.h.
3328         * nptl/tst-stackguard1.c: Include stddef.h.
3329         * nptl/tst-tls4.c: Include stdint.h. Don't include tls.h.
3330         * nptl/tst-tls4moda.c: Include stddef.h.
3331         Don't include stdio.h, unistd.h, or tls.h.
3332         * nptl/tst-tls4modb.c: Include stddef.h.
3333         Don't include stdio.h, unistd.h, or tls.h.
3334         * nptl/tst-tls5.h: Include stddef.h. Don't include stdlib.h or tls.h.
3335         * posix/tst-getaddrinfo2.c: Include stdio.h.
3336         * posix/tst-getaddrinfo5.c: Include stdio.h.
3337         * posix/tst-pathconf.c: Include sys/stat.h.
3338         * posix/tst-posix_fadvise-common.c: Include stdint.h.
3339         * posix/tst-preadwrite-common.c: Include sys/stat.h.
3340         * posix/tst-regex.c: Include stdint.h.
3341         Don't include spawn.h or spawn_int.h.
3342         * posix/tst-regexloc.c: Don't include spawn.h or spawn_int.h.
3343         * posix/tst-vfork3.c: Include sys/stat.h.
3344         * resolv/tst-bug18665-tcp.c: Include stdlib.h.
3345         * resolv/tst-res_hconf_reorder.c: Include stdlib.h.
3346         * resolv/tst-resolv-search.c: Include stdlib.h.
3347         * stdio-common/tst-fmemopen2.c: Include stdint.h.
3348         * stdio-common/tst-vfprintf-width-prec.c: Include stdlib.h.
3349         * stdlib/test-canon.c: Include sys/stat.h.
3350         * stdlib/tst-tls-atexit.c: Include stdbool.h.
3351         * string/test-memchr.c: Include stdint.h.
3352         * string/tst-cmp.c: Include stdint.h.
3353         * sysdeps/pthread/tst-timer.c: Include stdint.h.
3354         * sysdeps/unix/sysv/linux/tst-sync_file_range.c: Include stdint.h.
3355         * sysdeps/wordsize-64/tst-writev.c: Include limits.h and stdint.h.
3356         * sysdeps/x86_64/fpu/math-tests-arch.h: Include cpu-features.h.
3357         Don't include init-arch.h.
3358         * sysdeps/x86_64/multiarch/test-multiarch.h: Include cpu-features.h.
3359         Don't include init-arch.h.
3360         * sysdeps/x86_64/tst-auditmod10b.c: Include link.h and stddef.h.
3361         * sysdeps/x86_64/tst-auditmod3b.c: Include link.h and stddef.h.
3362         * sysdeps/x86_64/tst-auditmod4b.c: Include link.h and stddef.h.
3363         * sysdeps/x86_64/tst-auditmod5b.c: Include link.h and stddef.h.
3364         * sysdeps/x86_64/tst-auditmod6b.c: Include link.h and stddef.h.
3365         * sysdeps/x86_64/tst-auditmod6c.c: Include link.h and stddef.h.
3366         * sysdeps/x86_64/tst-auditmod7b.c: Include link.h and stddef.h.
3367         * time/clocktest.c: Include stdint.h.
3368         * time/tst-posixtz.c: Include stdint.h.
3369         * timezone/tst-timezone.c: Include stdint.h.
3371 2017-02-16  Zack Weinberg  <zackw@panix.com>
3373         * string/string.h [__USE_MISC]: Include strings.h.
3374         (__bzero, bcmp, bcopy, bzero, index, rindex)
3375         (strcasecmp, strncasecmp, strcasecmp_l, strncasecmp_l)
3376         (ffs, ffsl, ffsll): Don't declare.
3377         * string/strings.h: Do not suppress the file if string.h has
3378         already been included.
3379         (bcmp, bcopy, bzero, strcasecmp, strncasecmp): Add __nonnull
3380         annotations.
3381         (index, rindex): Define inline forwarders even if
3382         __CORRECT_ISO_CPP_STRING_H_PROTO is defined.
3383         (ffs): Use __attribute_const__.
3384         (ffsl, ffsll): Declare here.
3385         (strcasecmp_l, strncasecmp_l): Correct comments; these functions
3386         have now been standardized.
3387         * include/string.h (__bzero): Declare here.
3389         * bits/types.h: Move to posix/bits.
3390         * include/bits/types.h: New wrapper.
3392 2017-02-15  Wilco Dijkstra  <wdijkstr@arm.com>
3394         * string/bits/string2.h (strcmp): Remove define.
3395         (__strcmp_cg): Likewise.
3396         (strncmp): Likewise.
3398 2017-02-15  Wilco Dijkstra  <wdijkstr@arm.com>
3400         * include/string.h: Add __cplusplus check.
3402 2017-02-15  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
3404         [BZ #21134]
3405         * sysdeps/ieee754/dbl-64/e_j0.c (__ieee754_y0): Raise the
3406         "divide by zero" exception when the input is zero.
3407         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_y1): Likewise.
3408         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Likewise.
3409         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Likewise.
3410         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_y0l): Likewise.
3411         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
3413 2017-02-15  Joseph Myers  <joseph@codesourcery.com>
3415         * sysdeps/x86_64/fpu/test-double-vlen2.c: Move most contents to,
3416         and include ...
3417         * sysdeps/x86_64/fpu/test-double-vlen2.h: ... here.  New file.
3418         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Move most contents
3419         to, and include ...
3420         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.h: ... here.  New
3421         file.
3422         * sysdeps/x86_64/fpu/test-double-vlen4.c: Move most contents to,
3423         and include ...
3424         * sysdeps/x86_64/fpu/test-double-vlen4.h: ... here.  New file.
3425         * sysdeps/x86_64/fpu/test-double-vlen8.c: Move most contents to,
3426         and include ...
3427         * sysdeps/x86_64/fpu/test-double-vlen8.h: ... here.  New file.
3428         * sysdeps/x86_64/fpu/test-float-vlen16.c: Move most contents to,
3429         and include ...
3430         * sysdeps/x86_64/fpu/test-float-vlen16.h: ... here.  New file.
3431         * sysdeps/x86_64/fpu/test-float-vlen4.c: Move most contents to,
3432         and include ...
3433         * sysdeps/x86_64/fpu/test-float-vlen4.h: ... here.  New file.
3434         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Move most contents
3435         to, and include ...
3436         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.h: ... here.  New file.
3437         * sysdeps/x86_64/fpu/test-float-vlen8.c: Move most contents to,
3438         and include ...
3439         * sysdeps/x86_64/fpu/test-float-vlen8.h: ... here.  New file.
3441 2017-02-14  Joseph Myers  <joseph@codesourcery.com>
3443         * math/libm-test-support.h: Do not include <math-tests-arch.h>
3444         here.
3445         * math/libm-test-support.c (libm_test_init): Do not call
3446         INIT_ARCH_EXT here.
3447         * math/libm-test-driver.c: Include <math-tests-arch.h>.
3448         (main): Call INIT_ARCH_EXT.
3450 2017-02-12  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
3452         [BZ #21130]
3453         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_y0l): Return NAN
3454         with the "invalid" exception raised when x is -Inf.
3455         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
3457 2017-02-10  Wilco Dijkstra  <wdijkstr@arm.com>
3459         * string/bits/string2.h (strchr): Remove define.
3461 2017-02-09  H.J. Lu  <hongjiu.lu@intel.com>
3463         * sysdeps/x86_64/Makefile (tests): Add tst-sse, tst-avx and
3464         tst-avx512.
3465         (test-extras): Add tst-avx-aux and tst-avx512-aux.
3466         (extra-test-objs): Add tst-avx-aux.o and tst-avx512-aux.o.
3467         (modules-names): Add tst-ssemod, tst-avxmod and tst-avx512mod.
3468         ($(objpfx)tst-sse): New rule.
3469         ($(objpfx)tst-avx): Likewise.
3470         ($(objpfx)tst-avx512): Likewise.
3471         (CFLAGS-tst-avx-aux.c): New.
3472         (CFLAGS-tst-avxmod.c): Likewise.
3473         (CFLAGS-tst-avx512-aux.c): Likewise.
3474         (CFLAGS-tst-avx512mod.c): Likewise.
3475         * sysdeps/x86_64/tst-avx-aux.c: New file.
3476         * sysdeps/x86_64/tst-avx.c: Likewise.
3477         * sysdeps/x86_64/tst-avx512-aux.c: Likewise.
3478         * sysdeps/x86_64/tst-avx512.c: Likewise.
3479         * sysdeps/x86_64/tst-avx512mod.c: Likewise.
3480         * sysdeps/x86_64/tst-avxmod.c: Likewise.
3481         * sysdeps/x86_64/tst-sse.c: Likewise.
3482         * sysdeps/x86_64/tst-ssemod.c: Likewise.
3484 2017-02-09  Joseph Myers  <joseph@codesourcery.com>
3486         * math/auto-libm-test-in: Add more tests of csin and csinh.
3487         * math/auto-libm-test-out-csin: Regenerated.
3488         * math/auto-libm-test-out-csinh: Likewise.
3489         * math/libm-test-csin.inc (csin_test_data): Remove tests moved to
3490         auto-libm-test-in.
3491         * math/libm-test-csinh.inc (csinh_test_data): Likewise.
3493 2017-02-09  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
3495         * math/Makefile (libm-compat-calls-ldouble-yes): Merge into
3496         libm-compat-calls-auto.
3497         (libm-compat-calls): Likewise.
3498         (libm-compat-calls-auto): Rename to libm-compat-calls and add
3499         w_lgamma_compatF and k_standardF (merged from the items above).
3500         (libm-routines): Use libm-compat-calls, instead of
3501         libm-compat-calls-auto, with type-foreach.
3503 2017-02-09  Joseph Myers  <joseph@codesourcery.com>
3505         * math/test-math-inline.h (__LIBC_INTERNAL_MATH_INLINES): Undefine
3506         macro.
3507         * math/Makefile (CPPFLAGS-test-ifloat.c): Rename to ...
3508         (CFLAGS-test-ifloat.c): ... this.  Remove
3509         -U__LIBC_INTERNAL_MATH_INLINES.
3510         * math/Makefile (CPPFLAGS-test-idouble.c): Rename to ...
3511         (CFLAGS-test-idouble.c): ... this.  Remove
3512         -U__LIBC_INTERNAL_MATH_INLINES.
3513         * math/Makefile (CPPFLAGS-test-ildouble.c): Rename to ...
3514         (CFLAGS-test-ildouble.c): ... this.  Remove
3515         -U__LIBC_INTERNAL_MATH_INLINES.
3517 2017-02-08  Joseph Myers  <joseph@codesourcery.com>
3519         * math/libm-test-support.c: New file.  Content from
3520         math/libm-test-driver.c.
3521         * math/libm-test-support.h: Likewise.
3522         * math/libm-test-support-double.c: New file.
3523         * math/libm-test-support-float.c: Likewise.
3524         * math/libm-test-support-ldouble.c: Likewise.
3525         * math/libm-test-driver.c: Remove main comment and header
3526         includes.  Include libm-test-support.h.
3527         [!_GNU_SOURCE] (_GNU_SOURCE): Do not define.
3528         (flag_test_errno): Remove static.
3529         (flag_test_exceptions): Likewise.
3530         (flag_test_finite): Likewise.
3531         (flag_test_inline): Likewise.
3532         (flag_test_mathvec): Likewise.
3533         (test_msg): Likewise.
3534         (NO_EXCEPTION): Remove.
3535         (INVALID_EXCEPTION): Likewise.
3536         (DIVIDE_BY_ZERO_EXCEPTION): Likewise.
3537         (OVERFLOW_EXCEPTION): Likewise.
3538         (UNDERFLOW_EXCEPTION): Likewise.
3539         (INEXACT_EXCEPTION): Likewise.
3540         (INVALID_EXCEPTION_OK): Likewise.
3541         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
3542         (OVERFLOW_EXCEPTION_OK): Likewise.
3543         (UNDERFLOW_EXCEPTION_OK): Likewise.
3544         (NO_INEXACT_EXCEPTION): Likewise.
3545         (EXCEPTIONS_OK): Likewise.
3546         (IGNORE_ZERO_INF_SIGN): Likewise.
3547         (TEST_NAN_SIGN): Likewise.
3548         (TEST_NAN_PAYLOAD): Likewise.
3549         (NO_TEST_INLINE): Likewise.
3550         (XFAIL_TEST): Likewise.
3551         (ERRNO_UNCHANGED): Likewise.
3552         (ERRNO_EDOM): Likewise.
3553         (ERRNO_ERANGE): Likewise.
3554         (IGNORE_RESULT): Likewise.
3555         (NON_FINITE): Likewise.
3556         (TEST_SNAN): Likewise.
3557         (NO_TEST_MATHVEC): Likewise.
3558         (__CONCATX): Likewise.
3559         (TYPE_MIN): Likewise.
3560         (TYPE_TRUE_MIN): Likewise.
3561         (TYPE_MAX): Likewise.
3562         (MIN_EXP): Likewise.
3563         (MAX_EXP): Likewise.
3564         (MANT_DIG): Likewise.
3565         (FSTR_MAX): Likewise.
3566         (ulp_idx): Likewise.
3567         (qtype_str): Remove static.
3568         (TEST_COND_binary32): Remove.
3569         (TEST_COND_binary64): Likewise.
3570         (TEST_COND_binary128): Likewise.
3571         (TEST_COND_ibm128): Likewise.
3572         (TEST_COND_intel96): Likewise.
3573         (TEST_COND_m68k96): Likewise.
3574         (TEST_COND_ibm128_libgcc): Likewise.
3575         (XFAIL_IBM128_LIBGCC): Likewise.
3576         (PAYLOAD_DIG): Likewise.
3577         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
3578         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
3579         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
3580         (UNDERFLOW_EXCEPTION_OK_DOUBLE): Likewise.
3581         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
3582         (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): Likewise.
3583         (TEST_COND_long32): Likewise.
3584         (TEST_COND_long64): Likewise.
3585         (TEST_COND_before_rounding): Likewise.
3586         (TEST_COND_after_rounding): Likewise.
3587         (ulps_file_name): Likewise.
3588         (ulps_file): Likewise.
3589         (output_ulps): Likewise.
3590         (output_dir): Likewise.
3591         (noErrors): Likewise.
3592         (noTests): Likewise.
3593         (noExcTests): Likewise.
3594         (noErrnoTests): Likewise.
3595         (verbose): Likewise.
3596         (output_max_error): Likewise.
3597         (output_points): Likewise.
3598         (ignore_max_ulp): Likewise.
3599         (max_error): Likewise.
3600         (real_max_error): Likewise.
3601         (imag_max_error): Likewise.
3602         (prev_max_error): Likewise.
3603         (prev_real_max_error): Likewise.
3604         (prev_imag_max_error): Likewise.
3605         (max_valid_error): Likewise.
3606         (TYPE_DECIMAL_DIG): Likewise.
3607         (TYPE_HEX_DIG): Likewise.
3608         (fmt_ftostr): Likewise.
3609         (compare_ulp_data): Likewise.
3610         (find_ulps): Likewise.
3611         (init_max_error): Likewise.
3612         (set_max_error): Likewise.
3613         (print_float): Likewise.
3614         (print_screen): Likewise.
3615         (print_screen_max_error): Likewise.
3616         (update_stats): Likewise.
3617         (print_function_ulps): Likewise.
3618         (print_complex_function_ulps): Likewise.
3619         (fpstack_test): Likewise.
3620         (print_max_error): Likewise.
3621         (print_complex_max_error): Likewise.
3622         (test_single_exception): Likewise.
3623         (test_exceptions): Likewise.
3624         (test_single_errno): Likewise.
3625         (test_errno): Likewise.
3626         (ULPDIFF): Likewise.
3627         (ulp): Likewise.
3628         (check_float_internal): Likewise.
3629         (check_float): Likewise.
3630         (check_complex): Likewise.
3631         (check_int): Likewise.
3632         (check_long): Likewise.
3633         (check_bool): Likewise.
3634         (check_longlong): Likewise.
3635         (check_intmax_t): Likewise.
3636         (check_uintmax_t): Likewise.
3637         (enable_test): Likewise.
3638         (matherr): Likewise.
3639         (initialize): Likewise.
3640         (options): Likewise.
3641         (doc): Remove static.
3642         (argp): Likewise.
3643         (parse_opt): Remove.
3644         (check_ulp): Likewise.
3645         (libm_test_init): Likewise.
3646         (libm_test_finish): Likewise.
3647         * math/Makefile (libm-test-support): New variable.
3648         (test-extras): Add libm-test-support files.
3649         (extra-test-objs): Likewise.
3650         (CFLAGS-libm-test-support-float.c): New variable.
3651         (CFLAGS-libm-test-support-double.c): Likewise.
3652         (CFLAGS-libm-test-support-ldouble.c): Likewise.
3653         ($(addprefix $(objpfx),$(libm-tests)): Depend on appropriate
3654         libm-test-support objects.
3656 2017-02-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
3658         * math/Makefile (libm-calls): Move w_exp...
3659         (libm-compat-calls-auto): Here.
3661         * math/w_expl.c: Add suffix "_compat" to filename.
3662         * sysdeps/ia64/fpu/w_expl.c: Likewise.
3663         * sysdeps/ia64/fpu/w_expf.c: Likewise.
3664         * sysdeps/ia64/fpu/w_exp.c: Likewise.
3665         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
3666         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
3667         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
3668         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
3669         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
3671         * math/w_expl_compat.c: New file, copied from above.
3672         * sysdeps/ia64/fpu/w_exp_compat.c: Likewise.
3673         * sysdeps/ia64/fpu/w_expf_compat.c: Likewise.
3674         * sysdeps/ia64/fpu/w_expl_compat.c: Likewise.
3675         * sysdeps/ieee754/dbl-64/w_exp_compat.c: Likewise.
3676         * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
3677         * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
3678         * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
3679         * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
3681         * sysdeps/ieee754/ldbl-64-128/w_expl.c: Add suffix "_compat"
3682         to filename.
3683         * sysdeps/ieee754/ldbl-opt/w_exp.c: Likewise.
3685         * sysdeps/ieee754/ldbl-64-128/w_expl_compat.c: New file,
3686         copied from above and adjusted for the new filenames.
3687         * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Likewise.
3689 2017-02-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
3691         * math/Makefile (libm-calls): Move w_lgammaF...
3692         (libm-compat-calls-auto): Here.
3694         * math/w_lgamma.c: Add suffix "_compat2" to filename.
3695         * math/w_lgammaf.c: Likewise.
3696         * math/w_lgammal.c: Likewise.
3698         * math/w_lgamma_compat2.c: New file, copied from above.
3699         * math/w_lgammaf_compat2.c: Likewise.
3700         * math/w_lgammal_compat2.c: Likewise.
3702 2017-02-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
3704         * math/Makefile (libm-calls): Move w_lgammaF_r...
3705         (libm-compat-calls-auto): Here.
3707         * math/w_lgamma_r.c: Add suffix "_compat" to filename.
3708         * math/w_lgammaf_r.c: Likewise.
3709         * math/w_lgammal_r.c: Likewise.
3710         * sysdeps/ia64/fpu/w_lgammal_r.c: Likewise.
3711         * sysdeps/ia64/fpu/w_lgammaf_r.c: Likewise.
3712         * sysdeps/ia64/fpu/w_lgamma_r.c: Likewise.
3714         * math/w_lgamma_r_compat.c: New file, copied from above.
3715         * math/w_lgammaf_r_compat.c: Likewise.
3716         * math/w_lgammal_r_compat.c: Likewise.
3717         * sysdeps/ia64/fpu/w_lgamma_r_compat.c: Likewise.
3718         * sysdeps/ia64/fpu/w_lgammaf_r_compat.c: Likewise.
3719         * sysdeps/ia64/fpu/w_lgammal_r_compat.c: Likewise.
3721         * sysdeps/ieee754/ldbl-opt/w_lgamma_r.c: Add suffix "_compat"
3722         to filename.
3723         * sysdeps/ieee754/ldbl-opt/w_lgammal_r.c: Likewise.
3725         * sysdeps/ieee754/ldbl-opt/w_lgamma_r_compat.c: New file
3726         copied from above and adjusted for the new filenames.
3727         * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
3729 2017-02-08  Yury Norov  <ynorov@caviumnetworks.com>
3731         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: use PTR_REG() for offset
3732         calculation in SYSCALL_ERROR_HANDLER().
3734 2017-02-08  Rical Jasan  <ricaljasan@pacific.net>
3736         * manual/contrib.texi: Fix typo.
3738 2017-02-08  Siddhesh Poyarekar  <siddhesh@sourceware.org>
3740         [BZ #21109]
3741         * elf/dl-tunable-types.h (tunable_callback_t): Accept
3742         tunable_val_t as argument.
3743         * elf/dl-tunables.c (__tunable_set_val): Add comment.
3744         * malloc/arena.c (set_mallopt_check): Take tunable_val_t as
3745         argument.
3746         (DL_TUNABLE_CALLBACK_FNDECL): Likewise.
3748 2017-02-08  Kir Kolyshkin  <kir@openvz.org>
3750         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (__ptrace_eventcodes):
3751         Add PTRACE_EVENT_STOP.
3752         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
3753         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
3754         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
3755         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
3756         * sysdeps/unix/sysv/linux/sys/ptrace.h: Likewise.
3757         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
3759 2017-02-07  Joseph Myers  <joseph@codesourcery.com>
3761         * math/test-math-finite.h (TEST_EXCEPTIONS): New macro.
3762         * math/test-math-no-finite.h (TEST_EXCEPTIONS): Likewise.
3763         * math/test-math-vector.h (TEST_EXCEPTIONS): Likewise.
3764         * math/test-math-no-inline.h (TEST_EXCEPTIONS): Remove macro.
3765         * math/test-double-vlen2.h (EXCEPTION_TESTS_double): Likewise.
3766         * math/test-double-vlen4.h (EXCEPTION_TESTS_double): Likewise.
3767         * math/test-double-vlen8.h (EXCEPTION_TESTS_double): Likewise.
3768         * math/test-float-vlen4.h (EXCEPTION_TESTS_float): Likewise.
3769         * math/test-float-vlen8.h (EXCEPTION_TESTS_float): Likewise.
3770         * math/test-float-vlen16.h (EXCEPTION_TESTS_float): Likewise.
3772         [BZ #21112]
3773         * sysdeps/ieee754/flt-32/e_powf.c (cp_h): Use value with trailing
3774         12 bits zero.
3775         (cp_l): Update for new value of cp_h.
3776         * math/auto-libm-test-in: Add another test of pow.
3777         * math/auto-libm-test-out-pow: Regenerated.
3779 2017-02-07  Siddhesh Poyarekar  <siddhesh@sourceware.org>
3781         * manual/contrib.texi: Fix typo.
3783 2017-02-07  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
3785         [BZ #15998]
3786         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
3787         (arch_minimum_kernel): Set as 3.10.0 for ppc64le.
3788         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
3790 2017-02-07  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
3792         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Redefine
3793         STRCHR as __strchr_power8.
3794         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: Redefine
3795         strlen as __strlen_power8.
3797 2017-02-07  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
3799         * sysdeps/powerpc/powerpc64/power8/strcmp.S: Adjust address for
3800         unaligned load for shorter strings.
3801         * sysdeps/powerpc/powerpc64/power9/strcmp.S: Likewise.
3803 2017-02-06  Joseph Myers  <joseph@codesourcery.com>
3805         * math/libm-test-driver.c (flag_test_errno): New variable.
3806         (flag_test_exceptions): Likewise.
3807         (flag_test_finite): Likewise.
3808         (flag_test_inline): Likewise.
3809         (flag_test_mathvec): Likewise.
3810         (test_msg): Likewise.
3811         (ulp_idx): Likewise.
3812         (qtype_str): Likewise.
3813         (ULP_IDX): Remove macro.
3814         (QTYPE_STR): Likewise.
3815         (find_ulps): Use ulp_idx not ULP_IDX.
3816         (print_function_ulps): Use qtype_str, printed with %s, not
3817         QTYPE_STR, printed with concatentation to format string.
3818         (print_complex_function_ulps): Likewise.
3819         (test_exceptions): Use flag_test_exceptions not TEST_EXCEPTIONS.
3820         (test_errno): Use flag_test_errno not TEST_ERRNO.
3821         (enable_test): Use flag_test_inline, flag_test_finite and
3822         flag_test_mathvec instead of TEST_INLINE, TEST_FINITE and
3823         TEST_MATHVEC.
3824         (libm_test_init): New function.  Factored out of main.
3825         (libm_test_finish): Likewise.
3826         (main): Call libm_test_init and libm_test_finish and move most
3827         code to those functions.
3829         * math/libm-test-driver.c (STRX): New macro.
3830         (STR): Likewise.
3831         (STR_FLOAT): Likewise.
3832         (STR_VEC_LEN): Likewise.
3833         (TEST_MSG): Likewise.  Define here instead of expecting to be
3834         defined by including file.
3835         * math/test-double-finite.c (TEST_MSG): Remove macro.
3836         * math/test-double-vlen2.h (TEST_MSG): Likewise.
3837         * math/test-double-vlen4.h (TEST_MSG): Likewise.
3838         * math/test-double-vlen8.h (TEST_MSG): Likewise.
3839         * math/test-double.c (TEST_MSG): Likewise.
3840         * math/test-float-finite.c (TEST_MSG): Likewise.
3841         * math/test-float-vlen16.h (TEST_MSG): Likewise.
3842         * math/test-float-vlen4.h (TEST_MSG): Likewise.
3843         * math/test-float-vlen8.h (TEST_MSG): Likewise.
3844         * math/test-float.c (TEST_MSG): Likewise.
3845         * math/test-idouble.c (TEST_MSG): Likewise.
3846         * math/test-ifloat.c (TEST_MSG): Likewise.
3847         * math/test-ildouble.c (TEST_MSG): Likewise.
3848         * math/test-ldouble-finite.c (TEST_MSG): Likewise.
3849         * math/test-ldouble.c (TEST_MSG): Likewise.
3851         * math/libm-test.inc: Move all tests of individual functions to
3852         libm-test-*.inc and #include libm-test-*.c files.
3853         (acos_test_data): Remove.
3854         (acos_test): Likewise.
3855         (acosh_test_data): Likewise.
3856         (acosh_test): Likewise.
3857         (asin_test_data): Likewise.
3858         (asin_test): Likewise.
3859         (asinh_test_data): Likewise.
3860         (asinh_test): Likewise.
3861         (atan_test_data): Likewise.
3862         (atan_test): Likewise.
3863         (atanh_test_data): Likewise.
3864         (atanh_test): Likewise.
3865         (atan2_test_data): Likewise.
3866         (atan2_test): Likewise.
3867         (cabs_test_data): Likewise.
3868         (cabs_test): Likewise.
3869         (cacos_test_data): Likewise.
3870         (cacos_test): Likewise.
3871         (cacosh_test_data): Likewise.
3872         (cacosh_test): Likewise.
3873         (canonicalize_test_data): Likewise.
3874         (canonicalize_test): Likewise.
3875         (carg_test_data): Likewise.
3876         (carg_test): Likewise.
3877         (casin_test_data): Likewise.
3878         (casin_test): Likewise.
3879         (casinh_test_data): Likewise.
3880         (casinh_test): Likewise.
3881         (catan_test_data): Likewise.
3882         (catan_test): Likewise.
3883         (catanh_test_data): Likewise.
3884         (catanh_test): Likewise.
3885         (cbrt_test_data): Likewise.
3886         (cbrt_test): Likewise.
3887         (ccos_test_data): Likewise.
3888         (ccos_test): Likewise.
3889         (ccosh_test_data): Likewise.
3890         (ccosh_test): Likewise.
3891         (ceil_test_data): Likewise.
3892         (ceil_test): Likewise.
3893         (cexp_test_data): Likewise.
3894         (cexp_test): Likewise.
3895         (cimag_test_data): Likewise.
3896         (cimag_test): Likewise.
3897         (clog_test_data): Likewise.
3898         (clog_test): Likewise.
3899         (clog10_test_data): Likewise.
3900         (clog10_test): Likewise.
3901         (conj_test_data): Likewise.
3902         (conj_test): Likewise.
3903         (copysign_test_data): Likewise.
3904         (copysign_test): Likewise.
3905         (cos_test_data): Likewise.
3906         (cos_test): Likewise.
3907         (cosh_test_data): Likewise.
3908         (cosh_test): Likewise.
3909         (cpow_test_data): Likewise.
3910         (cpow_test): Likewise.
3911         (cproj_test_data): Likewise.
3912         (cproj_test): Likewise.
3913         (creal_test_data): Likewise.
3914         (creal_test): Likewise.
3915         (csin_test_data): Likewise.
3916         (csin_test): Likewise.
3917         (csinh_test_data): Likewise.
3918         (csinh_test): Likewise.
3919         (csqrt_test_data): Likewise.
3920         (csqrt_test): Likewise.
3921         (ctan_test_data): Likewise.
3922         (ctan_test): Likewise.
3923         (ctanh_test_data): Likewise.
3924         (ctanh_test): Likewise.
3925         (erf_test_data): Likewise.
3926         (erf_test): Likewise.
3927         (erfc_test_data): Likewise.
3928         (erfc_test): Likewise.
3929         (exp_test_data): Likewise.
3930         (exp_test): Likewise.
3931         (exp10_test_data): Likewise.
3932         (exp10_test): Likewise.
3933         (pow10_test): Likewise.
3934         (exp2_test_data): Likewise.
3935         (exp2_test): Likewise.
3936         (expm1_test_data): Likewise.
3937         (expm1_test): Likewise.
3938         (fabs_test_data): Likewise.
3939         (fabs_test): Likewise.
3940         (fdim_test_data): Likewise.
3941         (fdim_test): Likewise.
3942         (floor_test_data): Likewise.
3943         (floor_test): Likewise.
3944         (fma_test_data): Likewise.
3945         (fma_test): Likewise.
3946         (fmax_test_data): Likewise.
3947         (fmax_test): Likewise.
3948         (fmaxmag_test_data): Likewise.
3949         (fmaxmag_test): Likewise.
3950         (fmin_test_data): Likewise.
3951         (fmin_test): Likewise.
3952         (fminmag_test_data): Likewise.
3953         (fminmag_test): Likewise.
3954         (fmod_test_data): Likewise.
3955         (fmod_test): Likewise.
3956         (fpclassify_test_data): Likewise.
3957         (fpclassify_test): Likewise.
3958         (frexp_test_data): Likewise.
3959         (frexp_test): Likewise.
3960         (fromfp_test_data): Likewise.
3961         (fromfp_test): Likewise.
3962         (fromfpx_test_data): Likewise.
3963         (fromfpx_test): Likewise.
3964         (getpayload_test_data): Likewise.
3965         (getpayload_test): Likewise.
3966         (hypot_test_data): Likewise.
3967         (hypot_test): Likewise.
3968         (ilogb_test_data): Likewise.
3969         (ilogb_test): Likewise.
3970         (iscanonical_test_data): Likewise.
3971         (iscanonical_test): Likewise.
3972         (iseqsig_test_data): Likewise.
3973         (iseqsig_test): Likewise.
3974         (isfinite_test_data): Likewise.
3975         (isfinite_test): Likewise.
3976         (finite_test): Likewise.
3977         (isgreater_test_data): Likewise.
3978         (isgreater_test): Likewise.
3979         (isgreaterequal_test_data): Likewise.
3980         (isgreaterequal_test): Likewise.
3981         (isinf_test_data): Likewise.
3982         (isinf_test): Likewise.
3983         (isless_test_data): Likewise.
3984         (isless_test): Likewise.
3985         (islessequal_test_data): Likewise.
3986         (islessequal_test): Likewise.
3987         (islessgreater_test_data): Likewise.
3988         (islessgreater_test): Likewise.
3989         (isnan_test_data): Likewise.
3990         (isnan_test): Likewise.
3991         (isnormal_test_data): Likewise.
3992         (isnormal_test): Likewise.
3993         (issignaling_test_data): Likewise.
3994         (issignaling_test): Likewise.
3995         (issubnormal_test_data): Likewise.
3996         (issubnormal_test): Likewise.
3997         (isunordered_test_data): Likewise.
3998         (isunordered_test): Likewise.
3999         (iszero_test_data): Likewise.
4000         (iszero_test): Likewise.
4001         (j0_test_data): Likewise.
4002         (j0_test): Likewise.
4003         (j1_test_data): Likewise.
4004         (j1_test): Likewise.
4005         (jn_test_data): Likewise.
4006         (jn_test): Likewise.
4007         (lgamma_test_data): Likewise.
4008         (lgamma_test): Likewise.
4009         (gamma_test): Likewise.
4010         (llogb_test_data): Likewise.
4011         (llogb_test): Likewise.
4012         (lrint_test_data): Likewise.
4013         (lrint_test): Likewise.
4014         (llrint_test_data): Likewise.
4015         (llrint_test): Likewise.
4016         (log_test_data): Likewise.
4017         (log_test): Likewise.
4018         (log10_test_data): Likewise.
4019         (log10_test): Likewise.
4020         (log1p_test_data): Likewise.
4021         (log1p_test): Likewise.
4022         (log2_test_data): Likewise.
4023         (log2_test): Likewise.
4024         (logb_test_data): Likewise.
4025         (logb_test): Likewise.
4026         (lround_test_data): Likewise.
4027         (lround_test): Likewise.
4028         (llround_test_data): Likewise.
4029         (llround_test): Likewise.
4030         (modf_test_data): Likewise.
4031         (modf_test): Likewise.
4032         (nearbyint_test_data): Likewise.
4033         (nearbyint_test): Likewise.
4034         (nextafter_test_data): Likewise.
4035         (nextafter_test): Likewise.
4036         (nextup_test_data): Likewise.
4037         (nextup_test): Likewise.
4038         (nextdown_test_data): Likewise.
4039         (nextdown_test): Likewise.
4040         (nexttoward_test_data): Likewise.
4041         (nexttoward_test): Likewise.
4042         (pow_test_data): Likewise.
4043         (pow_test): Likewise.
4044         (remainder_test_data): Likewise.
4045         (remainder_test): Likewise.
4046         (drem_test): Likewise.
4047         (remquo_test_data): Likewise.
4048         (remquo_test): Likewise.
4049         (rint_test_data): Likewise.
4050         (rint_test): Likewise.
4051         (round_test_data): Likewise.
4052         (round_test): Likewise.
4053         (roundeven_test_data): Likewise.
4054         (roundeven_test): Likewise.
4055         (scalb_test_data): Likewise.
4056         (scalb_test): Likewise.
4057         (scalbn_test_data): Likewise.
4058         (scalbn_test): Likewise.
4059         (ldexp_test): Likewise.
4060         (scalbln_test_data): Likewise.
4061         (scalbln_test): Likewise.
4062         (setpayload_test_data): Likewise.
4063         (setpayload_test): Likewise.
4064         (setpayloadsig_test_data): Likewise.
4065         (setpayloadsig_test): Likewise.
4066         (signbit_test_data): Likewise.
4067         (signbit_test): Likewise.
4068         (sin_test_data): Likewise.
4069         (sin_test): Likewise.
4070         (sincos_test_data): Likewise.
4071         (sincos_test): Likewise.
4072         (sinh_test_data): Likewise.
4073         (sinh_test): Likewise.
4074         (sqrt_test_data): Likewise.
4075         (sqrt_test): Likewise.
4076         (tan_test_data): Likewise.
4077         (tan_test): Likewise.
4078         (tanh_test_data): Likewise.
4079         (tanh_test): Likewise.
4080         (tgamma_test_data): Likewise.
4081         (tgamma_test): Likewise.
4082         (totalorder_test_data): Likewise.
4083         (totalorder_test): Likewise.
4084         (totalordermag_test_data): Likewise.
4085         (totalordermag_test): Likewise.
4086         (trunc_test_data): Likewise.
4087         (trunc_test): Likewise.
4088         (ufromfp_test_data): Likewise.
4089         (ufromfp_test): Likewise.
4090         (ufromfpx_test_data): Likewise.
4091         (ufromfpx_test): Likewise.
4092         (y0_test_data): Likewise.
4093         (y0_test): Likewise.
4094         (y1_test_data): Likewise.
4095         (y1_test): Likewise.
4096         (yn_test_data): Likewise.
4097         (yn_test): Likewise.
4098         (significand_test_data): Likewise.
4099         (significand_test): Likewise.
4100         * math/Makefile (auto-libm-test-out-files): Remove variable.
4101         (libm-test-funcs-noauto): New variable.
4102         (libm-test-funcs-all): Likewise.
4103         (libm-test-c-auto): Likewise.
4104         (libm-test-c-noauto): Likewise.
4105         (libm-tests-generated): Add $(libm-test-c-auto) and
4106         $(libm-test-c-noauto).
4107         (generated): Do not add auto-libm-test-out.
4108         (libm-test-c-auto-obj): New variable.
4109         (libm-test-c-noauto-obj): Likewise.
4110         ($(objpfx)libm-test.c): Do not generate or use auto-libm-test-out.
4111         ($(libm-test-c-noauto-obj)): New static pattern rule.
4112         ($(libm-test-c-auto-obj)): Likewise.
4113         (libm-test-incs): New variable.
4114         ($(objpfx)libm-have-vector-test.h): Depend on $(libm-test-incs)
4115         and pass it to gen-libm-have-vector-test.sh.
4116         * math/gen-libm-have-vector-test.sh: Expect list of .inc files to
4117         be passed on command line.
4118         * math/libm-test-acos.inc: New file.  Content from
4119         math/libm-test.inc.
4120         * math/libm-test-acosh.inc: Likewise.
4121         * math/libm-test-asin.inc: Likewise.
4122         * math/libm-test-asinh.inc: Likewise.
4123         * math/libm-test-atan.inc: Likewise.
4124         * math/libm-test-atan2.inc: Likewise.
4125         * math/libm-test-atanh.inc: Likewise.
4126         * math/libm-test-cabs.inc: Likewise.
4127         * math/libm-test-cacos.inc: Likewise.
4128         * math/libm-test-cacosh.inc: Likewise.
4129         * math/libm-test-canonicalize.inc: Likewise.
4130         * math/libm-test-carg.inc: Likewise.
4131         * math/libm-test-casin.inc: Likewise.
4132         * math/libm-test-casinh.inc: Likewise.
4133         * math/libm-test-catan.inc: Likewise.
4134         * math/libm-test-catanh.inc: Likewise.
4135         * math/libm-test-cbrt.inc: Likewise.
4136         * math/libm-test-ccos.inc: Likewise.
4137         * math/libm-test-ccosh.inc: Likewise.
4138         * math/libm-test-ceil.inc: Likewise.
4139         * math/libm-test-cexp.inc: Likewise.
4140         * math/libm-test-cimag.inc: Likewise.
4141         * math/libm-test-clog.inc: Likewise.
4142         * math/libm-test-clog10.inc: Likewise.
4143         * math/libm-test-conj.inc: Likewise.
4144         * math/libm-test-copysign.inc: Likewise.
4145         * math/libm-test-cos.inc: Likewise.
4146         * math/libm-test-cosh.inc: Likewise.
4147         * math/libm-test-cpow.inc: Likewise.
4148         * math/libm-test-cproj.inc: Likewise.
4149         * math/libm-test-creal.inc: Likewise.
4150         * math/libm-test-csin.inc: Likewise.
4151         * math/libm-test-csinh.inc: Likewise.
4152         * math/libm-test-csqrt.inc: Likewise.
4153         * math/libm-test-ctan.inc: Likewise.
4154         * math/libm-test-ctanh.inc: Likewise.
4155         * math/libm-test-erf.inc: Likewise.
4156         * math/libm-test-erfc.inc: Likewise.
4157         * math/libm-test-exp.inc: Likewise.
4158         * math/libm-test-exp10.inc: Likewise.
4159         * math/libm-test-exp2.inc: Likewise.
4160         * math/libm-test-expm1.inc: Likewise.
4161         * math/libm-test-fabs.inc: Likewise.
4162         * math/libm-test-fdim.inc: Likewise.
4163         * math/libm-test-floor.inc: Likewise.
4164         * math/libm-test-fma.inc: Likewise.
4165         * math/libm-test-fmax.inc: Likewise.
4166         * math/libm-test-fmaxmag.inc: Likewise.
4167         * math/libm-test-fmin.inc: Likewise.
4168         * math/libm-test-fminmag.inc: Likewise.
4169         * math/libm-test-fmod.inc: Likewise.
4170         * math/libm-test-fpclassify.inc: Likewise.
4171         * math/libm-test-frexp.inc: Likewise.
4172         * math/libm-test-fromfp.inc: Likewise.
4173         * math/libm-test-fromfpx.inc: Likewise.
4174         * math/libm-test-getpayload.inc: Likewise.
4175         * math/libm-test-hypot.inc: Likewise.
4176         * math/libm-test-ilogb.inc: Likewise.
4177         * math/libm-test-iscanonical.inc: Likewise.
4178         * math/libm-test-iseqsig.inc: Likewise.
4179         * math/libm-test-isfinite.inc: Likewise.
4180         * math/libm-test-isgreater.inc: Likewise.
4181         * math/libm-test-isgreaterequal.inc: Likewise.
4182         * math/libm-test-isinf.inc: Likewise.
4183         * math/libm-test-isless.inc: Likewise.
4184         * math/libm-test-islessequal.inc: Likewise.
4185         * math/libm-test-islessgreater.inc: Likewise.
4186         * math/libm-test-isnan.inc: Likewise.
4187         * math/libm-test-isnormal.inc: Likewise.
4188         * math/libm-test-issignaling.inc: Likewise.
4189         * math/libm-test-issubnormal.inc: Likewise.
4190         * math/libm-test-isunordered.inc: Likewise.
4191         * math/libm-test-iszero.inc: Likewise.
4192         * math/libm-test-j0.inc: Likewise.
4193         * math/libm-test-j1.inc: Likewise.
4194         * math/libm-test-jn.inc: Likewise.
4195         * math/libm-test-lgamma.inc: Likewise.
4196         * math/libm-test-llogb.inc: Likewise.
4197         * math/libm-test-llrint.inc: Likewise.
4198         * math/libm-test-llround.inc: Likewise.
4199         * math/libm-test-log.inc: Likewise.
4200         * math/libm-test-log10.inc: Likewise.
4201         * math/libm-test-log1p.inc: Likewise.
4202         * math/libm-test-log2.inc: Likewise.
4203         * math/libm-test-logb.inc: Likewise.
4204         * math/libm-test-lrint.inc: Likewise.
4205         * math/libm-test-lround.inc: Likewise.
4206         * math/libm-test-modf.inc: Likewise.
4207         * math/libm-test-nearbyint.inc: Likewise.
4208         * math/libm-test-nextafter.inc: Likewise.
4209         * math/libm-test-nextdown.inc: Likewise.
4210         * math/libm-test-nexttoward.inc: Likewise.
4211         * math/libm-test-nextup.inc: Likewise.
4212         * math/libm-test-pow.inc: Likewise.
4213         * math/libm-test-remainder.inc: Likewise.
4214         * math/libm-test-remquo.inc: Likewise.
4215         * math/libm-test-rint.inc: Likewise.
4216         * math/libm-test-round.inc: Likewise.
4217         * math/libm-test-roundeven.inc: Likewise.
4218         * math/libm-test-scalb.inc: Likewise.
4219         * math/libm-test-scalbln.inc: Likewise.
4220         * math/libm-test-scalbn.inc: Likewise.
4221         * math/libm-test-setpayload.inc: Likewise.
4222         * math/libm-test-setpayloadsig.inc: Likewise.
4223         * math/libm-test-signbit.inc: Likewise.
4224         * math/libm-test-significand.inc: Likewise.
4225         * math/libm-test-sin.inc: Likewise.
4226         * math/libm-test-sincos.inc: Likewise.
4227         * math/libm-test-sinh.inc: Likewise.
4228         * math/libm-test-sqrt.inc: Likewise.
4229         * math/libm-test-tan.inc: Likewise.
4230         * math/libm-test-tanh.inc: Likewise.
4231         * math/libm-test-tgamma.inc: Likewise.
4232         * math/libm-test-totalorder.inc: Likewise.
4233         * math/libm-test-totalordermag.inc: Likewise.
4234         * math/libm-test-trunc.inc: Likewise.
4235         * math/libm-test-ufromfp.inc: Likewise.
4236         * math/libm-test-ufromfpx.inc: Likewise.
4237         * math/libm-test-y0.inc: Likewise.
4238         * math/libm-test-y1.inc: Likewise.
4239         * math/libm-test-yn.inc: Likewise.
4240         * math/README.libm-test: Update.
4242         * math/gen-auto-libm-tests.c: Update comment about use of program.
4243         (generate_output): Add argument FUNCTION.
4244         (main): Require extra argument.  Pass function name to
4245         generate_output.
4246         * math/Makefile (generated): Add auto-libm-test-out.
4247         (libm-test-funcs-auto): New variable.
4248         (auto-libm-test-out-files): New variable.
4249         ($(objpfx)libm-test.c): Depend on $(auto-libm-test-out-files).
4250         Concatenate those files to form $(objpfx)auto-libm-test-out and
4251         use it as input to gen-libm-test.pl.
4252         * math/README.libm-test: Update.
4253         * math/auto-libm-test-out: Remove.
4254         * math/auto-libm-test-out-acos: New generated file.
4255         * math/auto-libm-test-out-acosh: Likewise.
4256         * math/auto-libm-test-out-asin: Likewise.
4257         * math/auto-libm-test-out-asinh: Likewise.
4258         * math/auto-libm-test-out-atan: Likewise.
4259         * math/auto-libm-test-out-atan2: Likewise.
4260         * math/auto-libm-test-out-atanh: Likewise.
4261         * math/auto-libm-test-out-cabs: Likewise.
4262         * math/auto-libm-test-out-carg: Likewise.
4263         * math/auto-libm-test-out-cbrt: Likewise.
4264         * math/auto-libm-test-out-ccos: Likewise.
4265         * math/auto-libm-test-out-ccosh: Likewise.
4266         * math/auto-libm-test-out-cexp: Likewise.
4267         * math/auto-libm-test-out-clog: Likewise.
4268         * math/auto-libm-test-out-clog10: Likewise.
4269         * math/auto-libm-test-out-cos: Likewise.
4270         * math/auto-libm-test-out-cosh: Likewise.
4271         * math/auto-libm-test-out-cpow: Likewise.
4272         * math/auto-libm-test-out-csin: Likewise.
4273         * math/auto-libm-test-out-csinh: Likewise.
4274         * math/auto-libm-test-out-csqrt: Likewise.
4275         * math/auto-libm-test-out-ctan: Likewise.
4276         * math/auto-libm-test-out-ctanh: Likewise.
4277         * math/auto-libm-test-out-erf: Likewise.
4278         * math/auto-libm-test-out-erfc: Likewise.
4279         * math/auto-libm-test-out-exp: Likewise.
4280         * math/auto-libm-test-out-exp10: Likewise.
4281         * math/auto-libm-test-out-exp2: Likewise.
4282         * math/auto-libm-test-out-expm1: Likewise.
4283         * math/auto-libm-test-out-fma: Likewise.
4284         * math/auto-libm-test-out-hypot: Likewise.
4285         * math/auto-libm-test-out-j0: Likewise.
4286         * math/auto-libm-test-out-j1: Likewise.
4287         * math/auto-libm-test-out-jn: Likewise.
4288         * math/auto-libm-test-out-lgamma: Likewise.
4289         * math/auto-libm-test-out-log: Likewise.
4290         * math/auto-libm-test-out-log10: Likewise.
4291         * math/auto-libm-test-out-log1p: Likewise.
4292         * math/auto-libm-test-out-log2: Likewise.
4293         * math/auto-libm-test-out-pow: Likewise.
4294         * math/auto-libm-test-out-sin: Likewise.
4295         * math/auto-libm-test-out-sincos: Likewise.
4296         * math/auto-libm-test-out-sinh: Likewise.
4297         * math/auto-libm-test-out-sqrt: Likewise.
4298         * math/auto-libm-test-out-tan: Likewise.
4299         * math/auto-libm-test-out-tanh: Likewise.
4300         * math/auto-libm-test-out-tgamma: Likewise.
4301         * math/auto-libm-test-out-y0: Likewise.
4302         * math/auto-libm-test-out-y1: Likewise.
4303         * math/auto-libm-test-out-yn: Likewise.
4305         * math/Makefile (generated): Do not include libm-test.stmp.
4306         ($(addprefix $(objpfx), $(libm-tests-generated))): Do not depend
4307         on $(objpfx)libm-test.stmp.
4308         ($(objpfx)libm-test.stmp): Remove rule.
4309         ($(objpfx)libm-test-ulps.h): New rule.
4310         ($(objpfx)libm-test.c): Likewise.
4311         ($(objpfx)libm-have-vector-test.h): Likewise.
4312         ($(addprefix $(objpfx), $(libm-tests.o)): Depend directly on
4313         individual generated files, not libm-test.stmp.
4315         * math/gen-libm-test.pl ($output_dir): Remove variable.
4316         ($srcdir): Likewise.
4317         ($opt_a): New variable.
4318         ($opt_c): Likewise.
4319         ($opt_C): Likewise.
4320         ($opt_H): Likewise.
4321         (-n): Make option take argument and use it as NewUlps output.
4322         (-a): New option.  Use its argument for auto-libm-test-out input.
4323         (-c): New option.  Use its argument for libm-test.inc input.
4324         (-C): New option.  Use its argument for libm-test.c output.
4325         (-H): New option.  Use its argument for libm-test-ulps.h output.
4326         (top level): Only process inputs needed to generate outputs
4327         specified by command-line options.  Only generate outputs
4328         specified by command-line options.
4329         * math/README.libm-test: Update example gen-libm-test.pl command.
4330         * math/Makefile ($(objpfx)libm-test.stmp): Update gen-libm-test.pl
4331         commands.
4332         (regen-ulps): Likewise.
4334 2017-02-06  Wilco Dijkstra  <wdijkstr@arm.com>
4336         * hurd/path-lookup.c (file_name_path_scan): Rename index to strchr.
4337         * include/string.h (index): Remove define.
4338         (rindex): Likewise.
4339         * misc/getttyent.c (__getttyent): Rename index to strchr.
4340         * misc/ttyslot.c (ttyslot): Rename rindex to strrchr.
4341         * sunrpc/rpc_main.c (mkfile_output): Likewise.
4343 2017-02-06  Joseph Myers  <joseph@codesourcery.com>
4345         * math/libm-test-driver.c: New file.  Based on math/libm-test.inc.
4346         * math/libm-test.inc: Move all contents, other than tests of
4347         individual functions, to libm-test-driver.c.
4348         [!FE_TONEAREST] (FE_TONEAREST): Move to libm-test-driver.c.
4349         [!FE_TOWARDZERO] (FE_TOWARDZERO): Likewise.
4350         [!FE_UPWARD] (FE_UPWARD): Likewise.
4351         [!FE_DOWNWARD] (FE_DOWNWARD): Likewise.
4352         (NO_EXCEPTION): Likewise.
4353         (INVALID_EXCEPTION): Likewise.
4354         (DIVIDE_BY_ZERO_EXCEPTION): Likewise.
4355         (OVERFLOW_EXCEPTION): Likewise.
4356         (UNDERFLOW_EXCEPTION): Likewise.
4357         (INEXACT_EXCEPTION): Likewise.
4358         (INVALID_EXCEPTION_OK): Likewise.
4359         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
4360         (OVERFLOW_EXCEPTION_OK): Likewise.
4361         (UNDERFLOW_EXCEPTION_OK): Likewise.
4362         (NO_INEXACT_EXCEPTION): Likewise.
4363         (EXCEPTIONS_OK): Likewise.
4364         (IGNORE_ZERO_INF_SIGN): Likewise.
4365         (TEST_NAN_SIGN): Likewise.
4366         (TEST_NAN_PAYLOAD): Likewise.
4367         (NO_TEST_INLINE): Likewise.
4368         (XFAIL_TEST): Likewise.
4369         (ERRNO_UNCHANGED): Likewise.
4370         (ERRNO_EDOM): Likewise.
4371         (ERRNO_ERANGE): Likewise.
4372         (IGNORE_RESULT): Likewise.
4373         (NON_FINITE): Likewise.
4374         (TEST_SNAN): Likewise.
4375         (NO_TEST_MATHVEC): Likewise.
4376         (TEST_NAN_PAYLOAD_CANONICALIZE): Likewise.
4377         (__CONCATX): Likewise.
4378         (TYPE_MIN): Likewise.
4379         (TYPE_TRUE_MIN): Likewise.
4380         (TYPE_MAX): Likewise.
4381         (MIN_EXP): Likewise.
4382         (MAX_EXP): Likewise.
4383         (MANT_DIG): Likewise.
4384         (FSTR_MAX): Likewise.
4385         (ULP_IDX): Likewise.
4386         (QTYPE_STR): Likewise.
4387         (TEST_COND_binary32): Likewise.
4388         (TEST_COND_binary64): Likewise.
4389         (TEST_COND_binary128): Likewise.
4390         (TEST_COND_ibm128): Likewise.
4391         (TEST_COND_intel96): Likewise.
4392         (TEST_COND_m68k96): Likewise.
4393         (TEST_COND_ibm128_libgcc): Likewise.
4394         (XFAIL_IBM128_LIBGCC): Likewise.
4395         (PAYLOAD_DIG): Likewise.
4396         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
4397         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
4398         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
4399         (UNDERFLOW_EXCEPTION_OK_DOUBLE): Likewise.
4400         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
4401         (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): Likewise.
4402         (TEST_COND_long32): Likewise.
4403         (TEST_COND_long64): Likewise.
4404         (TEST_COND_before_rounding): Likewise.
4405         (TEST_COND_after_rounding): Likewise.
4406         (lit_pi_3_m_4_d): Likewise.
4407         (lit_pi_3_m_4_ln10_m_d): Likewise.
4408         (lit_pi_2_ln10_m_d): Likewise.
4409         (lit_pi_4_ln10_m_d): Likewise.
4410         (lit_pi_ln10_d): Likewise.
4411         (lit_pi_2_d): Likewise.
4412         (lit_pi_4_d): Likewise.
4413         (lit_pi): Likewise.
4414         (lit_e): Likewise.
4415         (ulps_file_name): Likewise.
4416         (ulps_file): Likewise.
4417         (output_ulps): Likewise.
4418         (output_dir): Likewise.
4419         (noErrors): Likewise.
4420         (noTests): Likewise.
4421         (noExcTests): Likewise.
4422         (noErrnoTests): Likewise.
4423         (verbose): Likewise.
4424         (output_max_error): Likewise.
4425         (output_points): Likewise.
4426         (ignore_max_ulp): Likewise.
4427         (plus_zero): Likewise.
4428         (minus_zero): Likewise.
4429         (plus_infty): Likewise.
4430         (minus_infty): Likewise.
4431         (qnan_value_pl): Likewise.
4432         (qnan_value): Likewise.
4433         (snan_value_pl): Likewise.
4434         (snan_value): Likewise.
4435         (max_value): Likewise.
4436         (min_value): Likewise.
4437         (min_subnorm_value): Likewise.
4438         (snan_value_ld): Likewise.
4439         (max_error): Likewise.
4440         (real_max_error): Likewise.
4441         (imag_max_error): Likewise.
4442         (prev_max_error): Likewise.
4443         (prev_real_max_error): Likewise.
4444         (prev_imag_max_error): Likewise.
4445         (max_valid_error): Likewise.
4446         (TYPE_DECIMAL_DIG): Likewise.
4447         (TYPE_HEX_DIG): Likewise.
4448         (fmt_ftostr): Likewise.
4449         (compare_ulp_data): Likewise.
4450         (find_ulps): Likewise.
4451         (init_max_error): Likewise.
4452         (set_max_error): Likewise.
4453         (print_float): Likewise.
4454         (print_screen): Likewise.
4455         (print_screen_max_error): Likewise.
4456         (update_stats): Likewise.
4457         (print_function_ulps): Likewise.
4458         (print_complex_function_ulps): Likewise.
4459         (fpstack_test): Likewise.
4460         (print_max_error): Likewise.
4461         (print_complex_max_error): Likewise.
4462         (test_single_exception): Likewise.
4463         (test_exceptions): Likewise.
4464         (test_single_errno): Likewise.
4465         (test_errno): Likewise.
4466         (ULPDIFF): Likewise.
4467         (ulp): Likewise.
4468         (check_float_internal): Likewise.
4469         (check_float): Likewise.
4470         (check_complex): Likewise.
4471         (check_int): Likewise.
4472         (check_long): Likewise.
4473         (check_bool): Likewise.
4474         (check_longlong): Likewise.
4475         (check_intmax_t): Likewise.
4476         (check_uintmax_t): Likewise.
4477         (enable_test): Likewise.
4478         (struct test_f_f_data): Likewise.
4479         (struct test_ff_f_data): Likewise.
4480         (struct test_fj_f_data): Likewise.
4481         (struct test_fi_f_data): Likewise.
4482         (struct test_fl_f_data): Likewise.
4483         (struct test_if_f_data): Likewise.
4484         (struct test_fff_f_data): Likewise.
4485         (struct test_fiu_M_data): Likewise.
4486         (struct test_fiu_U_data): Likewise.
4487         (struct test_c_f_data): Likewise.
4488         (struct test_f_f1_data): Likewise.
4489         (struct test_fF_f1_data): Likewise.
4490         (struct test_ffI_f1_data): Likewise.
4491         (struct test_c_c_data): Likewise.
4492         (struct test_cc_c_data): Likewise.
4493         (struct test_f_i_data): Likewise.
4494         (struct test_ff_i_data): Likewise.
4495         (struct test_f_l_data): Likewise.
4496         (struct test_f_L_data): Likewise.
4497         (struct test_fFF_11_data): Likewise.
4498         (struct test_Ff_b1_data): Likewise.
4499         (IF_ROUND_INIT_): Likewise.
4500         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
4501         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
4502         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
4503         (IF_ROUND_INIT_FE_UPWARD): Likewise.
4504         (ROUND_RESTORE_): Likewise.
4505         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
4506         (ROUND_RESTORE_FE_TONEAREST): Likewise.
4507         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
4508         (ROUND_RESTORE_FE_UPWARD): Likewise.
4509         (RM_): Likewise.
4510         (RM_FE_DOWNWARD): Likewise.
4511         (RM_FE_TONEAREST): Likewise.
4512         (RM_FE_TOWARDZERO): Likewise.
4513         (RM_FE_UPWARD): Likewise.
4514         (COMMON_TEST_SETUP): Likewise.
4515         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
4516         (COMMON_TEST_CLEANUP): Likewise.
4517         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
4518         (RUN_TEST_f_f): Likewise.
4519         (RUN_TEST_LOOP_f_f): Likewise.
4520         (RUN_TEST_fp_f): Likewise.
4521         (RUN_TEST_LOOP_fp_f): Likewise.
4522         (RUN_TEST_2_f): Likewise.
4523         (RUN_TEST_LOOP_2_f): Likewise.
4524         (RUN_TEST_ff_f): Likewise.
4525         (RUN_TEST_LOOP_ff_f): Likewise.
4526         (RUN_TEST_LOOP_fj_f): Likewise.
4527         (RUN_TEST_fi_f): Likewise.
4528         (RUN_TEST_LOOP_fi_f): Likewise.
4529         (RUN_TEST_fl_f): Likewise.
4530         (RUN_TEST_LOOP_fl_f): Likewise.
4531         (RUN_TEST_if_f): Likewise.
4532         (RUN_TEST_LOOP_if_f): Likewise.
4533         (RUN_TEST_fff_f): Likewise.
4534         (RUN_TEST_LOOP_fff_f): Likewise.
4535         (RUN_TEST_fiu_M): Likewise.
4536         (RUN_TEST_LOOP_fiu_M): Likewise.
4537         (RUN_TEST_fiu_U): Likewise.
4538         (RUN_TEST_LOOP_fiu_U): Likewise.
4539         (RUN_TEST_c_f): Likewise.
4540         (RUN_TEST_LOOP_c_f): Likewise.
4541         (RUN_TEST_f_f1): Likewise.
4542         (RUN_TEST_LOOP_f_f1): Likewise.
4543         (RUN_TEST_fF_f1): Likewise.
4544         (RUN_TEST_LOOP_fF_f1): Likewise.
4545         (RUN_TEST_fI_f1): Likewise.
4546         (RUN_TEST_LOOP_fI_f1): Likewise.
4547         (RUN_TEST_ffI_f1_mod8): Likewise.
4548         (RUN_TEST_LOOP_ffI_f1_mod8): Likewise.
4549         (RUN_TEST_Ff_b1): Likewise.
4550         (RUN_TEST_LOOP_Ff_b1): Likewise.
4551         (RUN_TEST_Ffp_b1): Likewise.
4552         (RUN_TEST_LOOP_Ffp_b1): Likewise.
4553         (RUN_TEST_c_c): Likewise.
4554         (RUN_TEST_LOOP_c_c): Likewise.
4555         (RUN_TEST_cc_c): Likewise.
4556         (RUN_TEST_LOOP_cc_c): Likewise.
4557         (RUN_TEST_f_i): Likewise.
4558         (RUN_TEST_LOOP_f_i): Likewise.
4559         (RUN_TEST_f_i_tg): Likewise.
4560         (RUN_TEST_LOOP_f_i_tg): Likewise.
4561         (RUN_TEST_ff_b): Likewise.
4562         (RUN_TEST_LOOP_ff_b): Likewise.
4563         (RUN_TEST_ff_i_tg): Likewise.
4564         (RUN_TEST_LOOP_ff_i_tg): Likewise.
4565         (RUN_TEST_f_b): Likewise.
4566         (RUN_TEST_LOOP_f_b): Likewise.
4567         (RUN_TEST_f_b_tg): Likewise.
4568         (RUN_TEST_LOOP_f_b_tg): Likewise.
4569         (RUN_TEST_f_l): Likewise.
4570         (RUN_TEST_LOOP_f_l): Likewise.
4571         (RUN_TEST_f_L): Likewise.
4572         (RUN_TEST_LOOP_f_L): Likewise.
4573         (RUN_TEST_fFF_11): Likewise.
4574         (RUN_TEST_LOOP_fFF_11): Likewise.
4575         (VEC_SUFF): Likewise.
4576         (STR_CONCAT): Likewise.
4577         (STR_CON3): Likewise.
4578         (HAVE_VECTOR): Likewise.
4579         (START): Likewise.
4580         (END): Likewise.
4581         (END_COMPLEX): Likewise.
4582         (ALL_RM_TEST): Likewise.
4583         (matherr): Likewise.
4584         (initialize): Likewise.
4585         (options): Likewise.
4586         (doc): Likewise.
4587         (parse_opt): Likewise.
4588         (argp): Likewise.
4589         (check_ulp): Likewise.
4590         (main): Likewise.
4591         (do_test): New function.  Call tests of individual functions
4592         previously called from main.
4594         * math/libm-test.inc: Remove comment listing functions tested and
4595         not tested.
4597 2016-02-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4599         * nptl/allocatestack.c [COLORING_INCREMENT] (nptl_ncreated): Remove.
4600         (allocate_stack): Remove COLORING_INCREMENT usage.
4601         * nptl/stack-aliasing.h (COLORING_INCREMENT). Likewise.
4602         * sysdeps/i386/i686/stack-aliasing.h (COLORING_INCREMENT): Likewise.
4604 2017-02-06  Joseph Myers  <joseph@codesourcery.com>
4606         * manual/libm-err-tab.pl (@all_functions): Change to
4607         %all_functions.  Initialize as empty.
4608         (parse_ulps): Add to %all_functions based on functions found in
4609         ulps files.  Ignore results for non-default rounding modes and
4610         vector functions.
4611         (print_platforms): Use %all_platforms.
4612         * manual/math.texi (Errors in Math Functions): Document omissions
4613         from the table.
4615         * math/Makefile (before-compile): Remove.
4617 2017-02-06  Ivo Raisr <ivo.raisr@oracle.com>
4619         [BZ #21075]
4620         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Remove
4621         unused assignment.
4622         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
4624 2017-02-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
4626         * sysdeps/nptl/lowlevellock.h (lll_trylock, lll_cond_trylock):
4627         Add __glibc_unlikely hint.
4629 2017-02-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4631         [BZ #16640]
4632         * sysdeps/i386/i686/strtok.S: Remove file.
4633         * sysdeps/i386/i686/strtok_r.S: Likewise.
4634         * sysdeps/i386/strtok.S: Likewise.
4635         * sysdeps/i386/strtok_r.S: Likewise.
4636         * sysdeps/powerpc/powerpc64/strtok.S: Likewise.
4637         * sysdeps/powerpc/powerpc64/strtok_r.S: Likewise.
4638         * sysdeps/x86_64/strtok.S: Likewise.
4639         * sysdeps/x86_64/strtok_r.S: Likewise.
4641         * sysdeps/unix/sysv/linux/arm/posix_fadvise.c: Remove file.
4642         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: Likewise.
4643         * sysdeps/unix/sysv/linux/mips/kernel-features.h
4644         (__ASSUME_FADVISE64_AS_64_64): Define.
4645         * sysdeps/unix/sysv/linux/posix_fadvise.c [__NR_fadvise64]: Add
4646         !defined __ASSUME_FADVISE64_AS_64_64 to use syscall issue.
4647         [!__NR_fadvise64 && __ASSUME_FADVISE64_64_6ARG]: Remove
4648         __ALIGNMENT_ARG usage.
4649         [!__NR_fadvise64 && !__ASSUME_FADVISE64_64_6ARG]: Define
4650         __NR_fadvise64_64 if it is not defined.
4652 2017-02-05  Siddhesh Poyarekar  <siddhesh@sourceware.org>
4654         * version.h (RELEASE): Set to "development"
4655         (VERSION): Set to 2.25.90.
4656         * NEWS: Add 2.26 section.
4658         * version.h (RELEASE): Set to "stable"
4659         (VERSION): Set to 2.25.
4660         * include/features.h (__GLIBC_MINOR__): Set to 25.
4662         * manual/contrib.texi: Add more contributors from this release
4663         and past releases.
4665         * NEWS (2.25): Add list of bugs fixed.
4667         * NEWS: Add missing news items.
4669 2017-02-04  Siddhesh Poyarekar  <siddhesh@sourceware.org>
4671         * elf/tst-env-setuid.c (do_execve): Return EXIT_UNSUPPORTED in
4672         parent if child exited in that manner.  Print WEXITSTATUS
4673         instead of the raw status.
4674         (do_test_prep): Rename to do_test.
4675         (do_test): Return the result of run_executable_sgid.
4676         (TEST_FUNCTION_ARGV): Adjust.
4678 2017-02-03  Alexandre Oliva  <aoliva@redhat.com>
4679             Florian Weimer  <fweimer@redhat.com>
4680             Carlos O'Donell  <carlos@redhat.com>
4682         [BZ #20915]
4683         * elf/dl-reloc.c (_dl_nothread_init_static_tls):
4684         Do not initialize DTV.
4685         * nptl/allocatestack.c (init_one_static_tls): Likewise.
4687 2017-02-03  David S. Miller  <davem@davemloft.net>
4689         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax-vis3.S: Remove file.
4690         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
4691         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: Likewise.
4692         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
4693         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: Likewise.
4694         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
4695         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: Likewise.
4696         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
4697         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
4698         (libm-sysdep_routines): Update.
4699         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Remove file.
4700         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: Likewise.
4701         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
4702         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: Likewise.
4703         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
4704         * sysdeps/sparc/sparc64/fpu/s_fmax.S: Likewise.
4705         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: Likewise.
4706         * sysdeps/sparc/sparc64/fpu/s_fmin.S: Likewise.
4707         * sysdeps/sparc/sparc64/fpu/s_fminf.S: Likewise.
4708         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S:
4709         Likewise.
4710         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
4711         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S:
4712         Likewise.
4713         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
4714         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S:
4715         Likewise.
4716         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
4717         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S:
4718         Likewise.
4719         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
4720         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
4721         (libm-sysdep_routines): Update.
4723 2017-02-02  H.J. Lu  <hongjiu.lu@intel.com>
4725         * sysdeps/i386/dl-machine.h (elf_machine_rel): Replace
4726         _dl_fatal_printf with _dl_error_printf for IFUNC relocation
4727         against unrelocated shared library.
4728         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
4730 2017-02-02  Siddhesh Poyarekar  <siddhesh@sourceware.org>
4732         * sysdeps/generic/unsecvars.h: Add GLIBC_TUNABLES.
4733         * elf/tst-env-setuid-tunables.c
4734         (test_child_tunables)[!HAVE_TUNABLES]: Verify that
4735         GLIBC_TUNABLES is removed in a setgid process.
4737         [BZ #21073]
4738         * elf/dl-tunable-types.h (tunable_seclevel_t): New enum.
4739         * elf/dl-tunables.c (tunables_strdup): Remove.
4740         (get_next_env): Also return the previous envp.
4741         (parse_tunables): Erase tunables of category
4742         TUNABLES_SECLEVEL_SXID_ERASE.
4743         (maybe_enable_malloc_check): Make MALLOC_CHECK_
4744         TUNABLE_SECLEVEL_NONE if /etc/setuid-debug is accessible.
4745         (__tunables_init)[TUNABLES_FRONTEND ==
4746         TUNABLES_FRONTEND_valstring]: Update GLIBC_TUNABLES envvar
4747         after parsing.
4748         [TUNABLES_FRONTEND != TUNABLES_FRONTEND_valstring]: Erase
4749         tunable envvars of category TUNABLES_SECLEVEL_SXID_ERASE.
4750         * elf/dl-tunables.h (struct _tunable): Change member is_secure
4751         to security_level.
4752         * elf/dl-tunables.list: Add security_level annotations for all
4753         tunables.
4754         * scripts/gen-tunables.awk: Recognize and generate enum values
4755         for security_level.
4756         * elf/tst-env-setuid.c: New test case.
4757         * elf/tst-env-setuid-tunables: new test case.
4758         * elf/Makefile (tests-static): Add them.
4760 2017-02-01  Richard Henderson  <rth@twiddle.net>
4762         * sysdeps/alpha/memchr.c (__memchr): Use saturating arithmetic
4763         adjusting the byte count.
4765 2017-02-01  Andreas Schwab  <schwab@linux-m68k.org>
4767         * conform/Makefile (linknamespace-libs): Define.
4769         * sysdeps/m68k/m680x0/m68020/atomic-machine.h
4770         (__arch_compare_and_exchange_val_64_acq, atomic_exchange_acq)
4771         (atomic_exchange_and_add, atomic_add): Add casts to 64 bit asm
4772         operands.
4774 2017-01-31  Chung-Lin Tang  <cltang@codesourcery.com>
4776         * sysdeps/unix/sysv/linux/nios2/ipc_priv.h: New file.
4778 2017-01-30  H.J. Lu  <hongjiu.lu@intel.com>
4780         [BZ #21081]
4781         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
4782         (L(stosb)): Add VZEROUPPER before ret.
4784 2016-01-28  Carlos O'Donell  <carlos@redhat.com>
4785             Alexey Makhalov <amakhalov@vmware.com>
4786             Florian Weimer <fweimer@redhat.com>
4788         [BZ #20116]
4789         * nptl/pthread_create.c: Document concurrency notes.
4790         Enhance thread creation notes.
4791         (create_thread): Use bool *stopped_start.
4792         (START_THREAD_DEFN): Comment ownership of PD.
4793         (__pthread_create_2_1): Add local bool stopped_start and use
4794         that instead of pd->stopped_start where appropriate.
4795         * nptl/createthread.c (create_thread): Use bool *stopped_start.
4796         * sysdeps/nacl/createthread.c (create_thread): Use bool *stopped_start.
4797         * sysdeps/unix/sysv/linux/createthread.c (create_thread): Likewise.
4798         * nptl/tst-create-detached.c: New file.
4799         * nptl/Makefile (tests): Add tst-create-detached.
4800         * nptl/pthread_getschedparam.c (__pthread_getschedparam):
4801         Reference the enhanced thread creation notes.
4802         * nptl/pthread_setschedparam.c (__pthread_setschedparam): Likewise.
4803         * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
4804         * nptl/tpp.c (__pthread_tpp_change_priority): Likewise.
4805         (__pthread_current_priority): Likewise.
4806         * support/Makefile (libsupport-routines): Add xpthread_attr_destroy
4807         xpthread_attr_init, xpthread_attr_setdetachstate, and
4808         xpthread_attr_setstacksize.
4809         * support/xpthread_attr_destroy.c: New file.
4810         * support/xpthread_attr_init.c: New file.
4811         * support/xpthread_attr_setdetachstate.c: New file.
4812         * support/xpthread_attr_setstacksize.c: New file.
4813         * support/xthread.h: Define prototypes for xpthread_attr_destroy
4814         xpthread_attr_init, xpthread_attr_setdetachstate, and
4815         xpthread_attr_setstacksize.
4817 2017-01-27  Florian Weimer  <fweimer@redhat.com>
4819         * nptl/Makefile (tests): Add tst-robust-fork.
4820         * nptl/tst-robust-fork.c: New file.
4821         * support/Makefile (libsupport-routines): Add xmmap, xmunmap,
4822         xpthread_mutex_consistent, xpthread_mutex_destroy,
4823         xpthread_mutex_init, xpthread_mutexattr_destroy,
4824         xpthread_mutexattr_init, xpthread_mutexattr_setprotocol,
4825         xpthread_mutexattr_setpshared, xpthread_mutexattr_setrobust,
4826         xpthread_mutexattr_settype.
4827         * support/xmmap.c: New file.
4828         * support/xmunmap.c: Likewise.
4829         * support/xpthread_mutex_consistent.c: Likewise.
4830         * support/xpthread_mutex_destroy.c: Likewise.
4831         * support/xpthread_mutex_init.c: Likewise.
4832         * support/xpthread_mutexattr_destroy.c: Likewise.
4833         * support/xpthread_mutexattr_init.c: Likewise.
4834         * support/xpthread_mutexattr_setprotocol.c: Likewise.
4835         * support/xpthread_mutexattr_setpshared.c: Likewise.
4836         * support/xpthread_mutexattr_setrobust.c: Likewise.
4837         * support/xpthread_mutexattr_settype.c: Likewise.
4838         * support/xthread.h (xpthread_mutexattr_destroy)
4839         (xpthread_mutexattr_init, xpthread_mutexattr_setprotocol)
4840         (xpthread_mutexattr_setpshared, xpthread_mutexattr_setrobust)
4841         (xpthread_mutexattr_settype, xpthread_mutex_init)
4842         (xpthread_mutex_destroy, xpthread_mutex_consistent): Declare.
4843         * support/xunistd.h (xmmap, xmunmap): Likewise.
4845 2017-01-25  Florian Weimer  <fweimer@redhat.com>
4847         * string/Makefile (xtests): Add comment.
4848         (LOCALES): Add en_GB.UTF-8.
4849         (tst-strcoll-overflow.out): Depend on generated locales.
4850         * string/tst-strcoll-overflow.c: Convert to support/test-driver.c.
4851         (SIZE, TIMEOUT): Update comments.
4852         (do_test): Define as static.  Fail test if setlocale fails.
4853         Return EXIT_UNSUPPORTED if insufficient memory.  Enhance output
4854         messages.
4855         (EXPECTED_SIGNAL, EXPECTED_STATUS, TEST_FUNCTION): Remove.
4856         TIMEOUT at 300 seconds should be enough to run this test
4857         successfully.
4859 2017-01-24  Jakub Jelinek  <jakub@redhat.com>
4861         * soft-fp/op-common.h (_FP_MUL, _FP_FMA, _FP_DIV): Add
4862         /* FALLTHRU */ comments.
4864 2017-01-24  James Clarke  <jrtc27@jrtc27.com>
4866         [BZ #21053]
4867         * sysdeps/unix/sysv/linux/sh/sh3/ucontext_i.sym: Use new REG_R*
4868         constants instead of the old R* ones.
4869         * sysdeps/unix/sysv/linux/sh/sh4/ucontext_i.sym: Likewise.
4870         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (NGPREG): Rename...
4871         (NGREG): ... to this, to fit in with other architectures.
4872         (gpregset_t): Use new NGREG macro.
4873         [__USE_GNU]: Remove condition; all architectures other than tile
4874         are unconditional.
4875         (R*): Rename to REG_R*.
4877 2017-01-20  DJ Delorie  <dj@redhat.com>
4879         * elf/dl-tunables.c (tunable_set_val_if_valid_range): Split into ...
4880         (tunable_set_val_if_valid_range_signed) ... this, and ...
4881         (tunable_set_val_if_valid_range_unsigned) ... this.
4882         (tunable_initialize): Call the correct one of the above based on type.
4884 2017-01-20  Joseph Myers  <joseph@codesourcery.com>
4886         * sysdeps/hppa/fpu/libm-test-ulps: Remove *_tonearest entries.
4887         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
4888         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
4889         * sysdeps/microblaze/libm-test-ulps: Likewise.
4890         * sysdeps/sh/libm-test-ulps: Likewise.
4892         * math/README.libm-test: Update list of characters for input and
4893         output types.
4895 2017-01-20  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
4897         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
4898         (__lll_unlock_elision): Fix adapt_count decrement.
4900 2017-01-14  Martin Galvan  <martingalvan@sourceware.org>
4902         * README.pretty-printers (Known issues): Warn about printers not
4903         always covering everything.
4904         * nptl/nptl-printers.py (MutexPrinter): Change output.
4905         * nptl/test-mutex-printers.py: Fix test and adapt to changed output.
4907 2017-01-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
4909         * sysdeps/unix/sysv/linux/s390/htm.h: Adjust comments.
4910         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
4911         * sysdeps/unix/sysv/linux/s390/elision-lock.c: Adjust comments.
4912         (__lll_lock_elision): Do not test futex before starting a
4913         transaction.  Use __glibc_likely instead of __builtin_expect.
4914         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Adjust comments.
4915         (__lll_trylock_elision): Do not test futex before starting a
4916         transaction.  Use __glibc_likely instead of __builtin_expect.
4918 2017-01-20  Siddhesh Poyarekar  <siddhesh@sourceware.org>
4920         * po/Makefile (update-translations): New target.
4922 2017-01-19  Joseph Myers  <joseph@codesourcery.com>
4924         [BZ #21061]
4925         * sysdeps/unix/sysv/linux/microblaze/clock-compat.c: New file.
4927 2017-01-19  Siddhesh Poyarekar  <siddhesh@sourceware.org>
4929         * elf/dl-tunables (get_next_env): Always advance envp.
4930         * stdlib/tst-empty-env.c: New test case.
4931         * stdlib/Makefile (tests): Use it.
4933 2017-01-19  Joseph Myers  <joseph@codesourcery.com>
4935         [BZ #21047]
4936         * sysdeps/arm/fpu_control.h [!__SOFTFP__] (_FPU_GETCW): Use VFP
4937         name for instruction.
4938         [!__SOFTFP__] (_FPU_SETCW): Likewise.
4940 2017-01-18  Joseph Myers  <joseph@codesourcery.com>
4942         * scripts/build-many-glibcs.py (Config.build_cross_tool): Use -j1
4943         for make install.
4945 2017-01-18  Siddhesh Poyarekar  <siddhesh@sourceware.org>
4947         * po/bg.po: Merge from Translation Project.
4948         * po/fr.po: Likewise.
4949         * po/ko.po: Likewise.
4950         * po/nl.po: Likewise.
4951         * po/sv.po: Likewise.
4953 2017-01-18  Joseph Myers  <joseph@codesourcery.com>
4955         * manual/install.texi (Tools for Compilation): Update GCC version
4956         known to work to build glibc.
4957         * INSTALL: Regenerated.
4959 2017-01-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
4961         [BZ #21006]
4962         * string/Makefile (LDFLAGS-tst-xbzero-opt): New variable.
4964 2017-01-16  Joseph Myers  <joseph@codesourcery.com>
4966         [BZ #21045]
4967         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
4968         (__CONTEXT_FUNC_NAME): Pass address of signal mask to be restored
4969         to __sigprocmask.
4971 2017-01-16  Chris Metcalf  <cmetcalf@mellanox.com>
4973         * sysdeps/tile/tilegx/memchr.c (__memchr): Handle pointer
4974         wrap-around.
4975         * sysdeps/tile/tilepro/memchr.c (__memchr): Likewise.
4977         * sysdeps/unix/sysv/linux/tile/ipc_priv.h: New file.
4979 2016-01-14  Siddhesh Poyarekar  <siddhesh@sourceware.org>
4981         * NEWS: Fix typo.
4983 2016-01-13  Torvald Riegel  <triegel@redhat.com>
4985         * nptl/descr.h (ENQUEUE_MUTEX_BOTH, DEQUEUE_MUTEX): Add compiler
4986         barriers and comments.
4987         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Likewise.
4988         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
4989         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
4991 2016-01-13  Torvald Riegel  <triegel@redhat.com>
4993         [BZ #19402]
4994         * sysdeps/nptl/fork.c (__libc_fork): Clear list of acquired robust
4995         mutexes.
4997 2016-01-13  Torvald Riegel  <triegel@redhat.com>
4999         [BZ #20985]
5000         * nptl/Makefile: Adapt.
5001         * nptl/pthread_mutex_cond_lock.c (LLL_ROBUST_MUTEX_LOCK): Remove.
5002         (LLL_ROBUST_MUTEX_LOCK_MODIFIER): New.
5003         * nptl/pthread_mutex_lock.c (LLL_ROBUST_MUTEX_LOCK): Remove.
5004         (LLL_ROBUST_MUTEX_LOCK_MODIFIER): New.
5005         (__pthread_mutex_lock_full): Inline lll_robust* functions and adapt.
5006         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Inline
5007         lll_robust* functions and adapt.
5008         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
5009         * sysdeps/nptl/lowlevellock.h (__lll_robust_lock_wait,
5010         __lll_robust_lock, lll_robust_cond_lock, __lll_robust_timedlock_wait,
5011         __lll_robust_timedlock, __lll_robust_unlock): Remove.
5012         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_robust_lock,
5013         lll_robust_cond_lock, lll_robust_timedlock, lll_robust_unlock): Remove.
5014         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_robust_lock,
5015         lll_robust_cond_lock, lll_robust_timedlock, lll_robust_unlock): Remove.
5016         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (__lll_robust_lock_wait,
5017         __lll_robust_lock, lll_robust_cond_lock, __lll_robust_timedlock_wait,
5018         __lll_robust_timedlock, __lll_robust_unlock): Remove.
5019         * nptl/lowlevelrobustlock.c: Remove file.
5020         * nptl/lowlevelrobustlock.sym: Likewise.
5021         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Likewise.
5022         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Likewise.
5024 2017-01-13  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
5026         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
5028 2017-01-12  Siddhesh Poyarekar  <siddhesh@sourceware.org>
5030         * po/cs.po: Merge translations from the Translation Project.
5031         * po/de.po: Likewise.
5032         * po/pl.po: Likewise.
5033         * po/ru.po: Likewise.
5034         * po/tr.po: Likewise.
5035         * po/uk.po: Likewise.
5036         * po/vi.po: Likewise.
5037         * po/zh_CN.po: Likewise.
5039 2017-01-12  Joseph Myers  <joseph@codesourcery.com>
5041         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: New file.
5043         * math/fgetexcptflg.c (__fegetexceptflag): Store 0 in fexcept_t
5044         object.
5046 2017-01-11  Joseph Myers  <joseph@codesourcery.com>
5048         [BZ #16458]
5049         * bits/uintn-identity.h: New file.
5050         * inet/netinet/in.h: Include <bits/uintn-identity.h>.
5051         [__BYTE_ORDER == __BIG_ENDIAN] (ntohl): Use __uint32_identity.
5052         [__BYTE_ORDER == __BIG_ENDIAN] (ntohs): Use __uint16_identity.
5053         [__BYTE_ORDER == __BIG_ENDIAN] (htonl): Use __uint32_identity.
5054         [__BYTE_ORDER == __BIG_ENDIAN] (htohs): Use __uint16_identity.
5055         * string/endian.h: Include <bits/uintn-identity.h>.
5056         [__BYTE_ORDER == __LITTLE_ENDIAN] (htole16): Use
5057         __uint16_identity.
5058         [__BYTE_ORDER == __LITTLE_ENDIAN] (le16toh): Likewise.
5059         [__BYTE_ORDER == __LITTLE_ENDIAN] (htole32): Use
5060         __uint32_identity.
5061         [__BYTE_ORDER == __LITTLE_ENDIAN] (le32toh): Likewise.
5062         [__BYTE_ORDER == __LITTLE_ENDIAN] (htole64): Use
5063         __uint64_identity.
5064         [__BYTE_ORDER == __LITTLE_ENDIAN] (le64toh): Likewise.
5065         [__BYTE_ORDER != __LITTLE_ENDIAN] (htobe16): Use
5066         __uint16_identity.
5067         [__BYTE_ORDER != __LITTLE_ENDIAN] (be16toh): Likewise.
5068         [__BYTE_ORDER != __LITTLE_ENDIAN] (htobe32): Use
5069         __uint32_identity.
5070         [__BYTE_ORDER != __LITTLE_ENDIAN] (be32toh): Likewise.
5071         [__BYTE_ORDER != __LITTLE_ENDIAN] (htobe64): Use
5072         __uint64_identity.
5073         [__BYTE_ORDER != __LITTLE_ENDIAN] (be64toh): Likewise.
5074         * string/Makefile (headers): Add bits/uintn-identity.h.
5075         (tests): Add test-endian-types.
5076         * string/test-endian-types.c: New file.
5077         * inet/Makefile (tests): Add test-hnto-types.
5078         * inet/test-hnto-types.c: New file.
5080 2016-01-11  Siddhesh Poyarekar  <siddhesh@sourceware.org>
5082         * po/be.po: Update from Translation Project.
5083         * po/bg.po: Likewise.
5084         * po/ca.po: Likewise.
5085         * po/cs.po: Likewise.
5086         * po/da.po: Likewise.
5087         * po/de.po: Likewise.
5088         * po/el.po: Likewise.
5089         * po/eo.po: Likewise.
5090         * po/es.po: Likewise.
5091         * po/fi.po: Likewise.
5092         * po/fr.po: Likewise.
5093         * po/gl.po: Likewise.
5094         * po/hr.po: Likewise.
5095         * po/hu.po: Likewise.
5096         * po/ia.po: Likewise.
5097         * po/id.po: Likewise.
5098         * po/it.po: Likewise.
5099         * po/ja.po: Likewise.
5100         * po/ko.po: Likewise.
5101         * po/lt.po: Likewise.
5102         * po/nb.po: Likewise.
5103         * po/nl.po: Likewise.
5104         * po/pl.po: Likewise.
5105         * po/pt_BR.po: Likewise.
5106         * po/ru.po: Likewise.
5107         * po/rw.po: Likewise.
5108         * po/sk.po: Likewise.
5109         * po/sl.po: Likewise.
5110         * po/sv.po: Likewise.
5111         * po/tr.po: Likewise.
5112         * po/uk.po: Likewise.
5113         * po/vi.po: Likewise.
5114         * po/zh_CN.po: Likewise.
5115         * po/zh_TW.po: Likewise.
5117 2017-01-11  Joseph Myers  <joseph@codesourcery.com>
5119         * stdio-common/tst-printf.c [__GNUC_PREREQ (7, 0)]: Ignore
5120         -Wformat-truncation instead of -Wformat-length.
5121         * time/tst-strptime2.c (mkbuf) [__GNUC_PREREQ (7, 0)]: Likewise.
5122         * stdio-common/tstdiomisc.c (F): Ignore -Wformat-truncation for
5123         GCC 7.
5124         * wcsmbs/tst-wcstof.c: Include <libc-internal.h>.
5125         (do_test): Ignore -Wformat-truncation for GCC 7.
5127         * locale/programs/ld-address.c (INT_STR_ELEM): Increase size of
5128         buffer used to print long int value.
5130         * elf/sotruss-lib.c (init): Increase space allocated for pid by
5131         one byte.  Print it with %ld, cast to long int.
5133 2017-01-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
5135         * scripts/build-many-glibcs.py (os.cpu_count): Add compatibility definition.
5136         (re.fullmatch, subprocess.run): Likewise.
5138 2016-01-11  Siddhesh Poyarekar  <siddhesh@sourceware.org>
5140         * po/libc.pot: Regenerate.
5142 2016-01-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
5144         * elf/dl-tunables.c (tunables_unsetenv): Remove function.
5145         (min_strlen): Likewise.
5146         (disable_tunable): Likewise.
5147         (maybe_disable_malloc_check): Rename to
5148         maybe_enable_malloc_check.
5149         (maybe_enable_malloc_check): Enable glibc.malloc.check tunable
5150         if /etc/suid-debug file exists.
5151         (__tunables_init): Update caller.
5152         * elf/dl-tunables.list (glibc.malloc.check): Don't mark as
5153         secure.
5155 2016-01-10  Torvald Riegel  <triegel@redhat.com>
5157         * nptl/DESIGN-rwlock.txt: Remove.
5158         * nptl/lowlevelrwlock.sym: Remove.
5159         * nptl/Makefile: Add new tests.
5160         * nptl/pthread_rwlock_common.c: New file.  Contains the new rwlock.
5161         * nptl/pthreadP.h (PTHREAD_RWLOCK_PREFER_READER_P): Remove.
5162         (PTHREAD_RWLOCK_WRPHASE, PTHREAD_RWLOCK_WRLOCKED,
5163         PTHREAD_RWLOCK_RWAITING, PTHREAD_RWLOCK_READER_SHIFT,
5164         PTHREAD_RWLOCK_READER_OVERFLOW, PTHREAD_RWLOCK_WRHANDOVER,
5165         PTHREAD_RWLOCK_FUTEX_USED): New.
5166         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Adapt to new
5167         implementation.
5168         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow): Remove.
5169         (__pthread_rwlock_rdlock): Adapt.
5170         * nptl/pthread_rwlock_timedrdlock.c
5171         (pthread_rwlock_timedrdlock): Adapt.
5172         * nptl/pthread_rwlock_timedwrlock.c
5173         (pthread_rwlock_timedwrlock): Adapt.
5174         * nptl/pthread_rwlock_trywrlock.c (pthread_rwlock_trywrlock): Adapt.
5175         * nptl/pthread_rwlock_tryrdlock.c (pthread_rwlock_tryrdlock): Adapt.
5176         * nptl/pthread_rwlock_unlock.c (pthread_rwlock_unlock): Adapt.
5177         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow): Remove.
5178         (__pthread_rwlock_wrlock): Adapt.
5179         * nptl/tst-rwlock10.c: Adapt.
5180         * nptl/tst-rwlock11.c: Adapt.
5181         * nptl/tst-rwlock17.c: New file.
5182         * nptl/tst-rwlock18.c: New file.
5183         * nptl/tst-rwlock19.c: New file.
5184         * nptl/tst-rwlock2b.c: New file.
5185         * nptl/tst-rwlock8.c: Adapt.
5186         * nptl/tst-rwlock9.c: Adapt.
5187         * sysdeps/aarch64/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
5188         * sysdeps/arm/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
5189         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
5190         * sysdeps/ia64/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
5191         * sysdeps/m68k/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
5192         * sysdeps/microblaze/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
5193         * sysdeps/mips/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
5194         * sysdeps/nios2/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
5195         * sysdeps/s390/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
5196         * sysdeps/sh/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
5197         * sysdeps/sparc/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
5198         * sysdeps/tile/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
5199         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h
5200         (pthread_rwlock_t): Adapt.
5201         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
5202         (pthread_rwlock_t): Adapt.
5203         * sysdeps/x86/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
5204         * nptl/nptl-printers.py (): Adapt.
5205         * nptl/nptl_lock_constants.pysym: Adapt.
5206         * nptl/test-rwlock-printers.py: Adapt.
5207         * nptl/test-rwlockattr-printers.c: Adapt.
5208         * nptl/test-rwlockattr-printers.py: Adapt.
5210 2017-01-10  Joseph Myers  <joseph@codesourcery.com>
5212         * math/libm-test.inc (XFAIL_IBM128_LIBGCC): New macro.
5213         (fdim_test_data): Use XFAIL_ROUNDING_IBM128_LIBGCC for some tests.
5214         (fma_test_data): Likewise.
5215         (hypot_test_data): Likewise.
5216         (log1p_test_data): Likewise.
5217         (modf_test_data): Likewise.
5218         (pow_test_data): Likewise.
5219         (remainder_test_data): Likewise.
5220         (remquo_test_data): Likewise.
5221         (scalb_test_data): Likewise.
5222         (scalbn_test_data): Likewise.
5223         (scalbln_test_data): Likewise.
5224         * math/gen-libm-test.pl (parse_args): Transform
5225         XFAIL_ROUNDING_IBM128_LIBGCC to XFAIL_IBM128_LIBGCC or 0 depending
5226         on the rounding mode.
5228 2017-01-09  Joseph Myers  <joseph@codesourcery.com>
5230         * math/gen-auto-libm-tests.c (output_for_one_input_case): Apply
5231         xfail-rounding:ibm128-libgcc automatically to tests overflowing
5232         and those that can underflow to zero.
5233         * math/auto-libm-test-in: Remove most XFAILs for ibm128-libgcc and
5234         add others.
5235         * math/auto-libm-test-out: Regenerated.
5237         * math/test-fenv.c (fe_tests): Skip most tests when exceptions not
5238         supported.
5239         (feholdexcept_tests): Skip tests requiring exceptions or rounding
5240         modes support if not supported.
5242         * sysdeps/unix/sysv/linux/microblaze/localplt.data (__pread64):
5243         Add libc.so PLT entry.
5244         (__tls_get_addr): Make ld.so PLT entry optional.
5246 2017-01-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5248         * string/bits/strings_fortified.h (explicit_bzero): Move back to ..
5249         * string/bits/string3.h: ... here.
5251 2017-01-05  Joseph Myers  <joseph@codesourcery.com>
5253         [BZ #21028]
5254         * math/fsetexcptflg.c (__fesetexceptflag): Always return 0.
5255         * math/test-fexcept.c (test_set): Allow failure of feraiseexcept
5256         if EXCEPTION_TESTS returns false.
5258 2017-01-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5260         [BZ #20558]
5261         * string/bits/string3.h [__USE_MISC] (bcopy): Move to
5262         strings_fortified.h.
5263         [__USE_MISC] (bzero): Likewise.
5264         [__USE_MISC] (explicit_bzero): Likewise.
5265         * string/strings.h: Include strings_fortified.h.
5266         * string/Makefile (headers): Add strings_fortified.h.
5267         * string/bits/strings_fortified.h: New file.
5268         * include/bits/strings_fortified.h: Likewise.
5270 2017-01-05  Joseph Myers  <joseph@codesourcery.com>
5272         * elf/tst-tls13.c (TIMEOUT): Remove.
5273         * iconvdata/tst-loading.c (TIMEOUT): Likewise.
5274         * malloc/tst-malloc-thread-fail.c (TIMEOUT): Increase to 100.
5275         * malloc/tst-mallocfork2.c (TIMEOUT): Define to 100.
5276         * nss/tst-cancel-getpwuid_r.c (TIMEOUT): Define to 900.
5277         * nss/tst-nss-getpwent.c (TIMEOUT): Define to 300.
5279         [BZ #21026]
5280         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list
5281         (readahead): New syscall entry.
5283 2017-01-04  Joseph Myers  <joseph@codesourcery.com>
5285         * string/tester.c (test_strncat): Disable -Wstringop-overflow=
5286         around tests of strncat with large sizes.
5288         * malloc/tst-malloc.c: Include <libc-internal.h>.
5289         (do_test): Disable -Walloc-size-larger-than= around tests of
5290         malloc with negative sizes.
5291         * malloc/tst-mcheck.c: Include <libc-internal.h>.
5292         (do_test): Disable -Walloc-size-larger-than= around tests of
5293         malloc and realloc with negative sizes.
5294         * malloc/tst-realloc.c: Include <libc-internal.h>.
5295         (do_test): Disable -Walloc-size-larger-than= around tests of
5296         realloc with negative sizes.
5298         * math/libm-test.inc (TEST_COND_ibm128_libgcc): New macro.
5299         (init_max_error) [TEST_COND_ibm128]: Increase maximum error
5300         allowed to 16 ulps.
5301         * math/auto-libm-test-in: Change most XFAILs for ibm128 to use
5302         ibm128-libgcc.  XFAIL more tests for ibm128-libgcc.
5303         * math/auto-libm-test-out: Regenerated.
5305 2017-01-04  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
5307         * math/Makefile (libm-calls): Move wrappers...
5308         (libm-compat-call-auto): Here.
5309         (libm-routines): Add items in libm-compat-calls-auto.
5310         * sysdeps/powerpc/nofpu/Makefile: Add suffix ("_compat") to
5311         the filenames of the wrappers that have been renamed.
5312         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Likewise.
5313         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
5315         * math/w_acos.c: Add _compat suffix to filename.
5316         * math/w_acosf.c: Likewise.
5317         * math/w_acosh.c: Likewise.
5318         * math/w_acoshf.c: Likewise.
5319         * math/w_acoshl.c: Likewise.
5320         * math/w_acosl.c: Likewise.
5321         * math/w_asin.c: Likewise.
5322         * math/w_asinf.c: Likewise.
5323         * math/w_asinl.c: Likewise.
5324         * math/w_atan2.c: Likewise.
5325         * math/w_atan2f.c: Likewise.
5326         * math/w_atan2l.c: Likewise.
5327         * math/w_atanh.c: Likewise.
5328         * math/w_atanhf.c: Likewise.
5329         * math/w_atanhl.c: Likewise.
5330         * math/w_cosh.c: Likewise.
5331         * math/w_coshf.c: Likewise.
5332         * math/w_coshl.c: Likewise.
5333         * math/w_exp10.c: Likewise.
5334         * math/w_exp10f.c: Likewise.
5335         * math/w_exp10l.c: Likewise.
5336         * math/w_exp2.c: Likewise.
5337         * math/w_exp2f.c: Likewise.
5338         * math/w_exp2l.c: Likewise.
5339         * math/w_fmod.c: Likewise.
5340         * math/w_fmodf.c: Likewise.
5341         * math/w_fmodl.c: Likewise.
5342         * math/w_hypot.c: Likewise.
5343         * math/w_hypotf.c: Likewise.
5344         * math/w_hypotl.c: Likewise.
5345         * math/w_j0.c: Likewise.
5346         * math/w_j0f.c: Likewise.
5347         * math/w_j0l.c: Likewise.
5348         * math/w_j1.c: Likewise.
5349         * math/w_j1f.c: Likewise.
5350         * math/w_j1l.c: Likewise.
5351         * math/w_jn.c: Likewise.
5352         * math/w_jnf.c: Likewise.
5353         * math/w_jnl.c: Likewise.
5354         * math/w_log10.c: Likewise.
5355         * math/w_log10f.c: Likewise.
5356         * math/w_log10l.c: Likewise.
5357         * math/w_log2.c: Likewise.
5358         * math/w_log2f.c: Likewise.
5359         * math/w_log2l.c: Likewise.
5360         * math/w_log.c: Likewise.
5361         * math/w_logf.c: Likewise.
5362         * math/w_logl.c: Likewise.
5363         * math/w_pow.c: Likewise.
5364         * math/w_powf.c: Likewise.
5365         * math/w_powl.c: Likewise.
5366         * math/w_remainder.c: Likewise.
5367         * math/w_remainderf.c: Likewise.
5368         * math/w_remainderl.c: Likewise.
5369         * math/w_scalb.c: Likewise.
5370         * math/w_scalbf.c: Likewise.
5371         * math/w_scalbl.c: Likewise.
5372         * math/w_sinh.c: Likewise.
5373         * math/w_sinhf.c: Likewise.
5374         * math/w_sinhl.c: Likewise.
5375         * math/w_sqrt.c: Likewise.
5376         * math/w_sqrtf.c: Likewise.
5377         * math/w_sqrtl.c: Likewise.
5378         * math/w_tgamma.c: Likewise.
5379         * math/w_tgammaf.c: Likewise.
5380         * math/w_tgammal.c: Likewise.
5382         * math/w_acos_compat.c: New file copied from above and
5383         adjusted for new #includes path
5384         * math/w_acosf_compat.c: Likewise.
5385         * math/w_acosh_compat.c: Likewise.
5386         * math/w_acoshf_compat.c: Likewise.
5387         * math/w_acoshl_compat.c: Likewise.
5388         * math/w_acosl_compat.c: Likewise.
5389         * math/w_asin_compat.c: Likewise.
5390         * math/w_asinf_compat.c: Likewise.
5391         * math/w_asinl_compat.c: Likewise.
5392         * math/w_atan2_compat.c: Likewise.
5393         * math/w_atan2f_compat.c: Likewise.
5394         * math/w_atan2l_compat.c: Likewise.
5395         * math/w_atanh_compat.c: Likewise.
5396         * math/w_atanhf_compat.c: Likewise.
5397         * math/w_atanhl_compat.c: Likewise.
5398         * math/w_cosh_compat.c: Likewise.
5399         * math/w_coshf_compat.c: Likewise.
5400         * math/w_coshl_compat.c: Likewise.
5401         * math/w_exp10_compat.c: Likewise.
5402         * math/w_exp10f_compat.c: Likewise.
5403         * math/w_exp10l_compat.c: Likewise.
5404         * math/w_exp2_compat.c: Likewise.
5405         * math/w_exp2f_compat.c: Likewise.
5406         * math/w_exp2l_compat.c: Likewise.
5407         * math/w_fmod_compat.c: Likewise.
5408         * math/w_fmodf_compat.c: Likewise.
5409         * math/w_fmodl_compat.c: Likewise.
5410         * math/w_hypot_compat.c: Likewise.
5411         * math/w_hypotf_compat.c: Likewise.
5412         * math/w_hypotl_compat.c: Likewise.
5413         * math/w_j0_compat.c: Likewise.
5414         * math/w_j0f_compat.c: Likewise.
5415         * math/w_j0l_compat.c: Likewise.
5416         * math/w_j1_compat.c: Likewise.
5417         * math/w_j1f_compat.c: Likewise.
5418         * math/w_j1l_compat.c: Likewise.
5419         * math/w_jn_compat.c: Likewise.
5420         * math/w_jnf_compat.c: Likewise.
5421         * math/w_jnl_compat.c: Likewise.
5422         * math/w_log10_compat.c: Likewise.
5423         * math/w_log10f_compat.c: Likewise.
5424         * math/w_log10l_compat.c: Likewise.
5425         * math/w_log2_compat.c: Likewise.
5426         * math/w_log2f_compat.c: Likewise.
5427         * math/w_log2l_compat.c: Likewise.
5428         * math/w_log_compat.c: Likewise.
5429         * math/w_logf_compat.c: Likewise.
5430         * math/w_logl_compat.c: Likewise.
5431         * math/w_pow_compat.c: Likewise.
5432         * math/w_powf_compat.c: Likewise.
5433         * math/w_powl_compat.c: Likewise.
5434         * math/w_remainder_compat.c: Likewise.
5435         * math/w_remainderf_compat.c: Likewise.
5436         * math/w_remainderl_compat.c: Likewise.
5437         * math/w_scalb_compat.c: Likewise.
5438         * math/w_scalbf_compat.c: Likewise.
5439         * math/w_scalbl_compat.c: Likewise.
5440         * math/w_sinh_compat.c: Likewise.
5441         * math/w_sinhf_compat.c: Likewise.
5442         * math/w_sinhl_compat.c: Likewise.
5443         * math/w_sqrt_compat.c: Likewise.
5444         * math/w_sqrtf_compat.c: Likewise.
5445         * math/w_sqrtl_compat.c: Likewise.
5446         * math/w_tgamma_compat.c: Likewise.
5447         * math/w_tgammaf_compat.c: Likewise.
5448         * math/w_tgammal_compat.c: Likewise.
5450         * sysdeps/i386/fpu/w_sqrt.c: Add _compat suffix to filename.
5451         * sysdeps/ia64/fpu/w_sqrtl.c: Likewise.
5452         * sysdeps/ia64/fpu/w_acosl.c: Likewise.
5453         * sysdeps/ia64/fpu/w_sqrtf.c: Likewise.
5454         * sysdeps/ia64/fpu/w_sqrt.c: Likewise.
5455         * sysdeps/ia64/fpu/w_sinhl.c: Likewise.
5456         * sysdeps/ia64/fpu/w_acosf.c: Likewise.
5457         * sysdeps/ia64/fpu/w_sinhf.c: Likewise.
5458         * sysdeps/ia64/fpu/w_sinh.c: Likewise.
5459         * sysdeps/ia64/fpu/w_scalbl.c: Likewise.
5460         * sysdeps/ia64/fpu/w_scalbf.c: Likewise.
5461         * sysdeps/ia64/fpu/w_scalb.c: Likewise.
5462         * sysdeps/ia64/fpu/w_remainderl.c: Likewise.
5463         * sysdeps/ia64/fpu/w_remainderf.c: Likewise.
5464         * sysdeps/ia64/fpu/w_remainder.c: Likewise.
5465         * sysdeps/ia64/fpu/w_powl.c: Likewise.
5466         * sysdeps/ia64/fpu/w_powf.c: Likewise.
5467         * sysdeps/ia64/fpu/w_pow.c: Likewise.
5468         * sysdeps/ia64/fpu/w_logl.c: Likewise.
5469         * sysdeps/ia64/fpu/w_logf.c: Likewise.
5470         * sysdeps/ia64/fpu/w_log2l.c: Likewise.
5471         * sysdeps/ia64/fpu/w_log2f.c: Likewise.
5472         * sysdeps/ia64/fpu/w_log2.c: Likewise.
5473         * sysdeps/ia64/fpu/w_log10l.c: Likewise.
5474         * sysdeps/ia64/fpu/w_log10f.c: Likewise.
5475         * sysdeps/ia64/fpu/w_log10.c: Likewise.
5476         * sysdeps/ia64/fpu/w_log.c: Likewise.
5477         * sysdeps/ia64/fpu/w_hypotl.c: Likewise.
5478         * sysdeps/ia64/fpu/w_hypotf.c: Likewise.
5479         * sysdeps/ia64/fpu/w_hypot.c: Likewise.
5480         * sysdeps/ia64/fpu/w_fmodl.c: Likewise.
5481         * sysdeps/ia64/fpu/w_fmodf.c: Likewise.
5482         * sysdeps/ia64/fpu/w_fmod.c: Likewise.
5483         * sysdeps/ia64/fpu/w_exp2l.c: Likewise.
5484         * sysdeps/ia64/fpu/w_exp2f.c: Likewise.
5485         * sysdeps/ia64/fpu/w_exp2.c: Likewise.
5486         * sysdeps/ia64/fpu/w_exp10l.c: Likewise.
5487         * sysdeps/ia64/fpu/w_exp10f.c: Likewise.
5488         * sysdeps/ia64/fpu/w_exp10.c: Likewise.
5489         * sysdeps/ia64/fpu/w_coshl.c: Likewise.
5490         * sysdeps/ia64/fpu/w_coshf.c: Likewise.
5491         * sysdeps/ia64/fpu/w_cosh.c: Likewise.
5492         * sysdeps/ia64/fpu/w_atanhl.c: Likewise.
5493         * sysdeps/ia64/fpu/w_atanhf.c: Likewise.
5494         * sysdeps/ia64/fpu/w_atanh.c: Likewise.
5495         * sysdeps/ia64/fpu/w_atan2l.c: Likewise.
5496         * sysdeps/ia64/fpu/w_atan2f.c: Likewise.
5497         * sysdeps/ia64/fpu/w_atan2.c: Likewise.
5498         * sysdeps/ia64/fpu/w_asinl.c: Likewise.
5499         * sysdeps/ia64/fpu/w_asinf.c: Likewise.
5500         * sysdeps/ia64/fpu/w_asin.c: Likewise.
5501         * sysdeps/ia64/fpu/w_acoshl.c: Likewise.
5502         * sysdeps/ia64/fpu/w_acoshf.c: Likewise.
5503         * sysdeps/ia64/fpu/w_acosh.c: Likewise.
5504         * sysdeps/ia64/fpu/w_acos.c: Likewise.
5505         * sysdeps/ia64/fpu/w_tgamma.S: Likewise.
5506         * sysdeps/ia64/fpu/w_tgammaf.S: Likewise.
5507         * sysdeps/ia64/fpu/w_tgammal.S: Likewise.
5508         * sysdeps/ieee754/ldbl-opt/w_acos.c: Likewise.
5509         * sysdeps/ieee754/ldbl-opt/w_acosh.c: Likewise.
5510         * sysdeps/ieee754/ldbl-opt/w_acoshl.c: Likewise.
5511         * sysdeps/ieee754/ldbl-opt/w_acosl.c: Likewise.
5512         * sysdeps/ieee754/ldbl-opt/w_asin.c: Likewise.
5513         * sysdeps/ieee754/ldbl-opt/w_asinl.c: Likewise.
5514         * sysdeps/ieee754/ldbl-opt/w_atan2.c: Likewise.
5515         * sysdeps/ieee754/ldbl-opt/w_atan2l.c: Likewise.
5516         * sysdeps/ieee754/ldbl-opt/w_atanh.c: Likewise.
5517         * sysdeps/ieee754/ldbl-opt/w_atanhl.c: Likewise.
5518         * sysdeps/ieee754/ldbl-opt/w_cosh.c: Likewise.
5519         * sysdeps/ieee754/ldbl-opt/w_coshl.c: Likewise.
5520         * sysdeps/ieee754/ldbl-opt/w_exp10.c: Likewise.
5521         * sysdeps/ieee754/ldbl-opt/w_exp10l.c: Likewise.
5522         * sysdeps/ieee754/ldbl-opt/w_fmod.c: Likewise.
5523         * sysdeps/ieee754/ldbl-opt/w_fmodl.c: Likewise.
5524         * sysdeps/ieee754/ldbl-opt/w_hypot.c: Likewise.
5525         * sysdeps/ieee754/ldbl-opt/w_hypotl.c: Likewise.
5526         * sysdeps/ieee754/ldbl-opt/w_j0.c: Likewise.
5527         * sysdeps/ieee754/ldbl-opt/w_j0l.c: Likewise.
5528         * sysdeps/ieee754/ldbl-opt/w_j1.c: Likewise.
5529         * sysdeps/ieee754/ldbl-opt/w_j1l.c: Likewise.
5530         * sysdeps/ieee754/ldbl-opt/w_jn.c: Likewise.
5531         * sysdeps/ieee754/ldbl-opt/w_jnl.c: Likewise.
5532         * sysdeps/ieee754/ldbl-opt/w_log10.c: Likewise.
5533         * sysdeps/ieee754/ldbl-opt/w_log10l.c: Likewise.
5534         * sysdeps/ieee754/ldbl-opt/w_log2.c: Likewise.
5535         * sysdeps/ieee754/ldbl-opt/w_log2l.c: Likewise.
5536         * sysdeps/ieee754/ldbl-opt/w_log.c: Likewise.
5537         * sysdeps/ieee754/ldbl-opt/w_logl.c: Likewise.
5538         * sysdeps/ieee754/ldbl-opt/w_pow.c: Likewise.
5539         * sysdeps/ieee754/ldbl-opt/w_powl.c: Likewise.
5540         * sysdeps/ieee754/ldbl-opt/w_remainder.c: Likewise.
5541         * sysdeps/ieee754/ldbl-opt/w_remainderl.c: Likewise.
5542         * sysdeps/ieee754/ldbl-opt/w_scalb.c: Likewise.
5543         * sysdeps/ieee754/ldbl-opt/w_scalbl.c: Likewise.
5544         * sysdeps/ieee754/ldbl-opt/w_sinh.c: Likewise.
5545         * sysdeps/ieee754/ldbl-opt/w_sinhl.c: Likewise.
5546         * sysdeps/ieee754/ldbl-opt/w_sqrt.c: Likewise.
5547         * sysdeps/ieee754/ldbl-opt/w_sqrtl.c: Likewise.
5548         * sysdeps/ieee754/ldbl-opt/w_tgamma.c: Likewise.
5549         * sysdeps/ieee754/ldbl-opt/w_tgammal.c: Likewise.
5550         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S:
5551         Likewise.
5552         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S:
5553         Likewise.
5554         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: Likewise.
5555         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S:
5556         Likewise.
5557         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S:
5558         Likewise.
5559         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: Likewise.
5560         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
5561         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
5562         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
5563         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
5564         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
5565         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
5566         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: Likewise.
5567         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
5568         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: Likewise.
5569         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
5570         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
5571         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
5572         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
5573         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
5575         * sysdeps/i386/fpu/w_sqrt_compat.c: New file copied from above
5576         and adjusted for new #includes path
5577         * sysdeps/ia64/fpu/w_acos_compat.c: Likewise.
5578         * sysdeps/ia64/fpu/w_acosf_compat.c: Likewise.
5579         * sysdeps/ia64/fpu/w_acosh_compat.c: Likewise.
5580         * sysdeps/ia64/fpu/w_acoshf_compat.c: Likewise.
5581         * sysdeps/ia64/fpu/w_acoshl_compat.c: Likewise.
5582         * sysdeps/ia64/fpu/w_acosl_compat.c: Likewise.
5583         * sysdeps/ia64/fpu/w_asin_compat.c: Likewise.
5584         * sysdeps/ia64/fpu/w_asinf_compat.c: Likewise.
5585         * sysdeps/ia64/fpu/w_asinl_compat.c: Likewise.
5586         * sysdeps/ia64/fpu/w_atan2_compat.c: Likewise.
5587         * sysdeps/ia64/fpu/w_atan2f_compat.c: Likewise.
5588         * sysdeps/ia64/fpu/w_atan2l_compat.c: Likewise.
5589         * sysdeps/ia64/fpu/w_atanh_compat.c: Likewise.
5590         * sysdeps/ia64/fpu/w_atanhf_compat.c: Likewise.
5591         * sysdeps/ia64/fpu/w_atanhl_compat.c: Likewise.
5592         * sysdeps/ia64/fpu/w_cosh_compat.c: Likewise.
5593         * sysdeps/ia64/fpu/w_coshf_compat.c: Likewise.
5594         * sysdeps/ia64/fpu/w_coshl_compat.c: Likewise.
5595         * sysdeps/ia64/fpu/w_exp10_compat.c: Likewise.
5596         * sysdeps/ia64/fpu/w_exp10f_compat.c: Likewise.
5597         * sysdeps/ia64/fpu/w_exp10l_compat.c: Likewise.
5598         * sysdeps/ia64/fpu/w_exp2_compat.c: Likewise.
5599         * sysdeps/ia64/fpu/w_exp2f_compat.c: Likewise.
5600         * sysdeps/ia64/fpu/w_exp2l_compat.c: Likewise.
5601         * sysdeps/ia64/fpu/w_fmod_compat.c: Likewise.
5602         * sysdeps/ia64/fpu/w_fmodf_compat.c: Likewise.
5603         * sysdeps/ia64/fpu/w_fmodl_compat.c: Likewise.
5604         * sysdeps/ia64/fpu/w_hypot_compat.c: Likewise.
5605         * sysdeps/ia64/fpu/w_hypotf_compat.c: Likewise.
5606         * sysdeps/ia64/fpu/w_hypotl_compat.c: Likewise.
5607         * sysdeps/ia64/fpu/w_log10_compat.c: Likewise.
5608         * sysdeps/ia64/fpu/w_log10f_compat.c: Likewise.
5609         * sysdeps/ia64/fpu/w_log10l_compat.c: Likewise.
5610         * sysdeps/ia64/fpu/w_log2_compat.c: Likewise.
5611         * sysdeps/ia64/fpu/w_log2f_compat.c: Likewise.
5612         * sysdeps/ia64/fpu/w_log2l_compat.c: Likewise.
5613         * sysdeps/ia64/fpu/w_log_compat.c: Likewise.
5614         * sysdeps/ia64/fpu/w_logf_compat.c: Likewise.
5615         * sysdeps/ia64/fpu/w_logl_compat.c: Likewise.
5616         * sysdeps/ia64/fpu/w_pow_compat.c: Likewise.
5617         * sysdeps/ia64/fpu/w_powf_compat.c: Likewise.
5618         * sysdeps/ia64/fpu/w_powl_compat.c: Likewise.
5619         * sysdeps/ia64/fpu/w_remainder_compat.c: Likewise.
5620         * sysdeps/ia64/fpu/w_remainderf_compat.c: Likewise.
5621         * sysdeps/ia64/fpu/w_remainderl_compat.c: Likewise.
5622         * sysdeps/ia64/fpu/w_scalb_compat.c: Likewise.
5623         * sysdeps/ia64/fpu/w_scalbf_compat.c: Likewise.
5624         * sysdeps/ia64/fpu/w_scalbl_compat.c: Likewise.
5625         * sysdeps/ia64/fpu/w_sinh_compat.c: Likewise.
5626         * sysdeps/ia64/fpu/w_sinhf_compat.c: Likewise.
5627         * sysdeps/ia64/fpu/w_sinhl_compat.c: Likewise.
5628         * sysdeps/ia64/fpu/w_sqrt_compat.c: Likewise.
5629         * sysdeps/ia64/fpu/w_sqrtf_compat.c: Likewise.
5630         * sysdeps/ia64/fpu/w_sqrtl_compat.c: Likewise.
5631         * sysdeps/ia64/fpu/w_tgamma_compat.S: Likewise.
5632         * sysdeps/ia64/fpu/w_tgammaf_compat.S: Likewise.
5633         * sysdeps/ia64/fpu/w_tgammal_compat.S: Likewise.
5634         * sysdeps/ieee754/ldbl-opt/w_acos_compat.c: Likewise.
5635         * sysdeps/ieee754/ldbl-opt/w_acosh_compat.c: Likewise.
5636         * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
5637         * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
5638         * sysdeps/ieee754/ldbl-opt/w_asin_compat.c: Likewise.
5639         * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
5640         * sysdeps/ieee754/ldbl-opt/w_atan2_compat.c: Likewise.
5641         * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
5642         * sysdeps/ieee754/ldbl-opt/w_atanh_compat.c: Likewise.
5643         * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
5644         * sysdeps/ieee754/ldbl-opt/w_cosh_compat.c: Likewise.
5645         * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
5646         * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c: Likewise.
5647         * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c: Likewise.
5648         * sysdeps/ieee754/ldbl-opt/w_fmod_compat.c: Likewise.
5649         * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
5650         * sysdeps/ieee754/ldbl-opt/w_hypot_compat.c: Likewise.
5651         * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
5652         * sysdeps/ieee754/ldbl-opt/w_j0_compat.c: Likewise.
5653         * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
5654         * sysdeps/ieee754/ldbl-opt/w_j1_compat.c: Likewise.
5655         * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
5656         * sysdeps/ieee754/ldbl-opt/w_jn_compat.c: Likewise.
5657         * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
5658         * sysdeps/ieee754/ldbl-opt/w_log10_compat.c: Likewise.
5659         * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
5660         * sysdeps/ieee754/ldbl-opt/w_log2_compat.c: Likewise.
5661         * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
5662         * sysdeps/ieee754/ldbl-opt/w_log_compat.c: Likewise.
5663         * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
5664         * sysdeps/ieee754/ldbl-opt/w_pow_compat.c: Likewise.
5665         * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
5666         * sysdeps/ieee754/ldbl-opt/w_remainder_compat.c: Likewise.
5667         * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c: Likewise.
5668         * sysdeps/ieee754/ldbl-opt/w_scalb_compat.c: Likewise.
5669         * sysdeps/ieee754/ldbl-opt/w_scalbl_compat.c: Likewise.
5670         * sysdeps/ieee754/ldbl-opt/w_sinh_compat.c: Likewise.
5671         * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
5672         * sysdeps/ieee754/ldbl-opt/w_sqrt_compat.c: Likewise.
5673         * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
5674         * sysdeps/ieee754/ldbl-opt/w_tgamma_compat.c: Likewise.
5675         * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
5676         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-power5.S:
5677         Likewise.
5678         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-ppc32.S:
5679         Likewise.
5680         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat.c:
5681         Likewise.
5682         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-power5.S:
5683         Likewise.
5684         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-ppc32.S:
5685         Likewise.
5686         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat.c:
5687         Likewise.
5688         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
5689         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
5690         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
5691         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
5692         * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Likewise.
5693         * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
5694         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
5695         Likewise.
5696         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat.S:
5697         Likewise.
5698         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
5699         Likewise.
5700         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat.S:
5701         Likewise.
5702         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S: Likewise.
5703         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
5704         * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
5705         * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
5707 2017-01-04  Joseph Myers  <joseph@codesourcery.com>
5709         * sysdeps/microblaze/bits/setjmp.h (__jmp_buf): Give struct tag
5710         __jmp_buf_internal_tag.
5712         * sysdeps/mips/mips32/sfp-machine.h (_FP_CHOOSENAN): Always
5713         preserve NaN payload if [__mips_nan2008].
5714         * sysdeps/mips/mips64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
5716         [BZ #21022]
5717         * sysdeps/microblaze/backtrace.c (get_frame_size): Make static.
5719 2017-01-03  Joseph Myers  <joseph@codesourcery.com>
5721         * sysdeps/i386/fpu/libm-test-ulps: Update.
5723 2017-01-03  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5725         * sysdeps/ia64/strcat.c: Remove file.
5726         * sysdeps/powerpc/strcat.c: Likewise.
5727         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Use default
5728         C implementation.
5729         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: Likewise.
5730         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: Likewise.
5732 2017-01-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
5733             Steven Munroe  <sjmunroe@us.ibm.com>
5734             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
5736         [BZ #20822]
5737         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
5738         (__lll_lock_elision): Access adapt_count via C11 atomics.
5739         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
5740         (__lll_trylock_elision): Likewise.
5741         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
5742         (__lll_unlock_elision):  Update adapt_count variable inside the
5743         critical section using C11 atomics.
5745 2017-01-03  Joseph Myers  <joseph@codesourcery.com>
5747         * math/test-fenvinline.c (do_test): Disable tests of raised
5748         exceptions if !EXCEPTION_TESTS (FLOAT).
5750 2017-01-03  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5752         [BZ #19390]
5753         * string/test-strncat.c (test_main): Add tests with SIZE_MAX as
5754         maximum string size.
5755         * sysdeps/i386/i686/multiarch/strcat-sse2.S (STRCAT): Avoid overflow
5756         in pointer addition.
5757         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S (STRCPY):
5758         Likewise.
5760 2017-01-03  Joseph Myers  <joseph@codesourcery.com>
5762         * elf/Makefile ($(objpfx)tst-ldconfig-X.out): Correct arguments
5763         passed to tst-ldconfig-X.sh.
5765 2017-01-03  Martin Galvan  <martingalvan@sourceware.org>
5767         * nptl/nptl-printers.py: Fix tabs/spaces mismatches.
5769 2017-01-02  Joseph Myers  <joseph@codesourcery.com>
5771         [BZ #21019]
5772         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (lseek64):
5773         New syscall entry.
5774         * sysdeps/unix/sysv/linux/mips/mips64/n32/lseek.c: New file.
5775         * io/test-lfs.c (do_test): Test offset returned from lseek64 and
5776         lseek.
5778         * scripts/build-many-glibcs.py (Context.add_all_configs): Add
5779         power4 glibc for powerpc-linux-gnu.
5781 2017-01-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5783         * sysvipc/test-sysvsem.c (do_test): Define and use union semun on
5784         semctl.
5786 2017-01-02  Joseph Myers  <joseph@codesourcery.com>
5788         * math/test-nearbyint-except.c: Include <stdbool.h>.
5789         (any_supported): New variable.
5790         (TEST_FUNC): Return early if !EXCEPTION_TESTS (FLOAT).  Otherwise
5791         set any_supported.
5792         (do_test): Return 77 if no floating-point type supported
5793         exceptions.
5795         * sysdeps/mips/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD): Do not
5796         condition on [__mips_hard_float].
5798 2017-01-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5800         [BZ #21014]
5801         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S (MEMCHR): Avoid overflow
5802         in pointer addition.
5803         * sysdeps/i386/i686/multiarch/memchr-sse2.S (MEMCHR): Likewise.
5805 2017-01-02  Torvald Riegel  <triegel@redhat.com>
5807         * sysdeps/sparc/nptl/bits/pthreadtypes.h (pthread_cond_t): Adapt to
5808         new condvar.
5810 2017-01-02  Joseph Myers  <joseph@codesourcery.com>
5812         * scripts/build-many-glibcs.py (Context.checkout): Default
5813         binutils version to 2.28 branch.
5815 2017-01-01  Florian Weimer  <fweimer@redhat.com>
5817         * support/support_format_netent.c (support_format_netent): Work
5818         around alpha struct netent definition difference.
5820 2017-01-01  Florian Weimer  <fweimer@redhat.com>
5822         * support/xwrite.c (xwrite): Use %td for pointer difference.
5824 2017-01-01  Florian Weimer  <fweimer@redhat.com>
5826         * malloc/Makefile (tests): Add tst-malloc-usable-tunables for
5827         have-tunables only.
5828         (tests-static): Add tst-malloc-usable-static-tunables for
5829         have-tunables only.
5831 2017-01-01  Joseph Myers  <joseph@codesourcery.com>
5833         * scripts/config.guess: Update to version 2017-01-01.
5834         * scripts/config.sub: Update to version 2017-01-01.
5836         * NEWS: Update copyright dates.
5837         * catgets/gencat.c (print_version): Likewise.
5838         * csu/version.c (banner): Likewise.
5839         * debug/catchsegv.sh: Likewise.
5840         * debug/pcprofiledump.c (print_version): Likewise.
5841         * debug/xtrace.sh (do_version): Likewise.
5842         * elf/ldconfig.c (print_version): Likewise.
5843         * elf/ldd.bash.in: Likewise.
5844         * elf/pldd.c (print_version): Likewise.
5845         * elf/sotruss.sh: Likewise.
5846         * elf/sprof.c (print_version): Likewise.
5847         * iconv/iconv_prog.c (print_version): Likewise.
5848         * iconv/iconvconfig.c (print_version): Likewise.
5849         * locale/programs/locale.c (print_version): Likewise.
5850         * locale/programs/localedef.c (print_version): Likewise.
5851         * login/programs/pt_chown.c (print_version): Likewise.
5852         * malloc/memusage.sh (do_version): Likewise.
5853         * malloc/memusagestat.c (print_version): Likewise.
5854         * malloc/mtrace.pl: Likewise.
5855         * manual/libc.texinfo: Likewise.
5856         * nptl/version.c (banner): Likewise.
5857         * nscd/nscd.c (print_version): Likewise.
5858         * nss/getent.c (print_version): Likewise.
5859         * nss/makedb.c (print_version): Likewise.
5860         * posix/getconf.c (main): Likewise.
5861         * scripts/test-installation.pl: Likewise.
5862         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
5864         * All files with FSF copyright notices: Update copyright dates
5865         using scripts/update-copyrights.
5866         * intl/plural.c: Regenerated.
5867         * locale/programs/charmap-kw.h: Likewise.
5868         * locale/programs/locfile-kw.h: Likewise.
5870 2016-12-31  Florian Weimer  <fweimer@redhat.com>
5872         [BZ #20593]
5873         Update DNS RR type definitions.
5874         * scripts/gen-rrtypes.py: New file.
5875         * resolv/arpa/nameser.h (ns_type): Remove ns_t_zxfr, a
5876         BIND-internal RR type not used on the Internet.  Add ns_t_ds,
5877         ns_t_sshfp, ns_t_ipseckey, ns_t_rrsig, ns_t_nsec, ns_t_dnskey,
5878         ns_t_dhcid, ns_t_nsec3, ns_t_nsec3param, ns_t_tlsa, ns_t_smimea,
5879         ns_t_hip, ns_t_ninfo, ns_t_rkey, ns_t_talink, ns_t_cds,
5880         ns_t_cdnskey, ns_t_openpgpkey, ns_t_csync, ns_t_spf, ns_t_uinfo,
5881         ns_t_uid, ns_t_gid, ns_t_unspec, ns_t_nid, ns_t_l32, ns_t_l64,
5882         ns_t_lp, ns_t_eui48, ns_t_eui64, ns_t_uri, ns_t_caa, ns_t_avc,
5883         ns_t_ta, ns_t_dlv.
5884         * resolv/arpa/nameser_compat.h (T_KX, T_CERT, T_SINK, T_OPT)
5885         (T_APL, T_DS, T_SSHFP, T_IPSECKEY, T_RRSIG, T_NSEC, T_DNSKEY)
5886         (T_DHCID, T_NSEC3, T_NSEC3PARAM, T_TLSA, T_SMIMEA, T_HIP, T_NINFO)
5887         (T_RKEY, T_TALINK, T_CDS, T_CDNSKEY, T_OPENPGPKEY, T_CSYNC, T_SPF)
5888         (T_UINFO, T_UID, T_GID, T_UNSPEC, T_NID, T_L32, T_L64, T_LP)
5889         (T_EUI48, T_EUI64, T_TKEY, T_URI, T_CAA, T_AVC, T_TA, T_DLV):
5890         Define.
5891         * resolv/res_debug.c (__p_type_syms): Update comment.  Remove
5892         entry for ns_t_zxfr.
5894 2016-12-31  Florian Weimer  <fweimer@redhat.com>
5896         [BZ #18784]
5897         CVE-2015-5180
5898         * include/arpa/nameser_compat.h (T_QUERY_A_AND_AAAA): Rename from
5899         T_UNSPEC.  Adjust value.
5900         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Use it.
5901         * resolv/res_query.c (__libc_res_nquery): Likewise.
5902         * resolv/res_mkquery.c (res_nmkquery): Check for out-of-range
5903         QTYPEs.
5904         * resolv/tst-resolv-qtypes.c: New file.
5905         * resolv/Makefile (xtests): Add tst-resolv-qtypes.
5906         (tst-resolv-qtypes): Link against libresolv and libpthread.
5908 2016-12-31  Florian Weimer  <fweimer@redhat.com>
5910         * elf/dl-tunables.h (__tunables_init): Fix unused attribute.
5912 2016-12-31  Siddhesh Poyarekar  <siddhesh@sourceware.org>
5914         * manual/tunables.texi: New chapter.
5915         * manual/Makefile (chapters): Add it.
5916         * manual/probes.texi (@node): Point to the Tunables chapter.
5918         * Makeconfig (have-tunables): Check for non-negative instead
5919         of positive.
5920         * configure.ac: Add 'valstring' as a valid value for
5921         --enable-tunables.
5922         * configure: Regenerate.
5923         * elf/Makefile (have-tunables): Check for non-negative instead
5924         of positive.
5925         (CPPFLAGS-dl-tunables.c): Define TUNABLES_FRONTEND for
5926         dl-tunables.c.
5927         * elf/dl-tunables.c (GLIBC_TUNABLES): Define only when
5928         TUNABLES_FRONTEND == TUNABLES_FRONTEND_valstring.
5929         (tunables_strdup): Likewise.
5930         (disable_tunables): Likewise.
5931         (parse_tunables): Likewise.
5932         (__tunables_init): Process GLIBC_TUNABLES envvar only when.
5933         TUNABLES_FRONTEND == TUNABLES_FRONTEND_valstring.
5934         * elf/dl-tunables.h (TUNABLES_FRONTEND_valstring): New macro.
5935         (TUNABLES_FRONTEND_yes): New macro, define as
5936         TUNABLES_FRONTEND_valstring by default.
5937         * manual/install.texi: Document new acceptable values for
5938         --enable-tunables.
5939         * INSTALL: Regenerate.
5941         * config.make.in (have-loop-to-function): Define.
5942         * elf/Makefile (CFLAGS-dl-tunables.c): Add
5943         -fno-tree-loop-distribute-patterns.
5944         * elf/dl-tunables.c: Include libc-internals.h.
5945         (GLIBC_TUNABLES): New macro.
5946         (tunables_strdup): New function.
5947         (parse_tunables): New function.
5948         (min_strlen): New function.
5949         (__tunables_init): Use the new functions and macro.
5950         (disable_tunable): Disable tunable from GLIBC_TUNABLES.
5951         * malloc/tst-malloc-usable-tunables.c: New test case.
5952         * malloc/tst-malloc-usable-static-tunables.c: New test case.
5953         * malloc/Makefile (tests, tests-static): Add tests.
5955         * manual/install.texi: Add --enable-tunables option.
5956         * INSTALL: Regenerate.
5957         * README.tunables: New file.
5958         * Makeconfig (CPPFLAGS): Define TOP_NAMESPACE.
5959         (before-compile): Generate dl-tunable-list.h early.
5960         * config.h.in: Add HAVE_TUNABLES.
5961         * config.make.in: Add have-tunables.
5962         * configure.ac: Add --enable-tunables option.
5963         * configure: Regenerate.
5964         * csu/init-first.c (__libc_init_first): Move
5965         __libc_init_secure earlier...
5966         * csu/init-first.c (LIBC_START_MAIN):... to here.
5967         Include dl-tunables.h, libc-internal.h.
5968         (LIBC_START_MAIN) [!SHARED]: Initialize tunables for static
5969         binaries.
5970         * elf/Makefile (dl-routines): Add dl-tunables.
5971         * elf/Versions (ld): Add __tunable_set_val to GLIBC_PRIVATE
5972         namespace.
5973         * elf/dl-support (_dl_nondynamic_init): Unset MALLOC_CHECK_
5974         only when !HAVE_TUNABLES.
5975         * elf/rtld.c (process_envvars): Likewise.
5976         * elf/dl-sysdep.c [HAVE_TUNABLES]: Include dl-tunables.h
5977         (_dl_sysdep_start): Call __tunables_init.
5978         * elf/dl-tunable-types.h: New file.
5979         * elf/dl-tunables.c: New file.
5980         * elf/dl-tunables.h: New file.
5981         * elf/dl-tunables.list: New file.
5982         * malloc/tst-malloc-usable-static.c: New test case.
5983         * malloc/Makefile (tests-static): Add it.
5984         * malloc/arena.c [HAVE_TUNABLES]: Include dl-tunables.h.
5985         Define TUNABLE_NAMESPACE.
5986         (DL_TUNABLE_CALLBACK (set_mallopt_check)): New function.
5987         (DL_TUNABLE_CALLBACK_FNDECL): New macro.  Use it to define
5988         callback functions.
5989         (ptmalloc_init): Set tunable values.
5990         * scripts/gen-tunables.awk: New file.
5991         * sysdeps/mach/hurd/dl-sysdep.c: Include dl-tunables.h.
5992         (_dl_sysdep_start): Call __tunables_init.
5994 2016-12-31  Florian Weimer  <fweimer@redhat.com>
5996         * resolv/resolv.h (RES_BLAST): Deprecate.
5997         * resolv/res_debug.c (p_option): Remove RES_BLAST.
5998         * resolv/res_send.c (__libc_res_nsend): Remove vestigial reference
5999         to RES_BLAST.
6001 2016-12-27  Florian Weimer  <fweimer@redhat.com>
6003         [BZ #19582]
6004         Deprecate RES_USE_INET6.
6005         * nis/nss_nis/nis-hosts.c (_nss_nis_gethostent_r)
6006         (_nss_nis_gethostbyname2_r, _nss_nis_gethostbyname_r)
6007         (_nss_nis_gethostbyaddr_r): Use res_use_inet6 instead of
6008         RES_USE_INET6.
6009         * nis/nss_nisplus/nisplus-hosts.c (internal_nisplus_gethostent_r)
6010         (_nss_nisplus_gethostbyname2_r, _nss_nisplus_gethostbyname_r)
6011         (_nss_nisplus_gethostbyaddr_r): Likewise.
6012         * nscd/aicache.c (addhstaiX): Use DEPRECATED_RES_USE_INET6 instead
6013         of res_use_inet6.
6014         * nscd/nscd_gethst_r.c (__nscd_gethostbyname_r): Use res_use_inet6
6015         instead of RES_USE_INET6.
6016         * nss/digits_dots.c (__nss_hostname_digits_dots): Likewise.
6017         * nss/nss_files/files-hosts.c (EXTRA_ARGS_VALUE)
6018         (_nss_files_gethostbyname3_r, _nss_files_gethostbyname_r):
6019         Likewise.
6020         * resolv/compat-gethnamaddr.c (getanswer, res_gethostbyname)
6021         (res_gethostbyname2, res_gethostbyaddr, _gethtent, _gethtbyname):
6022         Likewise.
6023         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r)
6024         (_nss_dns_gethostbyname_r): Likewise.
6025         (_nss_dns_gethostbyaddr2_r): Remove commented-out code for
6026         alternate RES_USE_INET6 handling.
6027         * resolv/res_debug.c (p_option): Use DEPRECATED_RES_USE_INET6
6028         instead of RES_USE_INET6.
6029         * resolv/res_init.c (res_setoptions): Likewise.
6030         * resolv/resolv.h (RES_USE_INET6): Mark as deprecated.
6031         * resolv/resolv-internal.h: New file.
6032         * resolv/Makefile (CFLAGS-tst-res_use_inet6.c): Use -Wno-error to
6033         make the deprecation warning non-fatal.
6034         * resolv/README (Using the resolver in multi-threaded code): Drop
6035         reference to RES_USE_INET6.
6036         * sysdeps/posix/getaddrinfo.c (gethosts, gaih_inet): Use
6037         DEPRECATED_RES_USE_INET6 instead of res_use_inet6.
6039 2016-12-31  Florian Weimer  <fweimer@redhat.com>
6041         * resolv/Makefile (tests): Add tst-bug18665, tst-bug18665-tcp,
6042         tst-res_use_inet6, tst-resolv-basic, tst-resolv-network,
6043         tst-resolv-search.
6044         (tst-bug18665, tst-bug18665-tcp, tst-res_use_inet6)
6045         (tst-resolv-basic, tst-resolv-network, tst-resolv-search): Link
6046         with libresolv and libpthread.
6047         * resolv/tst-bug18665.c: New file.
6048         * resolv/tst-bug18665-tcp: Likewise.
6049         * resolv/tst-res_use_inet6: Likewise.
6050         * resolv/tst-resolv-basic: Likewise.
6051         * resolv/tst-resolv-network: Likewise.
6052         * resolv/tst-resolv-search: Likewise.
6053         * support/Makefile (libsupport-routines): Add check_addrinfo,
6054         check_dns_packet, check_hostent, check_netent, resolv_test,
6055         support_format_address_family, support_format_addrinfo,
6056         support_format_dns_packet, support_format_herrno,
6057         support_format_hostent, support_format_netent, support_run_diff,
6058         xaccept, xbind, xconnect, xfclose, xfopen, xgetsockname, xlisten,
6059         xmemstream, xpoll, xpthread_once, xrecvfrom, xsendto, xsetsockopt,
6060         xstrdup, xwrite.
6061         * support/check_addrinfo.c: New file.
6062         * support/check_dns_packet.c: Likewise.
6063         * support/check_hostent.c: Likewise.
6064         * support/check_netent.c: Likewise.
6065         * support/check_nss.h: Likewise.
6066         * support/format_nss.h: Likewise.
6067         * support/resolv_test.c: Likewise.
6068         * support/resolv_test.h: Likewise.
6069         * support/run_diff.h: Likewise.
6070         * support/support_format_address_family.c: Likewise.
6071         * support/support_format_addrinfo.c: Likewise.
6072         * support/support_format_dns_packet.c: Likewise.
6073         * support/support_format_herrno.c: Likewise.
6074         * support/support_format_hostent.c: Likewise.
6075         * support/support_format_netent.c: Likewise.
6076         * support/support_run_diff.c: Likewise.
6077         * support/xaccept.c: Likewise.
6078         * support/xbind.c: Likewise.
6079         * support/xconnect.c: Likewise.
6080         * support/xfclose.c: Likewise.
6081         * support/xfopen.c: Likewise.
6082         * support/xgetsockname.c: Likewise.
6083         * support/xlisten.c: Likewise.
6084         * support/xmemstream.c: Likewise.
6085         * support/xmemstream.h: Likewise.
6086         * support/xpoll.c: Likewise.
6087         * support/xpthread_once.c: Likewise.
6088         * support/xrecvfrom.c: Likewise.
6089         * support/xsendto.c: Likewise.
6090         * support/xsetsockopt.c: Likewise.
6091         * support/xstdio.h: Likewise.
6092         * support/xstrdup.c: Likewise.
6093         * support/support.h (xstrdup): Declare.
6094         * support/xsocket.h (xsetsockopt, xgetsockname, xconnect, xbind)
6095         (xlisten, xaccept, xsendto, xrecvfrom, xpoll): Likewise.
6096         * support/xthread.h (xpthread_once): Likwise.
6097         * support/xunistd.h (xwrite): Declare.
6099 2016-12-31  Florian Weimer  <fweimer@redhat.com>
6101         * support/test-driver.h (TEST_DEFAULT_OPTIONS): Add --verbose.
6102         (test_verbose): Declare.
6103         * support/test-driver.c (main): Use TEST_DEFAULT_OPTIONS.
6104         * support/support_test_main.c (default_options): Likewise.
6105         (usage, support_test_main): Handle 'v'.
6106         (test_verbose): Define.
6107         * support/tst-support_record_failure.c (do_test): Use
6108         test_verbose.
6109         * support/tst-support_record_failure-2.sh (different_status): Add
6110         --verbose test.
6112 2016-12-31  Florian Weimer  <fweimer@redhat.com>
6114         * support/check.h (FAIL_RET, FAIL_EXIT, FAIL_EXIT1): Document that
6115         test failures are recorded.
6116         * support/check.c (support_print_failure_impl): Call
6117         support_record_failure.
6118         (support_exit_failure_impl): Call support_record_failure if status
6119         indicates failure.
6120         * support/delayed_exit.c (delayed_exit_thread): Use FAIL_EXIT1.
6121         * support/xasprintf.c (xasprintf): Likewise.
6122         * support/xfork.c (xfork): Likewise.
6123         * support/xpthread_check_return.c (xpthread_check_return):
6124         Likewise.
6125         * support/xsocket.c (xsocket): Likeweise.
6126         * support/xwaitpid.c (xwaitpid): Likewise.
6127         * support/support_record_failure.c (struct test_failures): Adjust
6128         to coding style.
6129         * support/support_test_verify_impl.c (support_test_verify_impl):
6130         Adjust error messages.
6131         * support/tst-support_record_failure-2.sh (different_status):
6132         Adjust error messages.
6134 2016-12-31  Florian Weimer  <fweimer@redhat.com>
6136         * support/namespace.h: New file.
6137         * support/support_become_root.c: Likewise.
6138         * support/support_enter_network_namespace.c: Likewise.
6139         * support/tst-support-namespace.c: Likewise.
6140         * support/xsocket.c: Likewise.
6141         * support/xsocket.h: Likewise.
6142         * support/Makefile (libsupport-routines): Add support_become_root,
6143         support_enter_network_namespace, xsocket.
6144         (tests): Add tst-support-namespace.
6146 2016-12-31  Florian Weimer  <fweimer@redhat.com>
6148         [BZ #17252]
6149         * posix/unistd.h (getentropy): Declare for __USE_MISC, not just
6150         __USE_GNU.
6152 2016-12-31  Torvald Riegel  <triegel@redhat.com>
6154         [BZ #13165]
6155         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast): Rewrite to
6156         use new algorithm.
6157         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
6158         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
6159         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
6160         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
6161         (__pthread_cond_timedwait): Move here from pthread_cond_timedwait.c.
6162         (__condvar_confirm_wakeup, __condvar_cancel_waiting,
6163         __condvar_cleanup_waiting, __condvar_dec_grefs,
6164         __pthread_cond_wait_common): New.
6165         (__condvar_cleanup): Remove.
6166         * npt/pthread_condattr_getclock.c (pthread_condattr_getclock): Adapt.
6167         * npt/pthread_condattr_setclock.c (pthread_condattr_setclock):
6168         Likewise.
6169         * npt/pthread_condattr_getpshared.c (pthread_condattr_getpshared):
6170         Likewise.
6171         * npt/pthread_condattr_init.c (pthread_condattr_init): Likewise.
6172         * nptl/tst-cond1.c: Add comment.
6173         * nptl/tst-cond20.c (do_test): Adapt.
6174         * nptl/tst-cond22.c (do_test): Likewise.
6175         * sysdeps/aarch64/nptl/bits/pthreadtypes.h (pthread_cond_t): Adapt
6176         structure.
6177         * sysdeps/arm/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
6178         * sysdeps/ia64/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
6179         * sysdeps/m68k/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
6180         * sysdeps/microblaze/nptl/bits/pthreadtypes.h (pthread_cond_t):
6181         Likewise.
6182         * sysdeps/mips/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
6183         * sysdeps/nios2/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
6184         * sysdeps/s390/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
6185         * sysdeps/sh/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
6186         * sysdeps/tile/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
6187         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h (pthread_cond_t):
6188         Likewise.
6189         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h (pthread_cond_t):
6190         Likewise.
6191         * sysdeps/x86/bits/pthreadtypes.h (pthread_cond_t): Likewise.
6192         * sysdeps/nptl/internaltypes.h (COND_NWAITERS_SHIFT): Remove.
6193         (COND_CLOCK_BITS): Adapt.
6194         * sysdeps/nptl/pthread.h (PTHREAD_COND_INITIALIZER): Adapt.
6195         * nptl/pthreadP.h (__PTHREAD_COND_CLOCK_MONOTONIC_MASK,
6196         __PTHREAD_COND_SHARED_MASK): New.
6197         * nptl/nptl-printers.py (CLOCK_IDS): Remove.
6198         (ConditionVariablePrinter, ConditionVariableAttributesPrinter): Adapt.
6199         * nptl/nptl_lock_constants.pysym: Adapt.
6200         * nptl/test-cond-printers.py: Adapt.
6201         * sysdeps/unix/sysv/linux/hppa/internaltypes.h (cond_compat_clear,
6202         cond_compat_check_and_clear): Adapt.
6203         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: Remove file ...
6204         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
6205         (__pthread_cond_timedwait): ... and move here.
6206         * nptl/DESIGN-condvar.txt: Remove file.
6207         * nptl/lowlevelcond.sym: Likewise.
6208         * nptl/pthread_cond_timedwait.c: Likewise.
6209         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: Likewise.
6210         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Likewise.
6211         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: Likewise.
6212         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Likewise.
6213         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: Likewise.
6214         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: Likewise.
6215         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: Likewise.
6216         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Likewise.
6217         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: Likewise.
6218         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: Likewise.
6219         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Likewise.
6220         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Likewise.
6221         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: Likewise.
6222         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Likewise.
6223         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Likewise.
6224         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Likewise.
6226 2016-12-31  Joseph Myers  <joseph@codesourcery.com>
6228         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
6229         (fromfp): New declaration.
6230         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfpx): Likewise.
6231         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfp): Likewise.
6232         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfpx): Likewise.
6233         * math/tgmath.h (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): New macro.
6234         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfp): Likewise.
6235         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfp): Likewise.
6236         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfpx): Likewise.
6237         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfpx): Likewise.
6238         * math/math.h: Include <bits/types.h>.
6239         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_INT_UPWARD): New enum
6240         constant and macro.
6241         (FP_INT_DOWNWARD): Likewise.
6242         (FP_INT_TOWARDZERO): Likewise.
6243         (FP_INT_TONEARESTFROMZERO): Likewise.
6244         (FP_INT_TONEAREST): Likewise.
6245         * math/Versions (fromfp): New libm symbol at version GLIBC_2.25.
6246         (fromfpf): Likewise.
6247         (fromfpl): Likewise.
6248         (ufromfp): Likewise.
6249         (ufromfpf): Likewise.
6250         (ufromfpl): Likewise.
6251         (fromfpx): Likewise.
6252         (fromfpxf): Likewise.
6253         (fromfpxl): Likewise.
6254         (ufromfpx): Likewise.
6255         (ufromfpxf): Likewise.
6256         (ufromfpxl): Likewise.
6257         * math/Makefile (libm-calls): Add s_fromfpF, s_ufromfpF,
6258         s_fromfpxF and s_ufromfpxF.
6259         * math/gen-fromfp-tests.py: New file.
6260         * math/gen-fromfp-tests-inputs: Likewise.
6261         * math/libm-test.inc: Include <stdint.h>
6262         (check_intmax_t): New function.
6263         (check_uintmax_t): Likewise.
6264         (struct test_fiu_M_data): New type.
6265         (struct test_fiu_U_data): Likewise.
6266         (RUN_TEST_fiu_M): New macro.
6267         (RUN_TEST_LOOP_fiu_M): Likewise.
6268         (RUN_TEST_fiu_U): Likewise.
6269         (RUN_TEST_LOOP_fiu_U): Likewise.
6270         (fromfp_test_data): New array.
6271         (fromfp_test): New function.
6272         (fromfpx_test_data): New array.
6273         (fromfpx_test): New function.
6274         (ufromfp_test_data): New array.
6275         (ufromfp_test): New function.
6276         (ufromfpx_test_data): New array.
6277         (ufromfpx_test): New function.
6278         (main): Call fromfp_test, fromfpx_test, ufromfp_test and
6279         ufromfpx_test.
6280         * math/gen-libm-test.pl (parse_args): Handle u, M and U descriptor
6281         characters.
6282         * math/test-tgmath-ret.c: Include <stdint.h>.
6283         (rm): New variable.
6284         (width): Likewise.
6285         (CHECK_RET_CONST_TYPE): Take extra arguments and pass them to
6286         called function.
6287         (CHECK_RET_CONST_FLOAT): Take extra arguments and pass them to
6288         CHECK_RET_CONST_TYPE.
6289         (CHECK_RET_CONST_DOUBLE): Likewise.
6290         (CHECK_RET_CONST_LDOUBLE): Likewise.
6291         (CHECK_RET_CONST): Take extra arguments and pass them to calls
6292         macros.
6293         (fromfp): New CHECK_RET_CONST call.
6294         (ufromfp): Likewise.
6295         (fromfpx): Likewise.
6296         (ufromfpx): Likewise.
6297         (do_test): Call check_return_fromfp, check_return_ufromfp,
6298         check_return_fromfpx and check_return_ufromfpx.
6299         * math/test-tgmath.c: Include <stdint.h>
6300         (NCALLS): Increase to 138.
6301         (F(compile_test)): Initialize i.  Call fromfp functions.
6302         (F(fromfp)): New function.
6303         (F(fromfpx)): Likewise.
6304         (F(ufromfp)): Likewise.
6305         (F(ufromfpx)): Likewise.
6306         * manual/arith.texi (Rounding Functions): Document FP_INT_UPWARD,
6307         FP_INT_DOWNWARD, FP_INT_TOWARDZERO, FP_INT_TONEARESTFROMZERO,
6308         FP_INT_TONEAREST, fromfp, fromfpf, fromfpl, ufromfp, ufromfpf,
6309         ufromfpl, fromfpx, fromfpxf, fromfpxl, ufromfpx, ufromfpxf and
6310         ufromfpxl.
6311         * manual/libm-err-tab.pl (@all_functions): Add fromfp, fromfpx,
6312         ufromfp and ufromfpx.
6313         * math/fromfp.h: New file.
6314         * sysdeps/ieee754/dbl-64/s_fromfp.c: Likewise.
6315         * sysdeps/ieee754/dbl-64/s_fromfp_main.c: Likewise.
6316         * sysdeps/ieee754/dbl-64/s_fromfpx.c: Likewise.
6317         * sysdeps/ieee754/dbl-64/s_ufromfp.c: Likewise.
6318         * sysdeps/ieee754/dbl-64/s_ufromfpx.c: Likewise.
6319         * sysdeps/ieee754/flt-32/s_fromfpf.c: Likewise.
6320         * sysdeps/ieee754/flt-32/s_fromfpf_main.c: Likewise.
6321         * sysdeps/ieee754/flt-32/s_fromfpxf.c: Likewise.
6322         * sysdeps/ieee754/flt-32/s_ufromfpf.c: Likewise.
6323         * sysdeps/ieee754/flt-32/s_ufromfpxf.c: Likewise.
6324         * sysdeps/ieee754/ldbl-128/s_fromfpl.c: Likewise.
6325         * sysdeps/ieee754/ldbl-128/s_fromfpl_main.c: Likewise.
6326         * sysdeps/ieee754/ldbl-128/s_fromfpxl.c: Likewise.
6327         * sysdeps/ieee754/ldbl-128/s_ufromfpl.c: Likewise.
6328         * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c: Likewise.
6329         * sysdeps/ieee754/ldbl-128ibm/s_fromfpl.c: Likewise.
6330         * sysdeps/ieee754/ldbl-128ibm/s_fromfpl_main.c: Likewise.
6331         * sysdeps/ieee754/ldbl-128ibm/s_fromfpxl.c: Likewise.
6332         * sysdeps/ieee754/ldbl-128ibm/s_ufromfpl.c: Likewise.
6333         * sysdeps/ieee754/ldbl-128ibm/s_ufromfpxl.c: Likewise.
6334         * sysdeps/ieee754/ldbl-96/s_fromfpl.c: Likewise.
6335         * sysdeps/ieee754/ldbl-96/s_fromfpl_main.c: Likewise.
6336         * sysdeps/ieee754/ldbl-96/s_fromfpxl.c: Likewise.
6337         * sysdeps/ieee754/ldbl-96/s_ufromfpl.c: Likewise.
6338         * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c: Likewise.
6339         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fromfp,
6340         ufromfp, fromfpx and ufromfpx.
6341         (CFLAGS-nldbl-fromfp.c): New variable.
6342         (CFLAGS-nldbl-fromfpx.c): Likewise.
6343         (CFLAGS-nldbl-ufromfp.c): Likewise.
6344         (CFLAGS-nldbl-ufromfpx.c): Likewise.
6345         * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include <stdint.h>.
6346         * sysdeps/ieee754/ldbl-opt/nldbl-fromfp.c: New file.
6347         * sysdeps/ieee754/ldbl-opt/nldbl-fromfpx.c: Likewise.
6348         * sysdeps/ieee754/ldbl-opt/nldbl-ufromfp.c: Likewise.
6349         * sysdeps/ieee754/ldbl-opt/nldbl-ufromfpx.c: Likewise.
6350         * sysdeps/nacl/libm.abilist: Update.
6351         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
6352         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
6353         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
6354         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
6355         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
6356         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
6357         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
6358         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
6359         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
6360         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
6361         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
6362         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
6363         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
6364         Likewise.
6365         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
6366         Likewise.
6367         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
6368         Likewise.
6369         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
6370         Likewise.
6371         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
6372         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
6373         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
6374         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
6375         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
6376         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
6377         Likewise.
6378         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
6379         Likewise.
6380         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
6381         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
6382         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
6384 2016-12-30  Florian Weimer  <fweimer@redhat.com>
6386         * resolv/Makefile (libresolv-routines): Rename gethnamaddr to
6387         compat-gethnamaddr.
6388         (CPPFLAGS): Remove.
6389         * resolv/gethnamaddr.c: Rename ...
6390         * resolv/compat-gethnamaddr.c: ... to this file.
6391         (_endhtent): Make static.
6392         (res_gethostbyname): Renamed from gethostbyname.  Turn into compat
6393         symbol.
6394         (res_gethostbyname2): Renamed from gethostbyname2.  Turn into
6395         compat symbol.
6396         (res_gethostbyaddr): Renamed from gethostbyaddr.  Turn into compat
6397         symbol.
6398         (_sethtent, _gethtent, _gethtbyname, gethtbyname2, _gethtbyaddr):
6399         Turn into compat symbol.
6400         * include/resolv.h (_endhtent): Remove declaration.
6402 2016-12-30  Joseph Myers  <joseph@codesourcery.com>
6404         * bits/types.h (__intmax_t): New typedef.
6405         (__uintmax_t): Likewise.
6406         * sysdeps/generic/stdint.h: Include <bits/types.h>.
6407         (intmax_t): Define using __intmax_t.
6408         (uintmax_t): Define using __uintmax_t.
6410         * support/Makefile (tests-special): Make definition conditional on
6411         [$(run-built-tests) = yes].
6412         ($(objpfx)tst-support_record_failure-2.out): Make rule conditional
6413         on [$(run-built-tests) = yes].
6415 2016-12-30  Siddhesh Poyarekar  <siddhesh@sourceware.org>
6417         * Rules (tests): Add tests-printers-programs to tests to be
6418         built.
6420 2016-12-28  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6422         * sysvipc/Makefile (tests): Add test-sysvshm.
6423         * sysvipc/test-sysvshm.c: New file.
6425         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmget): Remove.
6426         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmget): Likewise.
6427         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmget): Likewise.
6428         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmget): Likewise.
6429         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmget): Likewise.
6430         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmget): Likewise.
6431         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmget):
6432         Likewise.
6433         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmget):
6434         Likewise.
6435         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmget): Likewise.
6436         * sysdeps/unix/sysv/linux/shmget.c (shmget): Use shmget syscall if it
6437         is defined.
6439         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmdt): Remove.
6440         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmdt): Likewise.
6441         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmdt): Likewise.
6442         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmdt): Likewise.
6443         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmdt): Likewise.
6444         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmdt): Likewise.
6445         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmdt):
6446         Likewise.
6447         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmdt):
6448         Likewise.
6449         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmdt): Likewise.
6450         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Use shmdt syscall if it is
6451         defined.
6453         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
6454         oldshmctl.
6455         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmctl): Remove.
6456         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmctl): Likewise.
6457         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmctl): Likewise.
6458         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmctl): Likewise.
6459         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmctl): Likewise.
6460         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmctl): Likewise.
6461         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmctl):
6462         Likewise.
6463         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmctl):
6464         Likewise.
6465         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmctl): Likewise.
6466         * sysdeps/unix/sysv/linux/alpha/shmctl.c: Remove file.
6467         * sysdeps/unix/sysv/linux/arm/shmctl.c: Likewise.
6468         * sysdeps/unix/sysv/linux/microblaze/shmctl.c: Likewise.
6469         * sysdeps/unix/sysv/linux/mips/mips64/shmctl.c: Use default
6470         implementation.
6471         * sysdeps/unix/sysv/linux/shmctl.c (__new_shmctl): Use shmctl syscall
6472         if it is defined.
6474         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmat): Remove.
6475         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmat): Likewise.
6476         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmat): Likewise.
6477         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmat): Likewise.
6478         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmat): Likewise.
6479         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmat): Likewise.
6480         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmat):
6481         Likewise.
6482         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmat):
6483         Likewise.
6484         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmat): Likewise.
6485         * sysdeps/unix/sysv/linux/alpha/kernel-features.h (__NR_shmat):
6486         Define to __NR_osf_shmat.
6487         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use shmat syscall if it is
6488         defined.
6490         * sysvipc/Makefile (tests): Add test-sysvsem.
6491         * sysvipc/test-sysvsem.c: New file.
6493         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semtimedop): Remove.
6494         * sysdeps/unix/sysv/linux/arm/syscalls.list (semtimedop): Likewise.
6495         * sysdeps/unix/sysv/linux/generic/syscalls.list (semtimedop):
6496         Likewise.
6497         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semtimedop): Likewise.
6498         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semtimedop): Likewise.
6499         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semtimedop):
6500         Likewise.
6501         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semtimedop):
6502         Likewise.
6503         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semtimedop): Likewise.
6504         * sysdeps/unix/sysv/linux/m68k/semtimedop.S: Remove file.
6505         * sysdeps/unix/sysv/linux/s390/semtimedop.c: Reorganize headers and
6506         add a comment about s390 syscall difference from default one.
6507         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Use semtimedop
6508         syscall if it is defined.
6510         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semop): Remove.
6511         * sysdeps/unix/sysv/linux/arm/syscalls.list (semop): Likewise.
6512         * sysdeps/unix/sysv/linux/generic/syscalls.list (semop): Likewise.
6513         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semop): Likewise.
6514         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semop): Likewise.
6515         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semop): Likewise.
6516         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semop):
6517         Likewise.
6518         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semop):
6519         Likewise.
6520         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semop): Likewise.
6521         * sysdeps/unix/sysv/linux/semop.c (semop): Use semop syscall if it is
6522         defined.
6524         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semget): Remove.
6525         * sysdeps/unix/sysv/linux/arm/syscalls.list (semget): Likewise.
6526         * sysdeps/unix/sysv/linux/generic/syscalls.list (semget): Likewise.
6527         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semget): Likewise.
6528         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semget): Likewise.
6529         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semget): Likewise.
6530         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semget):
6531         Likewise.
6532         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semget):
6533         Likewise.
6534         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semget): Likewise.
6535         * sysdeps/unix/sysv/linux/semget.c (semget): Use semget syscall
6536         if it is defined.
6538         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
6539         oldsemctl.
6540         * sysdeps/unix/sysv/linux/alpha/semctl.c: Remove file.
6541         * sysdeps/unix/sysv/linux/arm/semctl.c: Likewise.
6542         * sysdeps/unix/sysv/linux/microblaze/semctl.c: Likewise.
6543         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Likewise.
6544         * sysdeps/unix/sysv/linux/mips/mips64/semctl.c: Use defaulf
6545         implementation.
6546         * sysdeps/unix/sysv/linux/semctl.c (__new_semctl): Use semctl
6547         syscall if it is defined.
6548         * sysdeps/unix/sysv/linux/generic/syscalls.list (semctl): Remove.
6549         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semctl): Likewise.
6550         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semctl): Likewise.
6551         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semctl): Likewise.
6552         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semctl):
6553         Likewise.
6554         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semctl): Likewise.
6556         * sysvipc/Makefile (tests): Add test-sysvmsg.
6557         * sysvipc/test-sysvmsg.c: New file.
6558         * support/check.h (FAIL_UNSUPPORTED): New define.
6560         * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgget): Remove.
6561         * sysdeps/unix/sysv/linux/arm/syscalls.list (msgget): Likewise.
6562         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgget): Likewise.
6563         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgget): Likewise.
6564         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgget): Likewise.
6565         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgget): Likewise.
6566         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgget):
6567         Likewise.
6568         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgget):
6569         Likewise.
6570         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgget): Likewise.
6571         * sysdeps/unix/sysv/linux/msgget.c (msgget): Use msgget syscall if
6572         define.
6574         * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgsnd): Remove.
6575         * sysdeps/unix/sysv/linux/arm/syscalls.list (msgsnd): Likewise.
6576         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgsnd): Likewise.
6577         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgsnd): Likewise.
6578         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgsnd): Likewise.
6579         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgsnd): Likewise.
6580         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgsnd):
6581         Likewise.
6582         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgsnd):
6583         Likewise.
6584         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgsnd): Likewise.
6585         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Use msgsnd syscall
6586         if defined.
6588         * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgctl): Remove.
6589         * sysdeps/unix/sysv/linux/arm/syscalls.list (msgctl): Likewise.
6590         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgctl): Likewise.
6591         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgctl): Likewise.
6592         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgctl): Likewise.
6593         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgctl): Likewise.
6594         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgctl):
6595         Likewise.
6596         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgctl): Likewise,
6597         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgctl):
6598         Likewise.
6599         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Use msgrcv syscall
6600         if defined.
6601         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Remove file.
6603         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
6604         oldmsgctl.
6605         * sysdeps/unix/sysv/linux/alpha/msgctl.c: Remove file.
6606         * sysdeps/unix/sysv/linux/arm/msgctl.c: Likewise.
6607         * sysdeps/unix/sysv/linux/microblaze/msgctl.c: Likewise.
6608         * sysdeps/unix/sysv/linux/alpha/syscalls.list (oldmsgctl): Remove.
6609         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgctl): Likewise.
6610         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgctl): Likewise.
6611         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgctl): Likewise.
6612         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgctl):
6613         Likewise.
6614         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgctl): Likewise.
6615         * sysdeps/unix/sysv/linux/mips/mips64/msgctl.c: Use default
6616         implementation.
6617         * sysdeps/unix/sysv/linux/msgctl.c (__new_msgctl): Use msgctl syscall
6618         if defined.
6620         * sysdeps/unix/sysv/linux/aarch64/ipc_priv.h: New file.
6621         * sysdeps/unix/sysv/linux/alpha/ipc_priv.h: Avoid included other arch
6622         definition and define its own.
6623         * sysdeps/unix/sysv/linux/ipc_ops.h: New file.
6624         * sysdeps/unix/sysv/linux/x86_64/ipc_priv.h: Likewise.
6625         * sysdeps/unix/sysv/linux/mips/ipc_priv.h: Remove file.
6626         * sysdeps/unix/sysv/linux/mips/mips64/ipc_priv.h: New file.
6627         * sysdeps/unix/sysv/linux/ipc_priv.h: Move ipc syscall operation
6628         definitions to common header.
6629         * sysdeps/unix/sysv/linux/powerpc/ipc_priv.h: Use common syscall
6630         operation from ipc_ops.h.
6632         * sysdeps/unix/sysv/linux/kernel-features.h
6633         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): New define.
6634         * sysdeps/unix/sysv/linux/i386/kernel-features.h
6635         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Undef.
6636         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6637         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
6638         * sysdeps/unix/sysv/linux/mips/kernel-features.h
6639         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
6640         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
6641         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
6642         * sysdeps/unix/sysv/linux/s390/kernel-features.h
6643         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
6644         * sysdeps/unix/sysv/linux/sh/kernel-features.h
6645         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
6646         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
6647         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
6649 2016-12-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
6651         * sysdeps/powerpc/powerpc32/power7/memchr.S (__memchr): Avoid an
6652         overflow in pointer addition.
6654 2016-12-28  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
6656         * sysdeps/powerpc/powerpc64/multiarch/Makefile
6657         (sysdep_routines): Add strchr-power8 and strchrnul_power8.
6658         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6659         (strchr): Add __strchr_power8 to list of strchr functions.
6660         (strchrnul): Add __strchrnul_power8 to list of strchr functions.
6661         * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: New file.
6662         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: New file.
6663         * sysdeps/powerpc/powerpc64/multiarch/strchr.c
6664         (strchr): Add __strchr_power8 to ifunc list.
6665         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c
6666         (__strchrnul): Add __strchrnul_power8 to ifunc list.
6667         * sysdeps/powerpc/powerpc64/power8/strchr.S: New file.
6668         * sysdeps/powerpc/powerpc64/power8/strchrnul.S: New file.
6670 2016-12-28  Florian Weimer  <fweimer@redhat.com>
6672         * support/Makefile (libsupport-routines): Add
6673         support_test_verify_impl, support_record_failure, xfork, xwaitpid.
6674         (tests): Add tst-support_record_failure.
6675         (tests-special): tst-support_record_failure-2.
6676         (tst-support_record_failure-2.out): Depend on
6677         tst-support_record_failure-2.sh and tst-support_record_failure.
6678         * support/check.h (TEST_VERIFY, TEST_VERIFY_EXIT): Define.
6679         (support_test_verify_impl, support_record_failure)
6680         (support_report_failure, support_report_failure_reset): Declare.
6681         * support/support_test_main.c (adjust_exit_status): New function.
6682         (support_test_main): Call it to incorporate record test failures.
6683         * support/support_test_verify_impl.c: New file.
6684         * support/support_record_failure.c: Likewise.
6685         * support/tst-support_record_failure.c: Likewise.
6686         * support/tst-support_record_failure-2.sh: Likewise.
6687         * support/xunistd.h: Likewise.
6688         * support/xfork.c: Likewise.
6689         * support/xwaitpid.c: Likewise.
6691 2016-12-27  Steve Ellcey  <sellcey@caviumnetworks.com>
6693         * scripts/check-c++-types.sh: Add comments.
6695 2016-12-27  Dmitry V. Levin  <ldv@altlinux.org>
6697         [BZ #19514]
6698         * resolv/res_send.c: Fix typo in comment.
6699         * sysdeps/i386/i386-mcount.S: Likewise.
6700         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
6701         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
6702         * sysdeps/sparc/sparc-mcount.S: Likewise.
6704 2016-12-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6706         * sysdeps/powerpc/fpu/s_fmaxf.S: Remove file.
6707         * sysdeps/powerpc/fpu/s_fminf.S: Likewise.
6708         * sysdeps/powerpc/fpu/s_fmax.S: Likewise.
6709         * sysdeps/powerpc/fpu/s_fmin.S: Likewise.
6710         * sysdeps/powerpc/powerpc32/fpu/s_fmax.S: Likewise.
6711         * sysdeps/powerpc/powerpc32/fpu/s_fmin.S: Likewise.
6712         * sysdeps/powerpc/powerpc64/fpu/s_fmax.S: Likewise.
6713         * sysdeps/powerpc/powerpc64/fpu/s_fmin.S: Likewise.
6715 2016-12-27  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
6717         * manual/arith.texi (FP Comparison Functions): Fix typo in iseqsig.
6719 2016-12-27  Florian Weimer  <fweimer@redhat.com>
6721         [BZ #17252]
6722         * posix/unistd.h (getentropy): Declare.
6724 2016-12-27  Florian Weimer  <fweimer@redhat.com>
6726         * resolv/res_hconf.h (HCONF_FLAG_SPOOF, HCONF_FLAG_SPOOFALERT):
6727         Remove.
6728         * resolv/res_hconf.c (ENV_SPOOF, arg_spoof): Remove.
6729         (cmd): Remove spoof, nospoof, spoofalert.
6730         (parse_line): Ignore spoof-related lines.
6731         (do_init): Do not process RESOLV_SPOOF_CHECK.
6733 2016-12-27  Florian Weimer  <fweimer@redhat.com>
6735         [BZ #20964]
6736         sunrpc: Always obtain AF_INET addresses from NSS.
6737         * include/rpc/rpc.h (__libc_rpc_gethostbyname): Declare.
6738         * sunrpc/rpc_gethostbyname.c: New file.
6739         * sunrpc/Makefile (routines): Add it.
6740         * sunrpc/clnt_gen.c (clnt_create): Use __libc_rpc_gethostbyname.
6741         * sunrpc/clnt_simp.c (callrpc): Likewise.
6742         * sunrpc/getrpcport.c (getrpcport): Likewise.
6744 2016-12-27  Florian Weimer  <fweimer@redhat.com>
6746         * sunrpc/rpcinfo.c: Remove.
6747         * sunrpc/Makefile: Remove comments referring to rpcinfo.
6749 2016-12-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6751         [BZ #19387]
6752         * sysdeps/x86_64/memchr.S (memchr): Avoid overflow in pointer
6753         addition.
6754         * string/test-memchr.c (do_test): Remove alignment limitation.
6755         (test_main): Add test that trigger BZ #19387.
6757 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
6759         [BZ #7065]
6760         Enable stack protectore if requested by ./configure.
6761         * Makeconfig (+stack-protector): New variable.
6762         (+cflags): Use it.
6764 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
6766         [BZ #7065]
6767         * signal/Makefile (CFLAGS-sigreturn.c): Use $(no-stack-protector).
6768         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c:
6769         (__rt_sigreturn_stub): Use inhibit_stack_protector.
6770         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
6771         (__rt_sigreturn_stub, __sigreturn_stub): Likewise.
6773 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
6775         [BZ #7065]
6776         * login/Makefile (pt_chown-cflags): Remove.
6777         * nscd/Makefile (CFLAGS-nscd): Likewise.
6778         * resolv/Makefile (CFLAGS-libresolv): Likewise.
6780 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
6782         [BZ #7065]
6783         * elf/Makefile (CFLAGS-filtmod1.c): Use $(no-stack-protector) for
6784         non-libc-linking testcase.
6786 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
6787             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6788             Florian Weimer  <fweimer@redhat.com>
6790         [BZ #7065]
6791         PLT avoidance for __stack_chk_fail*.
6792         * debug/Makefile (CFLAGS-stack_chk_fail.c)
6793         (CFLAGS-stack_chk_fail_local.c): Build without stack protector.
6794         * debug/stack_chk_fail.c (__stack_chk_fail): Add
6795         __stack_chk_fail_local alias.
6796         * sysdeps/generic/symbol-hacks.h [IS_IN (libc)]
6797         (__stack_chk_fail): Turn into hidden reference to
6798         __stack_chk_fail_local.
6800 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
6802         [BZ #7065]
6803         * configure.ac: Add check for unsupported stack-protection level.
6804         (libc_cv_predef_stack_protector): Remove.
6805         (no_ssp): New variable.
6806         (STACK_PROTECTOR_LEVEL): Set to zero when --disable-stack-protector.
6807         (stack_protector): Set to -fno-stack-protector similarly.
6808         (libc_cv_ld_gnu_indirect_function): Use no_ssp.
6809         (libc_cv_asm_set_directive): Likewise.
6810         (libc_cv_protected_data): Likewise.
6811         (libc_cv_z_combreloc): Likewise.
6812         (libc_cv_hashstyle): Likewise.
6813         (libc_cv_has_glob_dat): Likewise.
6814         (libc_cv_output_format): Likewise.
6815         (libc_cv_output_format): Likewise.
6816         (libc_cv_ehdr_start): Likewise.
6817         * aclocal.m4 (LIBC_TRY_LINK_STATIC): Likewise.
6818         (LIBC_LINKER_FEATURE): Likewise.
6819         (LIBC_COMPILER_BUILTIN_INLINED): Likewise.
6821 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
6823         [BZ #7065]
6824         * elf/Makefile (dummy-stack-chk-fail): New.
6825         (librtld.map): Use it.
6827 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
6829         [BZ #7065]
6830         Compile the dynamic linker without stack protection.
6831         * elf/Makefile (elide-stack-protector): New.
6832         (CFLAGS-.os): Use it, eliding $(all-rtld-routines).
6833         (CFLAGS-.o, CFLAGS-.op): Likewise, but for $(elide-routines.os).
6834         * elf/rtld-Rules (rtld-CFLAGS): Add $(no-stack-protector).
6835         * sysdeps/i386/Makefile (rtld-CFLAGS): Use +=, not =.
6837 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
6839         [BZ #7065]
6840         * config.make.in (have-ssp, no-stack-protector): New.
6841         * csu/Makefile (CFLAGS-.o, CFLAGS-.op, CFLAGS-.os): Use it.
6842         * misc/Makefile (CFLAGS-sbrk.o): Likewise.
6843         (CFLAGS-sbrk.op): Likewise.
6844         (CFLAGS-brk.o): Likewise.
6845         (CFLAGS-brk.op): Likewise.
6846         * string/Makefile (CFLAGS-memcpy.c): Likewise.
6847         (CFLAGS-wordcopy.c): Likewise.
6849 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
6851         [BZ #7065]
6852         * configure.ac (HAVE_CC_NO_STACK_PROTECTOR): Define.
6853         * config.h.in (HAVE_CC_NO_STACK_PROTECTOR): New macro.
6854         * include/libc-symbols.h (inhibit_stack_protector): New macro.
6855         (__ifunc_resolver): Use it.
6856         * elf/ifuncdep2.c (foo1_ifunc, foo2_ifunc, foo3_ifunc): Apply
6857         inhibit_stack_protector.
6858         * elf/ifuncmain6pie.c (foo_ifunc): Likewise.
6859         * elf/ifuncmain7.c (foo_ifunc): Likewise.
6860         * elf/ifuncmod1.c (foo_ifunc, foo_hidden_ifunc)
6861         (foo_protected_ifunc): Likewise.
6862         * elf/ifuncmod5.c (foo_ifunc, foo_hidden_ifunc)
6863         (foo_protected_ifunc): Likewise.
6864         * sysdeps/generic/ifunc-sel.h (ifunc_sel, ifunc_one): Likewise.
6865         * sysdeps/nacl/nacl_interface_query.c
6866         (nacl_interface_query_ifunc): Likewise.
6867         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel, ifunc_one): Likewise.
6868         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c (getcpu_ifunc):
6869         Likewise.
6870         * sysdeps/x86_64/ifuncmod8.c (foo_ifunc): Likewise.
6871         * sysdeps/unix/make-syscalls.sh: Apply inhibit_stack_protector to
6872         the generated vDSO syscall resolver.
6874 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
6875             Florian Weimer  <fweimer@redhat.com>
6877         [BZ #7065]
6878         Initialize the stack guard earlier when linking statically.
6879         * sysdeps/generic/ldsodefs.h (__libc_setup_tls)
6880         (__pthread_initialize_minimal): Declare.
6881         * csu/libc-start.c (__pthread_initialize_minimal): Remove
6882         declaration.
6883         (LIBC_START_MAIN): Call __libc_setup_tls early and directly.  Move
6884         stack canary and apply_irel initialization up.  Call
6885         __pthread_initialize_minimal only if linked in.
6886         * csu/libc-tls.c (__libc_setup_tls): Replace arguments with their
6887         constant values.
6888         (__pthread_initialize_minimal): Remove.
6889         * nptl/nptl-init.c (__libc_setup_tls): Remove declaration.
6890         (__pthread_initialize_minimal_internal): Do not call
6891         __libc_setup_tls.
6893 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
6895         [BZ #7065]
6896         * configure.ac (libc_cv_ssp): Move up.
6897         (libc_cv_ssp_strong): Likewise.
6898         (libc_cv_ssp_all): New.
6899         (stack_protector): Augment, adding -fstack-protector-all.
6900         (no_stack_protector): New.
6901         (STACK_PROTECTOR_LEVEL): New.
6902         (AC_ARG_ENABLE(stack-protector)): New configure flag.
6903         * manual/install.texi (--enable-stack-protector): Document it.
6904         * config.h.in (STACK_PROTECTOR_LEVEL): New macro.
6906 2016-12-24  Carlos O'Donell  <carlos@redhat.com>
6908         * README.pretty-printers: Must specify CPPFLAGS-* also.
6909         * nptl/Makefile (CPPFLAGS-test-mutexattr-printers.c): Define.
6910         (CPPFLAGS-test-mutex-printers.c): Define.
6911         (CPPFLAGS-test-condattr-printers.c): Define.
6912         (CPPFLAGS-test-cond-printers.c): Define.
6913         (CPPFLAGS-test-rwlockattr-printers.c): Define.
6914         (CPPFLAGS-test-rwlock-printers.c): Define.
6916         * nss/Makefile [ifeq (yes,$(have-thread-library))]
6917         (tests): Add tst-cancel-getpwuid_r.
6918         * nss/tst-cancel-getpwuid_r.c: New file.
6920         [BZ #11941]
6921         * elf/dl-close.c (_dl_close): Take dl_load_lock to examine map.
6922         Remove assert (map->l_init_called); if DF_1_NODELETE is set.
6923         * elf/Makefile [ifeq (yes,$(build-shared))] (tests): Add
6924         tst-nodelete-dlclose.
6925         (modules-names): Add tst-nodelete-dlclose-dso and
6926         tst-nodelete-dlclose-plugin.
6927         ($(objpfx)tst-nodelete-dlclose-dso.so): Define.
6928         ($(objpfx)tst-nodelete-dlclose-plugin.so): Define.
6929         ($(objpfx)tst-nodelete-dlclose): Define.
6930         ($(objpfx)tst-nodelete-dlclose.out): Define.
6932 2016-12-23  Florian Weimer  <fweimer@redhat.com>
6934         * scripts/test_printers_common.py: Log GDB output in case of
6935         Python detection failure.
6937 2016-12-22  Siddhesh Poyarekar  <siddhesh@sourceware.org>
6939         * configure.ac: Check for python3 or python.
6940         * configure: Regenerated.
6941         * config.make.in (PYTHON): New variable.
6942         * benchtests/Makefile: Don't define PYTHON.
6943         (bench): Define target only if PYTHON was defined.
6944         * Rules: Don't define PYTHON.
6945         Define pretty printer targets only if PYTHON was defined.
6946         (tests-printers): Add to tests-unsupported if PYTHON is not
6947         found.
6948         (python-flags, python-invoke): Remove.
6949         (tests-printers-out): Use PYTHON instead of python-invoke.
6951 2016-12-21  Joseph Myers  <joseph@codesourcery.com>
6953         [BZ #20978]
6954         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
6955         Compare name == NULL, not name != NULL.
6957         * manual/texinfo.tex: Update to version 2016-09-18.18 with
6958         trailing whitespace removed.
6959         * scripts/config.guess: Update to version 2016-10-02.
6960         * scripts/config.sub: Update to version 2016-11-19.
6961         * scripts/install-sh: Update to version 2016-01-11.22.
6962         * scripts/mkinstalldirs: Update to version 2016-01-11.22.
6963         * scripts/move-if-change: Update to version 2016-01-11 22:04.
6965 2015-12-21  Wilco Dijkstra  <wdijkstr@arm.com>
6967         * benchtests/bench-strsep.c (oldstrsep): Add old implementation.
6968         (do_one_test) Restore original string so iteration works.
6969         * string/string-inlines.c (do_test): Create better input strings.
6970         (test_main) Reduce number of testruns.
6971         * string/string-inlines.c (__old_strsep_1c): New function.
6972         (__old_strsep_2c): Likewise.
6973         (__old_strsep_3c): Likewise.
6974         * string/strsep.c (__strsep): Remove case of small delim string.
6975         Call strcspn directly rather than strpbrk.
6976         * string/bits/string2.h (__strsep): Remove define.
6977         (__strsep_1c): Remove.
6978         (__strsep_2c): Remove.
6979         (__strsep_3c): Remove.
6980         (strsep): Remove.
6981         * sysdeps/unix/sysv/linux/internal_statvfs.c
6982         (__statvfs_getflags): Rename to __strsep.
6984 2016-12-21  Florian Weimer  <fweimer@redhat.com>
6986         * csu/libc-tls.c (_dl_tls_setup): Remove.
6987         * elf/dl-tls.c (_dl_tls_setup): Likewise.
6988         * elf/Versions (GLIBC_PRIVATE): Remove _dl_tls_setup.
6989         * sysdeps/generic/ldsodefs.h (_dl_tls_setup): Remove declaration.
6991 2016-12-21  Nick Alcock <nick.alcock@oracle.com>
6993         [BZ #7065]
6994         * sysdeps/x86_64/Makefile [$(subdir) = elf]
6995         (CFLAGS-tst-quad1pie.c, CFLAGS-tst-quad2pie.c): Add $(PIE-ccflag).
6997 2016-12-21  Nick Alcock <nick.alcock@oracle.com>
6998             Florian Weimer  <fweimer@redhat.com>
7000         [BZ #7065]
7001         * csu/Makefile (tests): Empty assignment and document it.
7002         (tests-static): Remove.
7003         * csu/tst-empty.c: Move to...
7004         * misc/tst-empty.c: ... here.  Switch to new test driver.
7005         * csu/tst-atomic.c: Move to...
7006         * misc/tst-atomic.c: ... here.  Switch to new test driver.
7007         * csu/tst-atomic-long.c: Move to...
7008         * misc/tst-atomic-long.c: ... here.
7009         * misc/Makefile (tests): Add tst-empty, tst-atomic,
7010         tst-atomic-long.
7011         (tests-static): Add tst-empty.
7013 2016-12-21  Rical Jasan  <ricaljasan@pacific.net>
7015         * manual/nss.texi: Change incorrect @vtable to @table.
7016         * manual/arith.texi: Convert @tables of variables to @vtables
7017         and remove unnecessary indexing.
7018         * manual/filesys.texi: Likewise.
7019         * manual/llio.texi: Likewise.
7020         * manual/memory.texi: Likewise.
7021         * manual/process.texi: Likewise.
7022         * manual/resource.texi: Likewise.
7023         * manual/search.texi: Likewise.
7024         * manual/signal.texi: Likewise.
7025         * manual/socket.texi: Likewise.
7026         * manual/stdio.texi: Likewise.
7027         * manual/sysinfo.texi: Likewise.
7028         * manual/syslog.texi: Likewise.
7029         * manual/terminal.texi: Likewise.
7030         * manual/time.texi: Likewise.
7031         * manual/users.texi: Likewise.
7033 2016-12-21  Joseph Myers  <joseph@codesourcery.com>
7035         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
7036         (roundeven): New declaration.
7037         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (roundeven): New
7038         macro.
7039         * math/Versions (roundeven): New libm symbol at version
7040         GLIBC_2.25.
7041         (roundevenf): Likewise.
7042         (roundevenl): Likewise.
7043         * math/Makefile (libm-calls): Add s_roundevenF.
7044         * math/libm-test.inc (roundeven_test_data): New array.
7045         (roundeven_test): New function.
7046         (main): Call roundeven_test.
7047         * math/test-tgmath.c (NCALLS): Increase to 134.
7048         (F(compile_test)): Call roundeven.
7049         (F(roundeven)): New function.
7050         * manual/arith.texi (Rounding Functions): Document roundeven,
7051         roundevenf and roundevenl.
7052         * manual/libm-err-tab.pl (@all_functions): Add roundeven.
7053         * include/math.h (roundeven): Use libm_hidden_proto.
7054         * sysdeps/ieee754/dbl-64/s_roundeven.c: New file.
7055         * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c: Likewise.
7056         * sysdeps/ieee754/flt-32/s_roundevenf.c: Likewise.
7057         * sysdeps/ieee754/ldbl-128/s_roundevenl.c: Likewise.
7058         * sysdeps/ieee754/ldbl-128ibm/s_roundevenl.c: Likewise.
7059         * sysdeps/ieee754/ldbl-96/s_roundevenl.c: Likewise.
7060         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
7061         roundeven.
7062         (CFLAGS-nldbl-roundeven.c): New variable.
7063         * sysdeps/ieee754/ldbl-opt/nldbl-roundeven.c: New file.
7064         * sysdeps/nacl/libm.abilist: Update.
7065         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
7066         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
7067         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
7068         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
7069         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
7070         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
7071         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
7072         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
7073         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
7074         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
7075         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
7076         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
7077         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
7078         Likewise.
7079         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
7080         Likewise.
7081         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
7082         Likewise.
7083         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
7084         Likewise.
7085         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
7086         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
7087         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
7088         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
7089         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
7090         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
7091         Likewise.
7092         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
7093         Likewise.
7094         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
7095         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
7096         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
7098 2016-12-20  Joseph Myers  <joseph@codesourcery.com>
7100         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb): Add
7101         preprocessor indentation inside #if.
7103 2016-12-20  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
7105         * math/libm-test.inc (fmt_ftostr): New function.
7106         (print_float, check_float_internal): Replace some uses of
7107         FTOSTR with uses of fmt_ftostr.
7108         (print_max_error, print_complex_max_error, print_function_ulps)
7109         (print_complex_function_ulps): Remove uses of the macros
7110         PRINTF_EXPR, PRINTF_NEXPR, and PRINTF_XEXPR.
7111         * math/test-double.h (FTOSTR): Define to strfromd.
7112         (PRINTF_EXPR): Delete.
7113         (PRINTF_XEXPR): Likewise.
7114         (PRINTF_NEXPR): Likewise.
7115         * math/test-float.h (FTOSTR): Define to strfromf.
7116         (PRINTF_EXPR): Delete.
7117         (PRINTF_XEXPR): Likewise.
7118         (PRINTF_NEXPR): Likewise.
7119         * math/test-ldouble.h (FTOSTR): Define to strfroml.
7120         (PRINTF_EXPR): Delete.
7121         (PRINTF_XEXPR): Likewise.
7122         (PRINTF_NEXPR): Likewise.
7124 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
7126         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
7127         (__lll_unlock_elision, lll_unlock_elision): Add adapt_count argument.
7128         * sysdeps/unix/sysv/linux/s390/elision-lock.c:
7129         (__lll_lock_elision): Decrement adapt_count while unlocking
7130         instead of before locking.
7131         * sysdeps/unix/sysv/linux/s390/elision-trylock.c
7132         (__lll_trylock_elision): Likewise.
7133         * sysdeps/unix/sysv/linux/s390/elision-unlock.c:
7134         (__lll_unlock_elision): Likewise.
7136 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
7138         * sysdeps/unix/sysv/linux/s390/htm.h(__libc_tbegin_retry): New macro.
7139         * sysdeps/unix/sysv/linux/s390/elision-lock.c (__lll_lock_elision):
7140         Use __libc_tbegin_retry macro.
7142 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
7144         * sysdeps/unix/sysv/linux/s390/Makefile (elision-CFLAGS):
7145         Add -msoft-float.
7146         * sysdeps/unix/sysv/linux/s390/htm.h: New File.
7147         * sysdeps/unix/sysv/linux/s390/elision-lock.c:
7148         Use __libc_t* transaction macros instead of __builtin_t*.
7149         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
7150         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
7152 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
7154         * sysdeps/unix/sysv/linux/s390/elision-lock.c
7155         (__lll_lock_elision): Use atomics to load / store adapt_count.
7156         * sysdeps/unix/sysv/linux/s390/elision-trylock.c
7157         (__lll_trylock_elision): Likewise.
7159 2016-12-20  Florian Weimer  <fweimer@redhat.com>
7161         Do not require memset elimination in explicit_bzero test.
7162         * string/tst-xbzero-opt.c (prepare_test_buffer): Force inlining.
7163         (enum test_expectation): Add NO_EXPECTATIONS.
7164         (subtests): NO_EXPECTATIONS for ordinary clear.
7165         (check_test_buffer): Handle NO_EXPECTATIONS.
7166         * string/Makefile (CFLAGS-tst-xbzero-opt.c): Compile with -O3.
7168 2016-12-20  Joseph Myers  <joseph@codesourcery.com>
7170         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
7171         (fmaxmag): New declaration.
7172         (fminmag): Likewise.
7173         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (fmaxmag): New
7174         macro.
7175         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fminmag): Likewise.
7176         * math/Versions (fmaxmag): New libm symbol at version GLIBC_2.25.
7177         (fmaxmagf): Likewise.
7178         (fmaxmagl): Likewise.
7179         (fminmag): Likewise.
7180         (fminmagf): Likewise.
7181         (fminmagl): Likewise.
7182         * math/Makefile (gen-libm-calls): Add s_fmaxmagF and s_fminmagF.
7183         * math/s_fmaxmag_template.c: New file.
7184         * math/s_fminmag_template.c: Likewise.
7185         * math/libm-test.inc (fmaxmag_test_data): New array.
7186         (fmaxmag_test): New function.
7187         (fminmag_test_data): New array.
7188         (fminmag_test): New function.
7189         (main): Call fmaxmag_test and fminmag_test.
7190         * math/test-tgmath.c (NCALLS): Increase to 132.
7191         (F(compile_test)): Call fmaxmag and fminmag.
7192         (F(fminmag)): New function.
7193         (F(fmaxmag)): Likewise.
7194         * manual/arith.texi (Misc FP Arithmetic): Document fminmag,
7195         fminmagf, fminmagl, fmaxmag, fmaxmagf and fmaxmagl.
7196         * manual/libm-err-tab.pl (@all_functions): Add fmaxmag and
7197         fminmag.
7198         * sysdeps/ieee754/ldbl-opt/nldbl-fmaxmag.c: New file.
7199         * sysdeps/ieee754/ldbl-opt/nldbl-fminmag.c: Likewise.
7200         * sysdeps/ieee754/ldbl-opt/s_fmaxmagl.c: Likewise.
7201         * sysdeps/ieee754/ldbl-opt/s_fminmagl.c: Likewise.
7202         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fmaxmag
7203         and fminmag.
7204         (CFLAGS-nldbl-fmaxmag.c): New variable.
7205         (CFLAGS-nldbl-fminmag.c): Likewise.
7206         * sysdeps/nacl/libm.abilist: Update.
7207         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
7208         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
7209         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
7210         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
7211         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
7212         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
7213         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
7214         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
7215         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
7216         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
7217         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
7218         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
7219         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
7220         Likewise.
7221         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
7222         Likewise.
7223         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
7224         Likewise.
7225         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
7226         Likewise.
7227         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
7228         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
7229         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
7230         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
7231         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
7232         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
7233         Likewise.
7234         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
7235         Likewise.
7236         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
7237         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
7238         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
7240 2016-12-19  Torvald Riegel  <triegel@redhat.com>
7242         [BZ #20973]
7243         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Fix lost
7244         wake-up in robust mutexes.
7245         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
7247 2016-12-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7249         * benchtests/Makefile (bench-math): Add fminf and fmaxf.
7250         (CFLAGS-bench-fmaxf.c): New rule.
7251         (CFLAGS-bench-fminf.c): Likewise.
7252         * benchtests/fmaxf-inputs: New file.
7253         * benchtests/fminf-inputs: Likewise.
7255         * benchtests/Makefile (bench-math): Add fmin and fmax.
7256         (CFLAGS-bench-fmax.c): New rule.
7257         (CFLAGS-bench-fmin.c): Likewise.
7258         * benchtests/fmax-inputs: New file.
7259         * benchtests/fmin-inputs: Likewise.
7261         * benchtests/bench-string.h (TEST_FUNCTION): Use name without
7262         parenthesis.
7263         (CMDLINE_PROCESS): Define using function instead of macro.
7264         * benchtests/bench-memccpy.c: Include <support/test-driver.c> instead
7265         of test-skeleton.
7266         * benchtests/bench-memchr.c: Likewise.
7267         * benchtests/bench-memcmp.c: Likewise.
7268         * benchtests/bench-memcpy-large.c: Likewise.
7269         * benchtests/bench-memcpy.c: Likewise.
7270         * benchtests/bench-memmem.c: Likewise.
7271         * benchtests/bench-memmove-large.c: Likewise.
7272         * benchtests/bench-memmove.c: Likewise.
7273         * benchtests/bench-memset-large.c: Likewise.
7274         * benchtests/bench-memset.c: Likewise.
7275         * benchtests/bench-rawmemchr.c: Likewise.
7276         * benchtests/bench-strcasecmp.c: Likewise.
7277         * benchtests/bench-strcasestr.c: Likewise.
7278         * benchtests/bench-strcat.c: Likewise.
7279         * benchtests/bench-strchr.c: Likewise.
7280         * benchtests/bench-strcmp.c: Likewise.
7281         * benchtests/bench-strcpy.c: Likewise.
7282         * benchtests/bench-strcpy_chk.c: Likewise.
7283         * benchtests/bench-strlen.c: Likewise.
7284         * benchtests/bench-strncasecmp.c: Likewise.
7285         * benchtests/bench-strncmp.c: Likewise.
7286         * benchtests/bench-strncpy.c: Likewise.
7287         * benchtests/bench-strnlen.c: Likewise.
7288         * benchtests/bench-strpbrk.c: Likewise.
7289         * benchtests/bench-strrchr.c: Likewise.
7290         * benchtests/bench-strsep.c: Likewise.
7291         * benchtests/bench-strspn.c: Likewise.
7292         * benchtests/bench-strstr.c: Likewise.
7293         * benchtests/bench-strtok.c: Likewise.
7295 2016-12-19  Andrew Senkevich  <andrew.senkevich@intel.com>
7297         * sysdeps/x86/cpu-features.c (get_common_indeces): Add
7298         stepping identification.
7299         (init_cpu_features): Add handle of Haswell.
7301 2016-11-25  Jim Meyering  <meyering@fb.com>
7303         [BZ #20386]
7304         Let gcc detect assert(a = 1) errors.
7305         * assert/assert.h (assert): Rewrite, retaining the old definintion
7306         when required, but otherwise putting the expression as-is in an "if"
7307         expression (hence, with no added parentheses) within a statement
7308         expression.
7310 2016-12-17  Siddhesh Poyarekar  <siddhesh@sourceware.org>
7312         * benchtests/Makefile (binaries-benchset): Depend on libsupport
7313         DSO.
7315 2016-12-17  Martin Galvan  <martingalvan@sourceware.org>
7317         * Rules (python-flags, python-invoke): New.
7318         ($(test-printers-out)): Use $(python-flags).
7320 2016-12-16  Joseph Myers  <joseph@codesourcery.com>
7322         * manual/arith.texi (Math Error Reporting): Document that sNaN
7323         arguments are not considered domain errors.
7325 2016-12-16  Zack Weinberg <zackw@panix.com>
7326             Florian Weimer <fweimer@redhat.com>
7327             Nick Mathewson <nickm@torproject.org>
7329         * string/explicit_bzero.c: New routine.
7330         * string/test-explicit_bzero.c, string/tst-xbzero-opt.c: New tests.
7331         * string/Makefile (routines, strop-tests, tests): Add them.
7332         * string/test-memset.c: Add ifdeffage for testing explicit_bzero.
7333         * string/string.h [__USE_MISC]: Declare explicit_bzero.
7335         * debug/explicit_bzero_chk.c: New routine.
7336         * debug/Makefile (routines): Add it.
7337         * debug/tst-chk1.c: Test fortification of explicit_bzero.
7338         * string/bits/string3.h: Fortify explicit_bzero.
7340         * manual/string.texi: Document explicit_bzero.
7341         * NEWS: Mention addition of explicit_bzero.
7343         * crypt/crypt-entry.c (__crypt_r): Clear key-dependent intermediate
7344         data before returning, using explicit_bzero.
7345         * crypt/md5-crypt.c (__md5_crypt_r): Likewise.
7346         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
7347         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
7349         * include/string.h: Redirect internal uses of explicit_bzero
7350         to __explicit_bzero_chk[_internal].
7351         * string/Versions [GLIBC_2.25]: Add explicit_bzero.
7352         * debug/Versions [GLIBC_2.25]: Add __explicit_bzero_chk.
7353         * sysdeps/arm/nacl/libc.abilist
7354         * sysdeps/unix/sysv/linux/aarch64/libc.abilist
7355         * sysdeps/unix/sysv/linux/alpha/libc.abilist
7356         * sysdeps/unix/sysv/linux/arm/libc.abilist
7357         * sysdeps/unix/sysv/linux/hppa/libc.abilist
7358         * sysdeps/unix/sysv/linux/i386/libc.abilist
7359         * sysdeps/unix/sysv/linux/ia64/libc.abilist
7360         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
7361         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
7362         * sysdeps/unix/sysv/linux/microblaze/libc.abilist
7363         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
7364         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
7365         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
7366         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
7367         * sysdeps/unix/sysv/linux/nios2/libc.abilist
7368         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
7369         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
7370         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
7371         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
7372         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
7373         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
7374         * sysdeps/unix/sysv/linux/sh/libc.abilist
7375         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
7376         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
7377         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
7378         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
7379         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist
7380         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
7381         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
7382         Add entries for explicit_bzero and __explicit_bzero_chk.
7384 2016-12-16  Joseph Myers  <joseph@codesourcery.com>
7386         * math/fenv.h
7387         [__GLIBC_USE (IEC_60559_BFP_EXT) && FE_INVALID && __SUPPORT_SNAN__]
7388         (FE_SNANS_ALWAYS_SIGNAL): New macro.
7389         * math/test-fe-snans-always-signal.c: New file.
7390         * math/Makefile (tests): Add test-fe-snans-always-signal.
7391         (CFLAGS-test-fe-snans-always-signal.c): New variable.
7392         * manual/arith.texi (Infinity and NaN): Document
7393         FE_SNANS_ALWAYS_SIGNAL.
7395 2016-12-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7397         * string/test-memchr.c (do_test): Typo on ‘byte’ and missing closing
7398         bracket.
7400 2016-12-16  Joseph Myers  <joseph@codesourcery.com>
7402         * scripts/build-many-glibcs.py (Context.exec_self): Flush stdout
7403         before calling execv.
7405 2016-12-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7407         [BZ #20971]
7408         * sysdeps/powerpc/powerpc64/power7/memchr.S (__memchr): Avoid
7409         overflow in pointer addition.
7410         * string/test-memchr.c (do_test): Add an argument to pass as
7411         the size on memchr.
7412         (test_main): Add check for SIZE_MAX.
7414 2016-12-16  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
7416         * math/Makefile (gen-libm-calls): Remove w_scalblnF.
7417         (libm-calls): Add w_scalblnF.
7418         * math/w_scalbln.c: Remove.
7419         * math/w_scalblnf.c: Likewise.
7420         * math/w_scalblnl.c: Likewise.
7421         * math/w_scalbln_template.c: New file with type-generic
7422         implementation based on math/w_scalbln.c.
7423         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: Remove.
7424         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Use new template.
7426 2016-12-15  Joseph Myers  <joseph@codesourcery.com>
7428         [BZ #20947]
7429         * sysdeps/i386/fpu/s_fmaxl.S (__fmaxl): Add the arguments when
7430         either is a signaling NaN.
7431         * sysdeps/i386/fpu/s_fminl.S (__fminl): Likewise.  Make code
7432         follow fmaxl more closely.
7433         * sysdeps/i386/i686/fpu/s_fmaxl.S (__fmaxl): Add the arguments
7434         when either is a signaling NaN.
7435         * sysdeps/i386/i686/fpu/s_fminl.S (__fminl): Likewise.
7436         * sysdeps/x86_64/fpu/s_fmax.S (__fmax): Likewise.
7437         * sysdeps/x86_64/fpu/s_fmaxf.S (__fmaxf): Likewise.
7438         * sysdeps/x86_64/fpu/s_fmaxl.S (__fmaxl): Likewise.
7439         * sysdeps/x86_64/fpu/s_fmin.S (__fmin): Likewise.
7440         * sysdeps/x86_64/fpu/s_fminf.S (__fminf): Likewise.
7441         * sysdeps/x86_64/fpu/s_fminl.S (__fminl): Likewise.
7442         * math/libm-test.inc (fmax_test_data): Add tests of sNaN inputs.
7443         (fmin_test_data): Likewise.
7445 2016-12-15  Andreas Schwab  <schwab@suse.de>
7447         * support/support_test_main.c (support_test_main): Don't shadow
7448         file-local variable test_pid.
7450 2016-12-15  Joseph Myers  <joseph@codesourcery.com>
7452         [BZ #20947]
7453         * sysdeps/powerpc/fpu/s_fmax.S (__fmax): Add the arguments when
7454         either is a signaling NaN.
7455         * sysdeps/powerpc/fpu/s_fmin.S (__fmin): Likewise.
7457 2016-12-14  Joseph Myers  <joseph@codesourcery.com>
7459         [BZ #20947]
7460         * math/s_fmax_template.c (M_DECL_FUNC (__fmax)): Add the arguments
7461         when either is a signaling NaN.
7462         * math/s_fmin_template.c (M_DECL_FUNC (__fmin)): Likewise.
7464         * bits/long-double.h: New file.
7465         * sysdeps/ieee754/ldbl-128/bits/long-double.h: Likewise.
7466         * sysdeps/ieee754/ldbl-96/bits/long-double.h: Likewise.
7467         * sysdeps/ieee754/ldbl-opt/bits/long-double.h: Likewise.
7468         * sysdeps/mips/bits/long-double.h: Likewise.
7469         * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Likewise.
7470         * math/Makefile (headers): Add bits/long-double.h.
7471         * misc/sys/cdefs.h: Include <bits/long-double.h>.
7472         * stdlib/strtold.c: Include <bits/long-double.h> instead of
7473         <bits/wordsize.h>.
7474         * bits/mathdef.h [!_COMPLEX_H]: Do not allow inclusion.
7475         [!__NO_LONG_DOUBLE_MATH]: Remove conditional code.
7476         * math/math.h: Do not include <bits/mathdef.h>.
7477         * sysdeps/aarch64/bits/mathdef.h: Remove file.
7478         * sysdeps/alpha/bits/mathdef.h [!_COMPLEX_H]: Do not allow
7479         inclusion.
7480         * sysdeps/ia64/bits/mathdef.h: Remove file.
7481         * sysdeps/m68k/m680x0/bits/mathdef.h: Likewise.
7482         * sysdeps/mips/bits/mathdef.h: Likewise.
7483         * sysdeps/powerpc/bits/mathdef.h: Likewise.
7484         * sysdeps/s390/bits/mathdef.h: Likewise.
7485         * sysdeps/sparc/bits/mathdef.h: Likewise.
7486         * sysdeps/x86/bits/mathdef.h: Likewise.
7487         * sysdeps/s390/s390-32/bits/wordsize.h
7488         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]: Remove
7489         conditional code.
7490         * sysdeps/s390/s390-64/bits/wordsize.h
7491         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
7492         Likewise.
7493         * sysdeps/unix/sysv/linux/alpha/bits/wordsize.h
7494         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
7495         Likewise.
7496         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h
7497         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
7498         Likewise.
7499         * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h
7500         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
7501         Likewise.
7503         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]: Include
7504         <linux/falloc.h>.
7505         (FALLOC_FL_KEEP_SIZE): Remove.
7506         (FALLOC_FL_PUNCH_HOLE): Likewise.
7507         (FALLOC_FL_COLLAPSE_RANGE): Likewise.
7508         (FALLOC_FL_ZERO_RANGE): Likewise.
7510 2016-12-14  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
7512         * stdlib/tst-strfrom.h (ENTRY): Replace use of CSUF with LSUF.
7514 2016-12-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7516         * sysdeps/unix/sysv/linux/renameat.c: New file.
7517         * sysdeps/unix/sysv/linux/syscalls.list: Remove renameat.
7519         * sysdeps/unix/sysv/linux/rename.c: New file.
7520         * sysdeps/unix/sysv/linux/generic/rename.c: Remove file.
7522 2015-12-14  Wilco Dijkstra  <wdijkstr@arm.com>
7524         * benchtests/bench-strtok.c (oldstrtok): Add old implementation.
7525         * string/strtok.c (strtok): Change to tailcall __strtok_r.
7526         * string/strtok_r.c (__strtok_r): Optimize for performance.
7527         * string/string-inlines.c (__old_strtok_r_1c): New function.
7528         * string/bits/string2.h (__strtok_r): Move to string-inlines.c.
7530 2016-12-14  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
7532         * math/Makefile (gen-libm-calls): Add w_log1pF.
7533         (libm-calls): Remove w_log1pF.
7534         * math/w_log1p.c: Remove.
7535         * math/w_log1pf.c: Likewise.
7536         * math/w_log1pl.c: Likewise.
7537         * math/w_log1p_template.c: New file with type-generic
7538         implementation based on math/w_log1p.c.
7539         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Remove.
7540         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: Likewise.
7542 2015-12-14  Wilco Dijkstra  <wdijkstr@arm.com>
7544         * string/rawmemchr.c (RAWMEMCHR): Use faster memchr/strlen.
7546 2016-12-14  Joseph Myers  <joseph@codesourcery.com>
7548         * scripts/build-many-glibcs.py (Context.checkout): Default Linux
7549         kernel version to 4.9.
7551 2016-12-12  Andrew Senkevich  <andrew.senkevich@intel.com>
7553         * math/Makefile ($(inst_libdir)/libm-$(version).a): New target.
7554         ($(inst_libdir)/libm.a): Fix rule to create the target only.
7556 2016-12-13  Andreas Schwab  <schwab@suse.de>
7558         * sysdeps/powerpc/dl-procinfo.c: Don't define
7559         _dl_powerpc_platforms.
7560         * sysdeps/powerpc/dl-procinfo.h (_dl_string_platform): Use string
7561         constants instead of referencing _dl_powerpc_platforms.
7562         (_dl_platform_string): Remove.
7564 2016-12-13  Florian Weimer  <fweimer@redhat.com>
7566         * nptl/tst-cancel7.c (cmdline_process): Add missing case label.
7568 2016-12-13  Florian Weimer  <fweimer@redhat.com>
7570         * Rules (binaries-shared-tests, binaries-pie-tests)
7571         (binaries-static-tests): Link with $(link-extra-libs-tests).
7572         * Makeconfig (+link-pie-tests, +link-static-tests, +link-tests):
7573         Remove $(link-extra-libs-tests).
7575 2016-12-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
7577         * sysdeps/powerpc/powerpc64/multiarch/Makefile
7578         (sysdep_routines): Add strncmp_power9.
7579         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7580         (strncmp): Add __strncmp_power9 to list of strncmp functions.
7581         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: New file.
7582         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c
7583         (strncmp): Add __strncmp_power9 to ifunc list.
7584         * sysdeps/powerpc/powerpc64/power9/strncmp.S: New file.
7586 2016-12-12  Florian Weimer  <fweimer@redhat.com>
7588         [BZ #17252]
7589         Add getentropy, getrandom.
7590         * stdlib/sys/random.h: New file.
7591         (headers): Add it.
7592         * stdlib/Makefile (routines): Add getentropy, getrandom.
7593         (tests): Add tst-getrandom.
7594         * stdlib/Versions (GLIBC_2.25): Add getrandom, getentropy.
7595         * stdlib/getentropy.c: New file.
7596         * stdlib/getrandom.c: Likewise.
7597         * stdlib/tst-getrandom.c: Likewise.
7598         * sysdeps/unix/sysv/linux/getentropy.c: Likewise.
7599         * sysdeps/unix/sysv/linux/getrandom.c: Likewise.
7600         * manual/crypt.texi (Unpredictable Bytes): New section.
7601         * manual/math.texi (Pseudo-Random Numbers): Add cross-reference.
7602         * sysdeps/arm/nacl/libc.abilist: Add getrandom, getentropy.
7603         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
7604         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
7605         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
7606         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
7607         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
7608         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
7609         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
7610         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
7611         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
7612         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
7613         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
7614         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
7615         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
7616         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
7617         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
7618         Likewise.
7619         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
7620         Likewise.
7621         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
7622         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
7623         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
7624         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
7625         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
7626         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
7627         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
7628         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
7629         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
7630         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
7631         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
7632         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
7634 2016-12-10  Florian Weimer  <fweimer@redhat.com>
7636         [BZ #20956]
7637         * debug/tst-backtrace.h (NO_INLINE): Add noclone, weak attributes
7638         as additional compiler barriers.
7639         * debug/tst-backtrace2.c: Switch to <support/test-driver.c>.
7640         (fn2, do_test): Declare with external linkage.
7641         * debug/tst-backtrace3.c: Switch to <support/test-driver.c>.
7642         (do_test): Declare with external linkage.
7643         * debug/tst-backtrace4.c: Switch to <support/test-driver.c>.
7644         (do_test): Declare with external linkage.
7645         * debug/tst-backtrace5.c: Switch to <support/test-driver.c>.
7646         (do_test): Declare with external linkage.
7648 2016-12-10  Andreas Schwab  <schwab@linux-m68k.org>
7650         * support/support_test_main.c (support_test_main): Use correct
7651         timeout.
7653 2016-12-09  Carlos O'Donell  <carlos@redhat.com>
7654             Florian Weimer  <fweimer@redhat.com>
7656         [BZ #16421]
7657         * inet/netinet/in.h (struct in6_addr): Always define __u6_addr16
7658         and __u6_addr32 members.
7659         (IN6_IS_ADDR_UNSPECIFIED, IN6_IS_ADDR_LOOPBACK)
7660         (IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL)
7661         (IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, IN6_ARE_ADDR_EQUAL):
7662         Use __u6_addr32.
7663         * inet/tst-checks.c: Use <support/test-driver.c>
7664         * inet/tst-checks-posix.c: New file.
7665         * inet/Makefile (tests): Add it.
7666         (CFLAGS-tst-checks-posix.c): Compile in C99 mode.
7668 2016-12-09  Florian Weimer  <fweimer@redhat.com>
7670         New subdirectory support for build and test infrastructure.
7671         * extra-libs.mk (extra-libs-noinstall): Add variable.  Use it when
7672         setting install-lib.
7673         * Makeconfig (link-extra-libs-tests): Define.
7674         (+link-pie-tests, +link-static-tests, +link-tests): Use
7675         link-extra-libs-tests.
7676         (rpath-dirs, all-subdirs): Add support.
7677         (built-modules): Add libsupport.
7678         (libsupport): Define.
7679         * support: New directory.
7680         * support/Makefile: New file.
7681         * support/check.c: Likewise.
7682         * support/check.h: Likewise.
7683         * support/delayed_exit.c: Likewise.
7684         * support/ignore_stderr.c: Likewise.
7685         * support/oom_error.c: Likewise.
7686         * support/set_fortify_handler.c: Likewise.
7687         * support/support.h: Likewise.
7688         * support/temp_file-internal.h: Likewise.
7689         * support/temp_file.c: Likewise.
7690         * support/test-driver.c: Likewise.
7691         * support/test-driver.h: Likewise.
7692         * support/test_main.c: Likewise.
7693         * support/write_message.c: Likewise.
7694         * support/xasprintf.c: Likewise.
7695         * support/xcalloc.c: Likewise.
7696         * support/xmalloc.c: Likewise.
7697         * support/xpthread_barrier_destroy.c: Likewise.
7698         * support/xpthread_barrier_init.c: Likewise.
7699         * support/xpthread_barrier_wait.c: Likewise.
7700         * support/xpthread_cancel.c: Likewise.
7701         * support/xpthread_check_return.c: Likewise.
7702         * support/xpthread_cond_wait.c: Likewise.
7703         * support/xpthread_create.c: Likewise.
7704         * support/xpthread_detach.c: Likewise.
7705         * support/xpthread_join.c: Likewise.
7706         * support/xpthread_mutex_lock.c: Likewise.
7707         * support/xpthread_mutex_unlock.c: Likewise.
7708         * support/xpthread_sigmask.c: Likewise.
7709         * support/xpthread_spin_lock.c: Likewise.
7710         * support/xpthread_spin_unlock.c: Likewise.
7711         * support/xrealloc.c: Likewise.
7712         * support/xsignal.h: Likewise.
7713         * support/xthread.h: Likewise.
7714         * support_tempfile.h: Likewise.
7715         * test-skeleton.c: Include <support/support.h>, <support/xsignal.h>.
7716         (TEST_DATA_LIMIT): Remove unused macro.
7717         (_FAIL, FAIL_RET, FAIL_EXIT, FAIL_EXIT1): Remove.  Now in
7718         <support/check.h>.
7719         (oom_error, xmalloc, xcalloc, xrealloc, xasprintf, write_message)
7720         (ignore_stderr, set_fortify_handler): Remove.  Now in
7721         <support/support.h>.
7722         (xpthread_sigmask): Remove.  Now in <support/xsignal.h>.
7723         (xpthread_mutex_lock, xpthread_spin_lock, xpthread_cond_wait)
7724         (xpthread_barrier_wait, xpthread_create, xpthread_detach)
7725         (xpthread_join): Remove.  Now in <support/xthread.h>.
7726         (TEST_FUNCTION, PREPARE, CLEANUP_HANDLER, CMDLINE_PROCESS):
7727         Introduce legacy wrappers.
7728         * dlfcn/Makefile (bug-atexit3-lib.so): Link with $(libsupport).
7729         * dlfcn/bug-atexit3-lib.cc: Include <support/support.h>.
7730         (write_message): Remove.
7731         * dirent/opendir-tst1.c: Use <support/test-driver.h> instead of
7732         test-skeleton.c.
7733         * io/test-open-tmpfile: Likewise.
7734         * io/tst-posix_fallocate-common.c: Likewise.
7735         * libio/tst-fseek.c: Likewise.
7736         * malloc/tst-malloc-backtrace.c: Likewise.
7737         * malloc/tst-malloc-fork-deadlock.c: Likewise.
7738         * malloc/tst-malloc-thread-exit.c: Likewise.
7739         * nptl/tst-cancel7.c: Likewise.
7740         * nptl/tst-cleanup0.c: Likewise.
7741         * posix/tst-posix_fadvise-common.c: Likewise.
7742         * rt/tst-shm.c: Likewise.
7743         * time/bug-getdate1.c: Likewise.
7744         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
7745         * sysdeps/unix/sysv/linux/tst-sync_file_range.c: Likewise.
7746         * elf/Makefile (tst-piemod1.so): Link against libsupport.
7748 2016-12-08  Joseph Myers  <joseph@codesourcery.com>
7750         * Rules [$(run-built-tests) != no] (tests-expected): Add
7751         $(tests-printers).
7752         (tests): Do not pass $(tests-printers) to merge-test-results.sh.
7754 2016-12-08  Andrew Senkevich  <andrew.senkevich@intel.com>
7756         [BZ #20539]
7757         * math/Makefile (install-lib-ldscripts): Add libm.a.
7758         (install_subdir): Remove.
7759         (install-others): Add.
7760         ($(inst_libdir)/libm.a): Add rule for installation as
7761         linker script.
7762         * Makerules (install-lib.a): Filter out install-lib-ldscripts.
7764 2016-12-08  Martin Galvan  <martin.galvan@tallertechnologies.com>
7766         * INSTALL: Regenerated.
7767         * Makeconfig: Add comments and whitespace to make the control flow
7768         clearer.
7769         (+link-printers-tests, +link-pie-printers-tests,
7770         CFLAGS-printers-tests, installed-rtld-LDFLAGS,
7771         built-rtld-LDFLAGS, link-libc-rpath,
7772         link-libc-tests-after-rpath-link,
7773         link-libc-printers-tests): New.
7774         (rtld-LDFLAGS, rtld-tests-LDFLAGS, link-libc-tests-rpath-link,
7775         link-libc-tests): Use the new variables as required.
7776         * Makerules ($(py-const)): New rule.
7777         generated: Add $(py-const).
7778         * README.pretty-printers: New file.
7779         * Rules (tests-printers-programs, tests-printers-out, py-env): New.
7780         (others): Depend on $(py-const).
7781         (tests): Depend on $(tests-printers-programs) or
7782         $(tests-printers-out),
7783         as required.  Pass $(tests-printers) to merge-test-results.sh.
7784         * manual/install.texi: Add requirements for testing the pretty
7785         printers.
7786         * nptl/Makefile (gen-py-const-headers, pretty-printers,
7787         tests-printers, CFLAGS-test-mutexattr-printers.c
7788         CFLAGS-test-mutex-printers.c, CFLAGS-test-condattr-printers.c,
7789         CFLAGS-test-cond-printers.c, CFLAGS-test-rwlockattr-printers.c
7790         CFLAGS-test-rwlock-printers.c, tests-printers-libs): Define.
7791         * nptl/nptl-printers.py: New file.
7792         * nptl/nptl_lock_constants.pysym: Likewise.
7793         * nptl/test-cond-printers.c: Likewise.
7794         * nptl/test-cond-printers.py: Likewise.
7795         * nptl/test-condattr-printers.c: Likewise.
7796         * nptl/test-condattr-printers.py: Likewise.
7797         * nptl/test-mutex-printers.c: Likewise.
7798         * nptl/test-mutex-printers.py: Likewise.
7799         * nptl/test-mutexattr-printers.c: Likewise.
7800         * nptl/test-mutexattr-printers.py: Likewise.
7801         * nptl/test-rwlock-printers.c: Likewise.
7802         * nptl/test-rwlock-printers.py: Likewise.
7803         * nptl/test-rwlockattr-printers.c: Likewise.
7804         * nptl/test-rwlockattr-printers.py: Likewise.
7805         * scripts/gen-py-const.awk: Likewise.
7806         * scripts/test_printers_common.py: Likewise.
7807         * scripts/test_printers_exceptions.py: Likewise.
7809 2016-12-07  Joseph Myers  <joseph@codesourcery.com>
7811         * scripts/build-many-glibcs.py (Context.__init__): Take strip
7812         argument.
7813         (Glibc.build_glibc): Strip installed shared libraries if
7814         requested.
7815         (get_parser): Add --strip option.
7816         (main): Update Context call.
7818 2016-12-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7819             Dominik Vogt  <vogt@linux.vnet.ibm.com>
7821         [BZ #20847]
7822         * posix/execvpe.c (maybe_script_execute): Remove write past allocated
7823         array bounds for else branch.
7824         (__execvpe): Style fixes.
7825         * posix/tst-vfork3.c (run_script): New function.
7826         (create_script): Likewise.
7827         (do_test): Use run_script internal function.
7828         (do_prepare): Use create_script internal function.
7830 2016-12-07  Andreas Schwab  <schwab@suse.de>
7832         * sysdeps/unix/sysv/linux/x86/elision-conf.h
7833         (__elision_available): Don't declare.
7834         * sysdeps/unix/sysv/linux/x86/elision-conf.c
7835         (__elision_available): Don't define.
7836         (elision_init): Don't set __elision_available.
7838 2016-12-07  Joseph Myers  <joseph@codesourcery.com>
7840         [BZ #20940]
7841         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Do not
7842         return Inf for arguments Inf and sNaN.
7843         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Likewise.
7844         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
7845         Likewise.
7846         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
7847         Likewise.
7848         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
7849         * sysdeps/powerpc/fpu/e_hypot.c (TEST_INF_NAN): Do not return Inf
7850         for arguments Inf and sNaN.  When returning a NaN, compute it by
7851         arithmetic on the arguments.
7852         * sysdeps/powerpc/fpu/e_hypotf.c (TEST_INF_NAN): Likewise.
7853         * math/libm-test.inc (hypot_test_data): Add tests of sNaN
7854         arguments.
7856 2016-12-06  Joseph Myers  <joseph@codesourcery.com>
7858         [BZ #20916]
7859         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Do not return 1 for
7860         arguments (sNaN, 0) or (1, sNaN).  Do arithmetic on NaN arguments
7861         to compute result.
7862         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
7863         * math/libm-test.inc (pow_test_data): Add tests of sNaN arguments.
7865 2016-12-05  Torvald Riegel  <triegel@redhat.com>
7867         * include/atomic.h (__atomic_check_size_ls): New.
7868         (atomic_load_relaxed, atomic_load_acquire, atomic_store_relaxed,
7869         atomic_store_release): Use it.
7870         * sysdeps/x86/elide.h (ACCESS_ONCE): Remove.
7871         (elision_adapt, ELIDE_LOCK): Use atomics.
7872         * sysdeps/unix/sysv/linux/x86/elision-lock.c (__lll_lock_elision): Use
7873         atomics and improve code comments.
7874         * sysdeps/unix/sysv/linux/x86/elision-trylock.c
7875         (__lll_trylock_elision): Likewise.
7877 2016-12-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7879         * hurd/hurd.h: Cast errno constants to error_t to fix usage in C++
7880         programs.
7882 2016-12-02  Joseph Myers  <joseph@codesourcery.com>
7884         [BZ #20916]
7885         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Do not return 1
7886         for arguments (sNaN, 0) or (1, sNaN).  Do arithmetic on NaN
7887         arguments to compute result.
7888         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Do not return
7889         1 for arguments (sNaN, 0) or (1, sNaN).
7890         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
7891         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
7893         [BZ #20919]
7894         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Do not return
7895         NaN first argument when raised to power 0.
7896         * math/w_pow.c (__pow): Do not check for NaN or zero results from
7897         raising to power zero.
7898         * math/w_powf.c (__powf): Likewise.
7899         * math/w_powl.c (__powl): Likewise.
7900         * sysdeps/ieee754/k_standard.c (__kernel_standard): Do not handle
7901         pow (0, 0) or pow (NaN, 0).
7903 2016-12-02  Carlos O'Donell  <carlos@redhat.com>
7905         [BZ #20918]
7906         * configure.ac: Test for static NSS cryptographic libraries and set
7907         libc_cv_static_nss_crypt.
7908         * configure: Regenerate.
7909         * config.make.in (static-nss-crypt): Define.
7910         * elf/Makefile (CFLAGS-tst-linkall-static.c): Define.
7911         [ifeq (yesno,$(nss-crypt)$(static-nss-crypt))]
7912         (CFLAGS-tst-linkall-static.c): Define.
7913         ($(objpfx)tst-linkall-static): Remove libcrypt.a.
7914         [ifeq (yesyes,$(nss-crypt)$(static-nss-crypt))]
7915         ($(objpfx)tst-linkall-static): Define.
7916         [ifeq (no,$(nss-crypt))] ($(objpfx)tst-linkall-static): Define.
7917         * elf/tst-linkall-static.c [USE_CRYPT](references): Reference crypt().
7919 2016-12-02  Florian Weimer  <fweimer@redhat.com>
7921         * elf/Makefile [build-shared] (tests): Add tst-latepthread.
7922         (one-hundred, tst-tls-many-dynamic-modules): Define.
7923         (modules-names): Add $(tst-tls-many-dynamic-modules).
7924         (tst-tls-manydynamic%mod.os): Build with special preprocessor
7925         macros.
7926         (tst-tls-manydynamic): Link against libdl, libpthread.
7927         (tst-tls-manydynamic.out): The test needs the test modules at run
7928         time.
7929         * elf/tst-tls-manydynamic.c: New file.
7930         * elf/tst-tls-manydynamic.h: Likewise.
7931         * elf/tst-tls-manydynamicmod.c: Likewise.
7933 2016-12-02  Florian Weimer  <fweimer@redhat.com>
7935         * sysdeps/aarch64/tlsdesc.sym (TCBHEAD_DTV, DTV_COUNTER)
7936         (TLS_DTV_UNALLOCATED): Add.
7937         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Use explicit
7938         offsets.
7940 2016-12-02  Stefan Liebler  <stli@linux.vnet.ibm.com>
7942         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
7944 2016-12-02  Stefan Liebler  <stli@linux.vnet.ibm.com>
7946         * elf/Makefile (CFLAGS-tst-latepthreadmod.c):
7947         Add -fno-optimize-sibling-calls.
7949 2016-12-02  Joseph Myers  <joseph@codesourcery.com>
7951         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb):
7952         New declaration.
7953         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb): New
7954         macro.
7955         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (__FP_LONG_MAX):
7956         New macro.
7957         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_LLOGB0): Likewise.
7958         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_LLOGBNAN): Likewise.
7959         * math/Versions (llogb): New libm symbol at version GLIBC_2.25.
7960         (llogbf): Likewise.
7961         (llogbl): Likewise.
7962         * math/Makefile (gen-libm-calls): Add w_llogbF.
7963         (tests): Add test-fp-llogb-constants.
7964         * math/w_llogb_template.c: New file.  Based on
7965         math/w_ilogb_template.c.
7966         * math/libm-test.inc (llogb_test_data): New array.
7967         (llogb_test): New function.
7968         (main): Call llogb_test.
7969         * math/test-fp-llogb-constants.c: New file.  Based on
7970         math/test-fp-ilogb-constants.c.
7971         * math/test-tgmath-ret.c (llogb): New CHECK_RET_CONST call.
7972         (do_test): Call check_return_llogb.
7973         * math/test-tgmath.c (NCALLS): Increase to 126.
7974         (F(compile_test)): Call llogb.
7975         (F(llogb)): New function.
7976         * manual/math.texi (Exponents and Logarithms): Document llogb,
7977         llogbf, llogbl, FP_LLOGB0 and FP_LLOGBNAN.
7978         * manual/libm-err-tab.pl (@all_functions): Add llogb.
7979         * sysdeps/ieee754/ldbl-opt/nldbl-llogb.c: New file.
7980         * sysdeps/ieee754/ldbl-opt/w_llogbl.c: Likewise.
7981         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add llogb.
7982         (CFLAGS-nldbl-llogb.c): New variable.
7983         * sysdeps/nacl/libm.abilist: Update.
7984         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
7985         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
7986         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
7987         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
7988         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
7989         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
7990         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
7991         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
7992         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
7993         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
7994         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
7995         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
7996         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
7997         Likewise.
7998         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
7999         Likewise.
8000         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
8001         Likewise.
8002         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
8003         Likewise.
8004         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
8005         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
8006         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
8007         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
8008         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
8009         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
8010         Likewise.
8011         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
8012         Likewise.
8013         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
8014         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
8015         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
8017 2016-12-01  Joseph Myers  <joseph@codesourcery.com>
8019         * sysdeps/ieee754/ldbl-128/s_getpayloadl.c (getpayloadl): Use
8020         _Float128 instead of long double.
8021         * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c (FUNC): Likewise.
8023         * sysdeps/alpha/setjmp.S (__sigsetjmp): Use hidden_def.
8024         * sysdeps/hppa/setjmp.S (__sigsetjmp): Likewise.
8025         * sysdeps/mips/mips64/setjmp.S (__sigsetjmp): Likewise.
8026         * sysdeps/mips/setjmp.S (__sigsetjmp): Likewise.
8027         * sysdeps/sh/sh3/setjmp.S (__sigsetjmp): Likewise.
8028         * sysdeps/sh/sh4/setjmp.S (__sigsetjmp): Likewise.
8029         * sysdeps/sparc/sparc32/setjmp.S (__sigsetjmp): Likewise.
8030         * sysdeps/tile/setjmp.S (__sigsetjmp): Likewise.
8031         * sysdeps/unix/sysv/linux/sparc/sparc64/setjmp.S (__sigsetjmp):
8032         Likewise.
8034 2016-12-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8036         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c (weak_alias):
8037         Remove redirection to __strrchr_ppc.
8039 2016-12-01  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
8041         * sysdeps/powerpc/powerpc64/multiarch/Makefile
8042         (sysdep_routines): Add strcmp_power9.
8043         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8044         (strcmp): Add __strcmp_power9 to list of strcmp functions.
8045         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: New file.
8046         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c
8047         (strcmp): Add __strcmp_power9 to ifunc list.
8048         * sysdeps/powerpc/powerpc64/power9/strcmp.S: New file.
8050 2016-12-01  Joseph Myers  <joseph@codesourcery.com>
8052         * bits/fp-logb.h: New file.
8053         * sysdeps/ia64/bits/fp-logb.h: Likewise.
8054         * sysdeps/m68k/m680x0/bits/fp-logb.h: Likewise.
8055         * sysdeps/x86/bits/fp-logb.h: Likewise.
8056         * math/Makefile (headers): Add bits/fp-logb.h.
8057         * math/math.h: Include <bits/fp-logb.h>.
8058         [__USE_ISOC99] (FP_ILOGB0): Define based on __FP_LOGB0_IS_MIN.
8059         [__USE_ISOC99] (FP_ILOGBNAN): Define based on __FP_LOGBNAN_IS_MIN.
8060         * bits/mathdef.h (FP_ILOGB0): Remove.
8061         (FP_ILOGBNAN): Likewise.
8062         * sysdeps/aarch64/bits/mathdef.h (FP_ILOGB0): Likewise.
8063         (FP_ILOGBNAN): Likewise.
8064         * sysdeps/alpha/bits/mathdef.h (FP_ILOGB0): Likewise.
8065         (FP_ILOGBNAN): Likewise.
8066         * sysdeps/ia64/bits/mathdef.h (FP_ILOGB0): Likewise.
8067         (FP_ILOGBNAN): Likewise.
8068         * sysdeps/m68k/m680x0/bits/mathdef.h (FP_ILOGB0): Likewise.
8069         (FP_ILOGBNAN): Likewise.
8070         * sysdeps/mips/bits/mathdef.h (FP_ILOGB0): Likewise.
8071         (FP_ILOGBNAN): Likewise.
8072         * sysdeps/powerpc/bits/mathdef.h (FP_ILOGB0): Likewise.
8073         (FP_ILOGBNAN): Likewise.
8074         * sysdeps/s390/bits/mathdef.h (FP_ILOGB0): Likewise.
8075         (FP_ILOGBNAN): Likewise.
8076         * sysdeps/sparc/bits/mathdef.h (FP_ILOGB0): Likewise.
8077         (FP_ILOGBNAN): Likewise.
8078         * sysdeps/x86/bits/mathdef.h (FP_ILOGB0): Likewise.
8079         (FP_ILOGBNAN): Likewise.
8081         * scripts/build-many-glibcs.py: Add bot to usage message.  Import
8082         time module.
8083         (Context.__init__): Initialize self.logsdir_old.
8084         (Context.run_builds): Handle bot action.
8085         (Context.bot_cycle): Copy logs directory before running builds.
8086         (Context.bot_run_self): Take argument for whether to check
8087         subprocess result.  Flush stdout before running subprocess.
8088         (Context.bot): New function.
8089         (get_parser): Allow bot action.
8091 2016-11-30  Joseph Myers  <joseph@codesourcery.com>
8093         * scripts/build-many-glibcs.py: Add bot-cycle to usage message.
8094         Import email.mime.text, email.utils and smtplib modules.
8095         (Context.__init__): Initialize self.bot_config_json.
8096         (Context.run_builds): Handle bot-cycle action.
8097         (Context.load_bot_config_json): New function.
8098         (Context.part_build_old): Likewise.
8099         (Context.bot_cycle): Likewise.
8100         (Context.bot_build_mail): Likewise.
8101         (Context.bot_run_self): Likewise.
8102         (get_parser): Allow bot-cycle action.
8104 2016-11-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8106         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c (weak_alias):
8107         Remove redirection to __stpcpy_ppc.
8109 2016-11-30  Florian Weimer  <fweimer@redhat.com>
8111         Remove __libc_memalign from ld.so because it is unused.
8112         * elf/dl-minimal.c: Update comment on the malloc implementation.
8113         (malloc): Renamed from __libc_memalign, replacing the original
8114         malloc implementation.  Replace the align parameter with
8115         MALLOC_ALIGNMENT.
8116         * elf/Versions (ld): Update comment and remove __libc_memalign.
8117         * sysdeps/nacl/ld.abilist: Likewise.
8118         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: Likewise.
8119         * sysdeps/unix/sysv/linux/alpha/ld.abilist: Likewise.
8120         * sysdeps/unix/sysv/linux/arm/ld.abilist: Likewise.
8121         * sysdeps/unix/sysv/linux/hppa/ld.abilist: Likewise.
8122         * sysdeps/unix/sysv/linux/i386/ld.abilist: Likewise.
8123         * sysdeps/unix/sysv/linux/ia64/ld.abilist: Likewise.
8124         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: Likewise.
8125         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: Likewise.
8126         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Likewise.
8127         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: Likewise.
8128         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: Likewise.
8129         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: Likewise.
8130         * sysdeps/unix/sysv/linux/nios2/ld.abilist: Likewise.
8131         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Likewise.
8132         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
8133         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
8134         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: Likewise.
8135         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: Likewise.
8136         * sysdeps/unix/sysv/linux/sh/ld.abilist: Likewise.
8137         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: Likewise.
8138         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: Likewise.
8139         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: Likewise.
8140         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: Likewise.
8141         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: Likewise.
8142         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: Likewise.
8143         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: Likewise.
8144         * sysdeps/generic/localplt.data (ld.so): Likewise.
8145         * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
8146         * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
8147         * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
8148         * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
8149         * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
8150         * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
8151         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
8152         * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so): Likewise.
8153         * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
8154         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
8155         (ld.so): Likewise.
8156         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
8157         (ld.so): Likewise.
8158         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
8159         Likewise.
8160         * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
8161         * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
8162         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so): Likewise.
8163         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so): Likewise.
8164         * sysdeps/x86_64/localplt.data (ld.so): Likewise.
8166 2016-11-30  Florian Weimer  <fweimer@redhat.com>
8168         [BZ #16628]
8169         Implement _dl_catch_error, _dl_signal_error in libc.so.
8170         * elf/dl-error-skeleton.c: Rename from elf/dl-error.c.
8171         (catch_hook): Define as thread-local or regular variable,
8172         depending on DL_ERROR_BOOTSTRAP.
8173         (CATCH_HOOK): Remove.
8174         (dl_signal_error, _dl_catch_error): Use
8175         catch_hook.  Add hidden definition for libc.
8176         (_dl_receive_error, _dl_signal_cerror): Use catch_hook.  Compile
8177         for DL_ERROR_BOOTSTRAP only.
8178         * elf/dl-error.c: New file.
8179         * elf/dl-error-minimal.c: Likewise.
8180         * elf/tst-latepthread.c: Likewise.
8181         * elf/tst-latepthreadmod.c: Likewise.
8182         * elf/Makefile (routines): Add dl-error.
8183         (dl-routines): Remove dl-error.
8184         (rtld-routines): Add dl-error-minimal.
8185         [build-shared] (tests): Add tst-latepthread.
8186         (module-names): Add tst-latepthreadmod.
8187         (LDFLAGS-tst-latepthreadmod.so): Enable lazy binding to undefined
8188         symbol.
8189         (tst-latepthreadmod.so): Link against libpthread.
8190         (tst-latepthread): Link against libdbl.
8191         * elf/Versions [libc] (GLIBC_PRIVATE): Add _dl_signal_error,
8192         _dl_catch_error.
8193         [ld] (GLIBC_PRIVATE): Likewise.
8194         * elf/dl-close.c (_dl_cose): Call _dl_signal_error directly.
8195         * elf/dl-libc.c (dlerror_run): Call _dl_catch_error directly.
8196         * elf/dl-sym.c (do_sym): Call _dl_signal_error, _dl_catch_error
8197         directly.
8198         * elf/dl-tsd.c: Remove file.
8199         * elf/rtld.c (_rtld_global_ro): Remove initializers for
8200         _dl_catch_error, _dl_signal_error.
8201         (_dl_initial_error_catch_tsd): Remove definition.
8202         (do_preload): Remove initialization of dl_error_catch_tsd.
8203         * dlfcn/dlerror.c (_dlerror_run): Call _dl_catch_error directly.
8204         * dlfcn/dlinfo.c (dlinfo_doit): Call _dl_signal_error directly.
8205         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
8206         * dlfcn/dlopen.c (dlopen_doit): Likewise.
8207         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Do not
8208         set dl_error_catch_tsd.
8209         * sysdeps/generic/ldsodefs.h (struct rtld_global): Remove
8210         _dl_error_catch_tsd member.
8211         (struct rtld_global_ro): Remove _dl_catch_error, _dl_signal_error
8212         members.
8213         (_dl_initial_error_catch_tsd): Remove declaration.
8214         (_dl_dprintf): Provide definition for use outside of ld.so.
8215         [!rtld] (_dl_signal_cerror): Redirect to _dl_signal_error.
8216         (_dl_signal_error, _dl_catch_error): Make public.  Add hidden
8217         prototype for libc.
8218         * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_error,
8219         _dl_catch_error.
8220         * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
8221         * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
8222         * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
8223         * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
8224         * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
8225         * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
8226         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
8227         * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
8228         Likewise.
8229         * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
8230         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
8231         (ld.so): Likewise.
8232         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
8233         (ld.so): Likewise.
8234         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
8235         Likewise.
8236         * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
8237         * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
8238         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
8239         Likewise.
8240         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
8241         Likewise.
8242         * sysdeps/x86_64/localplt.data (ld.so): Likewise.
8244 2016-11-30  Florian Weimer  <fweimer@redhat.com>
8246         [BZ #4099]
8247         * libio/filedoalloc.c (_IO_file_doallocate): Limit buffer size to
8248         _IO_BUFSIZ (8192).
8250 2016-11-30  Carlos O'Donell  <carlos@redhat.com>
8252         * PROJECTS: Remove file.
8254 2016-11-29  Florian Weimer  <fweimer@redhat.com>
8256         * iconvdata/gbk.c (BODY): Add Euro sign support (both directions).
8258 2016-11-29  Yury Norov  <ynorov@caviumnetworks.com>
8259             Steve Ellcey  <sellcey@caviumnetworks.com>
8261         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat.c: Do not define
8262         fxstat if XSTAT_IS_XSTAT64 is set to non-zero.
8263         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Ditto for
8264         fxstatat.
8265         * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat.c: Ditto for
8266         lxstat.
8267         * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat.c: Ditto for xstat.
8268         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat64.c: New file.
8269         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat64.c: New file.
8270         * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat64.c: Make __lxstat
8271         an alias of __lxstat64 if XSTAT_IS_XSTAT64 is set to non-zero.
8272         * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat64.c: Ditto for
8273         __xstat.
8275 2016-11-29  Florian Weimer  <fweimer@redhat.com>
8277         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI___sigsetjmp):
8278         Define.
8279         * sysdeps/powerpc/powerpc32/setjmp.S (__sigsetjmp): Add hidden
8280         definition.
8282 2016-11-29  Florian Weimer  <fweimer@redhat.com>
8284         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S (__longjmp): Remove
8285         version and turn into strong alias.  Remove compat symbol.
8287         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
8288         (__longjmp): Remove.
8290 2016-11-29  Joseph Myers  <joseph@codesourcery.com>
8292         * bits/fp-fast.h: New file.
8293         * sysdeps/aarch64/bits/fp-fast.h: Likewise.
8294         * sysdeps/powerpc/bits/fp-fast.h: Likewise.
8295         * math/Makefile (headers): Add bits/fp-fast.h.
8296         * math/math.h: Include <bits/fp-fast.h>.
8297         * bits/mathdef.h (FP_FAST_FMA): Remove.
8298         (FP_FAST_FMAF): Likewise.
8299         (FP_FAST_FMAL): Likewise.
8300         * sysdeps/aarch64/bits/mathdef.h (FP_FAST_FMA): Likewise.
8301         (FP_FAST_FMAF): Likewise.
8302         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Likewise.
8303         (FP_FAST_FMAF): Likewise.
8304         * sysdeps/x86/bits/mathdef.h (FP_FAST_FMA): Likewise.
8305         (FP_FAST_FMAF): Likewise.
8306         (FP_FAST_FMAL): Likewise.
8307         * sysdeps/arm/bits/mathdef.h: Remove file.
8308         * sysdeps/hppa/fpu/bits/mathdef.h: Likewise.
8309         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
8310         * sysdeps/tile/bits/mathdef.h: Likewise.
8312 2016-11-28  Joseph Myers  <joseph@codesourcery.com>
8314         * math/w_ilogb_template.c: New file.  Based on math/w_ilogb.c.
8315         * math/w_ilogb.c: Remove.
8316         * math/w_ilogbf.c: Likewise.
8317         * math/w_ilogbl.c: Likewise.
8318         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: Likewise.
8319         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: Likewise.
8320         * math/Makefile (gen-libm-calls): Add w_ilogbF.
8321         (libm-calls): Remove w_ilogbF.
8322         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h
8323         (LDOUBLE_ilogbl_libm_version): New macro.
8325         * sysdeps/unix/sysv/linux/ia64/tst-setcontext2.c: New file.
8327         * sysdeps/ia64/fpu/libm-symbols.h: Make contents conditional on
8328         [!__STRICT_ANSI__ && !__cplusplus].
8330 2016-11-28  H.J. Lu  <hongjiu.lu@intel.com>
8332         [BZ #20750]
8333         * sysdeps/x86_64/sysdep.h (JUMPTARGET): Check SHARED instead
8334         of PIC.
8336 2016-11-28  Andrew Pinski  <andrew.pinski@caviumnetworks.com>
8337             Yury Norov  <ynorov@caviumnetworks.com>
8338             Steve Ellcey  <sellcey@caviumnetworks.com>
8340         * sysdeps/aarch64/crti.S: Add include of sysdep.h.
8341         (call_weak_fn): Use PTR_REG to get correct reg name in ILP32.
8342         * sysdeps/aarch64/dl-irel.h: Add include of sysdep.h.
8343         (elf_irela): Use AARCH64_R macro to get correct relocation in ILP32.
8344         * sysdeps/aarch64/dl-machine.h: Add include of sysdep.h.
8345         (elf_machine_load_address, RTLD_START, RTLD_START_1, RTLD_START,
8346         elf_machine_type_class, ELF_MACHINE_JMP_SLOT, elf_machine_rela,
8347         elf_machine_lazy_rel): Add ifdef's for ILP32 support.
8348         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return,
8349         _dl_tlsdesc_return_lazy, _dl_tlsdesc_dynamic,
8350         _dl_tlsdesc_resolve_hold): Extend pointers in ILP32, use PTR_REG
8351         to get correct reg name for ILP32.
8352         * sysdeps/aarch64/dl-trampoline.S (ip01): New Macro.
8353         (RELA_SIZE): New Macro.
8354         (_dl_runtime_resolve, _dl_runtime_profile): Use new macros and PTR_REG
8355         to support ILP32.
8356         * sysdeps/aarch64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Add
8357         cast for ILP32 mode.
8358         * sysdeps/aarch64/memcmp.S (memcmp): Extend arg pointers for ILP32 mode.
8359         * sysdeps/aarch64/memcpy.S (memmove, memcpy): Ditto.
8360         * sysdeps/aarch64/memset.S (__memset): Ditto.
8361         * sysdeps/aarch64/strchr.S (strchr): Ditto.
8362         * sysdeps/aarch64/strchrnul.S (__strchrnul): Ditto.
8363         * sysdeps/aarch64/strcmp.S (strcmp): Ditto.
8364         * sysdeps/aarch64/strcpy.S (strcpy): Ditto.
8365         * sysdeps/aarch64/strlen.S (__strlen): Ditto.
8366         * sysdeps/aarch64/strncmp.S (strncmp): Ditto.
8367         * sysdeps/aarch64/strnlen.S (strnlen): Ditto.
8368         * sysdeps/aarch64/strrchr.S (strrchr): Ditto.
8369         * sysdeps/unix/sysv/linux/aarch64/clone.S: Ditto.
8370         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Ditto.
8371         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext): Ditto.
8372         * sysdeps/aarch64/__longjmp.S (__longjmp): Extend pointers in ILP32,
8373         change PTR_MANGLE call to use register numbers instead of names.
8374         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Ditto.
8375         * sysdeps/aarch64/setjmp.S (__sigsetjmp): Extend arg pointers for
8376         ILP32 mode, change PTR_MANGLE calls to use register numbers.
8377         * sysdeps/aarch64/start.S (_start): Ditto.
8378         * sysdeps/aarch64/nptl/bits/pthreadtypes.h
8379         (__PTHREAD_RWLOCK_INT_FLAGS_SHARED): New define.
8380         (__SIZEOF_PTHREAD_ATTR_T, __SIZEOF_PTHREAD_MUTEX_T,
8381         __SIZEOF_PTHREAD_MUTEXATTR_T, __SIZEOF_PTHREAD_COND_T,
8382         __SIZEOF_PTHREAD_COND_COMPAT_T, __SIZEOF_PTHREAD_CONDATTR_T,
8383         __SIZEOF_PTHREAD_RWLOCK_T, __SIZEOF_PTHREAD_RWLOCKATTR_T,
8384         __SIZEOF_PTHREAD_BARRIER_T, __SIZEOF_PTHREAD_BARRIERATTR_T):
8385         Make defined values dependent on __ILP32__.
8386         * sysdeps/aarch64/nptl/bits/semaphore.h (__SIZEOF_SEM_T): Change define.
8387         (sem_t): Change __align type.
8388         * sysdeps/aarch64/sysdep.h (AARCH64_R, PTR_REG, PTR_LOG_SIZE, DELOUSE,
8389         PTR_SIZE): New Macros.
8390         (LDST_PCREL, LDST_GLOBAL) Update to use PTR_REG.
8391         * sysdeps/unix/sysv/linux/aarch64/bits/fcntl.h (O_LARGEFILE):
8392         Set when in ILP32 mode.
8393         (F_GETLK64, F_SETLK64, F_SETLKW64): Only set in LP64 mode.
8394         * sysdeps/unix/sysv/linux/aarch64/dl-cache.h (DL_CACHE_DEFAULT_ID):
8395         Set elf flags for ILP32.
8396         (add_system_dir): Set ILP32 library directories.
8397         * sysdeps/unix/sysv/linux/aarch64/init-first.c
8398         (_libc_vdso_platform_setup): Set minimum kernel version for ILP32.
8399         * sysdeps/unix/sysv/linux/aarch64/ldconfig.h
8400         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add ILP32 names.
8401         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h (GET_PC, SET_PC):
8402         New Macros.
8403         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Handle ILP32 pointers.
8405 2016-11-28  Steve Ellcey  <sellcey@caviumnetworks.com>
8407         * sysdeps/unix/sysv/linux/fstatfs64.c: Reorder include files,
8408         only alias fstatfs and __fstatfs if STATFS_IS_STATFS64 is non-zero.
8409         * sysdeps/unix/sysv/linux/statfs64.c: Ditto for statfs and __statfs.
8411 2016-11-28  Joseph Myers  <joseph@codesourcery.com>
8413         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: Do not include
8414         <asm/cachectl.h>.
8416 2016-11-27  Zack Weinberg  <zackw@panix.com>
8418         * libio/libio.h: Use __USE_GNU, not _GNU_SOURCE, in a conditional.
8419         * test-skeleton.c: Include stdint.h to ensure uintptr_t is available.
8421 2016-11-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8423         * hurd/hurd/signal.h (HURD_MSGPORT_RPC): Cast expressions results to
8424         error_t to fix usage in C++ programs.
8426 2016-11-26  Joseph Myers  <joseph@codesourcery.com>
8428         * scripts/build-many-glibcs.py: Import datetime module.
8429         (Context.__init__): Load JSON build state.  Initialize list of
8430         status logs.
8431         (Context.run_builds): Update saved build state.
8432         (Context.add_makefile_cmdlist): Update list of status logs.
8433         (Context.load_build_state_json): New function.
8434         (Context.store_build_state_json): Likewise.
8435         (Context.clear_last_build_state): Likewise.
8436         (Context.update_build_state): Likewise.
8437         (CommandList.status_logs): Likewise.
8439 2016-11-25  Joseph Myers  <joseph@codesourcery.com>
8441         * scripts/build-many-glibcs.py (Context.__init__): Save text of
8442         script being executed.
8443         (Context.get_script_text): New function.
8444         (Context.exec_self): Likewise.
8445         (Context.checkout): Re-exec script if changed by checkout process.
8447 2016-11-24  Joseph Myers  <joseph@codesourcery.com>
8449         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
8450         (setpayloadsig): New declaration.
8451         * math/Versions (setpayloadsig): New libm symbol at version
8452         GLIBC_2.25.
8453         (setpayloadsigf): Likewise.
8454         (setpayloadsigl): Likewise.
8455         * math/Makefile (libm-calls): Add s_setpayloadsigF.
8456         * math/libm-test.inc (RUN_TEST_Ff_b1): Call feclearexcept
8457         (FE_ALL_EXCEPT) after initializing EXTRA_VAR.
8458         (setpayloadsig_test_data): New array.
8459         (setpayloadsig_test): New function.
8460         (main): Call setpayloadsig_test.
8461         * manual/arith.texi (FP Bit Twiddling): Document setpayloadsig,
8462         setpayloadsigf and setpayloadsigl.
8463         * manual/libm-err-tab.pl: Update comment on interfaces without
8464         ulps tabulated.
8465         * sysdeps/ieee754/dbl-64/s_setpayloadsig.c: New file.
8466         * sysdeps/ieee754/flt-32/s_setpayloadsigf.c: Likewise.
8467         * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c: Likewise.
8468         * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c: Likewise.
8469         * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c: Likewise.
8470         * sysdeps/ieee754/ldbl-opt/nldbl-setpayloadsig.c: Likewise.
8471         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
8472         setpayloadsig.
8473         (CFLAGS-nldbl-setpayloadsig.c): New variable.
8474         * sysdeps/nacl/libm.abilist: Update.
8475         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
8476         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
8477         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
8478         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
8479         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
8480         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
8481         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
8482         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
8483         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
8484         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
8485         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
8486         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
8487         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
8488         Likewise.
8489         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
8490         Likewise.
8491         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
8492         Likewise.
8493         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
8494         Likewise.
8495         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
8496         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
8497         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
8498         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
8499         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
8500         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
8501         Likewise.
8502         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
8503         Likewise.
8504         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
8505         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
8506         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
8508         * scripts/build-many-glibcs.py: Import json module.
8509         (Context.__init__): Take replace_sources argument.  Load
8510         versions.json.
8511         (Context.load_versions_json): New function.
8512         (Context.store_json): Likewise.
8513         (Context.store_versions_json): Likewise.
8514         (Context.set_component_version): Likewise.
8515         (Context.checkout): Update versions.json.  Check for and handle
8516         changes of version.  Prefer previously explicitly specified
8517         version to default version.
8518         (Context.checkout_vcs): Return a revision identifier.
8519         (Context.git_checkout): Likewise.
8520         (Context.gcc_checkout): Likewise.
8521         (get_parser): Add --replace-sources option.
8522         (main): Pass replace_sources argument to Context call.
8524 2016-11-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8526         * sysdeps/nptl/fork.c (__libc_fork): Remove pid cache setting.
8527         * nptl/allocatestack.c (allocate_stack): Likewise.
8528         (__reclaim_stacks): Likewise.
8529         (setxid_signal_thread): Obtain pid through syscall.
8530         * nptl/nptl-init.c (sigcancel_handler): Likewise.
8531         (sighandle_setxid): Likewise.
8532         * nptl/pthread_cancel.c (pthread_cancel): Likewise.
8533         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
8534         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
8535         Likewise.
8536         * sysdeps/unix/sysv/linux/createthread.c (create_thread): Likewise.
8537         * sysdeps/unix/sysv/linux/raise.c (raise): Remove old behaviour
8538         comment.
8539         * sysdeps/unix/sysv/linux/getpid.c: Remove file.
8540         * nptl/descr.h (struct pthread): Change comment about pid value.
8541         * nptl/pthread_getattr_np.c (pthread_getattr_np): Remove thread
8542         pid assert.
8543         * sysdeps/unix/sysv/linux/pthread-pids.h (__pthread_initialize_pids):
8544         Do not set pid value.
8545         * nptl_db/td_ta_thr_iter.c (iterate_thread_list): Remove thread
8546         pid cache check.
8547         * nptl_db/td_thr_validate.c (td_thr_validate): Likewise.
8548         * sysdeps/aarch64/nptl/tcb-offsets.sym: Remove pid offset.
8549         * sysdeps/alpha/nptl/tcb-offsets.sym: Likewise.
8550         * sysdeps/arm/nptl/tcb-offsets.sym: Likewise.
8551         * sysdeps/hppa/nptl/tcb-offsets.sym: Likewise.
8552         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
8553         * sysdeps/ia64/nptl/tcb-offsets.sym: Likewise.
8554         * sysdeps/m68k/nptl/tcb-offsets.sym: Likewise.
8555         * sysdeps/microblaze/nptl/tcb-offsets.sym: Likewise.
8556         * sysdeps/mips/nptl/tcb-offsets.sym: Likewise.
8557         * sysdeps/nios2/nptl/tcb-offsets.sym: Likewise.
8558         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
8559         * sysdeps/s390/nptl/tcb-offsets.sym: Likewise.
8560         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
8561         * sysdeps/sparc/nptl/tcb-offsets.sym: Likewise.
8562         * sysdeps/tile/nptl/tcb-offsets.sym: Likewise.
8563         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
8564         * sysdeps/unix/sysv/linux/aarch64/clone.S: Remove pid and tid caching.
8565         * sysdeps/unix/sysv/linux/alpha/clone.S: Likewise.
8566         * sysdeps/unix/sysv/linux/arm/clone.S: Likewise.
8567         * sysdeps/unix/sysv/linux/hppa/clone.S: Likewise.
8568         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
8569         * sysdeps/unix/sysv/linux/ia64/clone2.S: Likewise.
8570         * sysdeps/unix/sysv/linux/mips/clone.S: Likewise.
8571         * sysdeps/unix/sysv/linux/nios2/clone.S: Likewise.
8572         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
8573         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
8574         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
8575         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
8576         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
8577         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Likewise.
8578         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Likewise.
8579         * sysdeps/unix/sysv/linux/tile/clone.S: Likewise.
8580         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
8581         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Remove pid set and reset.
8582         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
8583         * sysdeps/unix/sysv/linux/arm/vfork.S: Likewise.
8584         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
8585         * sysdeps/unix/sysv/linux/ia64/vfork.S: Likewise.
8586         * sysdeps/unix/sysv/linux/m68k/clone.S: Likewise.
8587         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
8588         * sysdeps/unix/sysv/linux/mips/vfork.S: Likewise.
8589         * sysdeps/unix/sysv/linux/nios2/vfork.S: Likewise.
8590         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
8591         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
8592         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
8593         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
8594         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
8595         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
8596         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
8597         * sysdeps/unix/sysv/linux/tile/vfork.S: Likewise.
8598         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
8599         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: Likewise.
8600         * sysdeps/unix/sysv/linux/tst-clone2.c (f): Remove direct pthread
8601         struct access.
8602         (clone_test): Remove function.
8603         (do_test): Rewrite to take in consideration pid is not cached anymore.
8605 2016-11-24  Joseph Myers  <joseph@codesourcery.com>
8607         * bits/flt-eval-method.h: New file.
8608         * sysdeps/m68k/m680x0/bits/flt-eval-method.h: Likewise.
8609         * sysdeps/s390/bits/flt-eval-method.h: Likewise.
8610         * sysdeps/x86/bits/flt-eval-method.h: Likewise.
8611         * math/Makefile (headers): Add bits/flt-eval-method.h.
8612         * math/math.h: Include <bits/flt-eval-method.h>.
8613         [__USE_ISOC99] (float_t): Define based on __GLIBC_FLT_EVAL_METHOD.
8614         [__USE_ISOC99] (double_t): Likewise.
8615         * bits/mathdef.h (float_t): Remove.
8616         (double_t): Likewise.
8617         * sysdeps/aarch64/bits/mathdef.h (float_t): Likewise.
8618         (double_t): Likewise.
8619         * sysdeps/alpha/bits/mathdef.h (float_t): Likewise.
8620         (double_t): Likewise.
8621         * sysdeps/arm/bits/mathdef.h (float_t): Likewise.
8622         (double_t): Likewise.
8623         * sysdeps/hppa/fpu/bits/mathdef.h (float_t): Likewise.
8624         (double_t): Likewise.
8625         * sysdeps/ia64/bits/mathdef.h (float_t): Likewise.
8626         (double_t): Likewise.
8627         * sysdeps/m68k/m680x0/bits/mathdef.h (float_t): Likewise.
8628         (double_t): Likewise.
8629         * sysdeps/mips/bits/mathdef.h (float_t): Likewise.
8630         (double_t): Likewise.
8631         * sysdeps/powerpc/bits/mathdef.h (float_t): Likewise.
8632         (double_t): Likewise.
8633         * sysdeps/s390/bits/mathdef.h (float_t): Likewise.
8634         (double_t): Likewise.
8635         * sysdeps/sh/sh4/bits/mathdef.h (float_t): Likewise.
8636         (double_t): Likewise.
8637         * sysdeps/sparc/bits/mathdef.h (float_t): Likewise.
8638         (double_t): Likewise.
8639         * sysdeps/tile/bits/mathdef.h (float_t): Likewise.
8640         (double_t): Likewise.
8641         * sysdeps/x86/bits/mathdef.h (float_t): Likewise.
8642         (double_t): Likewise.
8644 2016-11-24  Aurelien Jarno  <aurelien@aurel32.net>
8646         * sysdeps/x86_64/memcpy_chk.S (__memcpy_chk): Check for SHARED
8647         instead of PIC.
8649 2016-11-23  Joseph Myers  <joseph@codesourcery.com>
8651         [BZ #20859]
8652         * sysdeps/sh/sh4/bits/mathdef.h (FP_ILOGB0): Define to
8653         (-0x7fffffff) instead of 0x80000001.
8654         * math/test-fp-ilogb-constants.c: New file.
8655         * math/Makefile (tests): Add test-fp-ilogb-constants.
8657 2016-11-23  Maciej W. Rozycki  <macro@imgtec.com>
8659         * sysdeps/mips/mips32/crti.S (JALR_RELOC): New macro.
8660         (_init): Use it in place of hardcoded R_MIPS_JALR.
8661         * sysdeps/mips/mips64/n32/crti.S (JALR_RELOC): New macro.
8662         (_init): Use it in place of hardcoded R_MIPS_JALR.
8663         * sysdeps/mips/mips64/n64/crti.S (JALR_RELOC): New macro.
8664         (_init): Use it in place of hardcoded R_MIPS_JALR.
8666 2016-11-23  Joseph Myers  <joseph@codesourcery.com>
8668         [BZ #20787]
8669         * sysdeps/x86/bits/mathdef.h (float_t): Do not define to float if
8670         [__x86_64__] when __FLT_EVAL_METHOD__ is nonzero.
8671         (double_t): Do not define to double if [__x86_64__] when
8672         __FLT_EVAL_METHOD__ is nonzero.
8673         * sysdeps/x86/fpu/test-flt-eval-method-387.c: New file.
8674         * sysdeps/x86/fpu/test-flt-eval-method-sse.c: Likewise.
8675         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
8676         test-flt-eval-method-387 and test-flt-eval-method-sse.
8677         [$(subdir) = math] (CFLAGS-test-flt-eval-method-387.c): New
8678         variable.
8679         [$(subdir) = math] (CFLAGS-test-flt-eval-method-sse.c): Likewise.
8681 2016-11-23  Chris Metcalf  <cmetcalf@mellanox.com>
8683         * scripts/build-many-glibcs.py (Context.add_all_configs): Revert
8684         use of -fno-isolate-erroneous-paths options for tilepro.
8686 2016-11-23  Florian Weimer  <fweimer@redhat.com>
8688         * elf/dl-load.c (_dl_map_object_from_fd): Delayed TLS data
8689         structure initialization is no longer needed.
8691 2016-11-23  Joseph Myers  <joseph@codesourcery.com>
8693         [BZ #20855]
8694         * bits/mathdef.h (float_t): Define to float.
8695         * math/test-flt-eval-method.c: New file.
8696         * math/Makefile (tests): Add test-flt-eval-method.
8697         (CFLAGS-test-flt-eval-method.c): New variable.
8699 2016-11-22  Steve Ellcey  <sellcey@caviumnetworks.com>
8701         * sysdeps/unix/sysv/linux/fstatfs64.c: Hide prototypes for fstatfs
8702         and __fstatfs.  Make them aliases of __fstatfs64 if
8703         STATFS_IS_STATFS64 is set to non-zero.
8704         * sysdeps/unix/sysv/linux/statfs64.c: Ditto for __statfs, statfs,
8705         and __statfs64.
8706         * sysdeps/unix/sysv/linux/generic/wordsize-32/fstatfs.c: Do not
8707         define __fstatfs and fstatfs if STATFS_IS_STATFS64 is non-zero.
8708         * sysdeps/unix/sysv/linux/generic/wordsize-32/statfs.c: Ditto
8709         for __statfs and statfs.
8710         * sysdeps/unix/sysv/linux/alpha/kernel_stat.h: Set STATFS_IS_STATFS64
8711         to 0.
8712         * sysdeps/unix/sysv/linux/generic/kernel_stat.h: Ditto.
8713         * sysdeps/unix/sysv/linux/hppa/kernel_stat.h: Ditto.
8714         * sysdeps/unix/sysv/linux/ia64/kernel_stat.h: Ditto.
8715         * sysdeps/unix/sysv/linux/kernel_stat.h: Ditto.
8716         * sysdeps/unix/sysv/linux/microblaze/kernel_stat.h: Ditto.
8717         * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Ditto.
8718         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Ditto.
8719         * sysdeps/unix/sysv/linux/powerpc/powerpc64/kernel_stat.h: Ditto.
8720         * sysdeps/unix/sysv/linux/s390/s390-64/kernel_stat.h: Ditto.
8721         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Ditto.
8722         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Ditto.
8723         * sysdeps/unix/sysv/linux/x86_64/kernel_stat.h: Ditto.
8725 2016-11-22  Andreas Schwab  <schwab@suse.de>
8727         * misc/mkstemp.c: Include <fcntl.h>.
8728         * misc/mkstemps.c: Likewise.
8729         * misc/mkostemp.c: Likewise.
8730         * misc/mkostemps.c: Likewise.
8732 2016-11-22  Adhemerval Zanella  <adhemerva.zanella@linaro.org>
8734         [BZ #20847]
8735         * posix/execvpe.c (maybe_script_execute): Remove write past allocated
8736         array bounds.
8737         (__execvpe): Likewise.
8739 2016-11-22  Joseph Myers  <joseph@codesourcery.com>
8741         * scripts/build-many-glibcs.py (Context.add_all_configs): Also use
8742         -fno-isolate-erroneous-paths options for tilepro.
8744 2016-11-21  Steve Ellcey  <sellcey@caviumnetworks.com>
8746         * sysdeps/unix/sysv/linux/generic/kernel_stat.h: Set XSTAT_IS_XSTAT64
8747         to 0 when in 32 bit mode.
8748         * sysdeps/unix/sysv/linux/hppa/kernel_stat.h: Set XSTAT_IS_XSTAT64 to 0.
8749         * sysdeps/unix/sysv/linux/kernel_stat.h: Ditto.
8750         * sysdeps/unix/sysv/linux/microblaze/kernel_stat.h: Ditto.
8751         * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Ditto.
8752         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Ditto.
8753         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Ditto.
8754         * sysdeps/unix/sysv/linux/fxstat.c: Replace #ifdef with #if on
8755         XSTAT_IS_XSTAT64 test.
8756         * sysdeps/unix/sysv/linux/fxstatat.c: Ditto.
8757         * sysdeps/unix/sysv/linux/generic/lxstat.c: Ditto.
8758         * sysdeps/unix/sysv/linux/generic/xstat.c: Ditto.
8759         * sysdeps/unix/sysv/linux/i386/fxstat.c: Ditto.
8760         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Ditto.
8761         * sysdeps/unix/sysv/linux/i386/lxstat.c: Ditto.
8762         * sysdeps/unix/sysv/linux/i386/xstat.c: Ditto.
8763         * sysdeps/unix/sysv/linux/lxstat.c: Ditto.
8764         * sysdeps/unix/sysv/linux/mips/xstatconv.c: Ditto.
8765         * sysdeps/unix/sysv/linux/xstat.c: Ditto.
8766         * sysdeps/unix/sysv/linux/xstatconv.c: Ditto.
8768 2016-11-19  Joseph Myers  <joseph@codesourcery.com>
8770         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
8771         (setpayload): New declaration.
8772         * math/Versions (setpayload): New libm symbol at version
8773         GLIBC_2.25.
8774         (setpayloadf): Likewise.
8775         (setpayloadl): Likewise.
8776         * math/Makefile (libm-calls): Add s_setpayloadF.
8777         * math/libm-test.inc (struct test_Ffp_b1_data): Rename to struct
8778         test_Ff_b1_data.
8779         (RUN_TEST_Ff_b1): New macro.
8780         (RUN_TEST_LOOP_Ff_b1): Likewise.
8781         (canonicalize_test_data): Update type.
8782         (setpayload_test_data): New array.
8783         (setpayload_test): New function.
8784         (main): Call setpayload_test.
8785         * manual/arith.texi (FP Bit Twiddling): Document setpayload,
8786         setpayloadf and setpayloadl.
8787         * manual/libm-err-tab.pl: Update comment on interfaces without
8788         ulps tabulated.
8789         * sysdeps/ieee754/dbl-64/s_setpayload.c: New file.
8790         * sysdeps/ieee754/dbl-64/s_setpayload_main.c: Likewise.
8791         * sysdeps/ieee754/dbl-64/wordsize-64/s_setpayload_main.c:
8792         Likewise.
8793         * sysdeps/ieee754/flt-32/s_setpayloadf.c: Likewise.
8794         * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Likewise.
8795         * sysdeps/ieee754/ldbl-128/s_setpayloadl.c: Likewise.
8796         * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c: Likewise.
8797         * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c: Likewise.
8798         * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl_main.c: Likewise.
8799         * sysdeps/ieee754/ldbl-96/s_setpayloadl.c: Likewise.
8800         * sysdeps/ieee754/ldbl-96/s_setpayloadl_main.c: Likewise.
8801         * sysdeps/ieee754/ldbl-opt/nldbl-setpayload.c: Likewise.
8802         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
8803         setpayload.
8804         (CFLAGS-nldbl-setpayload.c): New variable.
8805         * sysdeps/nacl/libm.abilist: Update.
8806         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
8807         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
8808         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
8809         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
8810         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
8811         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
8812         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
8813         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
8814         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
8815         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
8816         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
8817         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
8818         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
8819         Likewise.
8820         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
8821         Likewise.
8822         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
8823         Likewise.
8824         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
8825         Likewise.
8826         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
8827         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
8828         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
8829         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
8830         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
8831         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
8832         Likewise.
8833         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
8834         Likewise.
8835         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
8836         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
8837         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
8839 2016-11-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8841         * hurd/hurd.h (__hurd_fail_noerrno): Remove function.
8842         * include/unistd.h: Extend comment about __access_noerrno return
8843         semantics.
8844         * sysdeps/match/hurd/access.c (__hurd_fail_noerrno): Return -1.
8845         (access_common): Correct typo for EACCES.
8847 2016-11-18  Chris Metcalf  <cmetcalf@mellanox.com>
8849         * sysdeps/tile/math-tests.h: New file.
8851         * sysdeps/unix/sysv/linux/tile/set_dataplane.c
8852         (__old_set_dataplane): Rename from set_dataplane and make a
8853         compatibility symbol.
8854         * sysdeps/unix/sysv/linux/tile/sys/dataplane.h: Remove file.
8855         * sysdeps/unix/sysv/linux/tile/Makefile (sysdep_headers): Remove
8856         sys/dataplane.h.
8858 2016-11-18  Joseph Myers  <joseph@codesourcery.com>
8860         * scripts/build-many-glibcs.py (Context.write_files): Make wrapper
8861         script quote words in command output to log suitably for input to
8862         the shell.
8864 2016-11-18  Matthew Fortune  <Matthew.Fortune@imgtec.com>
8865             Maciej W. Rozycki  <macro@imgtec.com>
8867         * sysdeps/mips/mips32/crti.S (_init): Add `.insn' pseudo-op at
8868         `.Lno_weak_fn' label.
8869         * sysdeps/mips/mips64/n32/crti.S (_init): Likewise.
8870         * sysdeps/mips/mips64/n64/crti.S (_init): Likewise.
8872 2016-11-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8873             Yury Norov  <ynorov@caviumnetworks.com>
8875         * bits/typesizes.h (__RLIM_T_MATCHES_RLIM64_T): define.
8876         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h
8877         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
8878         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h
8879         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
8880         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h [__s390x__]
8881         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
8882         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
8883         [__arch64__ || __sparcv9] (__RLIM_T_MATCHES_RLIM64_T): Likewise.
8884         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h [__86_64__]
8885         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
8886         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = resource]
8887         (sysdep_routines): Remove oldgetrlimit64.
8888         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = resource]
8889         (sysdep_routines): Likewise.
8890         * sysdeps/unix/sysv/linux/m68k/Makefile [$(subdir) = resource]
8891         (sysdep_routines): Likewise.
8892         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
8893         [$(subdir) = resource] (sysdep_routines): Likewise.
8894         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile
8895         [$(subdir) = resource] (sysdep_routines): Likewise.
8896         * sysdeps/unix/sysv/linux/arm/getrlimit64.c: Remove file.
8897         * sysdeps/unix/sysv/linux/arm/oldgetrlimit64.c: Likewise.
8898         * sysdeps/unix/sysv/linux/arm/oldgetrlimit.c: Likewise.
8899         * sysdeps/unix/sysv/linux/arm/oldsetrlimit.c: Likewise.
8900         * sysdeps/unix/sysv/linux/hppa/getrlimit64.c: Likewise.
8901         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
8902         * sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: Likewise.
8903         * sysdeps/unix/sysv/linux/m68k/getrlimit64.c: Likewise.
8904         * sysdeps/unix/sysv/linux/m68k/oldgetrlimit64.c: Likewise.
8905         * sysdeps/unix/sysv/linux/powerpc/getrlimit64.c: Likewise.
8906         * sysdeps/unix/sysv/linux/powerpc/oldgetrlimit64.c: Likewise.
8907         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit64.c: Likewise.
8908         * sysdeps/unix/sysv/linux/s390/s390-32/oldgetrlimit64.c: Likewise.
8909         * sysdeps/unix/sysv/linux/sh/getrlimit64.c: Likewise.
8910         * sysdeps/unix/sysv/linux/wordsize-64/getrlimit64.c: Likewise.
8911         * sysdeps/unix/sysv/linux/wordsize-64/setrlimit64.c: Likewise.
8912         * sysdeps/sysv/linux/generic/wordsize-32/syscalls.list: Remove
8913         setrlimit and getrlimit.
8914         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
8915         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
8916         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list: Likewise.
8917         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
8918         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list: Likewise.
8919         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
8920         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Likewise.
8921         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
8922         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
8923         * sysdeps/unix/sysv/linux/getrlimit.c: New file.
8924         * sysdeps/unix/sysv/linux/sparc/getrlimit64.c: Likewise.
8925         * sysdeps/unix/sysv/linux/setrlimit.c: Likewise.
8926         * sysdeps/unix/sysv/linux/getrlimit64.c (__getrlimit64): Handle
8927         __RLIM_T_MATCHES_RLIM64_T and add alias if defined.
8928         (__old_getrlimit64): Add compatibility symbol.
8929         * sysdeps/unix/sysv/linux/setrlimit64.c (__setrlimit): Likewise.
8931 2016-11-17  Joseph Myers  <joseph@codesourcery.com>
8933         * scripts/build-many-glibcs.py (Config.build_gcc): Configure with
8934         newly built gmp, mpfr and mpc.
8936         * sysdeps/unix/sysv/linux/alpha/sys/user.h: Include <stddef.h>.
8938 2016-11-16  Joseph Myers  <joseph@codesourcery.com>
8940         * conform/Makefile (linknamespace-libs): Rename to
8941         linknamespace-libs-thr.
8942         (linknamespace-libs-posix): New variable.
8943         (linknamespace-libs-xsi): Likewise.
8944         (linknamespace-libs-XPG3): Include libcrypt.a.
8945         (linknamespace-libs-XPG4): Use $(linknamespace-libs-XPG3).
8946         (linknamespace-libs-POSIX): Use $(linknamespace-libs-thr).
8947         (linknamespace-libs-UNIX98): Use $(linknamespace-libs-xsi).
8948         (linknamespace-libs-XOPEN2K): Likewise.
8949         (linknamespace-libs-XOPEN2K8): Likewise.
8950         (linknamespace-libs-POSIX2008): Use $(linknamespace-libs-posix).
8952         [BZ #20829]
8953         * stdio-common/Versions (__snprintf): Add to version
8954         GLIBC_PRIVATE.
8955         * include/stdio.h (__snprintf): Use libc_hidden_proto.
8956         * stdio-common/snprintf.c (__snprintf): Use libc_hidden_def.
8957         * crypt/sha256-crypt.c (__sha256_crypt_r): Use __snprintf instead
8958         of snprintf.
8959         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
8961 2016-11-16  Zack Weinberg  <zackw@panix.com>
8963         * string/string.h: Remove obsolete comment stating that
8964         strcoll_l and strxfrm_l have not yet been standardized.
8966 2016-11-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8968         * hurd/hurd.h (__hurd_fail_noerrno): New function.
8969         * include/unistd.h [IS_IN (rtld) || !defined SHARED]: Declare
8970         __access_noerrno.
8971         * io/access.c (__access_noerrno): New function.
8972         * sysdeps/mach/hurd/access.c (hurd_fail_seterrno): New function.
8973         (hurd_fail_seterrno): Likewise.
8974         (access_common): Likewise.
8975         (__access_noerrno): Likewise.
8976         * sysdeps/nacl/access.c (__access_noerrno): Likewise.
8977         * sysdeps/unix/sysv/linux/access.c (__access_noerrno): Likewise.
8978         * sysdeps/nacl/nacl-interfaces.h (NACL_CALL_NOERRNO): New
8979         macro.
8981 2016-11-16  Joseph Myers  <joseph@codesourcery.com>
8983         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h (register_dump):
8984         Only declare fpregs if [__SH_FPU_ANY__].
8986 2016-11-15  Joseph Myers  <joseph@codesourcery.com>
8988         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h [__SH4__ || __SH4A__]:
8989         Make code unconditional.
8990         [!(__SH4__ || __SH4A__)]: Remove conditional code.
8992 2016-11-15  Rical Jasan  <ricaljasan@pacific.net>
8994         * manual/sysinfo.texi (S_APPEND): Delete.
8995         (S_IMMUTABLE): Likewise.
8997 2016-11-15  Denis Kaganovich  <mahatma@eu.by>
8998             Magnus Granberg  <zorry@gentoo.org>
8999             Mike Frysinger  <vapier@gentoo.org>
9001         [BZ #20662]
9002         * configure.ac (libc_cv_predef_stack_protector): Also check for
9003         __stack_chk_fail_local symbols.
9004         * configure: Regenerated.
9006 2016-11-15  Florian Weimer  <fweimer@redhat.com>
9008         * sysdeps/s390/s390-64/setjmp.S (NEED_COMPAT_SYMBOLS): New macro.
9009         (libc_hidden_def): Remove redefinition.
9010         (__sigsetjmp): Add hidden definition.
9011         * sysdeps/s390/s390-32/setjmp.S (NEED_COMPAT_SYMBOLS): New macro.
9012         (libc_hidden_def): Remove redefinition.
9013         (__sigsetjmp): Add hidden definition.
9015 2016-11-14  Joseph Myers  <joseph@codesourcery.com>
9017         * scripts/build-many-glibcs.py (os.path): Do not import.
9018         (Context): Inherit explicitly from object.  Remove blank line
9019         between class and docstring.
9020         (Config): Likewise.
9021         (Glibc): Likewise.
9022         (Command): Likewise.
9023         (CommandList): Likewise.
9024         (Context.write_files): Store chmod mode in a variable.
9026         * sysdeps/unix/sysv/linux/tile/tilegx/configure.ac: Use
9027         LIBC_SLIBDIR_RTLDDIR for tilegx32.
9028         * sysdeps/unix/sysv/linux/tile/tilegx/configure: Regenerated.
9030 2016-11-14  Zack Weinberg  <zackw@panix.com>
9032         * sunrpc/Makefile (rpcgen-tests): Delete the .out file before
9033         creating or re-creating it.
9035         * string/bits/string2.h: Fix typo in comment.
9037 2016-11-14  Zack Weinberg  <zackw@panix.com>
9039         * misc/sys/sysmacros.h (__SYSMACROS_DM, __SYSMACROS_DM1): New macros.
9040         (__SYSMACROS_DEPRECATION_MSG, __SYSMACROS_FST_DECL_TEMPL)
9041         (__SYSMACROS_FST_IMPL_TEMPL): Delete.
9042         (major, minor, makedev): Use __SYSMACROS_DM in definition, instead
9043         of redirected function names.
9045         * misc/sys/cdefs.h (__glibc_macro_warning): Activate for clang >= 3.5
9046         as well.  Document that MESSAGE must be a single string literal.
9048 2016-11-11  Joseph Myers  <joseph@codesourcery.com>
9050         * scripts/build-many-glibcs.py: New file.
9052         * stdlib/bug-getcontext.c: Include <libc-internal.h>.
9053         (do_test): Disable -Wmaybe-uninitialized around uses of
9054         except_mask.
9056         * sysdeps/unix/sysv/linux/sh/sys/user.h: Include <stddef.h>.
9058 2016-11-10  Chris Metcalf  <cmetcalf@mellanox.com>
9060         * sysdeps/tile/tilepro/atomic-machine.h (atomic_store_relaxed)
9061         (atomic_store_release): Provide tilepro-specific implementations.
9063 2016-11-10  Joseph Myers  <joseph@codesourcery.com>
9065         * math/math.h (__MATH_TG): New macro.
9066         [__USE_ISOC99] (fpclassify): Define using __MATH_TG.
9067         [__USE_ISOC99] (signbit): Likewise.
9068         [__USE_ISOC99] (isfinite): Likewise.
9069         [__USE_ISOC99] (isnan): Likewise.
9070         [__USE_ISOC99] (isinf): Likewise.
9071         [__GLIBC_USE (IEC_60559_BFP_EXT)] (issignaling): Likewise.
9072         [__GLIBC_USE (IEC_60559_BFP_EXT)] (__MATH_EVAL_FMT2): New macro.
9073         [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): Define using
9074         __MATH_TG and __MATH_EVAL_FMT2.
9075         * sysdeps/generic/math_private.h (fabs_tg): Define using
9076         __MATH_TG.
9077         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h
9078         [!__NO_LONG_DOUBLE_MATH] (__iscanonicalf): New macro.
9079         [!__NO_LONG_DOUBLE_MATH] (__iscanonical): Likewise.
9080         [!__NO_LONG_DOUBLE_MATH] (iscanonical): Define using __MATH_TG.
9081         * sysdeps/ieee754/ldbl-96/bits/iscanonical.h (__iscanonicalf): New
9082         macro.
9083         (__iscanonical): Likewise.
9084         (iscanonical): Define using __MATH_TG.
9086 2016-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9088         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Add include
9089         guards.
9091         * sysdeps/unix/sysv/linux/access.c: New file.
9092         * sysdeps/unix/sysv/linux/generic/access.c: Remove file.
9094 2016-11-10  Steve Ellcey  <sellcey@caviumnetworks.com>
9096         * sysdeps/tile/tilepro/bits/wordsize.h: Define __WORDSIZE32_SIZE_ULONG
9097         and __WORDSIZE32_PTRDIFF_LONG.
9099 2016-11-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
9101         * sysdeps/aarch64/libm-test-ulps: Regenerated.
9103 2016-11-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9105         * sysdeps/unix/sysv/linux/arm/truncate64.c: Remove file.
9106         * sysdeps/unix/sysv/linux/generic/wordsize-32/truncate.c: Likewise.
9107         * sysdeps/sysv/linux/generic/wordsize-32/truncate64.c: Likewise.
9108         * sysdeps/unix/sysv/linux/mips/mips32/truncate64.c: Likewise.
9109         * sysdeps/unix/sysv/linux/mips/mips64/truncate64.c: Likewise.
9110         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Likewise.
9111         * sysdeps/unix/sysv/linux/wordsize-64/truncate64.c: Likewise.
9112         * sysdeps/unix/sysv/linux/truncate.c: New file.
9113         * sysdeps/unix/sysv/linux/truncate64.c (truncate64): Use
9114         INLINE_SYSCALL_CALL, __ALIGNMENT_ARG and SYSCALL_LL64 macros.
9115         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (truncate):
9116         Remove.
9117         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (truncate):
9118         Likewise.
9120         * posix/tst-truncate-common.c: New file.
9121         * posix/tst-truncate.c: Use tst-truncate-common.c.
9122         * posix/tst-truncate64.c: Likewise and add LFS tests.
9123         * sysdeps/unix/sysv/linux/arm/ftruncate64.c: Remove file.
9124         * sysdeps/unix/sysv/linux/generic/wordsize-32/ftruncate.c: Likewise.
9125         * sysdeps/unix/sysv/linux/generic/wordsize-32/ftruncate64.c: Likewise.
9126         * sysdeps/unix/sysv/linux/mips/mips32/ftruncate64.c: Likewise.
9127         * sysdeps/unix/sysv/linux/mips/mips64/ftruncate64.c: Likewise.
9128         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Likewise.
9129         * sysdeps/unix/sysv/linux/wordsize-64/ftruncate64.c: Likewise.
9130         * sysdeps/unix/sysv/linux/ftruncate.c: New file.
9131         * sysdeps/unix/sysv/linux/ftruncate64.c (__ftruncate64): Use
9132         INLINE_SYSCALL_CALL, __ALIGNMENT_ARG and SYSCALL_LL64 macros.
9133         [__OFF_T_MATCHES_OFF64_T] (ftruncate): Add alias.
9134         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (ftruncate):
9135         Remove.
9136         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (ftruncate):
9137         Likewise.
9139 2016-11-08  Joseph Myers  <joseph@codesourcery.com>
9141         [BZ #20790]
9142         * sunrpc/rpc_parse.c (get_prog_declaration): Increase buffer size
9143         to MAXLINESIZE.
9144         * sunrpc/bug20790.x: New file.
9145         * sunrpc/Makefile [$(run-built-tests) = yes] (rpcgen-tests): New
9146         variable.
9147         [$(run-built-tests) = yes] (tests-special): Add $(rpcgen-tests).
9148         [$(run-built-tests) = yes] ($(rpcgen-tests)): New rule.
9150         * sysdeps/unix/sysv/linux/sh/localplt.data: New file.
9152         * sysdeps/unix/sysv/linux/hppa/localplt.data: New file.
9154         * sysdeps/unix/sysv/linux/alpha/localplt.data: Make __tls_get_addr
9155         optional in ld.so.  Allow R_ALPHA_GLOB_DAT relocation for malloc,
9156         calloc, realloc, free, memalign and __libc_memalign rather than
9157         making them optional.
9159         * sysdeps/unix/sysv/linux/nios2/localplt.data: Add __extendsfdf2
9160         for libc.so.
9162 2016-11-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9164         * nptl/Makefile (libpthread-routines): Remove ptw-llseek and add
9165         ptw-lseek64.
9166         * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Remove llseek.
9167         * sysdeps/unix/sysv/linux/alpha/Makefile  (sysdeps_routines):
9168         Likewise.
9169         * sysdeps/unix/sysv/linux/generic/wordsize-32/llseek.c: Remove file.
9170         * sysdeps/unix/sysv/linux/generic/wordsize-32/lseek.c: Remove file.
9171         * sysdeps/unix/sysv/linux/mips/mips64/llseek.c: Likewise.
9172         * sysdeps/unix/sysv/linux/llseek.c: Remove file.
9173         * sysdeps/unix/sysv/linux/lseek.c: New file.
9174         * sysdeps/unix/sysv/linux/lseek64.c: Add default Linux implementation.
9175         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list: Remove lseek and
9176         __libc_lseek64 from auto-generation.
9177         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
9178         * sysdeps/unix/sysv/linux/x86_64/x32/lseek64.S: New file.
9180 2016-11-07  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
9182         * nptl/tst-basic1.c (tf, do_test): Use write_message.
9183         * nptl/tst-cleanup1.c (do_test): Likewise.
9184         * nptl/tst-cleanup3.c (do_test): Likewise.
9185         * nptl/tst-key1.c (do_test): Likewise.
9186         * nptl/tst-key2.c (tf, do_test): Likewise.
9187         * nptl/tst-key3.c (tf, do_test): Likewise.
9188         * nptl/tst-stdio1.c (do_test): Likewise.
9189         * nptl/tst-stdio2.c (do_test): Likewise.
9191         * nptl/tst-kill3.c (handler): Use write_message in place of write.
9192         * nptl/tst-kill6.c (handler): Likewise.
9193         * nptl/tst-tls2.c (CB): Likewise.
9194         * nptl/tst-tls3.c (CB): Likewise.
9196 2016-11-07  Joseph Myers  <joseph@codesourcery.com>
9198         * scripts/check-installed-headers.sh: Ignore sys/sysctl.h for x32.
9200 2016-11-07  Yury Norov  <ynorov@caviumnetworks.com>
9201             Steve Ellcey  <sellcey@caviumnetworks.com>
9203         * sysdeps/unix/sysv/linux/alpha/kernel-features.h: #define
9204           __ASSUME_ST_INO_64_BIT as 0
9205         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Likewise.
9206         * sysdeps/unix/sysv/linux/fxstat64.c: Replace #ifdef with #if
9207           over the code where __ASSUME_ST_INO_64_BIT is used.
9208         * sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
9209         * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
9210         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
9212 2016-11-07  Florian Weimer  <fweimer@redhat.com>
9214         * sysdeps/aarch64/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
9215         Document ABI exposure of the __kind offset.
9216         * sysdeps/arm/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
9217         Mention reason for the __kind offset exposure in the ABI.
9218         * sysdeps/hppa/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
9219         Likewise.
9220         * sysdeps/ia64/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
9221         Likewise.
9222         * sysdeps/m68k/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
9223         Likewise.
9224         * sysdeps/microblaze/nptl/bits/pthreadtypes.h
9225         (struct __pthread_mutex_s): Likewise.
9226         * sysdeps/mips/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
9227         Likewise.
9228         * sysdeps/nios2/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
9229         Likewise.
9230         * sysdeps/s390/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
9231         Likewise.
9232         * sysdeps/sh/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
9233         Likewise.
9234         * sysdeps/sparc/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
9235         Likewise.
9236         * sysdeps/tile/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
9237         Likewise.
9238         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h
9239         (struct __pthread_mutex_s): Likewise.
9240         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
9241         (struct __pthread_mutex_s): Likewise.
9242         * sysdeps/x86/bits/pthreadtypes.h (struct __pthread_mutex_s):
9243         Likewise.
9245 2016-11-07  Steve Ellcey  <sellcey@caviumnetworks.com>
9247         * test-skeleton.c: Document do_test usage.
9249 2016-11-06  Aurelien Jarno  <aurelien@aurel32.net>
9251         * iconv/gconv.h (__gconv_info): Define __data element using a
9252         zero-length array.
9254 2016-11-04  Steve Ellcey  <sellcey@caviumnetworks.com>
9256         * math/test-tgmath2.c: Split up test function.
9258 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
9260         * Rules (tests-expected): New variable, depending on
9261         $(run-built-tests).
9262         (tests): Pass $(tests-expected) to merge-test-results.sh, not
9263         $(tests).
9265         * Rules [$(run-built-tests) = no] (tests): Do not depend on
9266         $(tests-unsupported).
9268 2016-11-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9270         * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h
9271         (__WORDSIZE_TIME64_COMPAT32): Define for both 32 and  64 bits.
9273 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
9275         [BZ #20768]
9276         * sysdeps/alpha/fpu/feholdexcpt.c (__feholdexcept): Call
9277         __fegetenv instead of fegetenv.
9279         [BZ #14139]
9280         * manual/libm-err-tab.pl (%pplatforms): Initialize to empty.
9281         (find_files): Obtain platform name from libm-test-ulps-name and
9282         store in %pplatforms.
9283         (canonicalize_platform): Remove.
9284         (print_platforms): Use $pplatforms directly.
9285         (by_platforms): Do not allow for platforms missing from
9286         %pplatforms.
9287         * sysdeps/aarch64/libm-test-ulps-name: New file.
9288         * sysdeps/alpha/fpu/libm-test-ulps-name: Likewise.
9289         * sysdeps/arm/libm-test-ulps-name: Likewise.
9290         * sysdeps/generic/libm-test-ulps-name: Likewise.
9291         * sysdeps/hppa/fpu/libm-test-ulps-name: Likewise.
9292         * sysdeps/i386/fpu/libm-test-ulps-name: Likewise.
9293         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps-name: Likewise.
9294         * sysdeps/ia64/fpu/libm-test-ulps-name: Likewise.
9295         * sysdeps/m68k/coldfire/fpu/libm-test-ulps-name: Likewise.
9296         * sysdeps/m68k/m680x0/fpu/libm-test-ulps-name: Likewise.
9297         * sysdeps/microblaze/libm-test-ulps-name: Likewise.
9298         * sysdeps/mips/mips32/libm-test-ulps-name: Likewise.
9299         * sysdeps/mips/mips64/libm-test-ulps-name: Likewise.
9300         * sysdeps/nios2/libm-test-ulps-name: Likewise.
9301         * sysdeps/powerpc/fpu/libm-test-ulps-name: Likewise.
9302         * sysdeps/powerpc/nofpu/libm-test-ulps-name: Likewise.
9303         * sysdeps/s390/fpu/libm-test-ulps-name: Likewise.
9304         * sysdeps/sh/libm-test-ulps-name: Likewise.
9305         * sysdeps/sparc/fpu/libm-test-ulps-name: Likewise.
9306         * sysdeps/tile/libm-test-ulps-name: Likewise.
9307         * sysdeps/x86_64/fpu/libm-test-ulps-name: Likewise.
9309         * sysdeps/unix/sysv/linux/mips/sys/user.h: Include <stddef.h>.
9311         * sysdeps/unix/sysv/linux/mips/Makefile [$(subdir) = elf]
9312         (test-xfail-check-execstack): New variable.
9314         * sysdeps/mips/localplt.data: New file.
9316 2016-11-04  Yury Norov  <ynorov@caviumnetworks.com>
9317             Steve Ellcey  <sellcey@caviumnetworks.com>
9319         * bits/wordsize.h: Add documentation.
9320         * sysdeps/aarch64/bits/wordsize.h : New file
9321         * sysdeps/generic/stdint.h (PTRDIFF_MIN, PTRDIFF_MAX): Update
9322         definitions.
9323         (SIZE_MAX): Change ifdef to if in __WORDSIZE32_SIZE_ULONG check.
9324         * sysdeps/gnu/bits/utmp.h (__WORDSIZE_TIME64_COMPAT32): Check
9325         with #if instead of #ifdef.
9326         * sysdeps/gnu/bits/utmpx.h (__WORDSIZE_TIME64_COMPAT32): Ditto.
9327         * sysdeps/mips/bits/wordsize.h (__WORDSIZE32_SIZE_ULONG,
9328         __WORDSIZE32_PTRDIFF_LONG, __WORDSIZE_TIME64_COMPAT32):
9329         Add or change defines.
9330         * sysdeps/powerpc/powerpc32/bits/wordsize.h: Likewise.
9331         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
9332         * sysdeps/s390/s390-32/bits/wordsize.h: Likewise.
9333         * sysdeps/s390/s390-64/bits/wordsize.h: Likewise.
9334         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
9335         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
9336         * sysdeps/tile/tilegx/bits/wordsize.h: Likewise.
9337         * sysdeps/tile/tilepro/bits/wordsize.h: Likewise.
9338         * sysdeps/unix/sysv/linux/alpha/bits/wordsize.h: Likewise.
9339         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
9340         * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h: Likewise.
9341         * sysdeps/wordsize-32/bits/wordsize.h: Likewise.
9342         * sysdeps/wordsize-64/bits/wordsize.h: Likewise.
9343         * sysdeps/x86/bits/wordsize.h: Likewise.
9345 2016-11-04  Wilco Dijkstra  <wdijkstr@arm.com>
9346             Kevin Petit  <kevin.petit@arm.com>
9348         * sysdeps/aarch64/memchr.S (__memchr): New file.
9350 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
9352         * sysdeps/tile/preconfigure: Accept tilegx* instead of tilegx.
9354 2016-11-03  Joseph Myers  <joseph@codesourcery.com>
9356         [BZ #19398]
9357         * conform/Makefile ($(linknamespace-header-tests)): Also depend on
9358         $(linknamespace-symlists-tests).
9360 2016-11-02  Steve Ellcey  <sellcey@caviumnetworks.com>
9362         * time/tst-strptime2.c: Ignore -Wformat-length warning.
9364 2016-11-02  Florian Weimer  <fweimer@redhat.com>
9365             Carlos O'Donell  <carlos@redhat.com>
9367         [Bug #20729]
9368         * resolv/res_send.c (send_vc): Revert DIAG_IGNORE_Os_NEEDS_COMMENT
9369         change to non -Os related diagnostic.  Use DIAG_IGNORE_Os_NEEDS_COMMENT
9370         for -Os related change.
9372 2016-11-01  Steve Ellcey  <sellcey@caviumnetworks.com>
9374         * stdio-common/tst-printf.c: Ignore -Wformat-length warning.
9376 2016-11-01  Joseph Myers  <joseph@codesourcery.com>
9378         [BZ #19673]
9379         * manual/math.texi (Exponents and Logarithms): Correct description
9380         of clog10.
9382 2016-10-31  Carlos O'Donell  <carlos@redhat.com>
9384         [Bz #20729]
9385         * locale/weight.h: Include libc-internal.h.
9386         * locale/weightwc.h: Likewise.
9387         * nptl/nptl_dbP.h: Likewise.
9389 2016-10-31  Brent W. Baccala  <cosine@freesoft.org>
9391         * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Do not deallocate memobj_wr
9392         when it is MACH_PORT_NULL.
9394 2016-10-31  Andreas Schwab  <schwab@suse.de>
9396         [BZ #20707]
9397         * posix/glob.c (glob): Initialize pglob before checking for
9398         GLOB_BRACE.  Don't call glob recursively if pattern contains no
9399         valid brace expression despite GLOB_BRACE.
9400         * posix/globtest.sh: Test it.
9402 2016-10-28  Carlos O'Donell  <carlos@redhat.com>
9404         [BZ #20729]
9405         * include/libc-internal.h (DIAG_IGNORE_Os_NEEDS_COMMENT):
9406         Define.
9407         * iconvdata/iso-2022-cn-ext.c: Include libc-internal.h and ignore
9408         -Wmaybe-uninitialized for BODY macro only for -Os compiles.
9409         * locale/weight.h (findix): Ignore -Wmaybe-uninitialized error
9410         for seq2.back_us and seq1.back_us only for -Os compiles.
9411         * locale/weightwc.h (findix): Likewise.
9412         * nptl_db/thread_dbP.h: Ignore -Wmaybe-uninitialized error for
9413         DB_GET_FIELD_ADDRESS only for -Os compiles.
9414         * resolv/res_send (reopen): Ignore -Wmaybe-uninitialized error
9415         for slen only for -Os compiles.
9416         * string/strcoll_l.c (get_next_seq): Ignore
9417         -Wmaybe-uninitialized for seq2.save_idx and seq1.save_idx only
9418         for -Os compiles.
9420         * elf/Makefile (CFALGS-tst-linkall-static): Remove.
9421         * include/crypt.h: New file.
9423 2016-10-28  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
9425         * dlfcn/bug-atexit3-lib.cc (write_message): New function, copied
9426         from test-skeleton.c.
9427         (statclass): Replace calls to write with calls to write_message.
9429 2016-10-28  Joseph Myers  <joseph@codesourcery.com>
9431         * math/math.h
9432         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNANF):
9433         New macro.
9434         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNAN):
9435         Likewise.
9436         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNANL):
9437         Likewise.
9438         * manual/arith.texi (Infinity and NaN): Document SNANF, SNAN and
9439         SNANL.
9440         * math/test-double.h (snan_value_MACRO): New macro.
9441         * math/test-float.h (snan_value_MACRO): Likewise.
9442         * math/test-ldouble.h (snan_value_MACRO): Likewise.
9443         * math/libm-test.inc (issignaling_test_data): Add tests of
9444         snan_value_MACRO.
9446 2016-10-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
9448         * nptl/pthread_rwlock_unlock.c: Add a comment explaining its
9449         behavior when eliding a lock not held by the current thread.
9450         * sysdeps/powerpc/nptl/elide.h: Likewise.
9452 2016-10-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
9454         [BZ #20728]
9455         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Replace a
9456         branch to _exit() by a function call.
9458 2016-10-28  Florian Weimer  <fweimer@redhat.com>
9460         * malloc/malloc.c: Update chunk layout comments.
9461         (chunk_main_arena): Update comment.
9463 2016-10-28  Florian Weimer  <fweimer@redhat.com>
9465         * crypt/sha256.c, crypt/sha256-block.c,
9466         sysdeps/sparc/sparc64/multiarch/sha256-block.c: Rename
9467         sha256_process_block to __sha256_process_block.
9468         * crypt/sha512.c, crypt/sha512-block.c,
9469         sysdeps/sparc/sparc64/multiarch/sha512-block.c: Rename
9470         sha512_process_block to __sha512_process_block.
9472 2016-10-28  Carlos O'Donell  <carlos@redhat.com>
9474         * elf/Makefile (CFLAGS-tst-linkall-static): Define.
9476         * math/test-nan-overflow.c: Include stdlib.h for malloc.
9478 2016-10-28  H.J. Lu  <hongjiu.lu@intel.com>
9480         [BZ #20019]
9481         * sysdeps/i386/dl-machine.h (elf_machine_rel): Check IFUNC
9482         definition in unrelocated shared library.
9483         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
9485 2016-10-28  Florian Weimer  <fweimer@redhat.com>
9487         [BZ #20729]
9488         Support i386 builds with CFLAGS which imply -fno-omit-frame-pointer.
9489         * sysdeps/unix/sysv/linux/i386/Makefile
9490         (uses-6-syscall-arguments): Define.
9491         [subdir == misc] (CFLAGS-epoll_pwait.o, CFLAGS-epoll_pwait.os)
9492         (CFLAGS-mmap.o, CFLAGS-mmap.os, CFLAGS-mmap64.o, CFLAGS-mmap64.os)
9493         (CFLAGS-pselect.o, CFLAGS-pselect.os, CFLAGS-rtld-mmap.os): Use it.
9494         [subdir = sysvipc] (CFLAGS-semtimedop.o, CFLAGS-semtimedop.os):
9495         Likewise.
9496         [subdir = io] (CFLAGS-posix_fadvise64.o, CFLAGS-posix_fadvise64.os)
9497         (CFLAGS-posix_fallocate.o, CFLAGS-posix_fallocate.os)
9498         (CFLAGS-posix_fallocate64.o, CFLAGS-posix_fallocate64.os)
9499         (CFLAGS-sync_file_range.o, CFLAGS-sync_file_range.os)
9500         (CFLAGS-fallocate.o, CFLAGS-fallocate.os, CFLAGS-fallocate64.o)
9501         (CFLAGS-fallocate64.os): Likewise.
9502         [subdir = nptl] (CFLAGS-pthread_rwlock_timedrdlock.o)
9503         (CFLAGS-pthread_rwlock_timedrdlock.os)
9504         (CFLAGS-pthread_rwlock_timedwrlock.o)
9505         (CFLAGS-pthread_rwlock_timedwrlock.os, CFLAGS-sem_wait.o)
9506         (CFLAGS-sem_wait.os, CFLAGS-sem_timedwait.o)
9507         (CFLAGS-sem_timedwait.os): Likewise.
9509 2016-10-28  Florian Weimer  <fweimer@redhat.com>
9511         * elf/tst-linkall-static.c: New file.
9512         * elf/Makefile (tests-static): Add tst-linkall-static.
9513         (tst-linkall-static): Link against static libraries.
9515 2016-10-27  Florian Weimer  <fweimer@redhat.com>
9517         * malloc/malloc.c (sysmalloc): Initialize previous size field of
9518         mmaped chunks.
9520 2016-10-28  Florian Weimer  <fweimer@redhat.com>
9522         * malloc/malloc.c (struct malloc_chunk): Rename prev_size, size
9523         members to mchunk_prev_size, mchunk_size.
9524         (chunk_main_arena): Reverse sense and rename from
9525         chunk_non_main_arena.
9526         (prev_inuse, chunk_is_mmapped, chunk_main_arena): Use
9527         mchunk_size instead of size.
9528         (set_non_main_arena): Define.
9529         (chunksize): Use chunksize_nomask instead of direct member access.
9530         (chunksize_nomask): Define.
9531         (next_chunk): Use chunksize instead of direct member access.
9532         (prev_size, set_prev_size): Define.
9533         (prev_chunk): Use prev_size instead of direct member access.
9534         (inuse, set_inuse, clear_inuse): Use chunksize and mchunk_size member.
9535         (inuse_bit_at_offset, set_inuse_bit_at_offset)
9536         (clear_inuse_bit_at_offset): Use mchunk_size member instead of size.
9537         (mchunk_prev_size, mchunk_size): Poison tokens.
9538         (unlink): Use chunksize_nomask, prev_size accessors.
9539         (do_check_remalloced_chunk): Use chunk_main_arena accessor.
9540         (do_check_free_chunk): Use prev_size accessor.
9541         (sysmalloc): Use set_prev_size, set_head accessors.
9542         (munmap_chunk, mremap_chunk): Use prev_size accessor.
9543         (__libc_free): Use chunksize_nomask accessor.
9544         (_int_malloc): Use set_non_main_arena, chunksize_nomask,
9545         chunk_main_arena accessors.
9546         (_int_free): Use chunksize_nomask, prev_size accessors.
9547         (malloc_consolidate): Use chunksize, prev_size accessors.
9548         (_int_realloc): Use chunksize_nomask accessor.
9549         (_int_memalign): Use set_prev_size accessor.
9550         (__malloc_info): Use chunksize_nomask accessor.
9551         * malloc/hooks.c (mem2chunk_check): Use prev_size, prev_inuse
9552         accessors.
9553         * malloc/arena.c (arena_for_chunk): Use chunk_main_arena accessor.
9554         (heap_trim): Use chunksize_nomask, prev_size accessors.
9556 2016-10-28  Joseph Myers  <joseph@codesourcery.com>
9558         [BZ #19380]
9559         * stdlib/strtod_l.c (round_and_return): Force "inexact" exception
9560         for inexact results.
9561         * stdlib/gen-tst-strtod-round.c (string_to_fp): Return indication
9562         of inexact result where mpfr_subnormalize is the only inexact
9563         step.
9564         * stdlib/tst-strtod-round-data.h: Regenerated.
9565         * stdlib/tst-strtod-round-skeleton.c [!FE_INEXACT] (FE_INEXACT):
9566         Define to 0.
9567         (GEN_ONE_TEST): Test inexact exceptions raised are as expected.
9569 2016-10-27  David S. Miller  <davem@davemloft.net>
9571         * sysdeps/unix/sysv/linux/sparc/sys/user.h: Include stddef.h
9573 2016-10-27  Siddhesh Poyarekar  <siddhesh@sourceware.org>
9575         * malloc/malloc.c (do_set_mallopt_check): New function.
9576         (do_set_mmap_threshold): Likewise.
9577         (do_set_mmaps_max): Likewise.
9578         (do_set_top_pad): Likewise.
9579         (do_set_perturb_byte): Likewise.
9580         (do_set_trim_threshold): Likewise.
9581         (do_set_arena_max): Likewise.
9582         (do_set_arena_test): Likewise.
9583         (__libc_mallopt): Use them.
9585 2016-10-26  Joseph Myers  <joseph@codesourcery.com>
9587         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
9588         (canonicalize): New declaration.
9589         * math/Versions (canonicalize): New libm symbol at version
9590         GLIBC_2.25.
9591         (canonicalizef): Likewise.
9592         (canonicalizel): Likewise.
9593         * math/Makefile (gen-libm-calls): Add s_canonicalizeF.
9594         * math/s_canonicalize_template.c: New file.
9595         * math/libm-test.inc: Update comment on functions tested and
9596         testing of NaN payloads.
9597         (TEST_NAN_PAYLOAD): New macro.
9598         (NO_TEST_INLINE): Update value.
9599         (XFAIL_TEST): Likewise.
9600         (ERRNO_UNCHANGED): Likewise.
9601         (ERRNO_EDOM): Likewise.
9602         (ERRNO_ERANGE): Likewise.
9603         (IGNORE_RESULT): Likewise.
9604         (NON_FINITE): Likewise.
9605         (TEST_SNAN): Likewise.
9606         (NO_TEST_MATHVEC): Likewise.
9607         (TEST_NAN_PAYLOAD_CANONICALIZE): New macro.
9608         (check_float_internal): Check NaN payloads if TEST_NAN_PAYLOAD.
9609         (struct test_Ffp_b1_data): New type.
9610         (RUN_TEST_Ffp_b1): New macro.
9611         (RUN_TEST_LOOP_Ffp_b1): Likewise.
9612         (canonicalize_test_data): New array.
9613         (canonicalize_test): New function.
9614         (main): Call canonicalize_test.
9615         * manual/arith.texi (FP Bit Twiddling): Document canonicalize,
9616         canonicalizef and canonicalizel.
9617         * manual/libm-err-tab.pl: Update comment on interfaces without
9618         ulps tabulated.
9619         * sysdeps/ieee754/ldbl-opt/nldbl-canonicalize.c: New file.
9620         * sysdeps/ieee754/ldbl-opt/s_canonicalizel.c: Likewise.
9621         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
9622         canonicalize.
9623         (CFLAGS-nldbl-canonicalize.c): New variable.
9624         * sysdeps/ieee754/ldbl-128ibm/test-iscanonical-ldbl-128ibm.c: Move
9625         to ...
9626         * sysdeps/ieee754/ldbl-128ibm/test-canonical-ldbl-128ibm.c:
9627         ... here.
9628         (do_test): Also test canonicalizel.
9629         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Change
9630         test-iscanonical-ldbl-128ibm to test-canonical-ldbl-128ibm.
9631         * sysdeps/ieee754/ldbl-128ibm/include/bits/iscanonical.h: New
9632         file.
9633         * sysdeps/ieee754/ldbl-128ibm/s_iscanonicall.c (__iscanonicall):
9634         Use libm_hidden_def.
9635         * sysdeps/ieee754/ldbl-96/test-iscanonical-ldbl-96.c: Move to ...
9636         * sysdeps/ieee754/ldbl-96/test-canonical-ldbl-96.c: ... here.
9637         (do_test): Also test canonicalizel.
9638         * sysdeps/ieee754/ldbl-96/Makefile (tests): Change
9639         test-iscanonical-ldbl-96 to test-canonical-ldbl-96.
9640         * sysdeps/ieee754/ldbl-96/include/bits/iscanonical.h: New file.
9641         * sysdeps/ieee754/ldbl-96/s_iscanonicall.c (__iscanonicall): Use
9642         libm_hidden_def.
9643         * sysdeps/generic/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD): New
9644         macro.
9645         * sysdeps/mips/math-tests.h [__mips_hard_float && !__mips_nan2008]
9646         (SNAN_TESTS_PRESERVE_PAYLOAD): Likewise.
9647         * sysdeps/nacl/libm.abilist: Update.
9648         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
9649         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
9650         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
9651         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
9652         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
9653         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
9654         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
9655         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
9656         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
9657         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
9658         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
9659         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
9660         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
9661         Likewise.
9662         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
9663         Likewise.
9664         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
9665         Likewise.
9666         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
9667         Likewise.
9668         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
9669         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
9670         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
9671         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
9672         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
9673         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
9674         Likewise.
9675         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
9676         Likewise.
9677         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
9678         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
9679         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
9681         * sysdeps/ieee754/ldbl-opt/nldbl-getpayload.c: New file.
9682         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
9683         getpayload.
9684         (CFLAGS-nldbl-getpayload.c): New variable.
9686 2016-10-26  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
9688         * stdio-common/vfscanf.c (_IO_vfwscanf): Use read_int to parse
9689         integer from the format string.
9691 2016-10-26  Florian Weimer  <fweimer@redhat.com>
9693         [BZ #19473]
9694         * malloc/malloc.h (malloc_get_state, malloc_set_state): Remove
9695         declarations.
9696         * malloc/malloc.c (malloc_get_state, malloc_set_state): Remove
9697         weak aliases.
9698         * malloc/hooks.c (__malloc_get_state): Remove definition.
9699         (malloc_get_state): New stub implementation as
9700         compatibility symbol.
9701         (malloc_set_state): Rename from __malloc_set_state.  Turn into
9702         compat symbol.
9703         * malloc/tst-mallocstate.c: Rewrite to approximate how Emacs uses
9704         malloc_set_state.
9705         * malloc/Makefile (LDFLAGS-tst-mallocstate): Link with -rdynamic.
9707 2016-10-26  Florian Weimer  <fweimer@redhat.com>
9709         * iconvdata/iso646.c (enum variant): Drop illegal_var.
9710         (names): Turn into concatenation of strings.
9711         (gconv_init): Adapt iteration over names.
9713 2016-10-26  Florian Weimer  <fweimer@redhat.com>
9715         * iconvdata/ibm930.h (__ucs4_to_ibm930sb): Remove indirection and
9716         make const.
9717         * iconvdata/ibm933.h (__ucs4_to_ibm933sb): Likewise.
9718         * iconvdata/ibm935.h (__ucs4_to_ibm935sb): Likewise.
9719         * iconvdata/ibm939.h (__ucs4_to_ibm939sb): Likewise.
9720         * iconvdata/ibm930.c [TO_LOOP] (BODY): Store converted single-byte
9721         character in sbconv.
9722         * iconvdata/ibm933.c [TO_LOOP] (BODY): Likewise.
9723         * iconvdata/ibm935.c [TO_LOOP] (BODY): Likewise.
9724         * iconvdata/ibm939.c [TO_LOOP] (BODY): Likewise.
9726 2016-10-26  Siddhesh Poyarekar  <siddhesh@sourceware.org>
9728         * malloc/malloc.c (M_ARENA_TEST, M_ARENA_MAX): Remove.
9730         * manual/memory.texi (M_TOP_PAD): Remove reference to sbrk.
9731         (M_TRIM_THRESHOLD): Likewise.
9733         * manual/memory.texi (M_ARENA_TEST): Add documentation.
9734         (M_ARENA_MAX): Likewise.
9735         * malloc/malloc.c: Remove obsolete comment.
9737         * manual/memory.texi: Add environment variable alternatives to
9738         setting mallopt parameters.
9740 2016-10-26  Carlos O'Donell  <carlos@redhat.com>
9742         * include/atomic.h
9743         [USE_COMPILER_ATOMIC_BUILTINS && !atomic_fetch_xor_release]
9744         (atomic_fetch_xor_release): Use atomic_compare_exchange_weak_release.
9746 2016-10-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
9748         * stdlib/Makefile (tests): Add tst-strfrom and tst-strfrom-locale.
9749         * stdlib/tst-strfrom.h: New file.
9750         * stdlib/tst-strfrom.c: New file.
9751         * stdlib/tst-strfrom-locale.c: New file.
9753         * stdlib/bug-strtod.c: Refactor based on GEN_TEST_STRTOD_FOREACH.
9754         * stdlib/bug-strtod2.c: Likewise.
9755         * stdlib/tst-strtod-round-skeleton.c: Likewise.
9756         * stdlib/tst-strtod6.c: Likewise.
9757         * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH): Use strfrom.
9759 2016-10-25  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
9761         * NEWS: Mention the addition of strfromd, strfromf, and strfroml.
9762         * manual/arith.texi: Document strfromd, strfromf, strfroml.
9763         * stdlib/Makefile: Add strfromd, strfromf, and strfroml.
9764         * stdlib/Versions (GLIBC_2.25): Add strfromd, strfromf, and strfroml.
9765         * stdlib/stdlib.h (strfromd): New declaration.
9766         (strfromf): Likewise.
9767         (strfroml): Likewise.
9768         * stdlib/strfrom-skeleton.c: New file.  Generic implementation for
9769         strfrom.
9770         * stdlib/strfromd.c: New file.
9771         * stdlib/strfromf.c: Likewise.
9772         * stdlib/strfroml.c: Likewise.
9773         * stdlib/bits/stdlib-ldbl.h: Add redirection from strfroml to strfromd.
9774         * sysdeps/ieee754/ldbl-opt/Makefile: Add rule for nldbl-strfroml.c.
9775         * sysdeps/ieee754/ldbl-opt/nldbl-strfroml.c: New file;
9776         * sysdeps/arm/nacl/libc.abilist: Update.
9777         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
9778         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
9779         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
9780         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
9781         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
9782         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
9783         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
9784         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
9785         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
9786         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
9787         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
9788         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
9789         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
9790         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
9791         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise.
9792         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
9793         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
9794         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
9795         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
9796         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
9797         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
9798         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
9799         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
9800         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
9801         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
9802         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
9803         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
9804         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
9806 2016-10-25  Joseph Myers  <joseph@codesourcery.com>
9808         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Use cmplwi
9809         instead of cmpli.
9810         * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Use cmpldi
9811         instead of cmpli.
9813 2016-10-24  Yury Norov  <ynorov@caviumnetworks.com>
9815         * sysdeps/unix/sysv/linux/fxstat.c: Remove useless cast.
9816         * sysdeps/unix/sysv/linux/lxstat.c: Likewise.
9817         * sysdeps/unix/sysv/linux/xstat.c: Likewise.
9818         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
9819         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
9820         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
9822 2016-10-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9824         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Use SYSCALL_LL_PRW.
9825         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
9826         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Use
9827         SYSCALL_LL64_PRW.
9828         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
9829         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Define
9830         __ASSUME_PRW_DUMMY_ARG.
9831         * sysdeps/unix/sysv/linux/sh/pread.c: Remove file.
9832         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
9833         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
9834         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
9835         * sysdeps/unix/sysv/linux/sysdep.h: Define SYSCALL_LL_PRW and
9836         SYSCALL_LL_PRW64 based on __ASSUME_PRW_DUMMY_ARG.
9838 2016-10-24  Steve Ellcey  <sellcey@caviumnetworks.com>
9840         * sysdeps/unix/sysv/linux/tst-setgetname.c: Increase buffer size.
9842 2016-10-22  Florian Weimer  <fweimer@redhat.com>
9844         * math/math.h [__cplusplus] (iszero): Wrap C++ bits in extern
9845         "C++", to override a potential extern "C" directive around the
9846         header file inclusion.
9848 2016-10-21  Joseph Myers  <joseph@codesourcery.com>
9850         * benchtests/Makefile (CFLAGS-bench-sqrt.c): New variable.
9852 2016-10-21  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9854         * sysdeps/powerpc/fpu/fenv_private.h:
9855         (_FPU_MASK_ALL): Rename to...
9856         (_FPU_ALL_TRAPS): New macro representing ISA VE OE UE ZE and
9857         XE FPSCR bits.
9859         (_FPU_MASK_RN): New macro to mask out ISA RN bits in FPSCR.
9861         (_FPU_MASK_ROUNDING): Rename to...
9862         (_FPU_MASK_NOT_RN_NI): New macro to mask out all but ISA RN and
9863         NI bits.
9865         (_FPU_MASK_EXCEPT_ROUND): Rename to...
9866         (_FPU_MASK_TRAPS_RN): New macro to mask out exception enable
9867         bits and rounding bits.
9869         (__libc_feholdbits_ppc): New inline function to mask, set,
9870         and pontentially clear FSPCR bits, and change MSR[FE] bits.
9871         (libc_feholdexcept_ppc): Redefine using __libc_feholdbits_ppc.
9872         (libc_feholdexcept_setround_ppc): Likewise.
9874         (__libc_femergeenv_ppc): New function to dynamically mask both
9875         old and new FP environments and merge.
9876         (libc_fesetenv_ppc): Redefine in terms of __libc_femergeenv_ppc.
9877         (libc_feresetround_ppc): Likewise.
9878         (libc_feupdateenv_test_ppc): Likewise.
9879         (libc_feupdateenv_ppc): Likewise.
9881         (libc_feholdsetround_ppc_ctx): Fix usage to include masking
9882         of ISA RN bits, and update macro names.
9883         (libc_feholdexcept_setround_ppc_ctx): Remove as it is
9884         effectively the same as the previously mentioned function.
9886         (libc_feupdateenv_ppc_ctx): Replace libc_feupdatedenv_test_ppc
9887         usage with fe_resetround_ppc.
9889         (libc_feholdexcept_setround_ctx): Remove, this doesn't appear
9890         to be used.
9891         (libc_feholdexcept_setround_ctxf): Likewise.
9892         (libc_feholdexcept_setround_ctxl): Likewise.
9894 2016-10-21  Florian Weimer  <fweimer@redhat.com>
9896         [BZ #20715]
9897         * math/math.h [__cplusplus] (iszero): Define as function template.
9898         * math/Makefile [CXX] (tests): Add test-math-iszero.
9899         (CFLAGS-test-math-iszero.cc): Set.
9900         * math/test-math-iszero.cc: New file.
9902 2016-10-20  Joseph Myers  <joseph@codesourcery.com>
9904         [BZ #20660]
9905         * sysdeps/arm/e_sqrt.c: New file.
9906         * sysdeps/arm/e_sqrtf.c: Likewise.
9908 2016-10-19  Joseph Myers  <joseph@codesourcery.com>
9910         [BZ #20718]
9911         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S (__copysignl): Do
9912         not use floating-point comparisons to test sign.
9913         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S (__copysignl):
9914         Likewise.
9916         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
9917         (getpayload): New declaration.
9918         * math/Versions (getpayload): New libm symbol at version
9919         GLIBC_2.25.
9920         (getpayloadf): Likewise.
9921         (getpayloadl): Likewise.
9922         * math/Makefile (libm-calls): Add s_getpayloadF.
9923         * math/libm-test.inc: Include <nan-high-order-bit.h>.
9924         (struct test_f_f_data): Add comment.
9925         (RUN_TEST_fp_f): New macro.
9926         (RUN_TEST_LOOP_fp_f): Likewise.
9927         (getpayload_test_data): New array.
9928         (getpayload_test): New function.
9929         (main): Call getpayload_test.
9930         * math/gen-libm-test.pl (parse_args): Handle 'p' in argument
9931         descriptor.
9932         * manual/arith.texi (FP Bit Twiddling): Document getpayload,
9933         getpayloadf and getpayloadl.
9934         * manual/libm-err-tab.pl: Update comment on interfaces without
9935         ulps tabulated.
9936         * sysdeps/ieee754/dbl-64/s_getpayload.c: New file.
9937         * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Likewise.
9938         * sysdeps/ieee754/flt-32/s_getpayloadf.c: Likewise.
9939         * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Likewise.
9940         * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c: Likewise.
9941         * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Likewise.
9942         * sysdeps/nacl/libm.abilist: Update.
9943         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
9944         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
9945         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
9946         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
9947         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
9948         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
9949         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
9950         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
9951         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
9952         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
9953         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
9954         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
9955         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
9956         Likewise.
9957         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
9958         Likewise.
9959         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
9960         Likewise.
9961         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
9962         Likewise.
9963         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
9964         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
9965         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
9966         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
9967         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
9968         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
9969         Likewise.
9970         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
9971         Likewise.
9972         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
9973         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
9974         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
9976 2016-10-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9978         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = math] (tests): Move
9979         tst-fallocate{64}.
9980         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Check for EOPNOTSUPP
9981         on syscall return.
9983 2016-10-17  Carlos O'Donell  <carlos@redhat.com>
9985         [BZ #20689]
9986         * sysdeps/x86/cpu-features.c: Only enable FMA and AVX2 if AVX is
9987         usable.
9989 2016-10-17  Joseph Myers  <joseph@codesourcery.com>
9991         * sysdeps/generic/nan-high-order-bit.h: New file.
9992         * sysdeps/hppa/nan-high-order-bit.h: Likewise.
9993         * sysdeps/mips/nan-high-order-bit.h: Likewise.
9994         * sysdeps/hppa/math_private.h: Remove file.
9995         * sysdeps/mips/math_private.h (HIGH_ORDER_BIT_IS_SET_FOR_SNAN): Do
9996         not define here.
9997         * sysdeps/ieee754/dbl-64/s_issignaling.c: Include
9998         <nan-high-order-bit.h>.
9999         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
10000         * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
10001         <nan-high-order-bit.h>.
10002         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
10003         * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
10004         <nan-high-order-bit.h>.
10005         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
10006         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Include
10007         <nan-high-order-bit.h>.
10008         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
10009         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
10010         <nan-high-order-bit.h>.
10011         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
10012         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
10013         <nan-high-order-bit.h>.
10014         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
10015         * sysdeps/ieee754/flt-32/s_issignalingf.c: Include
10016         <nan-high-order-bit.h>.
10017         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
10018         * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
10019         <nan-high-order-bit.h>.
10020         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
10021         * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
10022         <nan-high-order-bit.h>.
10023         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
10024         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Include
10025         <nan-high-order-bit.h>.
10026         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
10027         * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
10028         <nan-high-order-bit.h>.
10029         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
10030         * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
10031         <nan-high-order-bit.h>.
10032         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
10033         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Include
10034         <nan-high-order-bit.h>.
10035         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
10036         * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Include
10037         <nan-high-order-bit.h>.
10038         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
10039         * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Include
10040         <nan-high-order-bit.h>.
10041         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
10042         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Include
10043         <nan-high-order-bit.h>.
10044         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
10045         * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
10046         <nan-high-order-bit.h>.
10047         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
10048         * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
10049         <nan-high-order-bit.h>.
10050         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
10052 2016-10-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
10054         * sysdeps/s390/fpu/fix-fp-int-compare-invalid.h: New file.
10056 2016-09-22  John David Anglin  <dave.anglin@bell.net>
10058         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: Don't include
10059         abort-instr.h.
10060         (EFAULT): Remove conditional define.
10061         (ENOSYS): Likewise.
10062         (atomic_compare_and_exchange_val_acq): Use instruction nullification
10063         instead of conditional branch instructions.
10065 2016-10-15  Joseph Myers  <joseph@codesourcery.com>
10067         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
10068         (totalordermag): New declaration.
10069         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalordermag):
10070         New macro.
10071         * math/Versions (totalordermag): New libm symbol at version
10072         GLIBC_2.25.
10073         (totalordermagf): Likewise.
10074         (totalordermagl): Likewise.
10075         * math/Makefile (libm-calls): Add s_totalordermagF.
10076         * math/libm-test.inc (totalordermag_test_data): New array.
10077         (totalordermag_test): New function.
10078         (main): Call totalordermag_test.
10079         * math/test-tgmath.c (NCALLS): Increase to 125.
10080         (F(compile_test)): Call totalordermag.
10081         (F(totalordermag)): New function.
10082         * manual/arith.texi (FP Comparison Functions): Document
10083         totalordermag, totalordermagf and totalordermagl.
10084         * manual/libm-err-tab.pl: Update comment on interfaces without
10085         ulps tabulated.
10086         * sysdeps/ieee754/dbl-64/s_totalordermag.c: New file.
10087         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Likewise.
10088         * sysdeps/ieee754/flt-32/s_totalordermagf.c: Likewise.
10089         * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Likewise.
10090         * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Likewise.
10091         * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Likewise.
10092         * sysdeps/ieee754/ldbl-opt/nldbl-totalordermag.c: Likewise.
10093         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
10094         totalordermag.
10095         (CFLAGS-nldbl-totalordermag.c): New variable.
10096         * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c
10097         (do_test): Also test totalordermagl.
10098         * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c (do_test):
10099         Likewise.
10100         * sysdeps/nacl/libm.abilist: Update.
10101         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
10102         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
10103         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
10104         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
10105         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
10106         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
10107         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
10108         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
10109         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
10110         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
10111         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
10112         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
10113         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
10114         Likewise.
10115         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
10116         Likewise.
10117         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
10118         Likewise.
10119         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
10120         Likewise.
10121         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
10122         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
10123         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
10124         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
10125         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
10126         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
10127         Likewise.
10128         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
10129         Likewise.
10130         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
10131         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
10132         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
10134 2016-10-14  Steve Ellcey  <sellcey@caviumnetworks.com>
10136         * sysdeps/ieee754/dbl-64/e_pow.c (checkint) Make conditions explicitly
10137         boolean.
10139 2016-10-13  Joseph Myers  <joseph@codesourcery.com>
10141         * math/s_ccosh_template.c (M_DECL_FUNC (__ccosh)): Instead of
10142         raising FE_INVALID with feraisexcept in case where part of
10143         argument is infinite, subtract that part of argument from itself.
10144         * math/s_cexp_template.c (M_DECL_FUNC (__cexp)): Likewise.
10145         * math/s_csin_template.c (M_DECL_FUNC (__csin)): Likewise.
10146         * math/s_csinh_template.c (M_DECL_FUNC (__csinh)): Likewise.
10148 2016-10-12  Joseph Myers  <joseph@codesourcery.com>
10150         * math/libm-test.inc (totalorder_test_data): Add more tests.
10152 2016-10-12  Adhemerval Zanela  <adhemerval.zanella@linaro.org>
10154         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c:
10155         Undefine weak_alias and add a comment why mips64 require
10156         versioning.
10158 2016-10-12  H.J. Lu  <hongjiu.lu@intel.com>
10160         [BZ #20647]
10161         * sysdeps/x86/cacheinfo.c (handle_intel): Return -1 if the
10162         maximum CPUID level is less than 2.
10164 2016-10-12  Joseph Myers  <joseph@codesourcery.com>
10166         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
10167         (totalorder): New declaration.
10168         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalorder):
10169         New macro.
10170         * math/Versions (totalorder): New libm symbol at version
10171         GLIBC_2.25.
10172         (totalorderf): Likewise.
10173         (totalorderl): Likewise.
10174         * math/Makefile (libm-calls): Add s_totalorderF.
10175         * math/gen-libm-test.pl (parse_args): Escape quotes in test name
10176         string.
10177         * math/libm-test.inc (PAYLOAD_DIG): New macro.
10178         (qnan_value_pl): Likewise.
10179         (snan_value_pl): Likewise.
10180         (qnan_value): Define using qnan_value_pl.
10181         (snan_value): Define using snan_value_pl.
10182         (struct test_ff_i_data): Add comment about which tests use this
10183         structure.
10184         (RUN_TEST_ff_b): New macro.
10185         (RUN_TEST_LOOP_ff_b): Likewise.
10186         (totalorder_test_data): New array.
10187         (totalorder_test): New function.
10188         (main): Call totalorder_test.
10189         * math/test-tgmath.c (NCALLS): Increase to 122.
10190         (F(compile_test)): Call totalorder.
10191         (F(totalorder)): New function.
10192         * manual/arith.texi (FP Comparison Functions): Document
10193         totalorder, totalorderf and totalorderl.
10194         * manual/libm-err-tab.pl: Update comment on interfaces without
10195         ulps tabulated.
10196         * sysdeps/ieee754/dbl-64/s_totalorder.c: New file.
10197         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Likewise.
10198         * sysdeps/ieee754/flt-32/s_totalorderf.c: Likewise.
10199         * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Likewise.
10200         * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Likewise.
10201         * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Likewise.
10202         * sysdeps/ieee754/ldbl-opt/nldbl-totalorder.c: Likewise.
10203         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
10204         totalorder.
10205         (CFLAGS-nldbl-totalorder.c): New variable.
10206         * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c: New
10207         file.
10208         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
10209         Add test-totalorderl-ldbl-128ibm.
10210         * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c: New file.
10211         * sysdeps/ieee754/ldbl-96/Makefile [$(subdir) = math] (tests): Add
10212         test-totalorderl-ldbl-96.
10213         * sysdeps/nacl/libm.abilist: Update.
10214         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
10215         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
10216         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
10217         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
10218         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
10219         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
10220         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
10221         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
10222         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
10223         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
10224         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
10225         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
10226         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
10227         Likewise.
10228         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
10229         Likewise.
10230         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
10231         Likewise.
10232         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
10233         Likewise.
10234         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
10235         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
10236         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
10237         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
10238         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
10239         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
10240         Likewise.
10241         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
10242         Likewise.
10243         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
10244         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
10245         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
10247 2016-10-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10249         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sync_file_range.
10250         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c: Remove file.
10251         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c: Likewise.
10252         * sysdeps/unix/sysv/linux/sync_file_range.c: Use SYSCALL_LL64 and
10253         remove ENOSYS implementation.
10254         * sysdeps/unix/sysv/linux/tst-sync_file_range.c (sync_file_range):
10255         Consolidate all Linux implementations.
10257 2016-10-11  Florian Weimer  <fweimer@redhat.com>
10259         * resolv/Makefile (+cflags): Do not set -Wno-write-strings.
10260         * resolv/herror.c (herror): Cast away const-ness.
10261         * resolv/res_debug.c (__p_class_syms, __p_default_section_syms)
10262         (__p_update_section_syms, __p_type_syms, __p_rcode_syms): Likewise.
10264 2016-10-11  Joseph Myers  <joseph@codesourcery.com>
10266         * math/s_ccosh_template.c (M_DECL_FUNC (__ccosh)): Use M_NAN
10267         instead of M_NAN + M_NAN.
10268         * math/s_csinh_template.c (M_DECL_FUNC (__csinh)): Likewise.
10270 2016-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10272         * misc/getauxval.c [!HAVE_AUX_VECTOR] (__getauxval): Do not define
10273         unused variable 'p'.
10275 2016-10-09  Alan Modra  <amodra@gmail.com>
10276             Andreas Schwab  <schwab@linux-m68k.org>
10278         [BZ #20554]
10279         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount)
10280         [PIC && !SHARED]: Set up PIC register for PLT call.
10282 2016-10-07  Joseph Myers  <joseph@codesourcery.com>
10284         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): Define
10285         conditional on value of [__FLT_EVAL_METHOD__].
10286         * math/test-iseqsig-excess-precision.c: New file.
10287         * math/Makefile (tests): Add test-iseqsig-excess-precision.
10289 2016-10-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10291         * math/s_iseqsig_template.c: Include math-private.h.
10293         * posix/Makefile (tests): Add tst-posix_fadvise and tst-posix_fadvise64.
10294         * posix/tst-posix_fadvise.c: New file.
10295         * posix/tst-posix_fadvise64.c: Likewise.
10296         * posix/tst-posix_fadvise-common.c: Likewise.
10297         * sysdeps/unix/sysv/linux/arm/kernel-features.h
10298         (__ASSUME_FADVISE64_64_6ARG): Define.
10299         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
10300         [!__powerpc64__] (__ASSUME_FADVISE64_64_6ARG): Define.
10301         * sysdeps/unix/sysv/linux/tile/kernel-features.h
10302         [!LP64] (__ASSUME_FADVISE64_64_NO_ALIGN): Define.
10303         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c: Remove file.
10304         * sysdeps/unix/sysv/linux/generic/wordsize-32/posix_fadvise.c: Likewise.
10305         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Likewise.
10306         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: Likewise.
10307         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise64.c: Likewise.
10308         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise.c: Likewise.
10309         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise64.c: Likewise.
10310         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c: Likewise.
10311         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise.c: Likewise.
10312         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c:
10313         Likewise.
10314         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c: Likewise.
10315         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise64.c: Likewise.
10316         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c
10317         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l64]:
10318         Alias to __posix_fadvise64_l32.
10319         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l32]:
10320         Add compat definition to posix_fadvise64.
10321         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l64]:
10322         Add versioned definition to posix_fadvise64.
10323         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Build iff
10324         __OFF_T_MATCHES_OFF64_T is defined, use INTERNAL_SYSCALL_CALL, add
10325         __ASSUME_FADVISE64_64_6ARG/__ASSUME_FADVISE64_64_NO_ALIGN support.
10326         * sysdeps/unix/sysv/linux/posix_fadvise64.c (posix_fadvise64): Add
10327         __ASSUME_FADVISE64_64_NO_ALIGN support and use INTERNAL_SYSCALL_CALL.
10329         * io/Makefile (tests): Add tst-posix_fallocate and
10330         tst-posix_fallocate64.
10331         * io/tst-posix_fallocate-common.c: New file.
10332         * io/tst-posix_fallocate.c: Likewise.
10333         * io/tst-posix_fallocate64.c: Likewise.
10334         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c: Remove
10335         file.
10336         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c:
10337         Likewise.
10338         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate.c: Likewise.
10339         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate64.c:
10340         Likewise.
10341         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Likewise.
10342         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate64.c: Likewise.
10343         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate): Use
10344         SYSCALL_LL to pass both offset and len arguments.
10345         * sysdeps/unix/sysv/linux/posix_fallocate64.c (posix_fallocate64):
10346         Likewise.
10347         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pwrite64): Add
10348         __libc_pwrite64 alias used by posix_fallocate64.
10350         * sysdeps/unix/sysv/linux/Makefile (test): Add tst-fallocate and
10351         tst-fallocate64.
10352         * sysdeps/unix/sysv/linux/tst-fallocate.c: New file.
10353         * sysdeps/unix/sysv/linux/tst-fallocate64.c: Likewise.
10354         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
10355         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Remove file.
10356         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise.
10357         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c: Likewise.
10358         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: Likewise.
10359         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
10360         * sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: Likewise.
10361         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Use SYSCALL_LL
10362         macro on offset argument.
10363         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Use
10364         SYSCALL_LL64 on offset argument.
10366         * sysdeps/unix/sysv/linux/Makefile (test): Add tst-fallocate and
10367         tst-fallocate64.
10368         * sysdeps/unix/sysv/linux/tst-fallocate.c: New file.
10369         * sysdeps/unix/sysv/linux/tst-fallocate64.c: Likewise.
10370         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
10371         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Remove file.
10372         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise.
10373         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c: Likewise.
10374         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: Likewise.
10375         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
10376         * sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: Likewise.
10377         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Use SYSCALL_LL
10378         macro on offset argument.
10379         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Use
10380         SYSCALL_LL64 on offset argument.
10381         * test-skeleton.c (FAIL_RET): Add macro.
10382         (FAIL_EXIT): Likewise.
10383         (FAIL_EXIT1): Likewise.
10384         (_FAIL): Likewise.
10386 2016-10-07  Florian Weimer  <fweimer@redhat.com>
10388         [BZ #20629]
10389         resolv: Remove RES_USEBSTRING and its implementation.
10390         * resolv/resolv.h (RES_USEBSTRING): Remove.
10391         * resolv/ns_name.c (NS_TYPE_ELT, DNS_LABELTYPE_BITSTRING)
10392         (digitvalue, encode_bitstring, decode_bitstring): Remove.
10393         (ns_name_ntop, ns_name_pton, ns_name_unpack, ns_name_skip)
10394         (labellen): Remove extended label types support.
10395         * resolv/res_debug.c (p_option): Remove RES_USEBSTRING handling.
10396         * resolv/res_init.c (res_setoptions): Likewise.
10397         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Likewise.
10399 2016-10-07  Florian Weimer  <fweimer@redhat.com>
10401         resolv: Remove RES_NOIP6DOTINT and its implementation.
10402         * resolv/resolv.h (RES_DEFAULT): Remove RES_NOIP6DOTINT.
10403         (RES_NOIP6DOTINT): Remove.
10404         * resolv/gethnamaddr.c (gethostbyaddr): Remove RES_NOIP6DOTINT
10405         handling.
10406         * resolv/res_debug.c (p_option): Likewise.
10407         * resolv/res_init.c (res_setoptions): Likewise.
10408         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Likewise.
10410 2016-10-07  Florian Weimer  <fweimer@redhat.com>
10412         resolv: Deprecate unimplemented flags.
10413         * misc/sys/cdefs.h (__glibc_macro_warning1)
10414         (__glibc_macro_warning): Define.
10415         * resolv/resolv.h (RES_AAONLY, RES_PRIMARY, RES_NOCHECKNAME)
10416         (RES_KEEPTSIG): Mark as deprecated.
10417         * resolv/res_debug.c (p_option): Remove RES_AAONLY, RES_PRIMARY,
10418         RES_NOCHECKNAME, RES_KEEPTSIG.
10419         * resolv/res_init.c (res_setoptions): Remove RES_NOCHECKNAME handling.
10421 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
10423         * nptl/pt-longjmp.c (DEFINE_LONGJMP): Use libc_ifunc macro.
10424         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c (longjmp, siglongjmp):
10425         Use strong_alias to create symbols for glibc verison 2.19.
10427 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
10429         * nptl/pt-vfork.c (DEFINE_VFORK): Use libc_ifunc macro.
10431 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
10433         * nptl/pt-system.c (system_ifunc): Use libc_ifunc macro.
10435 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
10437         * rt/clock-compat.c (COMPAT_REDIRECT): Use libc_ifunc macro.
10439 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
10441         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
10442         Use libc_ifunc_hidden and libc_hidden_def macro. Redirect ifunced function
10443         in header for using it as type for ifunc function because __GI_* symbols
10444         for ppc32 do not target the ifunc symbols.
10445         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
10447 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
10449         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday):
10450         Use libc_ifunc_hidden macro. Use libc_hidden_def instead of
10451         libc_ifunc_hidden_def.
10452         * sysdeps/unix/sysv/linux/x86/time.c (time): Likewise.
10453         * sysdeps/unix/sysv/linux/i386/gettimeofday.c (__gettimeofday):
10454         Redirect ifunced function in header for using it as type of ifunc'ed
10455         function. Redefine libc_hidden_def to use fallback non ifunc'ed
10456         function for __GI_* symbol.
10457         * sysdeps/unix/sysv/linux/i386/time.c (time): Likewise.
10458         * include/libc-symbols.h
10459         (libc_ifunc_hidden_def, libc_ifunc_hidden_def1): Delete macro.
10461 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
10463         [BZ #20478]
10464         * sysdeps/s390/multiarch/ifunc-resolve.h
10465         (s390_vx_libc_ifunc2, s390_libc_ifunc): Use __ifunc from libc-symbols.h
10466         to create ifunc symbols.
10467         (s390_vx_libc_ifunc_init, s390_vx_libc_ifunc_redirected
10468         , s390_vx_libc_ifunc2_redirected, s390_libc_ifunc_init): New define.
10469         * sysdeps/s390/multiarch/memchr.c: Redirect ifunced function in header
10470         for using it as type for ifunc function.
10471         * sysdeps/s390/multiarch/mempcpy.c: Likewise.
10472         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
10473         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
10474         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
10475         * sysdeps/s390/multiarch/strcat.c: Likewise.
10476         * sysdeps/s390/multiarch/strchr.c: Likewise.
10477         * sysdeps/s390/multiarch/strcmp.c: Likewise.
10478         * sysdeps/s390/multiarch/strcpy.c: Likewise.
10479         * sysdeps/s390/multiarch/strcspn.c: Likewise.
10480         * sysdeps/s390/multiarch/strlen.c: Likewise.
10481         * sysdeps/s390/multiarch/strncmp.c: Likewise.
10482         * sysdeps/s390/multiarch/strncpy.c: Likewise.
10483         * sysdeps/s390/multiarch/strnlen.c: Likewise.
10484         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
10485         * sysdeps/s390/multiarch/strrchr.c: Likewise.
10486         * sysdeps/s390/multiarch/strspn.c: Likewise.
10487         * sysdeps/s390/multiarch/wcschr.c: Likewise.
10488         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
10489         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
10490         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
10491         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
10492         * sysdeps/s390/multiarch/wmemset.c: Likewise.
10493         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
10494         * sysdeps/s390/s390-32/multiarch/memcpy.c: Likewise.
10495         * sysdeps/s390/s390-32/multiarch/memset.c: Likewise.
10496         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
10497         * sysdeps/s390/s390-64/multiarch/memcpy.c: Likewise.
10498         * sysdeps/s390/s390-64/multiarch/memset.c: Likewise.
10500 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
10502         * include/libc-symbols.h (__ifunc_resolver):
10503         New macro is used by __ifunc* macros.
10504         (__ifunc): New macro uses gcc attribute ifunc or inline assembly
10505         depending on HAVE_GCC_IFUNC.
10506         (libc_ifunc, libm_ifunc): Use __ifunc as base macro.
10507         (libc_ifunc_redirected, libc_ifunc_hidden, libm_ifunc_init): New macro.
10508         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
10509         Redirect ifunced function in header for using as type for ifunc function.
10510         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: Likewise.
10511         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: Likewise.
10512         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: Likewise.
10513         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: Likewise.
10514         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
10515         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
10516         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
10517         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
10518         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
10519         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
10520         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
10521         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
10522         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
10523         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
10524         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
10525         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: Likewise.
10526         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
10527         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: Likewise.
10528         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
10529         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
10530         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
10531         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
10532         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
10533         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
10534         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
10535         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
10536         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
10537         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
10538         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
10539         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
10540         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
10541         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: Likewise.
10542         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
10543         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c:
10544         Add libc_hidden_def() and use libc_ifunc_hidden() macro
10545         instead of libc_ifunc() macro.
10546         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: Likewise.
10547         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
10549 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
10551         * config.h.in (HAVE_GCC_IFUNC): New undef.
10552         * configure.ac: Add check if gcc supports attribute ifunc feature.
10553         * configure: Regenerated.
10554         * manual/install.texi: Add recommendation for gcc with
10555         indirect-function support.
10556         * INSTALL: Regenerated.
10558 2016-10-06  Joseph Myers  <joseph@codesourcery.com>
10560         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): New
10561         macro.
10562         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
10563         (__iseqsig): New declaration.
10564         * math/s_iseqsig_template.c: New file.
10565         * math/Versions (__iseqsigf): New libm symbol at version
10566         GLIBC_2.25.
10567         (__iseqsig): Likewise.
10568         (__iseqsigl): Likewise.
10569         * math/libm-test.inc (iseqsig_test_data): New array.
10570         (iseqsig_test): New function.
10571         (main): Call iseqsig_test.
10572         * math/Makefile (gen-libm-calls): Add s_iseqsigF.
10573         * manual/arith.texi (FP Comparison Functions): Document iseqsig.
10574         * manual/libm-err-tab.pl: Update comment on interfaces without
10575         ulps tabulated.
10576         * sysdeps/generic/fix-fp-int-compare-invalid.h: New file.
10577         * sysdeps/powerpc/fpu/fix-fp-int-compare-invalid.h: Likewise.
10578         * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h: Likewise.
10579         * sysdeps/nacl/libm.abilist: Update.
10580         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
10581         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
10582         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
10583         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
10584         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
10585         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
10586         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
10587         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
10588         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
10589         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
10590         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
10591         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
10592         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
10593         Likewise.
10594         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
10595         Likewise.
10596         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
10597         Likewise.
10598         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
10599         Likewise.
10600         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
10601         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
10602         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
10603         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
10604         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
10605         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
10606         Likewise.
10607         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
10608         Likewise.
10609         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
10610         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
10611         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
10613 2016-10-06  Siddhesh Poyarekar  <siddhesh@sourceware.org>
10615         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute, do_sincos_1,
10616         do_sincos_2, sloww, sloww1): Update comments.
10618         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Adjust calls to
10619         do_sincos_1 and do_sincos_2 to pass a boolean shift_quadrant.
10621         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Make
10622         K boolean and rename it.
10623         (__sin): Adjust.
10624         (__cos): Adjust.
10626 2016-10-06  Rical Jasan  <ricaljasan@pacific.net>
10627             Siddhesh Poyarekar  <siddhesh@sourceware.org>
10629         * manual/nss.texi: Fix typos in the manual.
10631 2016-10-06  Rical Jasan  <ricaljasan@pacific.net>
10633         * manual/contrib.texi: Fix typos in the manual.
10635         * manual/maint.texi: Fix typos in the manual.
10637         * manual/install.texi: Fix typos in the manual.
10638         * INSTALL: Regenerated.
10640         * manual/lang.texi: Fix typos in the manual.
10642         * manual/probes.texi: Fix typos in the manual.
10644         * manual/threads.texi: Fix typos in the manual.
10646         * manual/debug.texi: Fix typos in the manual.
10648         * manual/crypt.texi: Fix typos in the manual.
10650         * manual/conf.texi: Fix typos in the manual.
10652         * manual/sysinfo.texi: Fix typos in the manual.
10654         * manual/users.texi: Fix typos in the manual.
10656         * manual/job.texi: Fix typos in the manual.
10658         * manual/process.texi: Fix typos in the manual.
10660         * manual/argp.texi: Fix typos in the manual.
10661         * manual/getopt.texi: Likewise.
10662         * manual/startup.texi: Likewise.
10664         * manual/signal.texi: Fix typos in the manual.
10666         * manual/setjmp.texi: Fix typos in the manual.
10668         * manual/resource.texi: Fix typos in the manual.
10670         * manual/time.texi: Fix typos in the manual.
10672         * manual/arith.texi: Fix typos in the manual.
10674         * manual/math.texi: Fix typos in the manual.
10676         * manual/syslog.texi: Fix typos in the manual.
10678         * manual/terminal.texi: Fix typos in the manual.
10680         * manual/socket.texi: Fix typos in the manual.
10682         * manual/filesys.texi: Fix typos in the manual.
10684         * manual/llio.texi: Fix typos in the manual.
10686         * manual/stdio.text: Fix typos in the manual.
10688 2016-10-05  Siddhesh Poyarekar  <siddhesh@sourceware.org>
10690         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Check N
10691         instead of K1.
10693         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Rename K to
10694         SHIFT_QUADRANT and make it bool.
10695         (do_sincos_2): Likewise.
10696         (sloww): Likewise.
10697         (sloww1): Likewise.
10698         (__sin): Adjust calls to do_sincos_1 and do_sincos_2.
10699         (__cos): Likewise.
10701 2016-10-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
10703         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
10705 2016-10-04  Joseph Myers  <joseph@codesourcery.com>
10707         * include/limits.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH):
10708         Define to __WORDSIZE, not conditional on [LONG_MAX ==
10709         0x7fffffffL].
10710         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
10712 2016-10-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
10714         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Replace
10715         inline by __inline__.
10716         (__ppc_yield, __ppc_mdoio, __ppc_mdoom, __ppc_set_ppr_med): Likewise.
10717         (__ppc_set_ppr_med_low, __ppc_set_ppr_low): Likewise.
10718         (__ppc_set_ppr_very_low, __ppc_set_ppr_med_high): Likewise.
10719         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Require
10720         sigset_t from signal.h.
10721         * sysdeps/unix/sysv/linux/powerpc/sys/user.h: Include stddef.h,
10722         which is already required.
10724 2016-10-04  Stefan Liebler  <stli@linux.vnet.ibm.com>
10726         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
10728 2016-10-03  Joseph Myers  <joseph@codesourcery.com>
10730         * sysdeps/gnu/netinet/tcp.h (TCP_REPAIR_WINDOW): New macro.
10731         (struct tcp_repair_window): New type.
10733 2016-10-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10735         * libio/tst-memstream3.c: Include string.h.
10737 2016-09-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10739         [BZ #18241]
10740         [BZ #20181]
10741         * libio/Makefile (test): Add tst-memstream3 and tst-wmemstream3.
10742         * libio/memstream.c (_IO_mem_sync): Only append a null byte if
10743         write position is at the end the buffer.
10744         * libio/wmemstream.c (_IO_wmem_sync): Likewise.
10745         * libio/strops.c (_IO_str_switch_to_get_mode): New function.
10746         (_IO_str_seekoff): Set correct offset from negative displacement and
10747         set EINVAL for invalid ones.
10748         * libio/wstrops.c (enlarge_userbuf): Use correct function to calculate
10749         buffer length.
10750         (_IO_wstr_switch_to_get_mode): New function.
10751         (_IO_wstr_seekoff): Set correct offset from negative displacement and
10752         set EINVAL for invalid ones.
10753         * libio/tst-memstream3.c: New file.
10754         * libio/tst-wmemstream3.c: Likewise.
10755         * manual/examples/memstrm.c: Remove warning when priting size_t.
10757 2016-09-30  Joseph Myers  <joseph@codesourcery.com>
10759         * sysdeps/ieee754/dbl-64/dla.h [__FP_FAST_FMA] (DLA_FMS): Define
10760         macro to use __builtin_fma.
10761         * sysdeps/x86_64/fpu/dla.h: Remove file.
10763         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h
10764         [__NO_LONG_DOUBLE_MATH] (__iscanonicall): Do not declare.
10765         [__NO_LONG_DOUBLE_MATH] (iscanonical): Define to evaluate to 1.
10767 2016-09-30  Carlos O'Donell  <carlos@redhat.com>
10769         [BZ #20292]
10770         * elf/Makefile (routines): Add dl-addr-obj.
10771         [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests): Add
10772         tst-_dl_addr_inside_object.
10773         [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests-pie): Likewise.
10774         [ifeq (yesyes,$(have-fpie)$(build-shared))]
10775         ($(objpfx)tst-_dl_addr_inside_object): Add $(objpfx)dl-addr-obj.os.
10776         [ifeq (yesyes,$(have-fpie)$(build-shared))]
10777         (CFLAGS-tst-_dl_addr_inside_object.c): Add $(PIE-ccflag).
10778         * elf/dl-addr.c: Remove _dl_addr_inside_object function.
10779         * elf/dl-open.c: Likewise.
10780         * elf/dl-addr-obj.c: New file.
10781         * elf/tst-_dl_addr_inside_object.c: New file.
10783 2016-09-30  Joseph Myers  <joseph@codesourcery.com>
10785         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Include
10786         <bits/iscanonical.h>.
10787         * bits/iscanonical.h: New file.
10788         * math/s_iscanonicall.c: Likewise.
10789         * math/Versions (__iscanonicall): New libm symbol at version
10790         GLIBC_2.25.
10791         * math/libm-test.inc (iscanonical_test_data): New array.
10792         (iscanonical_test): New function.
10793         (main): Call iscanonical_test.
10794         * math/Makefile (headers): Add bits/iscanonical.h.
10795         (type-ldouble-routines): Add s_iscanonicall.
10796         * manual/arith.texi (Floating Point Classes): Document
10797         iscanonical.
10798         * manual/libm-err-tab.pl: Update comment on interfaces without
10799         ulps tabulated.
10800         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h: New file.
10801         * sysdeps/ieee754/ldbl-128ibm/s_iscanonicall.c: Likewise.
10802         * sysdeps/ieee754/ldbl-128ibm/test-iscanonical-ldbl-128ibm.c:
10803         Likewise.
10804         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
10805         test-iscanonical-ldbl-128ibm.
10806         * sysdeps/ieee754/ldbl-96/bits/iscanonical.h: New file.
10807         * sysdeps/ieee754/ldbl-96/s_iscanonicall.c: Likewise.
10808         * sysdeps/ieee754/ldbl-96/test-iscanonical-ldbl-96.c: Likewise.
10809         * sysdeps/ieee754/ldbl-96/Makefile: Likewise.
10810         * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
10811         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
10812         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
10813         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
10814         Likewise.
10815         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
10816         Likewise.
10817         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
10818         Likewise.
10819         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
10820         Likewise.
10821         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
10822         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
10824 2016-09-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10826         * string/bits/string3.h: Remove C++ style comments.
10828 2016-09-29  Siddhesh Poyarekar  <siddhesh@sourceware.org>
10830         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Use copysign
10831         instead of ternary condition.
10832         (do_sincos_2): Likewise.
10833         (__sin): Likewise.
10834         (__cos): Likewise.
10835         (slow): Likewise.
10836         (sloww): Likewise.
10837         (sloww1): Likewise.
10838         (bsloww): Likewise.
10839         (bsloww1): Likewise.
10841         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): use copysign
10842         instead of ternary condition.
10843         (do_sin_slow): Likewise.
10844         (do_sincos_1): Likewise.
10845         (do_sincos_2): Likewise.
10846         (__cos): Likewise.
10847         (sloww): Likewise.
10848         (sloww1): Likewise.
10849         (sloww2): Likewise.
10850         (bsloww): Likewise.
10851         (bsloww1): Likewise.
10852         (bsloww2): Likewise.
10854         * sysdeps/ieee754/dbl-64/s_sin.c (slow1): Consolidate sign
10855         check from here...
10856         (slow2): ... and here...
10857         (__sin): ... to here.
10859 2016-09-28  Joseph Myers  <joseph@codesourcery.com>
10861         * math/math.h
10862         [__GLIBC_USE (IEC_60559_BFP_EXT) && !__SUPPORT_SNAN__] (iszero):
10863         Cast argument to its own type.
10864         * math/test-iszero-excess-precision.c: New file.
10865         * math/Makefile (tests): Add test-iszero-excess-precision.
10866         (CFLAGS-test-iszero-excess-precision.c): New variable.
10868 2016-09-28  Rasmus Villemoes <rv@rasmusvillemoes.dk>
10870         * sysdeps/unix/sysv/linux/spawni.c (posix_spawn_args): Remove pipe
10871         field, add err field.
10872         (__spawni_child): Report error through err member instead of pipe.
10873         (__spawnix): Likewise.
10875 2016-09-28  Zack Weinberg  <zackw@panix.com>
10877         * scripts/check-installed-headers.sh: Generalize treatment of
10878         sys/elf.h to all target architectures.
10880         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Restore accidentally-
10881         deleted typedef ucontext_t.
10883 2016-09-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10885         * sysdeps/unix/sysdep.h (__INTERNAL_SYSCALL0): New macro.
10886         (__INTERNAL_SYSCALL1): Likewise.
10887         (__INTERNAL_SYSCALL2): Likewise.
10888         (__INTERNAL_SYSCALL3): Likewise.
10889         (__INTERNAL_SYSCALL4): Likewise.
10890         (__INTERNAL_SYSCALL5): Likewise.
10891         (__INTERNAL_SYSCALL6): Likewise.
10892         (__INTERNAL_SYSCALL7): Likewise.
10893         (__INTERNAL_SYSCALL_NARGS_X): Likewise.
10894         (__INTERNAL_SYSCALL_NARGS): Likewise.
10895         (__INTERNAL_SYSCALL_DISP): Likewise.
10896         (INTERNAL_SYSCALL_CALL): Likewise.
10897         (__SYSCALL0): Rename to __INLINE_SYSCALL0.
10898         (__SYSCALL1): Rename to __INLINE_SYSCALL1.
10899         (__SYSCALL2): Rename to __INLINE_SYSCALL2.
10900         (__SYSCALL3): Rename to __INLINE_SYSCALL3.
10901         (__SYSCALL4): Rename to __INLINE_SYSCALL4.
10902         (__SYSCALL5): Rename to __INLINE_SYSCALL5.
10903         (__SYSCALL6): Rename to __INLINE_SYSCALL6.
10904         (__SYSCALL7): Rename to __INLINE_SYSCALL7.
10905         (__SYSCALL_NARGS_X): Rename to __INLINE_SYSCALL_NARGS_X.
10906         (__SYSCALL_NARGS): Rename to __INLINE_SYSCALL_NARGS.
10907         (__SYSCALL_DISP): Rename to __INLINE_SYSCALL_DISP.
10908         (__SYSCALL_CALL): Rename to INLINE_SYSCALL_CALL.
10909         (SYSCALL_CANCEL): Replace __SYSCALL_CALL with INLINE_SYSCALL_CALL.
10911 2016-09-23  Joseph Myers  <joseph@codesourcery.com>
10913         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iszero): New
10914         macro.
10915         * math/libm-test.inc (iszero_test_data): New array.
10916         (iszero_test): New function.
10917         (main): Call iszero_test.
10918         * manual/arith.texi (Floating Point Classes): Document iszero.
10919         * manual/libm-err-tab.pl: Update comment on interfaces without
10920         ulps tabulated.
10922 2016-09-23  Zack Weinberg  <zackw@panix.com>
10924         * scripts/check-installed-headers.sh: New script.
10925         * Rules: In each directory that defines header files to be installed,
10926         run check-installed-headers.sh on them as a special test.
10927         * Makefile: Likewise for the headers installed at top level.
10929         * include/aliases.h, include/alloca.h, include/argz.h
10930         * include/arpa/nameser.h, include/arpa/nameser_compat.h
10931         * include/elf.h, include/envz.h, include/err.h
10932         * include/execinfo.h, include/fpu_control.h, include/getopt.h
10933         * include/gshadow.h, include/ifaddrs.h, include/libintl.h
10934         * include/link.h, include/malloc.h, include/mcheck.h
10935         * include/mntent.h, include/netinet/ether.h
10936         * include/nss.h, include/obstack.h, include/printf.h
10937         * include/pty.h, include/resolv.h, include/rpc/auth.h
10938         * include/rpc/auth_des.h, include/rpc/auth_unix.h
10939         * include/rpc/clnt.h, include/rpc/des_crypt.h
10940         * include/rpc/key_prot.h, include/rpc/netdb.h
10941         * include/rpc/pmap_clnt.h, include/rpc/pmap_prot.h
10942         * include/rpc/pmap_rmt.h, include/rpc/rpc.h
10943         * include/rpc/rpc_msg.h, include/rpc/svc.h
10944         * include/rpc/svc_auth.h, include/rpc/xdr.h
10945         * include/rpcsvc/nis_callback.h, include/rpcsvc/nislib.h
10946         * include/rpcsvc/yp.h, include/rpcsvc/ypclnt.h
10947         * include/rpcsvc/ypupd.h, include/shadow.h
10948         * include/stdio_ext.h, include/sys/epoll.h
10949         * include/sys/file.h, include/sys/gmon.h, include/sys/ioctl.h
10950         * include/sys/prctl.h, include/sys/profil.h
10951         * include/sys/statfs.h, include/sys/sysctl.h
10952         * include/sys/sysinfo.h, include/ttyent.h, include/utmp.h
10953         * sysdeps/arm/nacl/include/bits/setjmp.h
10954         * sysdeps/mips/include/sys/asm.h
10955         * sysdeps/unix/sysv/linux/include/sys/sysinfo.h
10956         * sysdeps/unix/sysv/linux/include/sys/timex.h
10957         * sysdeps/x86/fpu/include/bits/fenv.h:
10958         Add #ifndef _ISOMAC guard around internal declarations.
10959         Add multiple-inclusion guard if not already present.
10961 2016-09-23  Zack Weinberg  <zackw@panix.com>
10963         * sysdeps/generic/sys/ucontext.h
10964         * sysdeps/arm/sys/ucontext.h
10965         * sysdeps/i386/sys/ucontext.h
10966         * sysdeps/m68k/sys/ucontext.h
10967         * sysdeps/mips/sys/ucontext.h
10968         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h
10969         * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h
10970         * sysdeps/unix/sysv/linux/arm/sys/ucontext.h
10971         * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h
10972         * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h
10973         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h
10974         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h
10975         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h
10976         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h
10977         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h
10978         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h
10979         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h
10980         * sysdeps/unix/sysv/linux/tile/sys/ucontext.h
10981         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h:
10982         Include both bits/sigcontext.h and bits/sigstack.h.
10983         Fix grammar error in comment, if present.
10985         * bits/sigstack.h
10986         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h
10987         * sysdeps/unix/sysv/linux/alpha/bits/sigstack.h
10988         * sysdeps/unix/sysv/linux/bits/sigstack.h
10989         * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h
10990         * sysdeps/unix/sysv/linux/mips/bits/sigstack.h
10991         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h
10992         * sysdeps/unix/sysv/linux/sparc/bits/sigstack.h
10993         * bits/sigcontext.h
10994         * sysdeps/mach/hurd/i386/bits/sigcontext.h
10995         * sysdeps/unix/sysv/linux/bits/sigcontext.h
10996         * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h
10997         * sysdeps/unix/sysv/linux/sparc/bits/sigcontext.h:
10998         Add multiple inclusion guard.  Permit inclusion by sys/ucontext.h
10999         as well as signal.h, if this was not already allowed.  Request
11000         definition of size_t if necessary.  Minimize semantically-null
11001         differences across files.
11003 2016-09-23  Zack Weinberg  <zackw@panix.com>
11005         * time/time.h, bits/time.h, sysdeps/unix/sysv/linux/bits/time.h:
11006         Remove all logic conditional on __need macros.  Move all the
11007         conditionally defined types to their own headers...
11008         * time/bits/types/clock_t.h: Define clock_t here.
11009         * time/bits/types/clockid_t.h: Define clockid_t here.
11010         * time/bits/types/struct_itimerspec.h: Define struct itimerspec here.
11011         * time/bits/types/struct_timespec.h: Define struct timespec here.
11012         * time/bits/types/struct_timeval.h: Define struct timeval here.
11013         * time/bits/types/struct_tm.h: Define struct tm here.
11014         * time/bits/types/time_t.h: Define time_t here.
11015         * time/bits/types/timer_t.h: Define timer_t here.
11016         * time/Makefile: Install the new headers.
11018         * bits/resource.h, io/fcntl.h, io/sys/poll.h, io/sys/stat.h
11019         * io/utime.h, misc/sys/select.h, posix/sched.h, posix/sys/times.h
11020         * posix/sys/types.h, resolv/netdb.h, rt/aio.h, rt/mqueue.h
11021         * signal/signal.h, pthread/semaphore.h, sysdeps/nptl/pthread.h
11022         * sysdeps/unix/sysv/linux/alpha/bits/resource.h
11023         * sysdeps/unix/sysv/linux/alpha/sys/acct.h
11024         * sysdeps/unix/sysv/linux/bits/resource.h
11025         * sysdeps/unix/sysv/linux/bits/timex.h
11026         * sysdeps/unix/sysv/linux/mips/bits/resource.h
11027         * sysdeps/unix/sysv/linux/net/ppp_defs.h
11028         * sysdeps/unix/sysv/linux/sparc/bits/resource.h
11029         * sysdeps/unix/sysv/linux/sys/acct.h
11030         * sysdeps/unix/sysv/linux/sys/timerfd.h
11031         * sysvipc/sys/msg.h, sysvipc/sys/sem.h, sysvipc/sys/shm.h
11032         * time/sys/time.h, time/sys/timeb.h
11033         Use the new bits/types headers.
11035         * include/time.h: Remove __need logic.
11036         * include/bits/time.h
11037         * include/bits/types/clock_t.h, include/bits/types/clockid_t.h
11038         * include/bits/types/time_t.h, include/bits/types/timer_t.h
11039         * include/bits/types/struct_itimerspec.h
11040         * include/bits/types/struct_timespec.h
11041         * include/bits/types/struct_timeval.h
11042         * include/bits/types/struct_tm.h:
11043         New wrapper headers.
11045 2016-09-23  Zack Weinberg  <zackw@panix.com>
11047         * sysdeps/mach/hurd/net/if_ppp.h
11048         * sysdeps/unix/sysv/linux/net/if_ppp.h:
11049         Only define struct ifpppstatsreq and struct ifpppcstatsreq
11050         if __USE_MISC is defined, to ensure struct ifreq is declared.
11052         * inet/netinet/ether.h: Condition all function prototypes
11053         on __USE_MISC, to ensure struct ether_addr is declared.
11055         * socket/bits/types/struct_osockaddr.h: New header.
11056         * include/bits/types/struct_osockaddr.h: New wrapper.
11057         * socket/Makefile: Install the new header.
11058         * socket/sys/socket.h, inet/protocols/talkd.h:
11059         Refer to bits/types/struct_osockaddr.h for the definition of
11060         struct osockaddr.
11062 2016-09-23  Zack Weinberg  <zackw@panix.com>
11064         * bits/in.h, gmon/sys/gmon.h, inet/netinet/igmp.h
11065         * inet/protocols/routed.h, inet/protocols/talkd.h
11066         * inet/protocols/timed.h, io/fts.h, nptl_db/thread_db.h
11067         * resolv/arpa/nameser.h, resolv/resolv.h, sunrpc/rpc/rpc_des.h
11068         * sysdeps/generic/netinet/if_ether.h
11069         * sysdeps/generic/netinet/in_systm.h
11070         * sysdeps/generic/netinet/ip.h, sysdeps/generic/netinet/tcp.h
11071         * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
11072         * sysdeps/gnu/netinet/udp.h, sysdeps/mach/hurd/net/ethernet.h
11073         * sysdeps/mach/hurd/net/if_arp.h
11074         * sysdeps/mach/hurd/net/if_ppp.h
11075         * sysdeps/mach/hurd/net/route.h, sysdeps/mach/sys/reboot.h
11076         * sysdeps/unix/sysv/linux/bits/in.h
11077         * sysdeps/unix/sysv/linux/net/ethernet.h
11078         * sysdeps/unix/sysv/linux/net/if_arp.h
11079         * sysdeps/unix/sysv/linux/net/if_ppp.h
11080         * sysdeps/unix/sysv/linux/net/if_shaper.h
11081         * sysdeps/unix/sysv/linux/net/route.h
11082         * sysdeps/unix/sysv/linux/netinet/if_ether.h
11083         * sysdeps/unix/sysv/linux/netinet/if_fddi.h
11084         * sysdeps/unix/sysv/linux/netinet/if_tr.h
11085         * sysdeps/unix/sysv/linux/netipx/ipx.h
11086         * sysdeps/unix/sysv/linux/sys/acct.h
11087         * include/arpa/nameser.h, include/resolv.h:
11088         Change all uses of u_char to unsigned char,
11089         u_short and ushort to unsigned short, u_int and uint to unsigned int,
11090         u_long and ulong to unsigned long, u_int8_t to uint8_t,
11091         u_int16_t to uint16_t, u_int32_t to uint32_t, quad_t to int64_t,
11092         and u_int64_t and u_quad_t to uint64_t.
11094         * mach/sys/reboot.h: Remove two casts of integer literals
11095         to the types they already have.
11097         * bits/in.h: Correct error in description of IP_MULTICAST_LOOP.
11098         * sysdeps/unix/sysv/linux/bits/in.h: Likewise.
11099         * sysdeps/unix/sysv/linux/netinet/if_ether.h: Change a comment
11100         from referring to 'unsigned char' to 'uint8_t' for consistency with
11101         the macro definition below.
11103         * gmon/sys/gmon.h, inet/netinet/igmp.h, inet/protocols/talkd.h
11104         * io/fts.h, resolv/arpa/nameser.h, resolv/resolv.h
11105         * sunrpc/rpc/rpc_des.h, sysdeps/generic/netinet/ip.h
11106         * sysdeps/gnu/netinet/tcp.h, sysdeps/gnu/netinet/udp.h
11107         * sysdeps/mach/hurd/net/if_ppp.h, sysdeps/unix/sysv/linux/net/if_ppp.h
11108         * sysdeps/unix/sysv/linux/sys/acct.h
11109         * include/arpa/nameser.h, include/resolv.h:
11110         Fix indentation disrupted by mechanical edits.
11112         * inet/protocols/talkd.h, resolv/arpa/nameser.h
11113         * sysdeps/generic/netinet/in_systm.h
11114         * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
11115         * sysdeps/gnu/netinet/udp.h
11116         * sysdeps/unix/sysv/linux/net/ethernet.h
11117         * sysdeps/unix/sysv/linux/net/if_arp.h
11118         * sysdeps/unix/sysv/linux/net/if_ppp.h
11119         * sysdeps/unix/sysv/linux/net/if_shaper.h
11120         * sysdeps/unix/sysv/linux/netinet/if_fddi.h
11121         * sysdeps/unix/sysv/linux/netinet/if_tr.h
11122         * sysdeps/unix/sysv/linux/netipx/ipx.h
11123         * sysdeps/unix/sysv/linux/sys/acct.h
11124         Include stdint.h for uintNN_t definitions.
11125         Don't include sys/cdefs.h, features.h, or asm/types.h directly.
11127 2016-09-23  Zack Weinberg  <zackw@panix.com>
11129         * rpcsvc/nislib.h: Include rpcsvc/nis.h.
11130         * sysdeps/unix/sysv/linux/netrose/rose.h:
11131         Include sys/socket.h and netax25/ax25.h.
11133         * inet/netinet/icmp6.h, inet/netinet/ip6.h
11134         * resolv/arpa/nameser_compat.h:
11135         Use __BYTE_ORDER etc. instead of BYTE_ORDER etc.
11137         * sysdeps/unix/sysv/linux/sys/quota.h:
11138         Use __caddr_t instead of caddr_t.
11139         * sysdeps/unix/sysv/linux/sys/timerfd.h:
11140         Use __clockid_t instead of clockid_t.
11142         * sysvipc/sys/ipc.h: Remove unnecessary #warning.
11144         * argp/argp.h: Check whether _LIBC is defined before expanding it.
11145         * posix/glob.h: Check whether __USE_XOPEN2K8 is defined instead of
11146         expanding it.
11148         * misc/sys/cdefs.h: Tidy up conditional nest defining __flexarr.
11149         Define __glibc_c99_flexarr_available to 1 when the compiler
11150         supports C99-compatible flexible array members, 0 otherwise.
11151         * sysdeps/unix/sysv/linux/bits/socket.h
11152         * sysdeps/mach/hurd/bits/socket.h
11153         * bits/socket.h: Use __glibc_c99_flexarr_available in
11154         definitions of struct cmsghdr and CMSG_DATA.
11156 2016-09-23  Florian Weimer  <fweimer@redhat.com>
11158         * manual/nss.texi (NSS Modules Interface): Adjust function return
11159         type to enum nss_status.  Document errnop argument.  Clarify
11160         h_errnop semantics.  Fix cross-reference formatting.
11161         (NSS Module Function Internals): Mention that *errnop needs to be
11162         set on failure, but not to zero.
11164 2016-09-23  Florian Weimer  <fweimer@redhat.com>
11166         * io/tst-open-tmpfile.c (wrap_open64, wrap_openat64)
11167         (get_random_name): New functions.
11168         (check_wrapper_flags_mode): Use linkat to give the new file a name
11169         determined by get_random_name.
11170         (do_test): Add calls to test open64 and openat64.
11172 2016-09-23  Florian Weimer  <fweimer@redhat.com>
11174         * test-skeleton.c: Remove #include <stdarg.h>.
11176 2016-09-21  Alexandre Oliva <aoliva@redhat.com>
11178         [BZ #19826]
11179         * elf/dl-tls.c (_dl_allocate_tls_init): Restore DTV early
11180         initialization of static TLS entries.
11181         * elf/dl-reloc.c (_dl_nothread_init_static_tls): Likewise.
11182         * nptl/allocatestack.c (init_one_static_tls): Likewise.
11184 2016-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11186         * hurd/hurdmalloc.c (malloc_fork_prepare): Rename to
11187         _hurd_malloc_fork_prepare.
11188         (malloc_fork_parent): Rename to _hurd_malloc_fork_parent.
11189         (malloc_fork_child): Rename to _hurd_malloc_fork_child.
11190         (_hurd_fork_prepare_hook): Drop malloc_fork_prepare.
11191         (_hurd_fork_parent_hook): Drop malloc_fork_parent.
11192         (_hurd_fork_child_hook): Drop malloc_fork_child.
11193         * hurd/hurdmalloc.h (_hurd_malloc_fork_prepare,
11194         _hurd_malloc_fork_parent, _hurd_malloc_fork_child): Add declarations.
11195         * sysdeps/mach/hurd/fork.c (__fork): Call __malloc_fork_lock_parent
11196         after locking locks (notably hurd_dtable_lock). Call
11197         _hurd_malloc_fork_prepare after that. Call _hurd_malloc_fork_parent
11198         before __malloc_fork_unlock_parent and _hurd_malloc_fork_child before
11199         __malloc_fork_unlock_child.
11200         * sysdeps/mach/i386/syscall.S (syscall): Push back syscall number.
11202 2016-09-21  James Greenhalgh  <james.greenhalgh@arm.com>
11204         * soft-fp/extendhftf2.c: New.
11205         * soft-fp/fixhfti.c: Likewise.
11206         * soft-fp/fixunshfti.c: Likewise.
11207         * soft-fp/floattihf.c: Likewise.
11208         * soft-fp/floatuntihf.c: Likewise.
11209         * soft-fp/half.h: Likewise.
11210         * soft-fp/trunctfhf2.c: Likewise.
11212 2016-09-21  Joseph Myers  <joseph@codesourcery.com>
11214         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (issubnormal): New
11215         macro.
11216         * math/libm-test.inc (issubnormal_test_data): New array.
11217         (issubnormal_test): New function.
11218         * manual/arith.texi (Floating Point Classes): Document
11219         issubnormal.
11220         * manual/libm-err-tab.pl: Update comment on interfaces without
11221         ulps tabulated.
11223         * sysdeps/generic/stdint.h: Define
11224         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
11225         <bits/libc-header-start.h> instead of including <features.h>.
11226         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT8_WIDTH): New macro.
11227         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT8_WIDTH): Likewise.
11228         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT16_WIDTH): Likewise.
11229         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT16_WIDTH): Likewise.
11230         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT32_WIDTH): Likewise.
11231         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT32_WIDTH): Likewise.
11232         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT64_WIDTH): Likewise.
11233         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT64_WIDTH): Likewise.
11234         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST8_WIDTH): Likewise.
11235         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST8_WIDTH): Likewise.
11236         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST16_WIDTH): Likewise.
11237         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST16_WIDTH): Likewise.
11238         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST32_WIDTH): Likewise.
11239         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST32_WIDTH): Likewise.
11240         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST64_WIDTH): Likewise.
11241         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST64_WIDTH): Likewise.
11242         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST8_WIDTH): Likewise.
11243         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST8_WIDTH): Likewise.
11244         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST16_WIDTH): Likewise.
11245         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST16_WIDTH): Likewise.
11246         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST32_WIDTH): Likewise.
11247         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST32_WIDTH): Likewise.
11248         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST64_WIDTH): Likewise.
11249         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST64_WIDTH): Likewise.
11250         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTPTR_WIDTH): Likewise.
11251         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTPTR_WIDTH): Likewise.
11252         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTMAX_WIDTH): Likewise.
11253         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTMAX_WIDTH): Likewise.
11254         [__GLIBC_USE (IEC_60559_BFP_EXT)] (PTRDIFF_WIDTH): Likewise.
11255         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIG_ATOMIC_WIDTH): Likewise.
11256         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIZE_WIDTH): Likewise.
11257         [__GLIBC_USE (IEC_60559_BFP_EXT)] (WCHAR_WIDTH): Likewise.
11258         [__GLIBC_USE (IEC_60559_BFP_EXT)] (WINT_WIDTH): Likewise.
11259         * manual/arith.texi (Integers): Document these macros for types
11260         specified by width properties.
11261         * manual/lang.texi (Width of Type): Document these macros for
11262         other standard typedefs.
11263         * stdlib/tst-width-stdint.c: New file.
11264         * stdlib/Makefile (tests): Add tst-width-stdint.
11266 2016-09-21  Florian Weimer  <fweimer@redhat.com>
11268         [BZ #20016]
11269         * resolv/res_send.c (__libc_res_nsend): Remove USE_HOOK code.
11270         * resolv/res_data.c (res_send_setqhook, res_send_setrhook):
11271         Move ...
11272         * resolv/compat-hooks.c (res_send_setqhook, res_send_setrhook):
11273         ... here, as compatibility symbols in a new file.
11274         * resolv/Makefile (libresolv-routines): Add compat-hooks.
11275         * resolv/res_init.c (__res_vinit): Adjust member names.
11276         * include/resolv.h (res_send_setqhook, res_send_setrhook): Remove.
11277         * resolv/resolv.h (res_sendhookact, res_send_qhook)
11278         (res_send_rhook): Remove.
11279         (struct __res_state): Rename qhook, rhook members.
11281 2016-09-21  Florian Weimer  <fweimer@redhat.com>
11283         malloc: Use __libc_lock wrappers.
11284         * malloc/arena.c (list_lock, free_list_lock): Define using
11285         __libc_lock_define_initialized.
11286         (arena_lock): Adjust formatting.
11287         * malloc/malloc.c (struct malloc_state): Define mutex using
11288         __libc_lock_define.
11289         * sysdeps/generic/malloc-machine.h (mutex_t, mutex_init)
11290         (mutex_lock, mutex_trylock, mutex_unlock): Remove.
11291         * sysdeps/mach/hurd/malloc-machine.h (mutex_t, mutex_lock)
11292         (mutex_unlock, mutex_trylock): Remove.
11293         (__pthread_initialize): Remove unused macro.
11294         * sysdeps/nptl/malloc-machine.h (mutex_t, mutex_lock)
11295         (mutex_unlock, mutex_trylock): Remove.
11297 2016-09-21  Florian Weimer  <fweimer@redhat.com>
11299         [BZ #20592]
11300         Remove RR type classification macros.
11301         * resolv/arpa/nameser.h (ns_t_qt_p, ns_t_mrr_p, ns_t_rr_p)
11302         (ns_t_udp_p, ns_t_xfr_p): Remove.
11304 2016-09-21  Florian Weimer  <fweimer@redhat.com>
11306         Remove misleading version information.
11307         * resolv/arpa/nameser.h (__NAMESER): Remove.
11308         * resolv/arpa/nameser_compat.h (__BIND): Remove.
11310 2016-09-21  Florian Weimer  <fweimer@redhat.com>
11312         Remove the always-defined BIND_4_COMPAT macro.
11313         * resolv/arpa/nameser.h: Unconditionally include
11314         <arpa/nameser_compat.h>.
11315         (BIND_4_COMPAT): Remove.
11316         * resolv/res_comp.c: Do not check BIND_4_COMPAT.
11318 2016-09-21  Florian Weimer  <fweimer@redhat.com>
11320         [BZ #20591]
11321         Remove obsolete DNSSEC support.
11322         * resolv/arpa/nameser.h (ns_key_types, NS_KEY_*, NS_ALG_*)
11323         (NS_MD5_RSA_*, NS_DSA_*, NS_NXT_*, ns_sign, ns_sign2, ns_sign_tcp)
11324         (ns_sign_tcp2, ns_sign_tcp_init, ns_find_tsig, ns_verify)
11325         (ns_verify_tcp, ns_verify_tcp_init): Remove.
11326         (ns_cert_types): Add comment.
11327         * resolv/ns_print.c (ns_sprintrrf): Do not handle DNSSEC records
11328         separately.
11329         (KEY_RSA, KEY_HMAC_MD5, dst_s_id_calc, dst_s_get_int16)
11330         (dst_s_dns_key_id): Remove.
11331         * resolv/res_debug.c (__p_key_syms, __p_cert_syms): Remove unused
11332         variables.
11334 2016-09-21  Florian Weimer  <fweimer@redhat.com>
11336         [BZ #20524]
11337         * manual/string.texi (String/Array Comparison): Clarify the
11338         strverscmp behavior.
11340 2016-09-21  Florian Weimer  <fweimer@redhat.com>
11342         * test-skeleton.c (xasprintf): Add function.
11343         * io/tst-open-tmpfile.c: New test.
11344         * io/Makefile (tests): Add it.
11346 2016-09-21  Florian Weimer  <fweimer@redhat.com>
11348         Avoid running $(CXX) during build to obtain header file paths.
11349         * configure.ac (CXX_SYSINCLUDES, CXX_CMATH_HEADER): Set.
11350         * config.make.in (c++-cstdlib-header, c++-cmath-header): Define.
11351         * Makerules (cstdlib, cmath): Remove variables.  Use
11352         $(c++-cstdlib-header), $(c++-cmath-header) instead.
11353         * configure: Regenerate.
11355 2016-09-21  Florian Weimer  <fweimer@redhat.com>
11357         * Makeconfig (all-object-suffixes): Include .op only if
11358         $(build-profile).
11360 2016-09-21  Florian Weimer  <fweimer@redhat.com>
11362         * elf/sln.c: Remove HAVE_CONFIG_H, S_ISDIR, S_ISLNK preprocessor
11363         conditionals.  Do not define PATH_MAX.
11365 2016-09-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11367         * posix/Makefile (tests): Add tst-spawn3.
11368         * posix/tst-spawn3.c: New file.
11369         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Close file descriptor
11370         if it is already opened for open action.
11372         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Correctly block and unblock
11373         all signals when executing the clone vfork child.
11374         (SIGALL_SET): Remove macro.
11376         * nptl/Makefile (tests): Add tst-exec5.
11377         * nptl/tst-exec5.c: New file.
11378         * sysdeps/unix/sysv/linux/spawni.c (__spawni): Correctly enable and disable
11379         asynchronous cancellation.
11381 2016-09-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11383         * hurd/exc2signal.c: #include <hurd/signal.h>
11384         (_hurd_exception2signal): Replace 'exception', 'code', 'subcode',
11385         'sigcode', 'error' parameters with 'detail' parameter.  Fix code
11386         accordingly.
11387         * mach/mach_error.c (mach_error): Fix old-style function definition.
11388         * mach/errstring.c (mach_error_type, mach_error_string): Likewise.
11390 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11392         * math/Makefile (libm-calls): Remove s_nanF.
11393         (gen-libm-calls): Add s_nanF.
11395         * math/s_nan.c: Refactor into ...
11396         * math/s_nan_template.c: New file.
11398         * math/s_nanf.c: Removed.
11399         * math/s_nanl.c: Removed.
11400         * sysdeps/ieee754/ldbl-opt/s_nan.c: Removed.
11401         * sysdeps/ieee754/ldbl-opt/s_nanl.c: Removed.
11403         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
11404         (LDOUBLE_nanl_libm_version): New macro.
11406         * sysdeps/generic/math-type-macros-double.h:
11407         (M_STRTO_NAN): New macro.
11408         * sysdeps/generic/math-type-macros-float.h: Likewise.
11409         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
11411         * sysdeps/generic/math-type-macros.h: Document
11412         M_STRTO_NAN.
11414 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11416         * math/s_nanf.c: Remove __nanf undef.
11417         * math/s_nan.c: Remove __nan undef.
11418         * math/s_nanl.c: Remove __nanl undef.
11420         * sysdeps/generic/math_private.h (__nan): Remove macro
11421         override.
11422         (__nanf): Likewise.
11423         (__nanl): Likewise.
11425 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11427         * math/Makefile (gen-all-calls): New variable.
11428         (generated): Replace gen-libm-calls with gen-all-calls.
11429         (gen-libm-templates.stmp): Likewise.  Also, ensure
11430         the output directory exists or is created and add
11431         dependency on the Makefile.
11432         (calls): Move s_ldexpF into gen-calls.
11433         (gen-calls): New variable.
11435         * math/s_ldexpf.c: Removed.
11436         * math/s_ldexpl.c: Removed.
11437         * math/s_ldexp.c: Refactored into ...
11438         * math/s_ldexp_template.c: New file.
11440         * sysdeps/generic/math-type-macros-double.h: Remove
11441         redundant fall-through definition of declare_mgen_alias.
11442         (declare_mgen_alias_2): New macro.
11444         * sysdeps/generc/math-type-macros.h (declare_mgen_alias_2):
11445         New macro for function aliased to two exported symbols.
11447         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Update to use
11448         new template file.
11449         sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
11451 2016-09-20  Florian Weimer  <fweimer@redhat.com>
11453         * Makeconfig (all-object-suffixes): Remove .og.
11454         * Makerules (elide-routines.og): Remove.
11455         * sysdeps/i386/i686/Makefile (CFLAGS-.og, ASFLAGS-.og): Remove.
11456         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.og): Remove.
11457         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.op): Remove.
11459 2016-09-20  Florian Weimer  <fweimer@redhat.com>
11461         * scripts/sysd-rules.awk (BEGIN): Only generate rtld patterns for
11462         .os objects.
11464 2016-09-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
11466         [BZ #20615]
11467         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Replace
11468         fpu directory by non-fpu.
11469         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Remove dependency
11470         on non-fpu directory from a fpu directory.
11472 2016-09-19  Joseph Myers  <joseph@codesourcery.com>
11474         * include/limits.h: Define
11475         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
11476         <bits/libc-header-start.h> instead of including <features.h>.
11477         [__GLIBC_USE (IEC_60559_BFP_EXT)] (CHAR_WIDTH): New macro.
11478         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SCHAR_WIDTH): Likewise.
11479         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UCHAR_WIDTH): Likewise.
11480         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SHRT_WIDTH): Likewise.
11481         [__GLIBC_USE (IEC_60559_BFP_EXT)] (USHRT_WIDTH): Likewise.
11482         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_WIDTH): Likewise.
11483         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_WIDTH): Likewise.
11484         [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH): Likewise.
11485         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
11486         [__GLIBC_USE (IEC_60559_BFP_EXT)] (LLONG_WIDTH): Likewise.
11487         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULLONG_WIDTH): Likewise.
11488         * manual/lang.texi (Width of Type): Document these macros.
11489         * stdlib/tst-width.c: New file.
11490         * stdlib/Makefile (tests): Add tst-width.
11492 2016-09-18  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11494         * intl/dcigettext.c (PATH_MAX): Call __pathconf instead of pathconf.
11495         * sysdeps/posix/dup.c (__dup): Call __fcntl instead of fcntl.
11497 2016-09-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11499         * nptl/sem_init.c (__new_sem_init): Init pad value to 0.
11500         * sysdeps/sparc/sparc32/sem_open.c: Remove file.
11501         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
11503 2016-09-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11505         [BZ #18243]
11506         * rt/Makefile (test): Add tst-shm-cancel.
11507         * rt/tst-shm-cancel.c: New file.
11508         * sysdeps/posix/shm_open.c: Disable asynchronous cancellation.
11510         [BZ #18243]
11511         * nptl/pthreadP.h (__pthread_testcancel): Add prototype and hidden_proto.
11512         * nptl/pthread_testcancel.c (pthread_cancel): Add internal aliais
11513         definition.
11514         * nptl/sem_timedwait.c (sem_timedwait): Add cancellation check for
11515         uncontended case.
11516         * nptl/sem_wait.c (__new_sem_wait): Likewise.
11517         * nptl/tst-cancel12.c (cleanup): Remove wrong cancellation point.
11518         (tf): Fix check for uncontended case.
11519         (do_test): Likewise.
11520         * nptl/tst-cancel13.c (cleanup): Remove wrong cancellation point.
11521         (tf): Fix check for uncontended case.
11522         (do_test): Likewise.
11523         * nptl/tst-cancel14.c (cleanup): Remove wrong cancellation point.
11524         (tf): Fix check for uncontended case.
11525         (do_test): Likewise.
11526         * nptl/tst-cancel15.c (cleanup): Remove wrong cancellation point.
11527         (tf): Fix check for uncontended case.
11528         (do_test): Likewise.
11530         * sysdeps/sparc/sparc32/sem_wait.c: Remove file.
11531         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Likewise.
11533         [BZ #15765]
11534         * nptl/Makefile (tests): Add tst-sem16.
11535         * nptl/tst-sem16.c: New file.
11536         * nptl/sem_open.c (sem_open): Disable asynchronous cancellation.
11538         * nptl/sem_open.c (sem_open): Init pad value to 0.
11539         * sysdeps/sparc/sparc32/sem_open.c: Remove file.
11540         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
11542 2016-09-15  Florian Weimer  <fweimer@redhat.com>
11544         [BZ #20611]
11545         * inet/Makefile (routines): Add inet6_scopeid_pton.
11546         (tests): Add tst-inet6_scopeid_pton.
11547         * inet/inet6_scopeid_pton.c: New file.
11548         * inet/net-internal.h: Likewise.
11549         * inet/tst-inet6_scopeid_pton.c: New test.
11550         * inet/Versions (GLIBC_PRIVATE): Add __inet6_scopeid_pton.
11551         * resolv/res_init.c (__res_vinit): Use __inet6_scopeid_pton.
11552         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
11554 2016-09-14  Florian Weimer  <fweimer@redhat.com>
11556         Remove support for compiling wrappers with PTW.
11557         * sysdeps/nptl/Makeconfig: Drop ptw- support.
11558         * nptl/Makefile (pthread-compat-wrappers): Define.
11559         (libpthread-routines): Use pthread-compat-wrappers.
11560         * sysdeps/unix/sysv/linux/alpha/Makefile
11561         (libpthread-routines, libpthread-shared-only-routines): Remove
11562         ptw- prefix.
11563         * sysdeps/s390/nptl/Makefile
11564         (libpthread-routines, libpthread-shared-only-routines): Likewise.
11565         * sysdeps/ia64/nptl/Makefile
11566         (libpthread-routines, libpthread-shared-only-routines): Likewise.
11567         * sysdeps/nacl/Makefile (libpthread-routines): Use
11568         pthread-compat-wrappers to filter the routines list instead of the
11569         ptw- prefix.
11571 2016-09-13  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11573         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Wrap long double literals
11574         with L() and remove explicit suffix, convert real literals
11575         which can be equivalentally substituted with integers, and
11576         transform -L(x) to L(-x).
11578         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
11579         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
11580         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
11581         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
11582         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
11583         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
11584         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
11585         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
11586         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
11587         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
11588         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
11589         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
11590         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
11591         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
11592         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
11593         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
11594         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
11595         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
11596         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
11597         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
11598         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
11599         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
11600         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
11601         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
11602         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
11603         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
11604         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
11605         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
11606         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
11607         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
11608         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
11609         * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
11610         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
11611         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
11612         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
11613         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
11614         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
11615         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
11616         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
11617         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
11618         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
11619         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
11620         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
11621         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
11622         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
11623         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
11624         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
11625         * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
11626         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
11627         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
11629 2016-09-13  Florian Weimer  <fweimer@redhat.com>
11631         * resolv/res_init.c: Remove _LIBC_REENTRANT; it is always defined.
11633 2016-09-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
11635         * malloc/Makefile (tests): Remove individual static test names
11636         and just add all of tests-static.
11638         * csu/libc-start.c (__libc_csu_irel): Remove declaration.
11640 2016-09-07  Joseph Myers  <joseph@codesourcery.com>
11642         * sysdeps/powerpc/powerpc32/e500/nofpu/fetestexceptflag.c: New
11643         file.
11645         * sysdeps/sparc/fpu/fegetmode.c: New file.
11646         * sysdeps/sparc/fpu/fesetmode.c: Likewise.
11648         * sysdeps/sh/sh4/fpu/fegetmode.c: New file.
11649         * sysdeps/sh/sh4/fpu/fesetmode.c: Likewise.
11651         * sysdeps/s390/fpu/fegetmode.c: New file.
11652         * sysdeps/s390/fpu/fesetmode.c: Likewise.
11654         * sysdeps/powerpc/fpu/fegetmode.c: New file.
11655         * sysdeps/powerpc/fpu/fesetmode.c: Likewise.
11656         * sysdeps/powerpc/nofpu/fegetmode.c: Likewise.
11657         * sysdeps/powerpc/nofpu/fesetmode.c: Likewise.
11658         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetmode.c: Likewise.
11659         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetmode.c: Likewise.
11661         * sysdeps/mips/fpu/fegetmode.c: New file.
11662         * sysdeps/mips/fpu/fesetmode.c: Likewise.
11664         * sysdeps/m68k/fpu/fegetmode.c: New file.
11665         * sysdeps/m69k/fpu/fesetmode.c: Likewise.
11667         * sysdeps/ia64/fpu/fegetmode.c: New file.
11668         * sysdeps/ia64/fpu/fesetmode.c: Likewise.
11670         * sysdeps/hppa/fpu/fegetmode.c: New file.
11671         * sysdeps/hppa/fpu/fesetmode.c: Likewise.
11673         * sysdeps/arm/fegetmode.c: New file.
11674         * sysdeps/arm/fesetmode.c: Likewise.
11676         * sysdeps/alpha/fpu/fegetmode.c: New file.
11677         * sysdeps/alpha/fpu/fesetmode.c: Likewise.
11679         * sysdeps/aarch64/fpu/fegetmode.c: New file.
11680         * sysdeps/aarch64/fpu/fesetmode.c: Likewise.
11682         * math/fegetmode.c: New file.
11683         * math/fesetmode.c: Likewise.
11684         * sysdeps/i386/fpu/fegetmode.c: Likewise.
11685         * sysdeps/i386/fpu/fesetmode.c: Likewise.
11686         * sysdeps/x86_64/fpu/fegetmode.c: Likewise.
11687         * sysdeps/x86_64/fpu/fesetmode.c: Likewise.
11688         * math/fenv.h: Update comment on inclusion of <bits/fenv.h>.
11689         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fegetmode): New function
11690         declaration.
11691         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetmode): Likewise.
11692         * bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (femode_t): New
11693         typedef.
11694         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
11695         * sysdeps/aarch64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
11696         (femode_t): New typedef.
11697         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
11698         * sysdeps/alpha/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
11699         (femode_t): New typedef.
11700         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
11701         * sysdeps/arm/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
11702         (femode_t): New typedef.
11703         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
11704         * sysdeps/hppa/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
11705         (femode_t): New typedef.
11706         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
11707         * sysdeps/ia64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
11708         (femode_t): New typedef.
11709         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
11710         * sysdeps/m68k/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
11711         (femode_t): New typedef.
11712         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
11713         * sysdeps/microblaze/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
11714         (femode_t): New typedef.
11715         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
11716         * sysdeps/mips/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
11717         (femode_t): New typedef.
11718         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
11719         * sysdeps/nios2/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
11720         (femode_t): New typedef.
11721         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
11722         * sysdeps/powerpc/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
11723         (femode_t): New typedef.
11724         [__GLIBC_USE (IEC_60559_BFP_EXT)] (__fe_dfl_mode): New variable
11725         declaration.
11726         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
11727         * sysdeps/s390/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
11728         (femode_t): New typedef.
11729         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
11730         * sysdeps/sh/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
11731         (femode_t): New typedef.
11732         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
11733         * sysdeps/sparc/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
11734         (femode_t): New typedef.
11735         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
11736         * sysdeps/tile/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
11737         (femode_t): New typedef.
11738         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
11739         * sysdeps/x86/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
11740         (femode_t): New typedef.
11741         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
11742         * manual/arith.texi (FE_DFL_MODE): Document macro.
11743         (fegetmode): Document function.
11744         (fesetmode): Likewise.
11745         * math/Versions (fegetmode): New libm symbol at version
11746         GLIBC_2.25.
11747         (fesetmode): Likewise.
11748         * math/Makefile (libm-support): Add fegetmode and fesetmode.
11749         (tests): Add test-femode and test-femode-traps.
11750         * math/test-femode-traps.c: New file.
11751         * math/test-femode.c: Likewise.
11752         * sysdeps/powerpc/fpu/fenv_const.c (__fe_dfl_mode): Declare as
11753         alias for __fe_dfl_env.
11754         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_dfl_mode): Likewise.
11755         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c
11756         (__fe_dfl_mode): Likewise.
11757         * sysdeps/powerpc/Versions (__fe_dfl_mode): New libm symbol at
11758         version GLIBC_2.25.
11759         * sysdeps/nacl/libm.abilist: Update.
11760         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
11761         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
11762         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
11763         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
11764         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
11765         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
11766         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
11767         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
11768         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
11769         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
11770         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
11771         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
11772         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
11773         Likewise.
11774         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
11775         Likewise.
11776         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
11777         Likewise.
11778         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
11779         Likewise.
11780         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
11781         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
11782         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
11783         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
11784         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
11785         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
11786         Likewise.
11787         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
11788         Likewise.
11789         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
11790         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
11791         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
11793 2016-09-06  H.J. Lu  <hongjiu.lu@intel.com>
11795         [BZ #20495]
11796         [BZ #20508]
11797         * sysdeps/x86/cpu-features.c (init_cpu_features): For Intel
11798         processors, set Use_dl_runtime_resolve_slow and set
11799         Use_dl_runtime_resolve_opt if XGETBV suports ECX == 1.
11800         * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
11801         New.
11802         (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
11803         (index_arch_Use_dl_runtime_resolve_opt): Likewise.
11804         (index_arch_Use_dl_runtime_resolve_slow): Likewise.
11805         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup): Use
11806         _dl_runtime_resolve_avx512_opt and _dl_runtime_resolve_avx_opt
11807         if Use_dl_runtime_resolve_opt is set.  Use
11808         _dl_runtime_resolve_slow if Use_dl_runtime_resolve_slow is set.
11809         * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features.h>.
11810         (_dl_runtime_resolve_opt): New.  Defined for AVX and AVX512.
11811         (_dl_runtime_resolve): Add one for _dl_runtime_resolve_sse_vex.
11812         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx_slow):
11813         New.
11814         (_dl_runtime_resolve_opt): Likewise.
11815         (_dl_runtime_profile): Define only if _dl_runtime_profile is
11816         defined.
11818 2016-09-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
11820         * sysdeps/unix/sysv/linux/s390/localplt.data: Mark ld.so:
11821         __libc_memalign with "+ RELA R_390_GLOB_DAT".
11823 2016-09-06  Florian Weimer  <fweimer@redhat.com>
11825         Convert malloc to __libc_lock.  Automated part, using this Perl
11826         s/// command:
11827           s/(?:\(void\)\s*)?mutex_((?:|un|try)lock|init)
11828             \s*\(\&([^\)]+)\)/__libc_lock_$1\ ($2)/gx;
11829         * malloc/malloc.c, malloc/arena.c, malloc/hooks.c: Perform
11830         conversion.
11832 2016-09-05  Aurelien Jarno  <aurelien@aurel32.net>
11834         * conform/Makefile (conformtest-header-tests): Pass -I. to $(PERL).
11835         (linknamespace-symlists-tests): Likewise.
11836         (linknamespace-header-tests): Likewise.
11838 2016-09-03  Aurelien Jarno  <aurelien@aurel32.net>
11840         [BZ #19810]
11841         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag later.
11842         * elf/tst-noload.c: New test case.
11843         * elf/Makefile (tests): Add tst-noload.
11845 2016-09-02  Roland McGrath  <roland@hack.frob.com>
11847         * sysdeps/nacl/dup.c: Add libc_hidden_def.
11849         * sysdeps/posix/wait3.c: Don't treat STAT_LOC as a union, since it's
11850         not any more.
11852         * sysdeps/nacl/clock.c (clock): nacl_abi_clock_t -> nacl_irt_clock_t
11854 2016-09-02  Siddhesh Poyarekar  <siddhesh@sourceware.org>
11856         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Mark as inline.
11857         (do_cos_slow): Likewise.
11858         (do_sin): Likewise.
11859         (do_sin_slow): Likewise.
11860         (slow): Likewise.
11861         (slow1): Likewise.
11862         (slow2): Likewise.
11863         (sloww): Likewise.
11864         (sloww1): Likewise.
11865         (sloww2): Likewise.
11866         (bsloww): Likewise.
11867         (bsloww1): Likewise.
11868         (bsloww2): Likewise.
11869         (cslow2): Likewise.
11871         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use do_sin.
11873         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Accept X and DX as input
11874         arguments.  Consolidate input partitioning from callers here.
11875         (do_cos_slow): Likewise.
11876         (do_sin): Likewise.
11877         (do_sin_slow): Likewise.
11878         (do_sincos_1): Remove the no longer necessary input partitioning.
11879         (do_sincos_2): Likewise.
11880         (__sin): Likewise.
11881         (__cos): Likewise.
11882         (slow1): Likewise.
11883         (slow2): Likewise.
11884         (sloww1): Likewise.
11885         (sloww2): Likewise.
11886         (bsloww1): Likewise.
11887         (bsloww2): Likewise.
11888         (cslow2): Likewise.
11890 2016-09-02  Florian Weimer  <fweimer@redhat.com>
11892         * stdio-common/vfscanf.c (_IO_vfwscanf): Use MB_LEN_MAX instead of
11893         MB_CUR_MAX to avoid race condition.  Avoid pointer arithmetic
11894         outside of allocated array.
11896 2016-09-02  Florian Weimer  <fweimer@redhat.com>
11898         * stdio-common/vfprintf.c (process_string_arg): Use MB_LEN_MAX
11899         instead of MB_CUR_MAX to avoid variable-length array.
11901 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11903         * math/Makefile (libm-calls): Remove k_rem_pio2F.
11904         (type-double-routines): Add k_rem_pio2.
11905         (type-float-routines): Add k_rem_pio2f.
11907         * sysdeps/generic/math_private.h:
11908         (__kernel_rem_pio2l): Removed.
11910         * math/k_rem_pio2l.c: Removed.
11911         * sysdeps/i386/fpu/k_rem_pio2l.c: Removed.
11912         * sysdeps/ia64/fpu/k_rem_pio2l.c: Removed.
11913         * sysdeps/m68k/m680x0/fpu/k_rem_pio2l.c: Removed.
11914         * sysdeps/x86_64/fpu/k_rem_pio2l.c: Removed.
11916 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11918         * math/Makefile (gen-libm-calls): Add s_fmin
11919         (libm-calls): Remove above.
11921         * math/s_fmin.c: Refactor into ...
11922         * math/s_fmin_template.c: New file.
11924         * math/s_fminf.c: Removed.
11925         * math/s_fminl.c: Removed.
11926         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
11927         (LDOUBLE_fmin_libm_version): New macro.
11929         * sysdeps/ieee754/ldbl-opt/s_fmin.c: Removed.
11930         * sysdeps/ieee754/ldbl-opt/s_fminl.c: Removed.
11932 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11934         * math/Makefile: (gen-libm-calls): Add s_fmax.
11935         (libm-calls): Remove above.
11937         * math/s_fmax.c: Refactor into ...
11938         * math/s_fmax_template.c: New file.
11939         * math/s_fmaxf.c: Removed.
11940         * math/s_fmaxl.c: Removed.
11942         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
11943         (LDOUBLE_fmaxl_libm_version): New macro.
11945         * sysdeps/ieee754/ldbl-opt/s_fmax.c: Removed.
11946         * sysdeps/ieee754/ldbl-opt/s_fmaxl.c: Removed.
11948         * sysdeps/aarch64/fpu/s_fmax.c: Append fpu/ to include of
11949         s_fmin.c to pick the aarch64 version of the file.
11950         * sysdeps/aarch64/fpu/s_fmaxf.c: Likewise.
11951         * sysdeps/aarch64/fpu/s_fminf.c: Likewise.
11953 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11955         * math/Makefile: (gen-libm-calls): Add s_nextdown.
11956         (libm-calls): Remove above.
11958         * math/s_nextdown.c: Refactor into ...
11959         * math/s_nextdown_template.c: New file.
11960         * math/s_nextdownf.c: Removed.
11961         * math/s_nextdownl.c: Removed.
11963         * sysdeps/ieee754/ldbl-opt/s_nextdownl.c: New file.
11965 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11967         * math/Makefile (gen-libm-calls): Add s_fdim.
11968         (libm-calls): Move to above.
11970         * math/s_fdim.c: Renamed and refactored into to ...
11971         * math/s_fdim_template.c: New file.
11972         * math/s_fdiml.c: Removed.
11973         * sysdeps/ieee754/ldbl-opt/s_fdim.c: Removed.
11974         * sysdeps/ieee754/ldbl-opt/s_fdiml.c: Removed.
11976         * sysdeps/generic/math-type-macros-double.h:
11977         (declare_mgen_alias): Don't declare if already declared.
11978         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h:
11979         Likewise.
11981         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
11982         (declare_mgen_alias): Don't declare if already declared.
11983         (M_LIBM_NEED_COMPAT): Likewise.
11984         (declare_mgen_libm_compat): Likewise.
11985         (LDOUBLE_fdiml_libm_version): New macro.
11987         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
11988         Include math/s_fdim.c now that ldbl-opt version is not needed.
11989         (declare_mgen_alias): New macro to disable aliasing.
11991         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.c:
11992         (declare_mgen_alias): Likewise.
11993         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c:
11994         (declare_mgen_alias): Likewise.
11995         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c:
11996         (declare_mgen_alias): Likewise.
11997         (M_LIBM_NEED_COMPAT): Likewise.
11999 2016-09-01  Florian Weimer  <fweimer@redhat.com>
12001         [BZ #20525]
12002         * sysdeps/unix/sysv/linux/sys/quota.h: Update copyright.
12003         Include <linux/quota.h>.
12004         (fs_to_dq_blocks): Hard-code BLOCK_SIZE as 1024, to match dbtob
12005         and btodb.
12006         (_LINUX_QUOTA_VERSION, MAXQUOTAS, USRQUOTA, GRPQUOTA, INITQFNAMES)
12007         (SUBCMDMASK, SUBCMDSHIFT, QCMD, Q_QUOTAON, Q_QUOTAOFF, Q_GETQUOTA)
12008         (Q_SETQUOTA, Q_SETUSE, Q_SYNC, Q_SETQLIM, Q_GETSTATS, Q_RSQUASH)
12009         (Q_GETFMT, Q_GETINFO, Q_SETINFO, Q_GETNEXTQUOTA, QIF_BLIMITS)
12010         (QIF_SPACE, QIF_ILIMITS, QIF_INODES, QIF_BTIME, QIF_ITIME)
12011         (QIF_LIMITS, QIF_USAGE, QIF_TIMES, QIF_ALL, IIF_BGRACE)
12012         (IIF_IGRACE, IIF_FLAGS, IIF_ALL): Remove.
12013         (struct dqblock, struct dqinfo): Use __uint64_t and __uint32_t
12014         types.
12015         * sysdeps/unix/sysv/linux/tst-quota.c: New test.
12016         * sysdeps/unix/sysv/linux/Makefile (tests): Add it.
12018 2016-08-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12020         * sysdeps/ieee754/ldbl-128/e_gammal_r.c:
12021         (gammal_positive): Fix spacing.
12022         (__ieee754_gammal_r): Likewise.
12024 2016-08-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12026         * sysdeps/ieee754/ldbl-128/math_ldbl.h:
12027         (_Float128): Define as long double, always.
12028         (L): Apply long double type suffix, always.
12030         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Rename long double
12031         _Float128, excepting comments.
12033         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
12034         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
12035         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
12036         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
12037         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
12038         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
12039         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
12040         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
12041         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
12042         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: Likewise.
12043         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
12044         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
12045         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
12046         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
12047         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
12048         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
12049         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
12050         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
12051         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
12052         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
12053         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
12054         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
12055         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
12056         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
12057         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
12058         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
12059         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
12060         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
12061         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
12062         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
12063         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
12064         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
12065         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
12066         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
12067         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
12068         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
12069         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
12070         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
12071         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
12072         * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
12073         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
12074         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
12075         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
12076         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
12077         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
12078         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
12079         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
12080         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
12081         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
12082         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
12083         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
12084         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
12085         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
12086         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
12087         * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
12088         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
12089         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
12090         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
12091         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
12092         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
12093         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
12094         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
12095         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
12096         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
12097         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
12098         * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
12099         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
12100         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
12102         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Rename long double
12103         _Float128, and include math_private.h.
12104         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
12106         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (L): Define using
12107         long double semantics.
12108         (_Float128): Likewise.
12109         * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Likewise.
12110         * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
12111         * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
12112         * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
12114 2016-08-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
12116         * config.h.in (HAVE_S390_MIN_Z196_ZARCH_ASM_SUPPORT): New undefine.
12117         * sysdeps/s390/configure.ac: Add test for z196 zarch support.
12118         * sysdeps/s390/configure: Regenerated.
12119         * sysdeps/s390/fpu/fraiseexcpt.c (__feraiseexcept): Use ledbra
12120         instruction for raising over-/underflow if z196 zarch is supported
12121         by default.
12122         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Correct comment.
12124 2016-08-30  Svante Signell  <svante.signell@gmail.com>
12126         * sysdeps/mach/hurd/adjtime.c (__adjtime): When OLDDELTA is NULL, make
12127         it point to a dumb buffer for RPC to fill it.
12129 2016-08-30  Siddhesh Poyarekar  <siddhesh@sourceware.org>
12131         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): Use ternary
12132         instead of if/else.
12133         (do_sin_slow): Likewise.
12134         (do_sincos_1): Use fabs instead of if/else.
12135         (do_sincos_2): Likewise.
12136         (__sin): Likewise.
12137         (__cos): Likewise.
12138         (slow2): Likewise.
12139         (sloww): Likewise.
12140         (sloww1): Likewise.  Drop argument M.
12141         (sloww2): Use fabs instead of if/else.
12142         (bsloww): Likewise.
12143         (bsloww1): Likewise.
12144         (bsloww2): Likewise.
12146         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Add
12147         fall through comment.
12148         (do_sincos_1): Likewise.
12150         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute):
12151         Consolidate switch cases 0 and 2.
12153 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12155         * math/Makefile (libm-gen-calls): Add cpow, clog, clog10, cexp, cproj.
12156         (libm-calls): Remove the above.
12158         * math/s_cexp_template.c: Update using type-generic macros.
12159         * math/s_clog10_template.c: Likewise.
12160         * math/s_cpow_template.c: Likewise.
12161         * math/s_clog_template.c: Likewise.
12162         * math/s_cproj_template.c: Likewise.
12163         * math/s_csqrt_template.c: Likewise.
12165         * math/s_cexp.c: Removed.
12166         * math/s_cexpf.c: Removed.
12167         * math/s_cexpl.c: Removed.
12168         * math/s_clog10.c: Removed.
12169         * math/s_clog10f.c: Removed.
12170         * math/s_clog10l.c: Removed.
12171         * math/s_cpow.c: Removed.
12172         * math/s_cpowf.c: Removed.
12173         * math/s_cpowl.c: Removed.
12174         * math/s_clog.c: Removed.
12175         * math/s_clogf.c: Removed.
12176         * math/s_clogl.c: Removed.
12177         * math/s_cproj.c: Removed.
12178         * math/s_cprojf.c: Removed.
12179         * math/s_cprojl.c: Removed.
12180         * math/s_csqrt.c: Removed.
12181         * math/s_csqrtf.c: Removed.
12182         * math/s_csqrtl.c: Removed.
12184         * sysdeps/alpha/fpu/s_cexpf.c: Update using templated version.
12185         * sysdeps/alpha/fpu/s_clog10f.c: Update using templated version.
12186         * sysdeps/alpha/fpu/s_clogf.c: Update using templated version.
12187         * sysdeps/alpha/fpu/s_cpowf.c: Update using templated version.
12188         * sysdeps/alpha/fpu/s_cprojf.c: Update using templated version.
12189         * sysdeps/alpha/fpu/s_csqrtf.c: Update using templated version.
12191         * sysdeps/ieee754/ldbl-opt/s_cexp.c: Removed.
12192         * sysdeps/ieee754/ldbl-opt/s_cexpl.c: Removed.
12193         * sysdeps/ieee754/ldbl-opt/s_clog.c: Removed.
12194         * sysdeps/ieee754/ldbl-opt/s_clog10.c: Removed.
12195         * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Removed.
12196         * sysdeps/ieee754/ldbl-opt/s_cpow.c: Removed.
12197         * sysdeps/ieee754/ldbl-opt/s_cpowl.c: Removed.
12198         * sysdeps/ieee754/ldbl-opt/s_cproj.c: Removed.
12199         * sysdeps/ieee754/ldbl-opt/s_cprojl.c: Removed.
12200         * sysdeps/ieee754/ldbl-opt/s_csqrt.c: Removed.
12201         * sysdeps/ieee754/ldbl-opt/s_csqrtl.c: Removed.
12203         * sysdeps/ieee754/ldbl-opt/s_clogl.c: Update using templated
12204         version.
12206         * sysdeps/m68k/m680x0/fpu/s_cexp.c: Refactor into.
12207         * sysdeps/m68k/m680x0/fpu/s_cexp_template.c: New file.
12208         * sysdeps/m68k/m680x0/fpu/s_cexpf.c: Removed.
12209         * sysdeps/m68k/m680x0/fpu/s_cexpl.c: Removed.
12211 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12213         * s_cexp_template.c: Copy of s_cexp.c.
12214         * s_clog_template.c: Copy of s_clog.c.
12215         * s_clog10_template.c: Copy of s_clog10.c.
12216         * s_cpow_template.c: Copy of s_cpow.c.
12217         * s_cproj_template.c: Copy of s_cproj.c.
12218         * s_csqrt_template.c: Copy of s_csqrt.c.
12220 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12222         [BZ #20517]
12223         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
12224         Include ldbl-opt/s_fdim.c to ensure fdiml@GLIBC_2.1 is
12225         exported.
12227 2016-08-29  Joseph Myers  <joseph@codesourcery.com>
12229         * math/fetestexceptflag.c: New file.
12230         * sysdeps/s390/fpu/fetestexceptflag.c: Likewise.  Comment by
12231         Stefan Liebler.
12232         * math/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
12233         (fetestexceptflag): New function declaration.
12234         * manual/arith.texi (fetestexceptflag): Document function.
12235         * math/Versions (fetestexceptflag): New libm symbol at version
12236         GLIBC_2.25.
12237         * math/Makefile (libm-support): Add fetestexceptflag.
12238         (tests): Add test-fetestexceptflag.
12239         * math/test-fetestexceptflag.c: New file.
12240         * sysdeps/nacl/libm.abilist: Update.
12241         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
12242         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
12243         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
12244         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
12245         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
12246         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
12247         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
12248         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
12249         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
12250         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
12251         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
12252         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
12253         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
12254         Likewise.
12255         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
12256         Likewise.
12257         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
12258         Likewise.
12259         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
12260         Likewise.
12261         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
12262         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
12263         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
12264         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
12265         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
12266         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
12267         Likewise.
12268         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
12269         Likewise.
12270         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
12271         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
12272         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
12274 2016-08-26  Florian Weimer  <fweimer@redhat.com>
12276         [BZ #20432]
12277         Avoid strong references to malloc-internal symbols when linking
12278         statically, to support statically interposed mallocs.
12279         * include/libc-symbols.h (call_function_static_weak): New macro.
12280         * malloc/Makefile (tests): Add tst-interpose-nothread,
12281         tst-interpose-thread, tst-interpose-static-nothread,
12282         tst-interpose-static-thread.
12283         (tests-static): Add tst-interpose-static-nothread,
12284         tst-interpose-static-thread.
12285         (extra-tests-objs): Add tst-interpose-aux-nothread.o,
12286         tst-interpose-aux-thread.o.
12287         (test-extras): Add tst-interpose-aux-nothread,
12288         tst-interpose-aux-thread.
12289         (tst-interpose-nothread, tst-interpose-static-nothread): Link with
12290         tst-interpose-aux-nothread.o.
12291         (tst-interpose-thread, tst-interpose-static-thread): Link with
12292         tst-interpose-aux-thread.o and libthread.
12293         * malloc/tst-interpose-aux-nothread.c: New file.
12294         * malloc/tst-interpose-aux-thread.c: Likewise.
12295         * malloc/tst-interpose-aux.c: Likewise.
12296         * malloc/tst-interpose-aux.h: Likewise.
12297         * malloc/tst-interpose-nothread.c: Likewise.
12298         * malloc/tst-interpose-skeleton.c: Likewise.
12299         * malloc/tst-interpose-static-nothread.c: Likewise.
12300         * malloc/tst-interpose-static-thread.c: Likewise.
12301         * malloc/tst-interpose-thread.c: Likewise.
12302         * nptl/tst-tls3-malloc.c: Use new interposed malloc.
12303         * sysdeps/mach/hurd/fork.c (__fork): Only call
12304         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
12305         __malloc_fork_unlock_child if defined.
12306         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
12308 2016-08-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12310         * test-skeleton.c (delayed_exit_thread): Add initializer on struct
12311         timespec C99 designated initialization.
12313 2016-08-26  Florian Weimer  <fweimer@redhat.com>
12315         [BZ #19946]
12316         Avoid expected SIGALRM signals.
12317         * test-skeleton.c (xpthread_sigmask, xpthread_mutex_lock)
12318         (xpthread_spin_lock, xpthread_cond_wait, xpthread_barrier_wait)
12319         (xpthread_create, xpthread_detach, xpthread_join)
12320         (delayed_exit_thread, delayed_exit): New functions.
12321         * nptl/tst-cond3 (EXPECTED_SIGNAL): Remove.
12322         (tf): Use xpthread_cond_wait.
12323         (do_test): Likewise.  Replace alarm with delayed_exit.
12324         * nptl/tst-eintr1.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
12325         (do_test): Call delayed_exit.  Report failure.
12326         * nptl/tst-eintr2.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
12327         (do_test): Call delayed_exit.
12328         * nptl/tst-eintr3.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
12329         (do_test): Call delayed_exit.  Use xpthread_join.  Report error.
12330         * nptl/tst-eintr4.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
12331         (do_test): Call delayed_exit.  Use xpthread_barrier_wait.  Report
12332         error.
12333         * nptl/tst-eintr5.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
12334         (do_test): Call delayed_exit.  Use xpthread_cond_wait.  Report
12335         error.
12336         * nptl/tst-exit2.c (EXPECTED_SIGNAL): Remove.
12337         (do_test): Call delayed_exit.
12338         * nptl/tst-exit3.c (EXPECTED_SIGNAL): Remove.
12339         (do_test): Call delayed_exit.
12340         * nptl/tst-mutex6.c (EXPECTED_SIGNAL): Remove.
12341         (do_test): Call delayed_exit instead of alarm.  Use
12342         xpthread_mutex_lock.
12343         * nptl/tst-rwlock5.c (EXPECTED_SIGNAL): Remove.
12344         (do_test): Call delayed_exit instead of alarm.  Use
12345         xpthread_mutex_lock.
12346         * nptl/tst-sem2.c (EXPECTED_SIGNAL): Remove.
12347         (do_test): Call delayed_exit instead of alarm.
12348         * nptl/tst-spin3.c (EXPECTED_SIGNAL): Remove.
12349         (do_test): Call delayed_exit instead of alarm.  Use
12350         xpthread_spin_lock.
12351         * nptl/tst-stdio1.c (EXPECTED_SIGNAL): Remove.
12352         (do_test): Call delayed_exit instead of alarm.  Use
12353         xpthread_join.
12355 2016-08-26  H.J. Lu  <hongjiu.lu@intel.com>
12357         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Don't
12358         adjust CFA when allocating register save area on re-aligned
12359         stack.
12361 2016-08-26  Florian Weimer  <fweimer@redhat.com>
12363         * string/tst-cmp.c: New test.
12364         * string/Makefile (tests): Add it.
12366 2016-08-25  Mark Wielaard  <mark@klomp.org>
12368         * misc/tsearch.c (struct node_t): Reduce to 3 pointers if
12369         USE_MALLOC_LOW_BIT.  Define pointer/value accessors.
12370         (check_tree_recurse): Use newly defined accessors.
12371         (check_tree): Likewise.
12372         (maybe_split_for_insert): Likewise.
12373         (__tfind): Likewise.
12374         (__tdelete): Likewise.
12375         (trecurse): Likewise.
12376         (tdestroy_recurse): Likewise.
12377         (__tsearch): Likewise. And add asserts for malloc alignment.
12378         (__twalk): Cast root to node in case CHECK_TREE is defined.
12380 2016-08-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12382         * scripts/check-local-headers.sh (exclude): Add mach_debug/.
12384 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12386         * math/Makefile (libm-gen-calls): Add
12387         catan, catanh, ctan, ctanh.
12388         (libm-calls): Remove the above.
12390         * math/s_catan_template.c: Update using type-generic macros.
12391         * math/s_catanh_template.c: Likewise.
12392         * math/s_ctan_template.c: Likewise.
12393         * math/s_ctanh_template.c: Likewise.
12395         * math/s_catanf.c: Removed.
12396         * math/s_catan.c: Removed.
12397         * math/s_catanl.c: Removed.
12398         * math/s_catanhf.c: Removed.
12399         * math/s_catanh.c: Removed.
12400         * math/s_catanhl.c: Removed.
12401         * math/s_ctanf.c: Removed.
12402         * math/s_ctan.c: Removed.
12403         * math/s_ctanl.c: Removed.
12404         * math/s_ctanhf.c: Removed.
12405         * math/s_ctanh.c: Removed.
12406         * math/s_ctanhl.c: Removed.
12408         * sysdeps/ieee754/ldbl-opt/s_catanhl.c: Removed.
12409         * sysdeps/ieee754/ldbl-opt/s_catanl.c: Removed.
12410         * sysdeps/ieee754/ldbl-opt/s_ctan.c: Removed.
12411         * sysdeps/ieee754/ldbl-opt/s_ctanh.c: Removed.
12412         * sysdeps/ieee754/ldbl-opt/s_ctanhl.c: Removed.
12413         * sysdeps/ieee754/ldbl-opt/s_ctanl.c: Removed.
12415         * sysdeps/alpha/fpu/s_catanf.c: Update to use template file.
12416         * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
12417         * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
12418         * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
12420 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12422         * s_catan_template.c: Copy of s_catan.c.
12423         * s_catanh_template.c: Copy of s_catanh.c.
12424         * s_ctan_template.c: Copy of s_ctan.c.
12425         * s_ctanh_template.c: Copy of s_ctanh.c.
12427 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12429         * math/Makefile (gen-libm-calls): Move
12430         casin, casinh, csin, csinh here.
12431         (libm-calls): Remove the above.
12433         * math/s_casin_template.c: Update using type-generic macros.
12434         * math/s_casinh_template.c: Likewise.
12435         * math/s_csin_template.c: Likewise.
12436         * math/s_csinh_template.c: Likewise.
12437         * math/k_casinh_template.c: Likewise.
12439         * math/s_casinf.c: Removed.
12440         * math/s_casin.c: Removed.
12441         * math/s_casinl.c: Removed.
12442         * math/s_casinh.c: Removed.
12443         * math/s_casinhf.c: Removed.
12444         * math/s_casinhl.c: Removed.
12445         * math/s_csin.c: Removed.
12446         * math/s_csinf.c: Removed.
12447         * math/s_csinl.c: Removed.
12448         * math/s_csinh.c: Removed.
12449         * math/s_csinhf.c: Removed.
12450         * math/s_csinhl.c: Removed.
12451         * math/k_casinh.c: Removed.
12452         * math/k_casinhf.c: Removed.
12453         * math/k_casinhl.c: Removed.
12455         * sysdeps/alpha/fpu/s_casinf.c: Refactor using templated version.
12456         * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
12457         * sysdeps/alpha/fpu/s_csinf.c: Likewise.
12458         * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
12460         * sysdeps/ieee754/ldbl-opt/s_casin.c: Removed.
12461         * sysdeps/ieee754/ldbl-opt/s_casinh.c: Removed.
12462         * sysdeps/ieee754/ldbl-opt/s_casinhl.c: Removed.
12463         * sysdeps/ieee754/ldbl-opt/s_casinl.c: Removed.
12464         * sysdeps/ieee754/ldbl-opt/s_csin.c: Removed.
12465         * sysdeps/ieee754/ldbl-opt/s_csinh.c: Removed.
12466         * sysdeps/ieee754/ldbl-opt/s_csinhl.c: Removed.
12467         * sysdeps/ieee754/ldbl-opt/s_csinl.c: Removed.
12469         * sysdeps/m68k/m680x0/fpu/s_csin.c: Refactor into ...
12470         * sysdeps/m68k/m680x0/fpu/s_csin_template.c: New file.
12471         * sysdeps/m68k/m680x0/fpu/s_csinf.c: Removed.
12472         * sysdeps/m68k/m680x0/fpu/s_csinl.c: Removed.
12474         * sysdeps/m68k/m680x0/fpu/s_csinh.c: Refactor into.
12475         * sysdeps/m68k/m680x0/fpu/s_csinh_template.c: New file.
12476         * sysdeps/m68k/m680x0/fpu/s_csinhf.c: Removed.
12477         * sysdeps/m68k/m680x0/fpu/s_csinhl.c: Removed.
12479 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12481         * s_casin_template.c: Copy of s_casin.c.
12482         * s_casinh_template.c: Copy of s_casinh.c.
12483         * s_csin_template.c: Copy of s_csin.c.
12484         * s_csinh_template.c: Copy of s_csinh.c.
12485         * k_casinh_template.c: Copy of k_casinh.c.
12487 2016-08-19  H.J. Lu  <hongjiu.lu@intel.com>
12489         * sysdeps/x86/cpu-features.h (bit_YMM_state): Set to (1 << 2).
12491 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12493         * sysdeps/ieee754/ldbl-128/gamma_productl.c:
12494         (mul_split) Remove, rename as mul_splitl, remove
12495         redundant float.h include, and include via mul_splitl.h
12497         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
12498         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
12499         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
12500         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
12501         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
12503         * math/mul_splitl.h: New file.
12505         * sysdeps/ieee754/dbl-64/gamma_product.c (mul_split):
12506         Move into mul_split.h, and remove redundant float.h include.
12508         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
12509         * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
12510         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
12511         * sysdeps/ieee754/ldbl-128ibm/x2y2m1.c: Likewise.
12513         * math/mul_split.h: New file.
12515 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12517         * math/Makefile (libm-gen-calls): Move
12518         s_cacos, s_cacosh, s_ccos, s_ccosh from ...
12519         (libm-calls): Remove above.
12521         * math/s_cacos_template.c: Update using type-generic macros.
12522         * math/s_cacosh_template.c: Likewise.
12523         * math/s_ccos_template.c: Likewise.
12524         * math/s_ccosh_template.c: Likewise.
12526         * math/s_cacosf.c: Removed.
12527         * math/s_cacos.c: Removed.
12528         * math/s_cacosl.c: Removed.
12529         * math/s_cacoshf.c: Removed.
12530         * math/s_cacosh.c: Removed.
12531         * math/s_cacoshl.c: Removed.
12532         * math/s_ccosf.c: Removed.
12533         * math/s_ccos.c: Removed.
12534         * math/s_ccosl.c: Removed.
12535         * math/s_ccoshf.c: Removed.
12536         * math/s_ccosh.c: Removed.
12537         * math/s_ccoshl.c: Removed.
12539         * sysdeps/ieee754/ldbl-opt/s_cacoshl.c: Removed.
12540         * sysdeps/ieee754/ldbl-opt/s_cacosl.c: Removed.
12541         * sysdeps/ieee754/ldbl-opt/s_ccos.c: Removed.
12542         * sysdeps/ieee754/ldbl-opt/s_ccosh.c: Removed.
12543         * sysdeps/ieee754/ldbl-opt/s_ccoshl.c: Removed.
12544         * sysdeps/ieee754/ldbl-opt/s_ccosl.c: Removed.
12546         * sysdeps/m68k/m680x0/fpu/s_ccosh.c: Refactor into.
12547         * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c: New file.
12548         * sysdeps/m68k/m680x0/fpu/s_ccoshf.c: Removed.
12549         * sysdeps/m68k/m680x0/fpu/s_ccoshl.c: Removed.
12551         * sysdeps/alpha/fpu/s_cacosf.c: Update to use template file.
12552         * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
12553         * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
12554         * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
12556 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12558         * s_cacos_template.c: Copy of s_cacos.c.
12559         * s_cacosh_template.c: Copy of s_cacosh.c.
12560         * s_ccos_template.c: Copy of s_ccos.c.
12561         * s_ccosh_template.c: Copy of s_ccosh.c.
12563 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12565         * stdlib/tst-strtod-round-skeleton.c:
12566         Refactored from tst-strtod-round.c.
12568         (L_): New macro to apply literal modifier.
12569         (FNPFX): New macro to select str or wcs prefix.
12570         (CHAR): New macro to choose wchar_t or char.
12571         (STRM): New macro to choose printf for tested character type.
12573         (STRTO): New macro to choose appropriate string -> real function.
12574         (FNPFXS): Stringitized version of FNPFX.
12575         (STR): Support for above macro.
12576         (STRX): Likewise.
12578         (TEST): Update with above macros.
12579         (test): Likewise.
12580         (GEN_ONE_TEST): Likewise.
12581         (test_in_one_mode): Likewise.
12583         * stdlib/tst-strtod-round.c: New file.
12584         * wcsmbs/tst-wcstod-round.c: New file.
12586         * wcsmbs/Makefile: (tests): Add tst-wcstod-round
12587         (tst-wcstod-round): Add libm depencency for fesetround.
12589 2016-08-19  Zack Weinberg  <zackw@panix.com>
12591         * debug/tst-chk1.c: Add tests for fortification of bcopy and bzero.
12593 2016-08-18  Torvald Riegel  <triegel@redhat.com>
12595         [BZ #20477]
12596         * resolv/res_hconf.c (do_init): Use atomic access.
12597         * resolv/res_hconf.h: Add comments.
12598         * nscd/aicache.c (addhstaiX): Call _res_hconf_init unconditionally.
12599         * nss/getXXbyYY_r.c (REENTRANT_NAME): Likewise.
12600         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
12602 2016-08-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
12604         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
12605         Use DIAG_*_NEEDS_COMMENT macro to get rid of array-bounds warning.
12606         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
12607         Likewise.
12609 2016-08-18  Florian Weimer  <fweimer@redhat.com>
12611         [BZ #16907]
12612         * argp/argp.h: Switch to __BEGIN_DECLS and __END_DECLS.
12613         (__THROW, __NTH, __attribute__, __restrict): Remove definitions.
12614         * argp/argp-fmtstream.h: Add __BEGIN_DECLS and __END_DECLS.
12615         (__attribute__): Remove definition.
12617 2016-08-17  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12619         * sysdeps/ieee754/ldbl-128/e_asinl.c:
12620         Remove unused sqrtl declaration.
12622 2016-08-17  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12624         * math/Makefile: (gen-libm-templates.stmp): New rule.
12625         (libm-calls): Move carg conj cimag and cabs into ...
12626         (gen-libm-calls): New variable.
12627         (generated): Inform Make objects from gen-libm-calls
12628         may be generated.
12630         * sysdeps/generic/math-type-macros.h: New file.
12631         * sysdeps/generic/math-type-macros-float.h: Likewise.
12632         * sysdeps/generic/math-type-macros-double.h: Likewise.
12633         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
12634         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Likewise.
12635         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Likewise.
12637         * math/cabs.c: Refactor into
12638         * math/cabs_template.c: new file.
12639         * math/cabsf.c: Removed.
12640         * math/cabsl.c: Removed.
12641         * sysdeps/ieee754/ldbl-opt/cabsf.c: Removed.
12642         * sysdeps/ieee754/ldbl-opt/cabsl.c: Removed.
12644         * math/carg.c: Refactor into
12645         * math/carg_template.c: new file.
12646         * math/cargf.c: Removed.
12647         * math/cargl.c: Removed.
12648         * sysdeps/ieee754/ldbl-opt/cargf.c: Removed.
12649         * sysdeps/ieee754/ldbl-opt/cargl.c: Removed.
12651         * math/conj.c: Refactor into
12652         * math/conj_template.c: new file.
12653         * math/conjf.c: Removed.
12654         * math/conjl.c: Removed.
12655         * sysdeps/ieee754/ldbl-opt/conjf.c: Removed.
12656         * sysdeps/ieee754/ldbl-opt/conjl.c: Removed.
12658         * math/cimag.c: Refactor into
12659         * math/cimag_template.c: new file.
12660         * math/cimagf.c: Removed.
12661         * math/cimagl.c: Removed.
12662         * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
12663         * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
12665         * math/cimag.c: Refactor into
12666         * math/cimag_template.c: new file.
12667         * math/cimagf.c: Removed.
12668         * math/cimagl.c: Removed.
12669         * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
12670         * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
12672 2016-08-17  Florian Weimer  <fweimer@redhat.com>
12674         Reduce time to expected nptl/tst-once5 failure.
12675         * nptl/tst-once5.cc (TIMEOUT): Define.
12677 2016-08-17  Florian Weimer  <fweimer@redhat.com>
12679         [BZ #20452]
12680         Avoid additional copies of objects in libc.a in static libraries.
12681         * sysdeps/ia64/nptl/Makefile (libpthread-shared-only-routines):
12682         Add ptw-sysdep, ptw-sigblock, ptw-sigprocmask.
12683         * sysdeps/mips/Makefile (librt-shared-only-routines): Add
12684         rt-sysdep.
12685         * sysdeps/mips/nptl/Makefile (libpthread-shared-only-routines):
12686         Add nptl-sysdep.
12687         * sysdeps/s390/nptl/Makefile (libpthread-shared-only-routines):
12688         Add ptw-sysdep.
12689         * sysdeps/unix/alpha/Makefile (librt-shared-only-routines): Add
12690         rt-sysdep.
12691         * sysdeps/unix/sysv/linux/alpha/Makefile
12692         (libpthread-shared-only-routines): Add ptw-sysdep,
12693         ptw-sigprocmask, ptw-rt_sigaction.
12694         * sysdeps/unix/sysv/linux/ia64/Makefile
12695         (librt-shared-only-routines): Add rt-sysdep.
12696         * sysdeps/unix/sysv/linux/i386/Makefile
12697         (libpthread-shared-only-routines): Add libc-do-syscall.
12698         * sysdeps/unix/sysv/linux/microblaze/Makefile
12699         (libpthread-shared-only-routines): Add sysdep.
12700         * sysdeps/unix/sysv/linux/powerpc/Makefile
12701         (librt-shared-only-routines): Add rt-sysdep.
12702         (libpthread-shared-only-routines): Add sysdep.
12703         * sysdeps/unix/sysv/linux/s390/Makefile
12704         (librt-shared-only-routines): Add rt-sysdep.
12705         * sysdeps/unix/sysv/linux/sparc/Makefile
12706         (librt-shared-only-routines): Add rt-sysdep.
12707         (libpthread-shared-only-routines): Add sysdep.
12708         * sysdeps/unix/sysv/linux/tile/Makefile
12709         (libpthread-shared-only-routines): Likewise.
12711 2016-08-16  Joseph Myers  <joseph@codesourcery.com>
12713         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_E):
12714         Mask implicit bit out of unpacked value.
12715         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_EP): Likewise.
12716         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_E): Likewise.
12717         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_EP): Likewise.
12719         * sysdeps/sparc/fpu/fesetexcept.c: New file.
12721         * sysdeps/sh/sh4/fpu/fesetexcept.c: New file.
12723         * sysdeps/s390/fpu/fesetexcept.c: New file.
12725         * sysdeps/powerpc/fpu/fesetexcept.c: New file.
12726         * sysdeps/powerpc/nofpu/fesetexcept.c: Likewise.
12727         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetexcept.c: Likewise.
12729         * sysdeps/mips/fpu/fesetexcept.c: New file.
12731         * sysdeps/m68k/fpu/fesetexcept.c: New file.
12733         * sysdeps/ia64/fpu/fesetexcept.c: New file.
12735         * sysdeps/hppa/fpu/fesetexcept.c: New file.
12737         * sysdeps/arm/fesetexcept.c: New file.
12739         * sysdeps/alpha/fpu/fesetexcept.c: New file.
12741         * sysdeps/aarch64/fpu/fesetexcept.c: New file.
12743         * math/fesetexcept.c: New file.
12744         * sysdeps/i386/fpu/fesetexcept.c: Likewise.
12745         * sysdeps/x86_64/fpu/fesetexcept.c: Likewise.
12746         * math/fenv.h: Define
12747         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
12748         <bits/libc-header-start.h> instead of including <features.h>.
12749         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetexcept): New function
12750         declaration.
12751         * manual/arith.texi (fesetexcept): Document function.
12752         * math/Versions (fesetexcept): New libm symbol at version
12753         GLIBC_2.25.
12754         * math/Makefile (libm-support): Add fesetexcept.
12755         (tests): Add test-fesetexcept and test-fesetexcept-traps.
12756         * math/test-fesetexcept.c: New file.
12757         * math/test-fesetexcept-traps.c: Likewise.
12758         * sysdeps/nacl/libm.abilist: Update.
12759         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
12760         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
12761         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
12762         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
12763         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
12764         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
12765         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
12766         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
12767         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
12768         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
12769         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
12770         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
12771         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
12772         Likewise.
12773         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
12774         Likewise.
12775         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
12776         Likewise.
12777         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
12778         Likewise.
12779         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
12780         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
12781         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
12782         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
12783         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
12784         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
12785         Likewise.
12786         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
12787         Likewise.
12788         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
12789         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
12790         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
12792 2016-08-16  Florian Weimer  <fweimer@redhat.com>
12794         * nptl/tst-tls3.c (default_stack_size_in_mb, stack_size_in_mb):
12795         New.
12796         (do_test): Apply default_stack_size_in_mb if not set.
12797         * nptl/tst-tls3-malloc.c (stack_size_in_mb): Override default.
12799 2016-08-15  Andreas Schwab  <schwab@suse.de>
12801         [BZ #20435]
12802         CVE-2016-6323
12803         * sysdeps/unix/sysv/linux/arm/setcontext.S (__startcontext): Mark
12804         as .cantunwind.
12806 2016-08-12  Joseph Myers  <joseph@codesourcery.com>
12808         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Add
12809         comment from fraiseexcpt.c.
12811         * math/test-fexcept.c (feraiseexcept_exact): New function.
12812         (test_set): Call feraiseexcept_exact instead of feraiseexcept.
12813         (test_except): Likewise.
12815 2016-08-10  Joseph Myers  <joseph@codesourcery.com>
12817         [BZ #20455]
12818         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Mask out
12819         all FE_INVALID sub-exceptions from FPSCR when FE_INVALID specified
12820         to be restored.
12822         * math/test-fexcept-traps.c: New file.
12823         * math/test-fexcept.c: Likewise.
12824         * math/Makefile (tests): Add test-fexcept and test-fexcept-traps.
12825         * sysdeps/generic/math-tests.h (EXCEPTION_SET_FORCES_TRAP): New
12826         macro.
12827         * sysdeps/powerpc/math-tests.h [!__NO_FPRS__]
12828         (EXCEPTION_SET_FORCES_TRAP): Likewise.
12830 2016-08-09  Torvald Riegel  <triegel@redhat.com>
12832         * include/atomic.h (atomic_fetch_and_relaxed,
12833         atomic_fetch_and_release, atomic_fetch_or_release,
12834         atomic_fetch_xor_release): New.
12836 2016-08-06  Christian Seiler  <christian@iwakd.de>
12838         [BZ #20444]
12839         * sysdeps/mach/hurd/recvmsg.c (__libc_recvmsg): Cope with aport being
12840         MACH_PORT_NULL.
12842 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
12844         * math/s_fdim.c: Avoid alias renamed.
12845         * math/s_fdimf.c: Likewise.
12846         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
12847         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
12848         Add s_fdimf-vis3, s_fdim-vis3.
12849         (CFLAGS-s_fdimf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
12850         (CFLAGS-s_fdim-vis3.c): Likewise.
12851         sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c: New file.
12852         sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
12854 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
12856         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
12857         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
12858         Remove s_fdimf-vis3, s_fdim-vis3.
12859         * sysdeps/sparc/sparc32/fpu/s_fdim.S: Delete file.
12860         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: Likewise.
12861         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: Likewise.
12862         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: Likewise.
12863         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: Likewise.
12864         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: Likewise.
12865         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: Likewise.
12866         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: Likewise.
12867         * sysdeps/sparc/sparc64/fpu/s_fdim.S: Likewise.
12868         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: Likewise.
12870 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
12872         * sysdeps/sparc/sparc32/sparcv9/Makefile (sysdep-CFLAGS): Add -mvis.
12873         * sysdeps/sparc/sparc64/Makefile (sysdep-CFLAGS): New. Define to
12874         -Wa,-Av9a -mvis.
12876 2016-08-05  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12878         * math/gen-libm-test.pl (apply_lit): Rewrite to apply
12879         LIT() to individual constants in simple expressions
12880         after splitting on spaces.
12881         (_apply_lit): Rename replaced version, and use it to
12882         apply to what appears to be a token.
12884         * math/libm-test.inc: Fix many, many issues with
12885         spacing.
12887 2016-08-05  Joseph Myers  <joseph@codesourcery.com>
12889         * math/math.h: Move comment about <bits/mathdef.h> definitions
12890         above inclusion of <bits/mathdef.h>.  Do not mention
12891         FLT_EVAL_METHOD, INFINITY or DECIMAL_DIG in that comment.
12893 2016-08-05  Torvald Riegel  <triegel@redhat.com>
12895         * include/atomic.h (atomic_exchange_relaxed): New.
12897 2016-08-04  Joseph Myers  <joseph@codesourcery.com>
12899         * math/e_scalb.c: Do not include <fenv.h>.
12900         (invalid_fn): Do calculation resulting in NaN instead of raising
12901         FE_INVALID and returning a NaN explicitly.
12902         * math/e_scalbf.c: Do not include <fenv.h>.
12903         (invalid_fn): Do calculation resulting in NaN instead of raising
12904         FE_INVALID and returning a NaN explicitly.
12905         * math/e_scalbl.c: Do not include <fenv.h>.
12906         (invalid_fn): Do calculation resulting in NaN instead of raising
12907         FE_INVALID and returning a NaN explicitly.
12909 2016-08-04  Carlos O'Donell  <carlos@redhat.com>
12911         * po/de.po: Updated from Translation Project.
12912         * po/fi.po: Likewise.
12913         * po/sv.po: Likewise.
12915 2016-08-04  Florian Weimer  <fweimer@redhat.com>
12917         [BZ #20452]
12918         Use sysdep.o from libc.a in static libraries.
12919         * sysdeps/unix/sysv/linux/i386/Makefile
12920         (libpthread-shared-only-routines): Add sysdep.
12921         (librt-shared-only-routines): Likewise.
12923 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
12925         * math/tgmath.h (nextdown): Define if
12926         [__GLIBC_USE (IEC_60559_BFP_EXT)], not if [__USE_GNU].
12927         (nextup): Likewise.
12929         * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_FUNCS_EXT): New
12930         macro.
12931         * include/features.h (__STDC_WANT_IEC_60559_FUNCS_EXT__):
12932         Document.
12933         * manual/creature.texi (__STDC_WANT_IEC_60559_FUNCS_EXT__):
12934         Document macro.
12935         * manual/math.texi (exp10): Document as ISO from TS 18661-4:2015.
12936         (exp10f): Likewise.
12937         (exp10l): Likewise.
12938         * math/bits/mathcalls.h (exp10): Declare if
12939         [__GLIBC_USE (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
12941         * manual/arith.texi (nextup): Fix typo in last change.
12943 2016-08-03  Zack Weinberg  <zackw@panix.com>
12945         [BZ #19239]
12946         * NEWS: Inclusion of <sys/sysmacros.h> by <sys/types.h> is deprecated.
12947         * misc/sys/sysmacros.h: If __SYSMACROS_DEPRECATED_INCLUSION is defined,
12948         define major, minor, and makedev to issue deprecation warnings on use.
12949         If __SYSMACROS_DEPRECATED_INCLUSION is *not* defined, suppress
12950         previously-activated deprecation warnings for these macros and prevent
12951         subsequent inclusions of this header from having any effect.
12952         * posix/sys/types.h: Define __SYSMACROS_DEPRECATED_INCLUSION before
12953         including <sys/sysmacros.h>, and undefine it again afterward.
12955 2016-08-03  Zack Weinberg  <zackw@panix.com>
12957         * sysdeps/generic/sys/sysmacros.h: Delete file.
12958         * sysdeps/unix/sysv/linux/makedev.c: Delete file.
12959         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Move file ...
12960         * bits/sysmacros.h: ... here; this encoding is now the generic
12961         encoding.  Now defines only the following macros:
12962         __SYSMACROS_DECLARE_MAJOR, __SYSMACROS_DEFINE_MAJOR,
12963         __SYSMACROS_DECLARE_MINOR, __SYSMACROS_DEFINE_MINOR,
12964         __SYSMACROS_DECLARE_MAKEDEV, __SYSMACROS_DEFINE_MAKEDEV.
12966         * misc/sys/sysmacros.h, misc/makedev.c: New files that use
12967         bits/sysmacros.h and the above new macros to generate the
12968         public implementations of major, minor, and makedev.
12969         * misc/tst-makedev.c: New test.
12970         * include/sys/sysmacros.h: New wrapper.
12972         * misc/Makefile (headers): Add sys/sysmacros.h, bits/sysmacros.h.
12973         (routines): Add makedev.
12974         (tests): Add tst-makedev.
12975         * misc/Versions [GLIBC_2.25]: Add gnu_dev_major, gnu_dev_minor,
12976         gnu_dev_makedev.
12977         * posix/Makefile (headers): Remove sys/sysmacros.h.
12978         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove makedev.
12980         * sysdeps/arm/nacl/libc.abilist: Add GLIBC_2.25,
12981         gnu_dev_major, gnu_dev_makedev, gnu_dev_minor.
12982         * sysdeps/unix/sysv/linux/aarch64/libc.abilist
12983         * sysdeps/unix/sysv/linux/alpha/libc.abilist
12984         * sysdeps/unix/sysv/linux/arm/libc.abilist
12985         * sysdeps/unix/sysv/linux/hppa/libc.abilist
12986         * sysdeps/unix/sysv/linux/i386/libc.abilist
12987         * sysdeps/unix/sysv/linux/ia64/libc.abilist
12988         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
12989         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
12990         * sysdeps/unix/sysv/linux/microblaze/libc.abilist
12991         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
12992         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
12993         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
12994         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
12995         * sysdeps/unix/sysv/linux/nios2/libc.abilist
12996         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
12997         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
12998         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
12999         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
13000         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
13001         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
13002         * sysdeps/unix/sysv/linux/sh/libc.abilist
13003         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
13004         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
13005         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
13006         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
13007         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist
13008         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
13009         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
13010         Add GLIBC_2.25.
13012         * include/features.h (__glibc_clang_prereq): New macro.
13013         * misc/sys/cdefs.h (__glibc_clang_has_extension)
13014         (__attribute_deprecated_msg__): New macros.
13016 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
13018         * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_BFP_EXT): New
13019         macro.
13020         * include/features.h (__STDC_WANT_IEC_60559_BFP_EXT__): Document.
13021         * manual/arith.texi (issignaling): Document as ISO from TS
13022         18661-1:2014.
13023         (nextup): Likewise.
13024         (nextupf): Likewise.
13025         (nextupl): Likewise.
13026         (nextdown): Likewise.
13027         (nextdownf): Likewise.
13028         (nextdownl): Likewise.
13029         * manual/creature.texi (__STDC_WANT_IEC_60559_BFP_EXT__): Document
13030         macro.
13031         * math/math.h: Define
13032         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
13033         <bits/libc-header-start.h> instead of including <features.h>.
13034         (issignaling): Define if [__GLIBC_USE (IEC_60559_BFP_EXT)], not
13035         [__USE_GNU].
13036         * math/bits/mathcalls.h (nextdown): Declare if
13037         [__GLIBC_USE (IEC_60559_BFP_EXT)], not [__USE_GNU].
13038         (nextup): Likewise.
13039         (__issignaling): Likewise.
13041 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13043         * s_ccoshf.c (__ccoshf): Remove FE_INVALID
13044         check, and remove __glibc_likely hint
13045         from FP_INFINITE check.
13046         * s_csinhf.c (__csinhf): Likewise.
13048         * s_ccoshl.c (__ccoshl): Remove __glibc_likely
13049         hint from FP_INFINITE check.
13050         * s_csinhl.c (__csinhl): Likewise.
13052 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13054         * math/Makefile (libm-calls): Insert F placeholder into
13055         object names.  Move w_lgamma_compat* routines into
13056         (libm-compat-calls): New variable.
13057         (libm-compat-calls-ldouble-yes): New variable.
13058         (calls): Insert F placeholder.
13059         (generated): Redefine using new type-foreach macro call.
13060         (routines): Likewise.
13062         (types): New variable to hold a list of symbolic names
13063         for each type supported by the target machine.
13064         (libm-routines): Redefine using new types variable.
13065         (type-foreach): macro to replace fooF with the
13066         appropriately suffixed foo for each types.
13068         (type-ldouble-suffix): New variable.
13069         (type-ldouble-routines): Likewise.
13070         (type-ldouble-yes): Likewise.
13071         (type-double-suffix): Likewise.
13072         (type-double-routines): Likewise.
13073         (type-float-suffix): Likewise.
13074         (type-float-routines): Likewise.
13076         (dbl-only-routines): Remove.
13077         (long-c-yes): Likewise.
13078         (long-m-routines): Likewise.
13079         (long-m-support): Likewise.
13080         (long-m-yes): Likewise.
13081         (test-longdouble-yes): Likewise.
13083         (test-float.o): Simplify by increasing the scope of the
13084         recipe which adds libm-test.stmp to the vector types.
13085         (test-ifloat.o): Likewise.
13086         (test-float-finite.o): Likewise.
13087         (test-double.o): Likewise
13088         (test-idouble.o): Likewise.
13089         (test-double-finite.o): Likewise.
13090         (test-ldouble.o): Likewise
13091         (test-ildoubl.o): Likewise.
13092         (test-ldouble-finite.o): Likewise.
13094         (libm-tests): Redefine type tests using foreach and the
13095         list of types in types.
13097         (CPPFLAGS-test-ildoubl.c): Rename to
13098         (CPPFLAGS-test-ildouble.c): New variable
13100         * math/test-ildoubl.c: Rename to
13101         * math/test-ildouble.c: New file.
13103 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13105         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernal_tanl):
13106         Use fabsl instead of fabs.
13107         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl):
13108         Likewise.
13109         * sysdeps/ieee754/ldbl-128/s_atanl.c (__kernel_tanl):
13110         Add long double suffix to constant to ensure proper
13111         promotion to long double.
13113 2016-08-03  Tom Tromey  <tom@tromey.com>
13115         [BZ #20311]
13116         * nptl_db/Makefile (headers): Add proc_service.h.
13117         * nptl_db/proc_service.h: Add include guard.  Use
13118         __BEGIN/__END_DECLS.
13119         (ps_get_thread_area, ps_pstop, ps_pcontinue, ps_lstop)
13120         (ps_lcontinue): Remove "const" from "struct ps_prochandle *"
13121         arguments.
13124 2016-08-03  Florian Weimer  <fweimer@redhat.com>
13126         [BZ #17730]
13127         Avoid using memalign for TCB allocations.
13128         * elf/dl-tls.c (tcb_to_pointer_to_free_location): New.
13129         (_dl_allocate_tls_storage): Use malloc and manual alignment.
13130         Avoid alignment gap in the TLS_DTV_AT_TP case.
13131         (_dl_deallocate_tls): Use tcb_to_pointer_to_free_location to
13132         determine the pointer to free.
13133         * nptl/tst-tls3-malloc.c: New test.
13134         * nptl/Makefile (tests): Add it.
13135         (tst-tls3-malloc): Link with libdl, libpthread.
13136         (LDFLAGS-tst-tls3-malloc): Set.
13137         (tst-tls3-malloc.out): Depend on DSO used in test.
13139 2016-08-03  Florian Weimer  <fweimer@redhat.com>
13141         [BZ #17730]
13142         Avoid using memalign for TLS allocations.
13143         * sysdeps/generic/dl-dtv.h (struct dtv_pointer): New.  Replaces
13144         is_static member with to_free member.
13145         (union dtv): Use struct dtv_pointer.
13146         * csu/libc-tls.c (__libc_setup_tls): Set to_free member of struct
13147         dtv_pointer instead of is_static.
13148         * elf/dl-tls.c (_dl_allocate_tls_init): Likewise.
13149         (_dl_deallocate_tls): Free to_free member of struct dtv_pointer
13150         instead of val.
13151         (allocate_dtv_entry): New function.
13152         (allocate_and_init): Return struct dtv_pointer.  Call
13153         allocate_dtv_entry instead of __libc_memalign.
13154         (_dl_update_slotinfo): Free to_free member of struct dtv_pointer
13155         instead of val.
13156         (tls_get_addr_tail): Set to_free member of struct dtv_pointer
13157         instead of is_static.  Adjust call to allocate_and_init.
13158         * nptl/allocatestack.c (get_cached_stack): Free to_free member of
13159         struct dtv_pointer instead of val.
13161 2016-08-03  Florian Weimer  <fweimer@redhat.com>
13163         * malloc/malloc.c (INTERNAL_SIZE_T, SIZE_SZ, MALLOC_ALIGNMENT)
13164         (MALLOC_ALIGN_MASK): Move ...
13165         * malloc/malloc-internal.h: ... to here.
13166         * elf/dl-minimal.c (malloc): Allocate with MALLOC_ALIGNMENT.
13168 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
13170         * sysdeps/gnu/netinet/udp.h (UDP_ENCAP_GTP0): New macro.
13171         (UDP_ENCAP_GTP1U): Likewise.
13173         * sysdeps/unix/sysv/linux/bits/socket.h (PF_QIPCRTR): New macro.
13174         (PF_MAX): Update value.
13175         (AF_QIPCRTR): New macro.
13177 2016-08-03  Aurelien Jarno  <aurelien@aurel32.net>
13179         * sysdeps/ieee754/dbl-64/s_trunc.c: Avoid alias renamed.
13180         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
13181         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
13182         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
13183         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
13184         Add s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
13185         s_truncf-vis3, s_trunc-vis3.
13186         (CFLAGS-s_ceilf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
13187         (CFLAGS-s_ceil-vis3.c): Likewise.
13188         (CFLAGS-s_floorf-vis3.c): Likewise.
13189         (CFLAGS-s_floor-vis3.c): Likewise.
13190         (CFLAGS-s_truncf-vis3.c): Likewise.
13191         (CFLAGS-s_trunc-vis3.c): Likewise.
13192         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.c: New file.
13193         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
13194         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.c: Likewise.
13195         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
13196         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.c: Likewise.
13197         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
13198         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.c: Likewise.
13199         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
13200         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.c: Likewise.
13201         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
13202         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.c: Likewise.
13203         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
13205 2016-08-02  David S. Miller  <davem@davemloft.net>
13207         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
13208         (__nearbyint_vis3): Don't check for sNaN before float register is
13209         loaded with the incoming argument.
13210         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
13211         (__nearbyintf_vis3): Likewise.
13212         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint):
13213         Likewise.
13214         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf):
13215         Likewise.
13217         * string/test-strncmp.c (do_test_limit): Make sure the test data
13218         stream is aligned as required for the type "CHAR".
13219         (do_test): Likewise.
13221 2016-08-03  Aurelien Jarno  <aurelien@aurel32.net>
13223         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Replace beqlr instructions
13224         by beq instructions jumping to the end of the function.
13225         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Add "11", "12", "cr0" to the
13226         clobber list. Use "i" constraint instead of "X".
13227         (ifunc_one): Add "12" to the clobber list. Use "i" constraint instead
13228         of "X".
13230 2016-08-02  Joseph Myers  <joseph@codesourcery.com>
13232         * bits/libc-header-start.h: New file.
13233         * Makefile (headers): Add bits/libc-header-start.h.
13234         * include/features.h (__STDC_WANT_LIB_EXT2__): Document.
13235         (__GLIBC_USE): New macro.
13236         * libio/stdio.h: Define
13237         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
13238         <bits/libc-header-start.h> instead of including <features.h>.
13239         (fmemopen): Declare also if [__GLIBC_USE (LIB_EXT2)].
13240         (open_memstream): Likewise.
13241         (vasprintf): Declare if [__GLIBC_USE (LIB_EXT2)], not [__USE_GNU].
13242         (__asprintf): Likewise.
13243         (asprintf): Likewise.
13244         (__getdelim): Declare also if [__GLIBC_USE (LIB_EXT2)].
13245         (getdelim): Likewise.
13246         (getline): Likewise.
13247         * string/string.h: Define
13248         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
13249         <bits/libc-header-start.h> instead of including <features.h>.
13250         (strdup): Declare also if [__GLIBC_USE (LIB_EXT2)]
13251         (strndup): Likewise.
13252         * wcsmbs/wchar.h: Define
13253         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
13254         <bits/libc-header-start.h> instead of including <features.h>.
13255         (open_wmemstream): Declare also if [__GLIBC_USE (LIB_EXT2)].
13256         * manual/creature.texi (__STDC_WANT_LIB_EXT2__): Document macro.
13258 2016-08-02  Florian Weimer  <fweimer@redhat.com>
13260         Support linking against compatibility symbols, for use in tests.
13261         * include/libc-symbols.h (symbol_version_reference): New macro.
13262         (symbol_version): Use it.
13263         * include/shlib-compat.h: Unconditionally include <abi-versions.h>.
13264         (compat_symbol): Use compat_symbol_reference.
13265         (compat_symbol_1, compat_symbol_2): Remove.
13266         (compat_symbol_reference, compat_symbol_reference_1)
13267         (compat_symbol_reference_2): New macro.  Use
13268         symbol_version_reference.
13270 2016-08-02  Florian Weimer  <fweimer@redhat.com>
13272         [BZ #19469]
13273         * malloc/Makefile (CPPFLAGS): Compile tests with
13274         -DTEST_NO_MALLOPT.
13275         * test-skeleton.c (main): Only call mallopt if !TEST_NO_MALLOPT.
13277 2016-08-02  Andrew Senkevich  <andrew.senkevich@intel.com>
13279         [BZ #20033]
13280         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: Call
13281         finite version.
13282         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: Likewise.
13283         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: Likewise.
13284         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: Likewise.
13285         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: Likewise.
13286         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: Likewise.
13287         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: Likewise.
13288         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: Likewise.
13289         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: Likewise.
13290         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Likewise.
13291         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: Likewise.
13292         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: Likewise.
13293         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: Likewise.
13294         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: Likewise.
13295         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: Likewise.
13296         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: Likewise.
13297         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: Likewise.
13298         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: Likewise.
13299         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: Likewise.
13300         * sysdeps/x86_64/fpu/svml_d_log2_core.S: Likewise.
13301         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: Likewise.
13302         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: Likewise.
13303         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: Likewise.
13304         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: Likewise.
13305         * math/libm-test.inc (pow_test_data): Exclude tests for qNaN
13306         in zero power.
13308 2016-08-02  Florian Weimer  <fweimer@redhat.com>
13310         [BZ #20370]
13311         * malloc/arena.c (get_free_list): Update comment.  Assert that
13312         arenas on the free list have no attached threads.
13313         (remove_from_free_list): New function.
13314         (reused_arena): Call it.
13316 2016-08-02  Aurelien Jarno  <aurelien@aurel32.net>
13318         * sysdeps/alpha/fpu/s_ceil.c (__ceil): Add argument with itself
13319         when it is a NaN.
13320         [_IEEE_FP_INEXACT] Remove.
13321         * sysdeps/alpha/fpu/s_ceilf.c (__ceilf): Likewise.
13322         * sysdeps/alpha/fpu/s_floor.c (__floor): Add argument with itself
13323         when it is a NaN.
13324         [_IEEE_FP_INEXACT] Remove.
13325         * sysdeps/alpha/fpu/s_floorf.c (__floorf): Likewise.
13326         * sysdeps/alpha/fpu/s_rint.c (__rint): Add argument with itself
13327         when it is a NaN.
13328         * sysdeps/alpha/fpu/s_rintf.c (__rintf): Likewise.
13329         * sysdeps/alpha/fpu/s_trunc.c (__trunc): Return the input value
13330         when its absolute value is greater than 0x1.0p52.
13331         [_IEEE_FP_INEXACT] Remove.
13332         * sysdeps/alpha/fpu/s_truncf.c (__truncf): Return the input value
13333         when its absolute value is greater than 0x1.0p23.
13334         [_IEEE_FP_INEXACT] Remove.
13336 2016-08-01  Carlos O'Donell  <carlos@redhat.com>
13338         * version.h (RELEASE): Set to "development"
13339         (VERSION): Set to 2.24.90.
13340         * NEWS: Add 2.25 section.
13342         * version.h (RELEASE): Set to "stable"
13343         (VERSION): Set to 2.24.
13344         * include/features.h (__GLIBC_MINOR__): Set to 24.
13346         * NEWS: Add 2.24 fixed bugs.
13347         * po/libc.pot: Regenerate.
13349 2016-08-01  Aurelien Jarno  <aurelien@aurel32.net>
13351         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
13352         [$(subdir) = math] (libm-sysdep_routines): Remove.
13353         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
13354         Remove s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
13355         s_truncf-vis3, s_trunc-vis3.
13356         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
13357         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: Delete
13358         file.
13359         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Likewise.
13360         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Likewise.
13361         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: Likewise.
13362         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: Likewise.
13363         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
13364         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: Likewise.
13365         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Likewise.
13366         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
13367         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: Likewise.
13368         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: Likewise.
13369         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: Likewise.
13370         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: Likewise.
13371         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: Likewise.
13372         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: Likewise.
13373         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: Likewise.
13374         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
13375         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
13376         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
13377         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: Likewise.
13378         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: Likewise.
13379         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: Likewise.
13380         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: Likewise.
13381         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
13382         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
13383         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: Likewise.
13384         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
13385         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
13386         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: Likewise.
13387         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
13388         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
13389         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: Likewise.
13390         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
13391         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
13392         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: Likewise.
13393         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: Likewise.
13394         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: Likewise.
13395         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: Likewise.
13396         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
13397         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
13398         * sysdeps/sparc/sparc64/fpu/s_floor.S: Likewise.
13399         * sysdeps/sparc/sparc64/fpu/s_floorf.S: Likewise.
13400         * sysdeps/sparc/sparc64/fpu/s_trunc.S: Likewise.
13401         * sysdeps/sparc/sparc64/fpu/s_truncf.S: Likewise.
13403 2016-07-27  H.J. Lu  <hongjiu.lu@intel.com>
13405         [BZ #20384]
13406         * sysdeps/x86_64/fpu/Makefile (extra-test-objs): Add
13407         test-double-libmvec-sincos-avx-main.o,
13408         test-double-libmvec-sincos-avx2-main.o,
13409         test-double-libmvec-sincos-main.o,
13410         test-float-libmvec-sincosf-avx-main.o,
13411         test-float-libmvec-sincosf-avx2-main.o and
13412         test-float-libmvec-sincosf-main.o.
13413         test-float-libmvec-sincosf-avx512-main.o.
13414         ($(objpfx)test-double-libmvec-sincos): Also link with
13415         $(objpfx)test-double-libmvec-sincos-main.o.
13416         ($(objpfx)test-double-libmvec-sincos-avx): Also link with
13417         $(objpfx)test-double-libmvec-sincos-avx-main.o.
13418         ($(objpfx)test-double-libmvec-sincos-avx2): Also link with
13419         $(objpfx)test-double-libmvec-sincos-avx2-main.o.
13420         ($(objpfx)test-float-libmvec-sincosf): Also link with
13421         $(objpfx)test-float-libmvec-sincosf-main.o.
13422         ($(objpfx)test-float-libmvec-sincosf-avx): Also link with
13423         $(objpfx)test-float-libmvec-sincosf-avx2-main.o.
13424         [$(config-cflags-avx512) == yes] (extra-test-objs): Add
13425         test-double-libmvec-sincos-avx512-main.o and
13426         ($(objpfx)test-double-libmvec-sincos-avx512): Also link with
13427         $(objpfx)test-double-libmvec-sincos-avx512-main.o.
13428         ($(objpfx)test-float-libmvec-sincosf-avx512): Also link with
13429         $(objpfx)test-float-libmvec-sincosf-avx512-main.o.
13430         (CFLAGS-test-double-libmvec-sincos.c): Removed.
13431         (CFLAGS-test-float-libmvec-sincosf.c): Likewise.
13432         (CFLAGS-test-double-libmvec-sincos-main.c): New.
13433         (CFLAGS-test-double-libmvec-sincos-avx-main.c): Likewise.
13434         (CFLAGS-test-double-libmvec-sincos-avx2-main.c): Likewise.
13435         (CFLAGS-test-float-libmvec-sincosf-main.c): Likewise.
13436         (CFLAGS-test-float-libmvec-sincosf-avx-main.c): Likewise.
13437         (CFLAGS-test-float-libmvec-sincosf-avx2-main.c): Likewise.
13438         (CFLAGS-test-float-libmvec-sincosf-avx512-main.c): Likewise.
13439         (CFLAGS-test-double-libmvec-sincos-avx.c): Set to -DREQUIRE_AVX.
13440         (CFLAGS-test-float-libmvec-sincosf-avx.c ): Likewise.
13441         (CFLAGS-test-double-libmvec-sincos-avx2.c): Set to
13442         -DREQUIRE_AVX2.
13443         (CFLAGS-test-float-libmvec-sincosf-avx2.c ): Likewise.
13444         (CFLAGS-test-double-libmvec-sincos-avx512.c): Set to
13445         -DREQUIRE_AVX512F.
13446         (CFLAGS-test-float-libmvec-sincosf-avx512.c): Likewise.
13447         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Rewritten.
13448         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
13449         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx-main.c: New
13450         file.
13451         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2-main.c:
13452         Likewise.
13453         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512-main.c:
13454         Likewise.
13455         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-main.c:
13456         Likewise.
13457         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx-main.c:
13458         Likewise.
13459         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2-main.c:
13460         Likewise.
13461         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512-main.c:
13462         Likewise.
13463         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-main.c:
13464         Likewise.
13466 2016-07-27  Chung-Lin Tang  <cltang@codesourcery.com>
13468         * sysdeps/unix/sysv/linux/nios2/localplt.data (__eqsf2): Remove.
13470 2016-07-21  Gustavo Romero  <gromero@linux.vnet.ibm.com>
13472         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Fix missing verb
13473         and typo in a comment about AT_HWCAP entry.
13475 2016-07-21  Szabolcs Nagy  <szabolcs.nagy@arm.com>
13477         * sysdeps/aarch64/libm-test-ulps: Updated.
13479 2016-07-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
13481         * sysdeps/s390/s390-32/memcpy.S (memcpy): Eliminate the usage
13482         of r13 as it is not restored in mvcle case.
13484 2016-07-19  Mike Frysinger  <vapier@gentoo.org>
13486         * sysdeps/unix/sysv/linux/microblaze/sysdep.h (inline_syscall0):
13487         Rename "ret" to "__ret".
13488         (inline_syscall1, inline_syscall2, inline_syscall3, inline_syscall4,
13489         inline_syscall5, inline_syscall6): Likewise.
13491 2016-07-19   Will Newton  <will.newton@gmail.com>
13493         * elf/elf.h (R_METAG_REL8, R_METAG_REL16, R_METAG_TLS_GD
13494         R_METAG_TLS_LDM, R_METAG_TLS_LDO_HI16, R_METAG_TLS_LDO_LO16,
13495         R_METAG_TLS_LDO, R_METAG_TLS_IE, R_METAG_TLS_IENONPIC,
13496         R_METAG_TLS_IENONPIC_HI16, R_METAG_TLS_IENONPIC_LO16,
13497         R_METAG_TLS_LE, R_METAG_TLS_LE_HI16, R_METAG_TLS_LE_LO16): New.
13499 2016-07-18  H.J. Lu  <hongjiu.lu@intel.com>
13501         * sysdeps/i386/Makefile (rtld-CFLAGS): New.
13502         [subdir == elf] (CFLAGS-.os): Replace -mno-sse -mno-mmx
13503         -mfpmath=387 with $(rtld-CFLAGS).
13504         [subdir != elf] (CFLAGS-.os): Compile rtld-*.os with
13505         $(rtld-CFLAGS).
13507 2016-07-18   Ross Burton  <ross.burton@intel.com>
13508              Khem Raj  <raj.khem@gmail.com>
13510         * elf/elf.h (R_METAG_HIADDR16, R_METAG_LOADDR16,
13511         R_METAG_ADDR32, R_METAG_NONE, R_METAG_RELBRANCH,
13512         R_METAG_GETSETOFF, R_METAG_REG32OP1, R_METAG_REG32OP2,
13513         R_METAG_REG32OP3, R_METAG_REG16OP1, R_METAG_REG16OP2,
13514         R_METAG_REG16OP3, R_METAG_REG32OP4, R_METAG_HIOG,
13515         R_METAG_LOOG, R_METAG_GNU_VTINHERIT, R_METAG_GNU_VTENTRY,
13516         R_METAG_HI16_GOTOFF, R_METAG_LO16_GOTOFF,
13517         R_METAG_GETSET_GOTOFF, R_METAG_GETSET_GOT, R_METAG_HI16_GOTPC,
13518         R_METAG_LO16_GOTPC, R_METAG_HI16_PLT, R_METAG_LO16_PLT,
13519         R_METAG_RELBRANCH_PLT, R_METAG_GOTOFF, R_METAG_PLT,
13520         R_METAG_COPY, R_METAG_JMP_SLOT, R_METAG_RELATIVE,
13521         R_METAG_GLOB_DAT, R_METAG_TLS_TPOFF, R_METAG_TLS_DTPMOD,
13522         R_METAG_TLS_DTPOFF): New.
13524 2016-07-18  Siddhesh Poyarekar  <siddhesh@sourceware.org>
13525             Matt Clay  <mclay@lycos.com>
13527         [BZ #20357]
13528         * sysdeps/ieee754/dbl-64/s_sin.c (sloww): Fix up condition
13529         to call __mpsin/__mpcos and to negate values.
13530         * math/auto-libm-test-in: Add test.
13531         * math/auto-libm-test-out: Regenerate.
13533 2016-07-18  Zack Weinberg  <zackw@panix.com>
13535         * grp/Makefile: Don't install the internal header grp-merge.h.
13537 2016-07-18  Szabolcs Nagy  <szabolcs.nagy@arm.com>
13539         * sysdeps/aarch64/libm-test-ulps: Regenerated.
13541 2016-07-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13543         * bits/termios.h (TABDLY): Change macro to include TAB3 bit too.
13545 2016-07-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13547         [BZ #15368]
13548         * sysdeps/unix/sysv/linux/nptl-signals.h
13549         (__nptl_clear_internal_signals): New function.
13550         (__libc_signal_block_all): Likewise.
13551         (__libc_signal_block_app): Likewise.
13552         (__libc_signal_restore_set): Likewise.
13553         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Use Linux raise.c
13554         implementation.
13555         * sysdeps/unix/sysv/linux/raise.c (raise): Reimplement to not use
13556         the cached pid/tid value in pthread structure.
13558 2016-07-13  H.J. Lu  <hongjiu.lu@intel.com>
13560         [BZ #20347]
13561         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
13563 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
13565         [BZ #20348]
13566         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add pread64,
13567         preadv64, pwrite64 and pwritev64.
13569 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
13571         [BZ #20350]
13572         * posix/tst-preadwrite.c: Renamed to ...
13573         * posix/tst-preadwrite-common.c: This.
13574         (PREAD): Removed.
13575         (PWRITE): Likewise.
13576         (STRINGIFY): Likewise.
13577         (STRINGIFY2): Likewise.
13578         (do_prepare): Make it static and remove function arguments.
13579         (do_test): Likewise.
13580         (PREPARE): Updated.
13581         (TEST_FUNCTION): New.
13582         (name): Make it static.
13583         (fd): Likewise.
13584         (do_prepare): Use create_temp_file.
13585         (do_test): Renamed to ...
13586         (do_test_with_offset): This.  Make it static and accept offset.
13587         Properly check return value of PWRITE and PREAD.  Return bytes
13588         read.  Don't close fd nor unlink name.
13589         * posix/tst-preadwrite.c: Rewrite.
13590         * posix/tst-preadwrite64.c: Likewise.
13592 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
13594         [BZ #20309]
13595         * configure.ac (have-mtls-dialect-gnu2): Set to yes if
13596         -mtls-dialect=gnu2 works.
13597         * configure: Regenerated.
13598         * elf/Makefile [have-mtls-dialect-gnu2 = yes]
13599         (tests): Add tst-gnu2-tls1.
13600         (modules-names): Add tst-gnu2-tls1mod.
13601         ($(objpfx)tst-gnu2-tls1): New.
13602         (tst-gnu2-tls1mod.so-no-z-defs): Likewise.
13603         (CFLAGS-tst-gnu2-tls1mod.c): Likewise.
13604         * elf/tst-gnu2-tls1.c: New file.
13605         * elf/tst-gnu2-tls1mod.c: Likewise.
13606         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Add 8
13607         bytes for push in the PLT entry to align the stack.
13609 2016-07-11  H.J. Lu  <hongjiu.lu@intel.com>
13611         [BZ #20349]
13612         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (LO_HI_LONG): New.
13614 2016-07-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
13616         [BZ #18707]
13617         * sysdeps/aarch64/Makefile (CFLAGS-mcount.c): Add -mgeneral-regs-only.
13618         * sysdeps/aarch64/sysdep.h (CALL_MCOUNT): Save argument registers.
13620 2016-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13622         * sysdeps/unix/sysv/linux/sysdep.h
13623         [__WORDSIZE == 64 || __ASSUME_WORDSIZE64_ILP32] (LO_HI_LONG): Remove
13624         guards.
13625         * misc/tst-preadvwritev-common.c: New file.
13626         * misc/tst-preadvwritev.c: Use tst-preadvwritev-common.c.
13627         * misc/tst-preadvwritev64.c: Use tst-preadwritev-common.c and add
13628         a check for files larger than 2GB.
13630         * sysdeps/unix/sysv/linux/mips/kernel-features.h
13631         (__ASSUME_OFF_DIFF_OFF64): Remove define.
13632         * sysdeps/unix/sysv/linux/pread.c
13633         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread): Replace by
13634         __OFF_T_MATCHES_OFF64_T.
13635         * sysdeps/unix/sysv/linux/pread64.c
13636         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread64): Likewise.
13637         * sysdeps/unix/sysv/linux/preadv.c
13638         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Likewise.
13639         * sysdeps/unix/sysv/linux/preadv64.c
13640         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv64): Likewise.
13641         * sysdeps/unix/sysv/linux/pwrite.c
13642         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite): Likewise.
13643         * sysdeps/unix/sysv/linux/pwrite64.c
13644         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite64): Likewise.
13645         * sysdeps/unix/sysv/linux/pwritev.c
13646         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Likewise.
13647         * sysdeps/unix/sysv/linux/pwritev64.c
13648         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev64): Likewise.
13650 2016-07-08  Chris Metcalf  <cmetcalf@mellanox.com>
13652         * sysdeps/unix/sysv/linux/tile/kernel-features.h
13653         (__ASSUME_ALIGNED_REGISTER_PAIRS): Only define if !_LP64.
13655 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
13657         * bits/in.h (__USE_KERNEL_IPV6_DEFS): Define to 0.
13659 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
13661         [BZ #20240]
13662         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
13663         (CFLAGS-s_modf-ppc32.c): New variable.
13664         (CFLAGS-s_modff-ppc32.c): Likewise.
13665         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
13666         (CFLAGS-s_modf-ppc64.c): Likewise.
13667         (CFLAGS-s_modff-ppc64.c): Likewise.
13669 2016-07-07  Andreas Schwab  <schwab@suse.de>
13671         [BZ #20263]
13672         * nptl/tst-robust10.c: New test.
13673         * nptl/Makefile (tests): Add tst-robust10.
13675 2016-07-07  Jiyoung Yun  <t2wish@gmail.com>
13677         [BZ #20263]
13678         * nptl/lowlevelrobustlock.c: Implement ETIMEDOUT logic.
13680 2016-07-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
13682         * sysdeps/s390/linkmap.h (struct link_map_machine):
13683         Remove member gotplt and add member jmprel.
13684         * sysdeps/s390/s390-32/dl-machine.h
13685         (elf_machine_runtime_setup): Setup member jmprel with DT_JMPREL
13686         instead of gotplt with &got[3].
13687         (elf_machine_lazy_rel): Calculate address with reloc and jmprel.
13688         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
13690 2016-07-06  John David Anglin  <danglin@gcc.gnu.org>
13692         * sysdeps/hppa/fpu/libm-test-ulps: Regenerate.
13694 2016-07-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13696         * libio/iofopncook.c (_IO_cookie_read, _IO_cookie_write,
13697         _IO_cookie_seek, _IO_cookie_close, _IO_old_cookie_seek)
13698         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
13699         (set_callbacks) [!PTR_MANGLE]: Do not call PTR_MANGLE.
13700         * libio/vtables.c (_IO_vtable_check)
13701         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
13702         * libio/libioP.h (IO_set_accept_foreign_vtables)
13703         [!PTR_MANGLE]: Do not call PTR_MANGLE.
13705 2016-07-05  H.J. Lu  <hongjiu.lu@intel.com>
13707         [BZ #20314]
13708         * Makeconfig (CXXFLAGS): Prepend -I$(common-objpfx).
13709         * Makerules (before-compile): Add $(common-objpfx)cstdlib and
13710         $(common-objpfx)cmath.
13711         ($(common-objpfx)cstdlib): New target.
13712         ($(common-objpfx)cmath): Likewise.
13714 2016-07-05  Chris Metcalf  <cmetcalf@mellanox.com>
13716         * malloc/tst-malloc-thread-fail.c (TIMEOUT): Bump up to 30s.
13718 2016-07-05  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
13720         [BZ #20327]
13721         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Mask bits that
13722         are not part of the string.
13724 2016-07-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13726         * nptl/tst-cancel4-common.c (do_test): Add temporary fifo creation.
13727         * nptl/tst-cancel4-common.h (fifoname): New variable.
13728         (fifofd): Likewise.
13729         (cl_fifo): New function.
13730         * nptl/tst-cancel4.c (tf_sigpause): Replace SIGCANCEL usage by
13731         SIGINT.
13732         (tf_open): Add early cancel test.
13734 2016-07-04  Andreas Schwab  <schwab@linux-m68k.org>
13736         * sysdeps/m68k/Makefile (CFLAGS-mcount.c): Define.
13738 2016-07-01  Maciej W. Rozycki  <macro@imgtec.com>
13740         * sysdeps/generic/ldsodefs.h
13741         (dl_symbol_visibility_binds_local_p): New inline function.
13742         * elf/dl-addr.c (determine_info): Treat hidden and internal
13743         symbols as local.
13744         * elf/dl-lookup.c (do_lookup_x): Likewise.
13745         * elf/dl-reloc.c (RESOLVE_MAP): Likewise.
13747 2016-07-01  Aurelien Jarno  <aurelien@aurel32.net>
13749         * sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint): Trigger an
13750         invalid exception for a sNaN input.
13751         * sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
13752         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
13753         (__nearbyint_vis3): Likewise
13754         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
13755         (__nearbyintf_vis3): Likewise
13756         * sparc/sparc64/fpu/s_nearbyint.S (__nearbyint): Likewise.
13757         * sparc/sparc64/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
13758         * sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S (__nearbyint_vis3):
13759         Likewise.
13760         * sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S (__nearbyintf_vis3):
13761         Likewise.
13763 2016-07-01  H.J. Lu  <hongjiu.lu@intel.com>
13765         [BZ #20139]
13766         * config.h.in (HAVE_AVX512_ASM_SUPPORT): Renamed to ...
13767         (HAVE_AVX512DQ_ASM_SUPPORT): This.
13768         * sysdeps/x86_64/configure.ac: Require assembler from binutils
13769         2.24 or above.
13770         (HAVE_AVX512_ASM_SUPPORT): Removed.
13771         (HAVE_AVX512DQ_ASM_SUPPORT): New.
13772         * sysdeps/x86_64/configure: Regenerated.
13773         * sysdeps/x86_64/dl-trampoline.S: Make HAVE_AVX512_ASM_SUPPORT
13774         check unconditional.
13775         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
13776         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
13777         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
13778         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
13779         Likewise.
13780         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
13781         Likewise.
13782         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
13783         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
13784         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
13785         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
13786         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
13787         Likewise.
13788         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
13789         Likewise.
13790         * sysdeps/x86_64/multiarch/memset.S: Likewise.
13791         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
13792         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Check
13793         HAVE_AVX512DQ_ASM_SUPPORT instead of HAVE_AVX512_ASM_SUPPORT.
13794         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S:
13795         Likewise.
13796         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S:
13797         Likewise.
13798         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S:
13799         Likewise.
13800         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S:
13801         Likewise.
13802         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.:
13803         Likewise.
13804         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S:
13805         Likewise.
13806         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S:
13807         Likewise.
13808         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S:
13809         Likewise.
13810         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S:
13811         Likewise.
13812         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx51:
13813         Likewise.
13814         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S:
13815         Likewise.
13817 2016-07-01  Andrew Senkevich  <andrew.senkevich@intel.com>
13819         [BZ #20024]
13820         * sysdeps/x86/fpu/test-math-vector-sincos.h: New.
13821         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Fixed ABI
13822         of this implementation of vector function.
13823         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
13824         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
13825         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
13826         Likewise.
13827         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
13828         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
13829         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: Likewise.
13830         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: Likewise.
13831         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: Likewise.
13832         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Likewise.
13833         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
13834         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S: Likewise.
13835         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S: Likewise.
13836         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S: Likewise.
13837         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Use another wrapper
13838         for testing vector sincos with fixed ABI.
13839         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
13840         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
13841         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
13842         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
13843         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
13844         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
13845         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
13846         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx.c: New test.
13847         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2.c: Likewise.
13848         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512.c: Likewise.
13849         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Likewise.
13850         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx.c: Likewise.
13851         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2.c: Likewise.
13852         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512.c: Likewise.
13853         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
13854         * sysdeps/x86_64/fpu/Makefile: Added new tests.
13856 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
13858         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Add _Qp_cmp.
13860 2016-06-30  Anton Blanchard  <anton@samba.org>
13862         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
13863         [$(subdir) = math] (libm-sysdep_routines): Add s_sinf-power8 and
13864         s_sinf-ppc64.
13865         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: New file.
13866         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
13867         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
13868         * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
13870 2016-06-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
13872         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13873         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
13874         [$(subdir) = math] (libm-sysdep_routines): Add e_expf-power8 and
13875         e_expf-ppc64.
13876         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: New file.
13877         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Likewise.
13878         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c: Likewise.
13879         * sysdeps/powerpc/powerpc64/power8/fpu/e_expf.S: Likewise.
13881 2016-06-30  John David Anglin  <danglin@gcc.gnu.org>
13883         [BZ #20277]
13884         * sysdeps/hppa/start.S (_start): Correct loading of global pointer
13885         when SHARED is defined.
13887 2016-06-30  H.J. Lu  <hongjiu.lu@intel.com>
13889         * sysdeps/x86/cpu-features.h (bit_arch_Prefer_ERMS): New.
13890         (index_arch_Prefer_ERMS): Likewise.
13891         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Return
13892         __memcpy_erms for Prefer_ERMS.
13893         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
13894         (__memmove_erms): Enabled for libc.a.
13895         * ysdeps/x86_64/multiarch/memmove.S (__libc_memmove): Return
13896         __memmove_erms or Prefer_ERMS.
13897         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Return
13898         __mempcpy_erms for Prefer_ERMS.
13899         * sysdeps/x86_64/multiarch/memset.S (memset): Return
13900         __memset_erms for Prefer_ERMS.
13902 2016-06-30  Andreas Schwab  <schwab@suse.de>
13904         [BZ #20262]
13905         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn): Return
13906         NSS_STATUS_SUCCESS when done.  Return NSS_STATUS_TRYAGAIN when out
13907         of memory.
13909 2016-06-29  H.J. Lu  <hongjiu.lu@intel.com>
13911         [BZ #18645]
13912         * nptl/Makefile (extra-test-objs): Add tst-cleanupx4aux.o.
13913         (test-extras): Add tst-cleanupx4aux.
13914         (CFLAGS-tst-cleanupx4aux.c): New.  Set to -fexceptions.
13915         ($(objpfx)tst-cleanupx4): Replace tst-cleanup4aux.o with
13916         tst-cleanupx4aux.o.
13917         * nptl/tst-cleanupx4aux.c: New file.
13919 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
13921         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
13923 2016-06-29  Andreas Schwab  <schwab@suse.de>
13925         [BZ #20260]
13926         * sysdeps/x86/bits/string.h (__strncat_g) [!__i686__]: Compute the
13927         address before the beginning of the string as an integer to avoid
13928         array-bounds warning.
13930 2016-06-28  Richard Henderson  <rth@redhat.com>
13932         * elf/elf.h (EM_BPF): New.
13933         (EM_NUM): Update.
13934         (R_BPF_NONE, R_BPF_MAP_FD): New.
13936         * elf/elf.h (EM_IAMCU, EM_SPU, EM_PDP10, EM_PDP11, EM_ARC_COMPACT,
13937         EM_VIDEOCORE, EM_TMM_GPP, EM_NS32K, EM_TPC, EM_SNP1K, EM_ST200,
13938         EM_IP2K, EM_MAX, EM_CR, EM_F2MC16, EM_MSP430, EM_BLACKFIN, EM_SE_C33,
13939         EM_SEP, EM_ARCA, EM_UNICORE, EM_EXCESS, EM_DXP, EM_ALTERA_NIOS2,
13940         EM_CRX, EM_XGATE, EM_C166, EM_M16C, EM_DSPIC30F, EM_CE, EM_M32C,
13941         EM_TSK3000, EM_RS08, EM_SHARC, EM_ECOG2, EM_SCORE7, EM_DSP24,
13942         EM_VIDEOCORE3, EM_LATTICEMICO32, EM_SE_C17, EM_TI_C6000, EM_TI_C2000,
13943         EM_TI_C5500, EM_TI_ARP32, EM_TI_PRU, EM_MMDSP_PLUS, EM_CYPRESS_M8C,
13944         EM_R32C, EM_TRIMEDIA, EM_QDSP6, EM_8051, EM_STXP7X, EM_NDS32,
13945         EM_ECOG1X, EM_MAXQ30, EM_XIMO16, EM_MANIK, EM_CRAYNV2, EM_RX,
13946         EM_METAG, EM_MCST_ELBRUS, EM_ECOG16, EM_CR16, EM_ETPU, EM_SLE9X,
13947         EM_L10M, EM_K10M, EM_AVR32, EM_STM8, EM_TILE64, EM_CUDA,
13948         EM_CLOUDSHIELD, EM_COREA_1ST, EM_COREA_2ND, EM_ARC_COMPACT2,
13949         EM_OPEN8, EM_RL78, EM_VIDEOCORE5, EM_78KOR, EM_56800EX, EM_BA1,
13950         EM_BA2, EM_XCORE, EM_MCHP_PIC, EM_KM32, EM_KMX32, EM_EMX16, EM_EMX8,
13951         EM_KVARC, EM_CDP, EM_COGE, EM_COOL, EM_NORC, EM_CSR_KALIMBA, EM_Z80,
13952         EM_VISIUM, EM_FT32, EM_MOXIE, EM_AMDGPU, EM_RISCV, EM_BPF): New.
13953         (EM_NUM): Update.
13955 2016-06-28  Stefan Liebler  <stli@linux.vnet.ibm.com>
13957         [BZ #18960]
13958         * locale/localeinfo.h (_NL_CURRENT_DEFINE):
13959         Set _nl_current_LC_CATEGORY_used to two instead of one.
13961 2016-06-27  Aurelien Jarno  <aurelien@aurel32.net>
13963         * sysdeps/mips/tst-mode-switch-1.c (main): Converted to ...
13964         (do_test): ... this.
13965         (TEST_FUNCTION): New macro.
13966          Include test-skeleton.c.
13967         * sysdeps/mips/tst-mode-switch-2.c (main): Likewise.
13968         * sysdeps/mips/tst-mode-switch-3.c (main): Likewise.
13970 2016-06-27  Joseph Myers  <joseph@codesourcery.com>
13972         [BZ #15479]
13973         * sysdeps/i386/fpu/s_trunc.S (__trunc): Save and restore
13974         floating-point environment rather than just control word.
13975         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
13976         * sysdeps/i386/fpu/s_truncl.S (__truncl): Save and restore
13977         floating-point environment, with "invalid" exceptions merged in,
13978         rather than just control word.
13979         * sysdeps/x86_64/fpu/s_truncl.S (__truncl): Likewise.
13980         * math/libm-test.inc (trunc_test_data): Do not allow spurious
13981         "inexact" exceptions.
13983         [BZ #15479]
13984         * sysdeps/i386/fpu/s_floor.S (__floor): Save and restore
13985         floating-point environment rather than just control word.
13986         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
13987         * sysdeps/i386/fpu/s_floorl.S (__floorl): Save and restore
13988         floating-point environment, with "invalid" exceptions merged in,
13989         rather than just control word.
13990         * sysdeps/x86_64/fpu/s_floorl.S (__floorl): Likewise.
13991         * math/libm-test.inc (floor_test_data): Do not allow spurious
13992         "inexact" exceptions.
13994         [BZ #15479]
13995         * sysdeps/i386/fpu/s_ceil.S (__ceil): Save and restore
13996         floating-point environment rather than just control word.
13997         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
13998         * sysdeps/i386/fpu/s_ceill.S (__ceill): Save and restore
13999         floating-point environment, with "invalid" exceptions merged in,
14000         rather than just control word.
14001         * sysdeps/x86_64/fpu/s_ceill.S (__ceill): Likewise.
14002         * math/libm-test.inc (ceil_test_data): Do not allow spurious
14003         "inexact" exceptions.
14005 2016-06-21  Aurelien Jarno  <aurelien@aurel32.net>
14007         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Rename into
14008         __libc_vfork.
14009         (__vfork) [IS_IN (libc)]: Remove alias.
14010         (__libc_vfork) [IS_IN (libc)]: Define as an alias.
14011         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
14012         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
14014 2016-06-24  Torvald Riegel  <triegel@redhat.com>
14016         * nscd/cache.c (cache_add): Use new C11-like atomic operation instead
14017         of atomic_compare_and_exchange_bool_rel.
14018         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
14019         * include/atomic.h (atomic_compare_and_exchange_bool_rel,
14020         catomic_compare_and_exchange_bool_rel): Remove.
14021         * sysdeps/aarch64/atomic-machine.h
14022         (atomic_compare_and_exchange_bool_rel): Likewise.
14023         * sysdeps/alpha/atomic-machine.h
14024         (atomic_compare_and_exchange_bool_rel): Likewise.
14025         * sysdeps/arm/atomic-machine.h
14026         (atomic_compare_and_exchange_bool_rel): Likewise.
14027         * sysdeps/mips/atomic-machine.h
14028         (atomic_compare_and_exchange_bool_rel): Likewise.
14029         * sysdeps/microblaze/atomic-machine.h
14030         ( __arch_compare_and_exchange_bool_8_rel,
14031         __arch_compare_and_exchange_bool_16_rel): Likewise.
14032         * sysdeps/powerpc/atomic-machine.h
14033         ( __arch_compare_and_exchange_bool_8_rel,
14034         __arch_compare_and_exchange_bool_16_rel): Likewise.
14035         * sysdeps/powerpc/powerpc32/atomic-machine.h
14036         ( __arch_compare_and_exchange_bool_32_rel,
14037         __arch_compare_and_exchange_bool_64_rel): Likewise.
14038         * sysdeps/powerpc/powerpc64/atomic-machine.h
14039         ( __arch_compare_and_exchange_bool_32_rel,
14040         __arch_compare_and_exchange_bool_64_rel): Likewise.
14041         * sysdeps/tile/atomic-machine.h
14042         (atomic_compare_and_exchange_bool_rel): Likewise.
14044 2016-06-23  Joseph Myers  <joseph@codesourcery.com>
14046         [BZ #20296]
14047         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Add arguments
14048         when either argument is a NaN.
14049         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
14050         * math/libm-test.inc (scalb_test_data): Add sNaN tests.
14052         * math/libm-test.inc (snan_value_ld): New macro.
14053         (isgreater_test_data): Add sNaN tests.
14054         (isgreaterequal_test_data): Likewise.
14055         (isless_test_data): Likewise.
14056         (islessequal_test_data): Likewise.
14057         (islessgreater_test_data): Likewise.
14058         (isunordered_test_data): Likewise.
14059         (nextafter_test_data): Likewise.
14060         (nexttoward_test_data): Likewise.
14061         (remainder_test_data): Likewise.
14062         (remquo_test_data): Likewise.
14063         (significand_test_data): Likewise.
14064         * math/gen-libm-test.pl (%beautify): Add snan_value_ld.
14066 2016-06-23  Siddhesh Poyarekar  <siddhesh@sourceware.org>
14068         * posix/getconf.c: Define ALL_ENVIRONMENTS_DEFINED if all
14069         environment macros are defined.
14070         (main): Avoid execve if ALL_ENVIRONMENTS_DEFINED is defined.
14072 2016-06-23  Florian Weimer  <fweimer@redhat.com>
14074         [BZ #20191]
14075         Implement vtable verification in libio.
14076         * Makerules (shlib.lds): Place __libc_IO_vtables section.
14077         * debug/obprintf_chk.c (_IO_obstack_jumps): Define as vtable.
14078         * debug/vdprintf_chk.c (__vdprintf_chk): Call
14079         _IO_new_file_init_internal instead of _IO_file_init.
14080         * debug/vsnprintf_chk.c (_IO_strn_jumps): Define as vtable.
14081         * debug/vsprintf_chk.c (_IO_str_chk_jumps): Likewise.
14082         * libio/Makefile (routines): Add vtables.
14083         * libio/libioP.h (_IO_JUMPS_FUNC): Call IO_validate_vtable.
14084         (_IO_init): Remove, not for internal use.
14085         (_IO_init_internal): Declare, internal replacement for _IO_init.
14086         (_IO_file_init): Remove, not for internal use.
14087         (_IO_new_file_init): Remove, not for internal use.
14088         (_IO_new_file_init_internal): Declare, internal replacement for
14089         _IO_new_file_init.
14090         (_IO_old_file_init): Remove, not for internal use.
14091         (_IO_old_file_init_internal): Declare, internal replacement for
14092         _IO_old_file_init.
14093         (_IO_str_init_static, _IO_str_init_readonly): Remove, not for
14094         internal use.
14095         (__libc_IO_vtables, IO_accept_foreign_vtables, _IO_vtable_check):
14096         Declare.
14097         (libio_vtable): New macro.
14098         (IO_set_accept_foreign_vtables, _IO_validate_vtable): New inline
14099         functions.
14100         * libio/fileops.c (_IO_new_file_init_internal): Rename from
14101         _IO_new_file_init.
14102         (_IO_new_file_init): New externally visible wrapper which disables
14103         vtable verification.
14104         (_IO_file_jumps, _IO_file_jumps_mmap, _IO_file_jumps_maybe_mmap):
14105         Define as vtables.
14106         * libio/genops.c (_IO_init_internal): Rename from _IO_init.
14107         (_IO_init): New externally visible wrapper which disables
14108         vtable verification.
14109         * libio/iofdopen.c (_IO_new_fdopen): Call
14110         _IO_new_file_init_internal instead of _IO_file_init.  Adjust
14111         comment.
14112         * libio/iofopen.c (__fopen_internal): Call
14113         _IO_new_file_init_internal instead of _IO_file_init.
14114         * libio/iofopncook.c (_IO_cookie_jumps, _IO_old_cookie_jumps):
14115         Define as vtables.
14116         (_IO_cookie_init): Call _IO_init_internal instead of _IO_init,
14117         _IO_new_file_init_internal instead of _IO_file_init.
14118         * libio/iopopen.c (_IO_new_popen): Likewise.
14119         (_IO_proc_jumps): Define as vtable.
14120         * libio/iovdprintf.c (_IO_vdprintf): Call
14121         _IO_new_file_init_internal instead of _IO_file_init.
14122         * libio/memstream.c (_IO_mem_jumps): Define as vtable.
14123         (__open_memstream): Call _IO_init_internal instead of _IO_init.
14124         * libio/obprintf.c (_IO_obstack_jumps): Define as vtable.
14125         * libio/oldfileops.c (_IO_old_file_init_internal): Rename from
14126         _IO_old_file_init.
14127         (_IO_old_file_init): New externally visible wrapper which disables
14128         vtable verification.
14129         (_IO_old_file_jumps): Define as vtable.
14130         * libio/oldiofdopen.c (_IO_old_fdopen): Call
14131         _IO_old_file_init_internal instead of _IO_old_file_init.
14132         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
14133         * libio/oldiopopen.c (_IO_old_popen): Likewise.
14134         (_IO_old_proc_jumps): Define as vtable.
14135         * libio/strops.c (_IO_str_jumps, _IO_strn_jumps, _IO_wstrn_jumps):
14136         Define as vtables.
14137         * libio/vtables.c: New file.
14138         * libio/wfileops.c (_IO_wfile_jumps, _IO_wfile_jumps_mmap)
14139         (_IO_wfile_jumps_maybe_mmap): Define as vtables.
14140         * libio/wmemstream.c (_IO_wmem_jumps): Define as vtable.
14141         * libio/wstrops.c (_IO_wstr_jumps): Likewise.
14142         * stdio-common/vfprintf.c (_IO_helper_jumps): Likewise.
14143         * stdlib/strfmon_l.c (__vstrfmon_l): Call _IO_init_internal
14144         instead of _IO_init.
14146 2016-06-23  Florian Weimer  <fweimer@redhat.com>
14148         * test-skeleton.c (xrealloc): Support deallocation with n == 0.
14150 2016-06-23  Florian Weimer  <fweimer@redhat.com>
14152         * test-skeleton.c (xmalloc, xcalloc, xrealloc): Mark as
14153         potentially unused.
14155 2016-06-22  Florian Weimer  <fweimer@redhat.com>
14157         * test-skeleton.c (write_message): New function.
14158         * malloc/tst-mallocfork2.c (write_message): Remove.
14159         * debug/tst-longjmp_chk2.c (write_indented): New function.
14160         (write_message): Remove.
14161         (stackoverflow_handler): Call write_indented.
14163 2016-06-22  Joseph Myers  <joseph@codesourcery.com>
14165         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Do not mask
14166         "inexact" exceptions after fnstenv.
14167         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
14168         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
14169         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
14171 2015-06-22  Zack Weinberg  <zackw@panix.com>
14173         * sysdeps/generic/bits/hwcap.h: Moved to ...
14174         * bits/hwcap.h: Here.
14176 2016-06-22  Wilco Dijkstra  <wdijkstr@arm.com>
14178         * sysdeps/aarch64/memcpy.S (memcpy):
14179         Further tuning for performance.
14181 2016-06-21  Florian Weimer  <fweimer@redhat.com>
14183         [BZ #20284]
14184         * malloc/arena.c (reused_arena): Do not return NULL if we start
14185         out with a non-corrupted arena.
14187 2016-06-21 Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14189         * misc/Makefile (tests): Add tst-preadvwritev and tst-preadvwritev64.
14190         * misc/tst-preadvwritev.c: New file.
14191         * misc/tst-preadvwritev64.c: Likewise.
14192         * sysdeps/unix/sysv/linux/preadv.c (preadv): Remove SYSCALL_LL{64}
14193         usage.
14194         * sysdeps/unix/sysv/linux/preadv64.c (preadv64): Likewise.
14195         * sysdeps/unix/sysv/linux/pwritev.c (pwritev): Likewise.
14196         * sysdeps/unix/sysv/linux/pwritev64.c (pwritev64): Likewise.
14197         * sysdeps/unix/sysv/linux/sysdep.h (LO_HI_LONG): New macro.
14199 2016-06-20  Andrew Senkevich  <andrew.senkevich@intel.com>
14201         [BZ #19654]
14202         * sysdeps/x86_64/fpu/Makefile: Added new tests.
14203         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-main.c: New.
14204         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-mod.c: Likewise.
14205         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx.c: Likewise.
14206         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-main.c: Likewise.
14207         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-mod.c: Likewise.
14208         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2.c: Likewise.
14209         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-main.c: Likewise.
14210         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-mod.c: Likewise.
14211         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512.c: Likewise.
14212         * sysdeps/x86_64/fpu/test-double-libmvec-alias-main.c: Likewise.
14213         * sysdeps/x86_64/fpu/test-double-libmvec-alias-mod.c: Likewise.
14214         * sysdeps/x86_64/fpu/test-double-libmvec-alias.c: Likewise.
14215         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-main.c: Likewise.
14216         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-mod.c: Likewise.
14217         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx.c: Likewise.
14218         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-main.c: Likewise.
14219         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-mod.c: Likewise.
14220         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2.c: Likewise.
14221         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-main.c: Likewise.
14222         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-mod.c: Likewise.
14223         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512.c: Likewise.
14224         * sysdeps/x86_64/fpu/test-float-libmvec-alias-main.c: Likewise.
14225         * sysdeps/x86_64/fpu/test-float-libmvec-alias-mod.c: Likewise.
14226         * sysdeps/x86_64/fpu/test-float-libmvec-alias.c: Likewise.
14227         * sysdeps/x86_64/fpu/test-libmvec-alias-mod.c: Likewise.
14229 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
14231         * sysdeps/aarch64/rawmemchr.S (__rawmemchr): New file.
14232         * sysdeps/aarch64/strlen.S (__strlen): Change to __strlen to avoid PLT.
14234 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
14236         * sysdeps/aarch64/memcpy.S (memcpy):
14237         Rewrite of optimized memcpy and memmove.
14238         * sysdeps/aarch64/memmove.S (memmove): Remove
14239         memmove code (merged into memcpy.S).
14241 2016-06-20  Florian Weimer  <fweimer@redhat.com>
14243         Consolidate machine-agnostic DTV definitions in <dl-dtv.h>.
14244         * sysdeps/generic/dl-dtv.h: New file.
14245         * sysdeps/aarch64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
14246         * sysdeps/aarch64/nptl/tls.h: Include <dl-dtv.h>.
14247         (dtv_t): Remove.
14248         * sysdeps/alpha/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
14249         * sysdeps/alpha/nptl/tls.h: Include <dl-dtv.h>.
14250         (dtv_t): Remove.
14251         * sysdeps/arm/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
14252         * sysdeps/arm/nptl/tls.h: Include <dl-dtv.h>.
14253         (dtv_t): Remove.
14254         * sysdeps/hppa/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
14255         * sysdeps/hppa/nptl/tls.h: Include <dl-dtv.h>.
14256         (dtv_t): Remove.
14257         * sysdeps/i386/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
14258         * sysdeps/i386/nptl/tls.h: Include <dl-dtv.h>.
14259         (dtv_t): Remove.
14260         * sysdeps/ia64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
14261         * sysdeps/ia64/nptl/tls.h: Include <dl-dtv.h>.
14262         (dtv_t): Remove.
14263         * sysdeps/m68k/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
14264         * sysdeps/m68k/nptl/tls.h: Include <dl-dtv.h>.
14265         (dtv_t): Remove.
14266         * sysdeps/mach/hurd/i386/tls.h: Include <dl-dtv.h>.
14267         (dtv_t): Remove.
14268         * sysdeps/microblaze/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
14269         * sysdeps/microblaze/nptl/tls.h: Include <dl-dtv.h>.
14270         (dtv_t): Remove.
14271         * sysdeps/mips/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
14272         * sysdeps/mips/nptl/tls.h: Include <dl-dtv.h>.
14273         (dtv_t): Remove.
14274         * sysdeps/nios2/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
14275         * sysdeps/nios2/nptl/tls.h: Include <dl-dtv.h>.
14276         (dtv_t): Remove.
14277         * sysdeps/powerpc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
14278         * sysdeps/powerpc/nptl/tls.h: Include <dl-dtv.h>.
14279         (dtv_t): Remove.
14280         * sysdeps/s390/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
14281         * sysdeps/s390/nptl/tls.h: Include <dl-dtv.h>.
14282         (dtv_t): Remove.
14283         * sysdeps/sh/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
14284         * sysdeps/sh/nptl/tls.h: Include <dl-dtv.h>.
14285         (dtv_t): Remove.
14286         * sysdeps/sparc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
14287         * sysdeps/sparc/nptl/tls.h: Include <dl-dtv.h>.
14288         (dtv_t): Remove.
14289         * sysdeps/x86_64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
14290         * sysdeps/x86_64/nptl/tls.h: Include <dl-dtv.h>.
14291         (dtv_t): Remove.
14293 2016-06-20  Florian Weimer  <fweimer@redhat.com>
14295         Revert symbol poisoning of  __malloc_initialize_hook.
14296         * include/stdc-predef.h (__malloc_initialize_hook): Remove
14297         poisoning.
14298         * malloc/Makefile: Remove un-poisoning.
14299         * malloc/arena.c (ptmalloc_init): Use __malloc_initialize_hook
14300         instead of old__malloc_initialize_hook.
14301         * malloc/malloc-hooks.h: Likewise.
14302         * malloc/malloc.c: Likewise.
14303         * malloc/mcheck-init.c: Likewise.
14305 2016-06-19  Carlos O'Donell  <carlos@redhat.com>
14307         * sysdeps/unix/sysv/linux/times.c (__times): Expand comments.
14309 2016-06-18  Aurelien Jarno  <aurelien@aurel32.net>
14311         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Conditionalize
14312         hidden_def, weak_alias and strong_alias on [IS_IN (libc)].
14313         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
14314         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
14316 2016-06-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
14318         * NEWS: Mention addition of nextup and nextdown.
14319         * manual/arith.texi: Document nextup and nextdown.
14320         * manual/libm-err-tab.pl: Add nextup and nextdown.
14321         * math/Makefile (libm-calls): Add s_nextdown and s_nextup.
14322         * math/Versions (libm): Add GLIBC_2.24.
14323         * math/bits/mathcalls.h: Add nextup and nextdown declaration.
14324         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
14325         Add new test.
14326         (nextafter_test_data) [TEST_COND_binary32]: Likewise.
14327         (nextafter_test_data) [TEST_COND_m68k96]: Likewise.
14328         (nextafter_test_data) [TEST_COND_binary64]: Likewise.
14329         (nextafter_test_data) [TEST_COND_binary128]: Likewise.
14330         (nextup_test_data): Likewise.
14331         (nextdown_test_data): Likewise.
14332         * math/s_nextdown.c: New file.
14333         * math/s_nextdownf.c: Likewise.
14334         * math/s_nextdownl.c: Likewise.
14335         * math/test-tgmath.c F(compile_test)): Add nextup and nextdown tests.
14336         F(nextup): New function.
14337         F(nextdown): Likewise.
14338         * math/tgmath.h: Add nextup and nextdown.
14339         * sysdeps/ieee754/flt-32/s_nextupf.c: New file.
14340         * sysdeps/ieee754/dbl-64/s_nextup.c: Likewise.
14341         * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
14342         * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
14343         * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
14344         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls):
14345         Add nextup and nextdown.
14346         (CFLAGS-nldbl-nextup.c): New variable.
14347         (CFLAGS-nldbl-nextdown.c): Likewise.
14348         * sysdeps/ieee754/ldbl-opt/nldbl-nextdown.c: New file.
14349         * sysdeps/ieee754/ldbl-opt/nldbl-nextup.c: Likewise.
14350         * sysdeps/nacl/libm.abilist: Update.
14351         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
14352         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
14353         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
14354         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
14355         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
14356         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
14357         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
14358         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
14359         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
14360         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
14361         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
14362         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
14363         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
14364         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
14365         Likewise.
14366         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
14367         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
14368         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
14369         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
14370         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
14371         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
14372         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
14373         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Likewise.
14374         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: Likewise.
14375         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
14376         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
14377         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
14378         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
14380 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
14382         * manual/pattern.texi: Fix typos & grammar errors.
14384 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
14386         * manual/search.texi: Fix typos & grammar errors.
14388 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
14390         * manual/message.texi: Fix typos & grammar errors.
14392 2016-06-16  Mike Frysinger  <vapier@gentoo.org>
14394         * manual/contrib.texi: Fix spelling typos.
14395         * manual/crypt.texi: Likewise.
14396         * manual/filesys.texi: Likewise.
14397         * manual/locale.texi: Likewise.
14398         * manual/message.texi: Likewise.
14399         * manual/nss.texi: Likewise.
14400         * manual/string.texi: Likewise.
14402 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
14404         * manual/locale.texi: Fix typos & grammar errors.
14406 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
14408         * manual/charset.texi: Fix typos & grammar errors.
14410 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
14412         * manual/string.texi: Fix typos.
14414 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
14416         * manual/ctype.texi: Fix typos.
14418 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
14420         * manual/memory.texi: Fix various typos & grammar errors.
14422 2016-06-14  Joseph Myers  <joseph@codesourcery.com>
14424         [BZ #20255]
14425         * sysdeps/i386/fpu/s_fdim.c: New file.  Based on math/s_fdim.c.
14426         * math/libm-test.inc (fdim_test_data): Add another test.
14428         [BZ #6796]
14429         [BZ #20255]
14430         [BZ #20256]
14431         * math/s_fdim.c: Include <math_private.h>.
14432         (__fdim): Use math_narrow_eval on result.
14433         * math/s_fdimf.c: Include <math_private.h>.
14434         (__fdimf): Use math_narrow_eval on result.
14435         * sysdeps/i386/fpu/s_fdim.S: Remove file.
14436         * sysdeps/i386/fpu/s_fdimf.S: Likewise.
14437         * sysdeps/i386/fpu/s_fdiml.S: Likewise.
14438         * sysdeps/i386/i686/fpu/s_fdim.S: Likewise.
14439         * sysdeps/i386/i686/fpu/s_fdimf.S: Likewise.
14440         * sysdeps/i386/i686/fpu/s_fdiml.S: Likewise.
14441         * sysdeps/powerpc/fpu/s_fdim.c: Likewise.
14442         * sysdeps/powerpc/fpu/s_fdimf.c: Likewise.
14443         * sysdeps/powerpc/powerpc32/fpu/s_fdim.c: Likewise.
14444         * sysdeps/powerpc/powerpc64/fpu/s_fdim.c: Likewise.
14445         * sysdeps/x86_64/fpu/s_fdiml.S: Likewise.
14446         * math/libm-test.inc (fdim_test_data): Expect errno setting on
14447         overflow.  Add sNaN tests.
14449         * math/s_fdim.c (__fdim): Use islessequal and isinf instead of
14450         fpclassify.
14451         * math/s_fdimf.c (__fdimf): Likewise.
14452         * math/s_fdiml.c (__fdiml): Likewise.
14454 2016-06-14  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
14456         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
14457         (sysdep_routines): Add P8 and PPC64 strcasecmp/strncasecmp targets.
14458         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
14459         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
14460         ifunc'ed strcasecmp/strncasecmp.
14461         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S:
14462         [EALIGN]: Removed.
14463         [END]: Likewise.
14464         [__strcasecmp]: Define instead of the above to control symbol name.
14465         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Add IFUNC selector
14466         for __strcasecmp_power8.
14467         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Add IFUNC selector
14468         for __strncasecmp_power8.
14469         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: New File.
14470         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-ppc64.c: Likewise.
14471         * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
14472         * sysdeps/powerpc/powerpc64/multiarch/strncase-ppc64.c: Likewise.
14473         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Likewise.
14474         * sysdeps/powerpc/powerpc64/power8/strncase.S: Likewise.
14476 2016-06-13  Joseph Myers  <joseph@codesourcery.com>
14478         [BZ #20252]
14479         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Add both
14480         arguments when second argument is a NaN.
14481         * math/libm-test.inc (atan2_test_data): Add sNaN tests and more
14482         qNaN tests.
14484         * math/libm-test.inc (cimag_test_data): Add sNaN tests.
14485         (conj_test_data): Likewise.
14486         (copysign_test_data): Likewise.
14487         (creal_test_data): Likewise.
14488         (fma_test_data): Likewise.
14489         (fmod_test_data): Likewise.
14491         [BZ #20250]
14492         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Add non-finite input to
14493         itself.
14494         * sysdeps/ieee754/dbl-64/s_frexp.c (__frexp): Add non-finite or
14495         zero input to itself.
14496         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp):
14497         Likewise.
14498         * sysdeps/ieee754/flt-32/s_frexpf.c (__frexpf): Likewise.
14499         * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
14500         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
14501         * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
14502         * math/libm-test.inc (frexp_test_data): Add sNaN tests.
14504 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14506         * nptl/Makefile (test): Add tst-cancel4_1 and tst-cancel4_2.
14507         * nptl/tst-cancel4-common.c: New file.
14508         * nptl/tst-cancel4-common.h: Likewise.
14509         * nptl/tst-cancel4.c: Move common definitions to
14510         tst-cancel4-common.{c,h} file.
14511         * nptl/tst-cancel4_1.c: New test.
14512         * nptl/tst-cancel4_2.c: New test.
14514 2016-06-13  Florian Weimer  <fweimer@redhat.com>
14516         [BZ #20248]
14517         * debug/tst-longjmp_chk2.c (pass): Use volatile sig_atomic_t.
14518         (write_message): New function.
14519         (stackoverflow_handler): Call it instead of printf, to avoid
14520         excessive stack usage by printf.
14521         (do_test): Restore SIGSEGV, SIGBUS default handlers.
14523 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14525         * nptl/pthread_mutex_init.c [__ASSUME_FUTEX_LOCK_PI]
14526         (prio_inherit_missing): Remove define.
14527         * sysdeps/unix/sysv/linux/arm/kernel-features.h
14528         (__ASSUME_FUTEX_LOCK_PI): Likewise.
14529         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FUTEX_LOCK_PI):
14530         Likewise.
14531         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
14532         (__ASSUME_FUTEX_LOCK_PI): Likewise.
14533         * sysdeps/unix/sysv/linux/mips/kernel-features.h
14534         (__ASSUME_FUTEX_LOCK_PI): Likewise.
14535         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
14536         (__ASSUME_FUTEX_LOCK_PI): Likewise.
14538 2016-06-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
14540         [BZ #19670]
14541         [BZ #19672]
14543         * io/test-lfs.c (do_prepare): Use xmalloc.
14544         * io/tst-fcntl.c (do_prepare): Likewise.
14545         * libio/tst-fopenloc.c (do_bz17916): Likewise.
14546         * libio/tst-mmap2-eofsync.c (do_prepare): Likewise.
14547         * login/tst-utmp.c (do_prepare): Likewise.
14548         * posix/tst-exec.c (do_prepare): Likewise.
14549         * posix/tst-pathconf.c (prepare): Likewise.
14550         * posix/tst-spawn.c (do_prepare): Likewise.
14551         * posix/tst-truncate.c (do_prepare): Likewise.
14552         * rt/tst-aio.c (do_prepare): Likewise.
14553         * rt/tst-aio64.c (do_prepare): Likewise.
14555 2016-06-11  Florian Weimer  <fweimer@redhat.com>
14557         [BZ #20237]
14558         * nss/nss_db/db-XXX.c (set*ent): Reset entidx to NULL.
14559         (get*ent): Set entidx to NULL during initialization.  If entidx is
14560         NULL, start iteration from the beginning.
14562 2016-06-11  Florian Weimer  <fweimer@redhat.com>
14564         * malloc/malloc.c (musable): Return correct size for dumped fake
14565         mmapped chunk.
14567 2016-06-11  Florian Weimer  <fweimer@redhat.com>
14569         [BZ #20222]
14570         * libio/iofopncook.c (_IO_cookie_read): Demangle callback pointer.
14571         (_IO_cookie_write): Likewise.
14572         (_IO_cookie_seek): Likewise.
14573         (_IO_cookie_close): Likewise.
14574         (_IO_old_cookie_seek): Likewise.
14575         (set_callbacks): New function.
14576         (_IO_cookie_init): Call set_callbacks to copy callbacks.
14578 2016-06-11  Marko Myllynen  <myllynen@redhat.com>
14580         * locale/programs/localedef.c (oldstyle_tables): Remove.
14581         * locale/programs/localedef.h (oldstyle_tables): Likewise.
14583 2016-06-10  Joseph Myers  <joseph@codesourcery.com>
14585         [BZ #20240]
14586         * math/Makefile (CFLAGS-s_modf.c): New variable.
14587         (CFLAGS-s_modff.c): Likewise.
14588         (CFLAGS-s_modfl.c): Likewise.
14589         * math/libm-test.inc (modf_test_data): Add sNaN tests.
14591 2016-06-09  Carlos O'Donell  <carlos@redhat.com>
14593         [BZ #20215]
14594         * misc/sys/cdefs.h [__GNUC_PREREQ (3,2)]: Undef __always_inline first.
14595         [!__GNUC_PREREQ (3,2)]: Likewise.
14597 2016-06-10  Adhemerval Zanela  <adhemerval.zanella@linaro.org>
14599         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Add xfail-.
14600         (msghdr.msg_controllen): Likewise.
14601         (cmsghdr.cmsg_len): Likewise.
14602         * nptl/Makefile (libpthread-routines): Remove ptw-oldrecvmsg and
14603         ptw-oldsendmsg.
14604         (CFLAGS-oldrecvmsg.c): Remove rule.
14605         (CFLAGS-oldsendmsg.c): Likewise.
14606         (CFLAGS-recvmsg.c): Add rule.
14607         (CFLAGS-sendmsg.c): Likewise.
14608         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove
14609         oldrecvmsg, oldsendmsg, oldrecvmmsg, oldsendmmsg.
14610         (CFLAGS-recvmsg.c): Remove rule.
14611         (CFLAGS-sendmsg.c): Likewise.
14612         (CFLAGS-oldrecvmsg.c): Likewise.
14613         (CFLAGS-oldsendmsg.c): Likewise.
14614         (CFLAGS-recvmmsg.c): Likewise.
14615         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Revert
14616         to kernel defined interfaces.
14617         (msghdr.msg_controllen): Likewise.
14618         (cmsghdr.cmsg_len): Likewise.
14619         (msghdr.__glibc_reserved1): Remove member.
14620         (msghdr.__glibc_reserved2): Likewise.
14621         (cmsghdr.__glibc_reserved1): Likewise.
14622         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: Remove file.
14623         * sysdeps/unix/sysv/linux/oldrecvmsg.c: Likewise.
14624         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
14625         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
14626         * sysdeps/unix/sysv/linux/recvmmsg.c: Revert back to previous
14627         version.
14628         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
14629         * sysdeps/unix/sysv/linux/sendmmsg.c: Likewise.
14630         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
14631         * sysdeps/unix/sysv/linux/aarch64/Versions [libc] (GLIBC_2.24):
14632         Remove recvmsg and sendmsg.
14633         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24):
14634         Likewise.
14635         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
14636         Likewise.
14637         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
14638         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
14639         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
14640         Likewise.
14641         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
14642         Likewise.
14643         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions
14644         [libc] (GLIBC_2.24): Likewise.
14645         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
14646         Likewise.
14647         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
14648         Likewise.
14649         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
14650         [libc] (GLIBC_2.24): Likewise.
14651         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
14652         Likewise.
14653         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
14654         Likewise.
14655         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
14656         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
14657         Likewise.
14658         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
14659         Likewise.
14660         * sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
14661         Likewise.
14662         * sysdeps/unix/sysv/linux/x86_64/Versions [libc] (GLIBC_2.24):
14663         Likewise.
14664         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions: Remove file
14665         * sysdeps/unix/sysv/linux/x86_64/64/Versions: Likewise.
14666         * sysdeps/unix/sysv/linux/mips/mips64/n64/Versions: Likewise.
14667         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Remove new 2.24
14668         version for {recv,send,recm,sendm}msg.
14669         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
14670         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
14671         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
14672         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
14673         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
14674         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
14675         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
14676         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
14677         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
14678         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
14679         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
14680         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
14681         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
14682         Likewise.
14683         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
14684         Likewise.
14685         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
14686         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
14687         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
14688         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
14689         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
14690         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
14691         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
14692         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
14693         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
14694         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
14695         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
14696         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
14697         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
14699 2016-06-10  Florian Weimer  <fweimer@redhat.com>
14701         [BZ #19564]
14702         Remove __malloc_initialize_hook from the API.
14703         * malloc/malloc.h (__malloc_initialize_hook): Remove.
14704         * include/stdc-predef.h (__malloc_initialize_hook): Poison with
14705         #pragma GCC poison.
14706         * malloc/malloc-hooks.h: New file.
14707         * malloc/arena.c (ptmalloc_init): Use old__malloc_initialize_hook.
14708         * malloc/malloc.c (HAVE_MALLOC_INIT_HOOK): New.
14709         (old__malloc_initialize_hook): Rename from
14710         __malloc_initialize_hook to evade poisoning.  Turn into compat
14711         symbol.
14712         * malloc/mcheck-init.c (old__malloc_initialize_hook): Rename from
14713         __malloc_initialize_hook.
14714         * malloc/Makefile (poisoned_apis, unpoisoned_api_defines): New.
14715         (mallo.c, mcheck-init.c): Compile with unpoisoned symbol.
14716         * manual/memory.texi (Hooks for Malloc): Remove
14717         __malloc_initialize_hook.  Adjust hook example.
14719 2016-06-09  Joseph Myers  <joseph@codesourcery.com>
14721         [BZ #20235]
14722         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Add NaN input to
14723         itself.
14724         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Likewise.
14725         * math/libm-test.inc (log2_test_data): Add sNaN tests.
14727         [BZ #20234]
14728         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Add positive
14729         infinity or NaN input to itself.
14731         [BZ #20233]
14732         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Add NaN input
14733         to itself.
14735         [BZ #20232]
14736         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Add NaN input to
14737         itself.
14739 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
14741         * sysdeps/x86_64/start.S (_start): Always indirect branch to
14742         __libc_start_main via GOT.
14744 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
14746         * sysdeps/x86_64/memcopy.h: New file.
14747         * sysdeps/x86_64/wordcopy.c: Likewise.
14749 2016-06-09  Florian Weimer  <fweimer@redhat.com>
14751         Prevent GCC 6 <cstdlib> from including /usr/include/stdlib.h.
14752         * stdlib/tst-quick_exit.cc: Include <stdlib.h> instead of
14753         <cstdlib>.
14754         (optimization_barrier): New.
14755         (do_test): Use it.  Call quick_exit in the global namespace.
14756         * stdlib/tst-thread-quick_exit.cc: Include <stdlib.h>, <pthread.h>
14757         instead of <cstdlib>, <thread>.
14758         (optimization_barrier): New.
14759         (non_main_thread): Adjust declaration.  Call optimization_barrier.
14760         Call quick_exit in the global namespace.
14761         (do_test): Call optimization_barrier.  Use pthread_create,
14762         pthread_join instead of std::thread.
14764 2016-06-09  Andreas Schwab  <schwab@suse.de>
14766         [BZ #19755]
14767         * nscd/pwdcache.c (cache_addpw): Lock prune_run_lock while adding
14768         new entries in auto-propagate mode.
14769         * nscd/grpcache.c (cache_addgr): Likewise.
14771 2016-06-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
14773         * test-skeleton.c (oom_error, xmalloc, xcalloc, xrealloc):
14774         New functions.
14775         (add_temp_file): Use them.
14777 2016-06-09  Samuel Thibault  <samuel.thibault@ens-lyon.org
14779         * mach/mach/mach_traps.h (mach_print): Add syscall declaration.
14781 2016-06-08  Joseph Myers  <joseph@codesourcery.com>
14783         [BZ #20229]
14784         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Add NaN input to itself.
14785         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Likewise.
14786         * math/libm-test.inc (log1p_test_data): Add sNaN tests.
14788         [BZ #20228]
14789         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Add NaN input to
14790         itself.
14791         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Likewise.
14792         * math/libm-test.inc (log10_test_data): Add sNaN tests.
14794         [BZ #20227]
14795         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Add NaN input to
14796         itself.
14797         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
14798         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
14799         * math/libm-test.inc (log_test_data): Add sNaN tests.
14801         [BZ #20226]
14802         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Add NaN argument to
14803         itself.
14804         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
14805         * math/libm-test.inc (exp_test_data): Add sNaN tests.
14806         (exp10_test_data): Likewise.
14807         (expm1_test_data): Likewise.
14809         [BZ #20225]
14810         * math/s_ldexp.c (__ldexp): Add non-finite or zero argument to
14811         itself.
14812         * math/s_ldexpf.c (__ldexpf): Likewise.
14813         * math/s_ldexpl.c (__ldexpl): Likewise.
14814         * math/w_scalbln.c (__w_scalbln): Likewise.
14815         * math/w_scalblnf.c (__w_scalblnf): Likewise.
14816         * math/w_scalblnl.c (__w_scalblnl): Likewise.
14817         * math/libm-test.inc (scalbn_test_data): Add sNaN tests.
14818         (scalbln_test_data): Likewise.
14820         [BZ #20224]
14821         * sysdeps/i386/fpu/s_cbrtl.S (__cbrtl): Add non-finite or zero
14822         argument to itself.
14823         * math/libm-test.inc (cbrt_test_data): Add sNaN tests.
14825 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
14827         [BZ #19776]
14828         * sysdeps/x86_64/memcpy.S: Make it dummy.
14829         * sysdeps/x86_64/mempcpy.S: Likewise.
14830         * sysdeps/x86_64/memmove.S: New file.
14831         * sysdeps/x86_64/memmove_chk.S: Likewise.
14832         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
14833         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
14834         * sysdeps/x86_64/memmove.c: Removed.
14835         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
14836         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
14837         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: Likewise.
14838         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
14839         Likewise.
14840         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
14841         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
14842         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
14843         memcpy-sse2-unaligned, memmove-avx-unaligned,
14844         memcpy-avx-unaligned and memmove-sse2-unaligned-erms.
14845         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
14846         (__libc_ifunc_impl_list): Replace
14847         __memmove_chk_avx512_unaligned_2 with
14848         __memmove_chk_avx512_unaligned.  Remove
14849         __memmove_chk_avx_unaligned_2.  Replace
14850         __memmove_chk_sse2_unaligned_2 with
14851         __memmove_chk_sse2_unaligned.  Remove __memmove_chk_sse2 and
14852         __memmove_avx_unaligned_2.  Replace __memmove_avx512_unaligned_2
14853         with __memmove_avx512_unaligned.  Replace
14854         __memmove_sse2_unaligned_2 with __memmove_sse2_unaligned.
14855         Remove __memmove_sse2.  Replace __memcpy_chk_avx512_unaligned_2
14856         with __memcpy_chk_avx512_unaligned.  Remove
14857         __memcpy_chk_avx_unaligned_2.  Replace
14858         __memcpy_chk_sse2_unaligned_2 with __memcpy_chk_sse2_unaligned.
14859         Remove __memcpy_chk_sse2.  Remove __memcpy_avx_unaligned_2.
14860         Replace __memcpy_avx512_unaligned_2 with
14861         __memcpy_avx512_unaligned.  Remove __memcpy_sse2_unaligned_2
14862         and __memcpy_sse2.  Replace __mempcpy_chk_avx512_unaligned_2
14863         with __mempcpy_chk_avx512_unaligned.  Remove
14864         __mempcpy_chk_avx_unaligned_2.  Replace
14865         __mempcpy_chk_sse2_unaligned_2 with
14866         __mempcpy_chk_sse2_unaligned.  Remove __mempcpy_chk_sse2.
14867         Replace __mempcpy_avx512_unaligned_2 with
14868         __mempcpy_avx512_unaligned.  Remove __mempcpy_avx_unaligned_2.
14869         Replace __mempcpy_sse2_unaligned_2 with
14870         __mempcpy_sse2_unaligned.  Remove __mempcpy_sse2.
14871         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Support
14872         __memcpy_avx512_unaligned_erms and __memcpy_avx512_unaligned.
14873         Use __memcpy_avx_unaligned_erms and __memcpy_sse2_unaligned_erms
14874         if processor has ERMS.  Default to __memcpy_sse2_unaligned.
14875         (ENTRY): Removed.
14876         (END): Likewise.
14877         (ENTRY_CHK): Likewise.
14878         (libc_hidden_builtin_def): Likewise.
14879         Don't include ../memcpy.S.
14880         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Support
14881         __memcpy_chk_avx512_unaligned_erms and
14882         __memcpy_chk_avx512_unaligned.  Use
14883         __memcpy_chk_avx_unaligned_erms and
14884         __memcpy_chk_sse2_unaligned_erms if if processor has ERMS.
14885         Default to __memcpy_chk_sse2_unaligned.
14886         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
14887         Change function suffix from unaligned_2 to unaligned.
14888         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Support
14889         __mempcpy_avx512_unaligned_erms and __mempcpy_avx512_unaligned.
14890         Use __mempcpy_avx_unaligned_erms and __mempcpy_sse2_unaligned_erms
14891         if processor has ERMS.  Default to __mempcpy_sse2_unaligned.
14892         (ENTRY): Removed.
14893         (END): Likewise.
14894         (ENTRY_CHK): Likewise.
14895         (libc_hidden_builtin_def): Likewise.
14896         Don't include ../mempcpy.S.
14897         (mempcpy): New.  Add a weak alias.
14898         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Support
14899         __mempcpy_chk_avx512_unaligned_erms and
14900         __mempcpy_chk_avx512_unaligned.  Use
14901         __mempcpy_chk_avx_unaligned_erms and
14902         __mempcpy_chk_sse2_unaligned_erms if if processor has ERMS.
14903         Default to __mempcpy_chk_sse2_unaligned.
14905 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
14907         [BZ #19881]
14908         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Folded
14909         into ...
14910         * sysdeps/x86_64/memset.S: This.
14911         (__bzero): Removed.
14912         (__memset_tail): Likewise.
14913         (__memset_chk): Likewise.
14914         (memset): Likewise.
14915         (MEMSET_CHK_SYMBOL): New. Define only if MEMSET_SYMBOL isn't
14916         defined.
14917         (MEMSET_SYMBOL): Define only if MEMSET_SYMBOL isn't defined.
14918         * sysdeps/x86_64/multiarch/memset-avx2.S: Removed.
14919         (__memset_zero_constant_len_parameter): Check SHARED instead of
14920         PIC.
14921         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
14922         memset-avx2 and memset-sse2-unaligned-erms.
14923         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
14924         (__libc_ifunc_impl_list): Remove __memset_chk_sse2,
14925         __memset_chk_avx2, __memset_sse2 and __memset_avx2_unaligned.
14926         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
14927         (__bzero): Enabled.
14928         * sysdeps/x86_64/multiarch/memset.S (memset): Replace
14929         __memset_sse2 and __memset_avx2 with __memset_sse2_unaligned
14930         and __memset_avx2_unaligned.  Use __memset_sse2_unaligned_erms
14931         or __memset_avx2_unaligned_erms if processor has ERMS.  Support
14932         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
14933         (memset): Removed.
14934         (__memset_chk): Likewise.
14935         (MEMSET_SYMBOL): New.
14936         (libc_hidden_builtin_def): Replace __memset_sse2 with
14937         __memset_sse2_unaligned.
14938         * sysdeps/x86_64/multiarch/memset_chk.S (__memset_chk): Replace
14939         __memset_chk_sse2 and __memset_chk_avx2 with
14940         __memset_chk_sse2_unaligned and __memset_chk_avx2_unaligned_erms.
14941         Use __memset_chk_sse2_unaligned_erms or
14942         __memset_chk_avx2_unaligned_erms if processor has ERMS.  Support
14943         __memset_chk_avx512_unaligned_erms and
14944         __memset_chk_avx512_unaligned.
14946 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14948         * math/gen-auto-libm-test.c (fp_format_desc): remove
14949         suffix member.
14950         (output_generic_value): Remove usage of suffix member,
14951         and the resulting unuse of the fp_format argument.
14952         (output_for_one_input_case): Remove unused fp_format
14953         parameter.
14955         * math/auto-libm-test-out: Regenerate.
14957         * math/libm-test.inc (TEST_COND_ldbl_128ibm): replace
14958         usage with TEST_COND_ibm128.
14959         (TEST_COND_flt_32): Remove.
14960         (TEST_COND_dbl_64): Remove.
14961         (TEST_COND_ldbl_96_intel): Remove.
14962         (TEST_COND_ldbl_96_m68k): Remove.
14963         (TEST_COND_ldbl_128): Remove.
14965 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14967         * auto-libm-test-in:
14968         Replace flt-32 usage with binary32.
14969         Replace dbl-64 usage with binary64.
14970         Replace ldbl-intel-96 usage with intel96.
14971         Replace ldbl-m68k-96 usage with m68k96.
14972         Replace ldbl-128ibm usage with ibm128.
14973         Replace ldbl-128 usage with binary128.
14975         * auto-libm-test-out: Regenerate.
14977 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14979         * math/gen-libm-test.pl (all_floats_pfx): New lookup table.
14980         (parse_ulps): Dynamically generate type name matching
14981         string from all_floats.
14982         (get_ulps): Generate the ulps as an array instead.
14983         (output_ulps): Dynamically compose the type based
14984         on the number of supported formats, and print
14985         the indices as type specific helper macros.
14987         * math/libm-test.inc: Remove comment about CHOOSE.
14988         (ulp_data): Generate the type in libm-test-ulps.h.
14989         (ULP_IDX): New macro.
14990         (find_ulps): Update usage of max_ulp.
14992         * math/test-double-vlen2.h (CHOOSE): Remove.
14993         * math/test-double-vlen4.h (CHOOSE): Likewise.
14994         * math/test-double-vlen8.h (CHOOSE): Likewise.
14995         * math/test-float.c (CHOOSE): Likewise.
14996         * math/test-float-finite.c (CHOOSE): Likewise.
14997         * math/test-double.c (CHOOSE): Likewise.
14998         * math/test-double-finite.c (CHOOSE): Likewise.
14999         * math/test-idouble.c (CHOOSE): Likewise.
15000         * math/test-ifloat.c (CHOOSE): Likewise.
15001         * math/test-ildoubl.c (CHOOSE): Likewise.
15002         * math/test-ldouble-finite.c (CHOOSE): Likewise.
15003         * math/test-ldouble.c (CHOOSE): Likewise.
15005         * math/test-float.h (TEST_FLOAT): Remove.
15006         * math/test-double.h (TEST_DOUBLE): Likewise.
15007         * math/test-ldouble.h (TEST_LDOUBLE): Likewise.
15009 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15011         * math/gen-libm-test.pl: (apply_lit): New subroutine.
15012         (parse_args): Strip C suffix from floating point literals
15013         typed with 'f' and wrap them with LIT().
15015         * math/libm-tests.inc (RUN_TEST_LOOP_fj_f): New macro.
15016         (test_ff_f_data_nexttoward): Rename to
15017         (test_fj_f_data): New struct.
15018         (nexttoward_test_data): Relabel tests as
15019         TEST_fj_f instead of TEST_ff_f.
15021 2016-06-08  Florian Weimer  <fweimer@redhat.com>
15023         Emacs bug 23726.
15024         * malloc/malloc.c (dumped_main_arena_start): Update comment.
15025         (__libc_realloc): Correct size computation for dumped fake mmapped
15026         chunks.
15028 2016-06-07  Joseph Myers  <joseph@codesourcery.com>
15030         [BZ #20219]
15031         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): Add NaN argument
15032         to itself.
15033         * math/libm-test.inc (atanh_test_data): Add sNaN tests.
15035         [BZ #20218]
15036         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Add non-finite argument
15037         to itself.
15038         * math/libm-test.inc (asinh_test_data): Add sNaN tests.
15040 2016-06-07  H.J. Lu  <hongjiu.lu@intel.com>
15042         [BZ #20195]
15043         * sysdeps/x86/cpu-features.c (get_common_indeces): Move FMA4
15044         check to ...
15045         (init_cpu_features): Here.
15047 2016-06-07  Carlos O'Donell  <carlos@redhat.com>
15049         [BZ #20214]
15050         * sysdeps/unix/sysv/linux/bits/in.h
15051         [defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
15052          || defined _LINUX_IN6_H || defined _IPV6_H] (__USE_KERNEL_IPV6_DEFS):
15053         Define to 1.
15054         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
15055          || defined _LINUX_IN6_H || defined _IPV6_H)] (__USE_KERNEL_IPV6_DEFS):
15056         Define to 0.
15057         [!__USE_KERNEL_IPV6_DEFS] (IPV6_ADD_MEMBERSHIP): Define.
15058         [!__USE_KERNEL_IPV6_DEFS] (IPV6_DROP_MEMBERSHIP): Define.
15060 2016-06-06  Carlos O'Donell  <carlos@redhat.com>
15062         [BZ #20198]
15063         * stdlib/Makefile (tests): Add tst-quick_exit, and
15064         tst-thread-quick_exit.
15065         [ifeq ($(have-cxx-thread_local),yes)]
15066         (CFLAGS-tst-quick_exit.o): Use -stdc=c++11.
15067         (CFLAGS-tst-thread-quick_exit.o): Likewise.
15068         (LDLIBS-tst-quick_exit): Use -lstdc++ for C++ program.
15069         (LDLIBS-tst-thread-quick_exit): Likewise.
15070         [ifneq ($(have-cxx-thread_local),yes)]
15071         (tests-unsupported): Add tst-quick_exit, and tst-thread-quick_exit.
15072         * stdlib/exit.c (__run_exit_handlers): Add run_dtors argument.
15073         If run_dtors is true call __call_tls_dtors.
15074         (exit): Call __run_exit_handlers with run_dtors set to true.
15075         * stdlib/exit.h: Add run_dtors argument to __run_exit_handlers
15076         definition.
15077         * stdlib/quick_exit.c (quick_exit): Remove function.
15078         (__new_quick_exit): New function.
15079         [SHLIB_COMPAT(libc, GLIBC_2_10, GLIBC_2_24)] (__old_quick_exit): New
15080         function.
15081         * stdlib/tst-quick_exit.cc: New file.
15082         * stdlib/tst-thread-quick_exit.cc: New file.
15083         * stdlib/Versions: Add quick_exit@GLIBC_2.24.
15084         * sysdeps/arm/nacl/libc.abilist: Add 'GLIBC_2.24 quick_exit F'.
15085         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise
15086         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise
15087         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise
15088         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise
15089         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise
15090         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise
15091         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise
15092         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise
15093         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise
15094         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise
15095         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise
15096         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise
15097         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise
15098         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
15099         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise
15100         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise
15101         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise
15102         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise
15103         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise
15104         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise
15105         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise
15106         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise
15107         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise
15108         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise
15109         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise
15110         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise
15111         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise
15112         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise
15114 2016-06-06  H.J. Lu  <hongjiu.lu@intel.com>
15116         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Fix
15117         a typo in comments.
15119 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
15121         [BZ #20213]
15122         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Add NaN
15123         argument to itself.
15124         * math/libm-test.inc (asin_test_data): Add sNaN tests.
15126 2016-06-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15128         * misc/Makefile (CFLAGS-pwritev.c): New variable: add cancellation
15129         required flags.
15130         (CFLAGS-pwritev64.c): Likewise.
15131         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Remove file.
15132         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
15133         * sysdeps/unix/sysv/linux/mips/mips64/n64/pwritev64.c: Likewise.
15134         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
15135         * sysdeps/unix/sysv/linux/wordsize-64/pwritev64.: Likewise.
15136         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (pwritev): Remove
15137         syscall from auto-generation.
15138         * sysdeps/unix/sysv/linux/pwritev.c: Rewrite implementation.
15139         [WORDSIZE == 64] (pwritev64): Remove macro.
15140         [!PWRITEV] (PWRITEV): Likewise.
15141         [!PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
15142         [!PWRITEV] (PWRITE): Likewise.
15143         [!PWRITEV] (OFF_T): Likewise.
15144         [!__ASSUME_PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
15145         (LO_HI_LONG): Remove macro.
15146         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Add function.
15147         * sysdeps/unix/sysv/linux/pwritev64.c: Rewrite implementation.
15148         (PWRITEV): Remove macro.
15149         (PWRITEV_REPLACEMENTE): Likewise.
15150         (PWRITE): Likewise.
15151         (OFF_T): Likewise.
15152         (pwritev64): New function.
15153         * nptl/tst-cancel4.c (tf_writev): Add test.
15155         * misc/Makefile (CFLAGS-preadv.c): New variable: add cancellation
15156         required flags.
15157         (CFLAGS-preadv64.c): Likewise.
15158         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Remove file.
15159         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
15160         * sysdeps/unix/sysv/linux/mips/mips64/n64/preadv64.c: Likewise.
15161         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: Likewise.
15162         * sysdeps/unix/sysv/linux/wordsize-64/preadv64.: Likewise.
15163         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (preadv): Remove
15164         syscall from auto-generation.
15165         * sysdeps/unix/sysv/linux/preadv.c: Rewrite implementation.
15166         [WORDSIZE == 64] (preadv64): Remove macro.
15167         [!PREADV] (PREADV): Likewise.
15168         [!PREADV] (PREADV_REPLACEMENT): Likewise.
15169         [!PREADV] (PREAD): Likewise.
15170         [!PREADV] (OFF_T): Likewise.
15171         [!__ASSUME_PREADV] (PREADV_REPLACEMENT): Likewise.
15172         (LO_HI_LONG): Remove macro.
15173         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Add function.
15174         * sysdeps/unix/sysv/linux/preadv64.c: Rewrite implementation.
15175         (PREADV): Remove macro.
15176         (PREADV_REPLACEMENTE): Likewise.
15177         (PREAD): Likewise.
15178         (OFF_T): Likewise.
15179         (preadv64): New function.
15180         * nptl/tst-cancel4.c (tf_preadv): Add test.
15182 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
15184         [BZ #20212]
15185         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_acos): Add NaN
15186         argument to itself.
15187         * math/libm-test.inc (acos_test_data): Add sNaN tests.
15189 2016-06-06  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
15191         * sysdeps/powerpc/powerpc64/power8/strcasestr.S (__strcasestr):
15192         New symbol defined as libc_hidden_def.
15193         (strcasestr): Became a weak alias to __strcasestr.
15194         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Handle memset calls
15195         according to multi-arch support.  Move __stpncpy hidden
15196         definition from here to...
15197         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: ...here.  Add
15198         symbol stpncpy.
15199         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Undefine
15200         libc_hidden_builtin_def.
15201         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Specify which
15202         memset symbol to use when multi-arch support is available.
15204 2016-06-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
15206         * dlfcn/tst-rec-dlopen.c: Include string.h.
15208 2016-06-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
15210         * manual/install.texi: Remove mention of --without-tls
15211         * INSTALL: Regenerate.
15213 2016-06-05  Florian Weimer  <fweimer@redhat.com>
15215         * dlfcn/tst-rec-dlopen.c (custom_malloc_hook, old_malloc_hook):
15216         Remove.
15217         (call_function, interposed_malloc_called): New variables.
15218         (malloc): New function.
15219         (do_test): Do not change malloc hooks.  Initialize malloc.  Set
15220         and clear call_function as needed.
15222 2016-06-04  Andreas Schwab  <schwab@linux-m68k.org>
15224         * include/wchar.h (__wmemset): Use __typeof.
15226 2016-06-03  Carlos O'Donell  <carlos@redhat.com>
15228         * include/wchar.h (__wmemset): Declare function without typeof.
15230 2016-06-03  Joseph Myers  <joseph@codesourcery.com>
15232         [BZ #20205]
15233         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Do not adjust
15234         exponent when incrementing negative subnormal with low mantissa
15235         word zero.
15236         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
15237         Add another test.
15239 2016-06-03  Florian Weimer  <fweimer@redhat.com>
15241         * libio/wstrops.c (_IO_wstr_overflow, enlarge_userbuf): Use
15242         __wmemset instead of wmemset.
15244 2016-06-02  Carlos O'Donell  <carlos@redhat.com>
15246         * sysdeps/unix/sysv/linux/bits/in.h [defined _UAPI_LINUX_IN6_H ||
15247         defined _UAPI_IPV6_H]: Define __USE_KERNEL_IPV6_DEFS to 1.
15248         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H)]: Define
15249         __USE_KERNEL_IPV6_DEFS to 0.
15250         * inet/netinet/in.h: Use '#if !__USE_KERNEL_IPV6_DEFS'.
15251         Update comment.
15253 2016-06-01  Florian Weimer  <fweimer@redhat.com>
15255         [BZ #19861]
15256         Do not use IFUNC resolver with potentially unrelocated symbol.
15257         * nptl/pt-fork.c [HAVE_IFUNC]: Remove.
15258         (DEFINE_FORK): Remove macro and inline definition.
15259         (fork_alias): Renamed from fork_ifunc.
15260         (__fork_alias): Renamed from __fork_ifunc.
15262 2016-05-30  Paul Pluzhnikov  <ppluzhnikov@google.com>
15264         [BZ 19653]
15265         * inet/if_index.c (__protocol_available): Delete #if 0'd code.
15266         * inet/ruserpass.c (ruserpass): Delete #if 0'd code.
15268 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15270         * scripts/check-local-headers.sh (exclude): Add hurd/ihash.h, and
15271         include .*-.*/ in addition to .*-.*-.*/ (i.e. i386-gnu in addition to
15272         i386-linux-gnu).
15273         * sysdeps/mach/hurd/configure.ac (libc_cv_ld_gnu_indirect_function):
15274         Set to no.
15275         * sysdeps/mach/hurd/configure: Refresh.
15277 2016-05-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15279         [BZ #20178]
15280         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call _exit
15281         on failure instead of exit.
15283 2016-05-30  Roland McGrath  <roland@hack.frob.com>
15285         [BZ #3629]
15286         * manual/string.texi (Copying Strings and Arrays): stpcpy is part
15287         of POSIX.1-2008.
15289 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15291         * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk) [PIC]:
15292           Use PLT entry for calling _hurd_self_sigstate.
15294 2016-05-27  H.J. Lu  <hongjiu.lu@intel.com>
15296         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Count number of
15297         available logical processors with SMT level type sharing L2
15298         cache for Intel processors.
15300 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
15302         [BZ #20160]
15303         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Add NaN
15304         argument to itself before returning the result.
15305         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
15306         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
15307         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
15308         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
15309         Likewise.
15310         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
15311         Likewise.
15312         * sysdeps/powerpc/powerpc64/fpu/s_rint.S (__rint): Likewise.
15313         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S (__rintf): Likewise.
15314         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
15315         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
15316         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
15317         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
15319         [BZ #20160]
15320         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Add NaN
15321         argument to itself before returning the result.
15322         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
15323         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
15324         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
15325         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint):
15326         Likewise.
15327         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
15328         Likewise.
15329         * sysdeps/powerpc/powerpc32/fpu/s_rint.S (__rint): Likewise.
15330         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S (__rintf): Likewise.
15331         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Likewise.
15332         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
15333         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
15334         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
15336 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15338         * libm-test.inc: Replace usage of M_El with
15339         (lit_e): New macro.
15341 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15343         * libm-test.inc: Replace usage of M_PI_4l with
15344         (lit_pi_4_d): New macro.
15346 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15348         * libm-test.inc: Replace usage of M_PIl with
15349         (lit_pi): New macro.
15351 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15353         * libm-test.inc: Replace usage of M_PI2l with
15354         (lit_pi_2_d): New macro.
15356         * math/test-double.h (LITM): New macro.
15357         * math/test-float.h (LITM): Likewise.
15358         * math/test-ldouble.h (LITM): Likewise.
15360 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15362         * libm-test.inc (M_PI_34l): Rename to
15363         (lit_pi_3_m_4_d): New Macro.
15364         (M_PI_34_LOG10El): Rename to
15365         (lit_pi_3_m_4_ln10_m_d): New Macro.
15366         (M_PI2_LOG10El): Rename to
15367         (lit_pi_2_ln10_m_d):  New Macro.
15368         (M_PI4_LOG10El): Rename to
15369         (lit_pi_4_ln10_m_d):  New Macro.
15370         (M_PI_LOG10El): Rename to
15371         (lit_pi_ln10_d):  New Macro.
15373 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
15375         [BZ #20157]
15376         * sysdeps/powerpc/powerpc32/fpu/s_fabsl.S (__fabsl): Use fsel to
15377         determine whether to negate low half if [_ARCH_PPCGR], and integer
15378         comparison otherwise.
15379         * sysdeps/powerpc/powerpc64/fpu/s_fabsl.S (__fabsl): Use fsel to
15380         determine whether to negate low half.
15382         * math/libm-test.inc (NO_TEST_INLINE_FLOAT): Remove macro.
15383         (NO_TEST_INLINE_DOUBLE): Likewise.
15384         (TEST_COND_x86_64): Likewise.
15385         (TEST_COND_x86): Likewise.
15386         (M_PI_6l): Likewise.
15388 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15390         * math/libm-test.inc:
15391         (TEST_FLOAT): Change usage to TEST_COND_binary32.
15392         (TEST_DOUBLE): Change usage to TEST_COND_binary64.
15393         (TEST_LDOUBLE): Update usage to evaluate as true if
15394         the guarded tests match the property being tested.
15395         (LDBL_MAX_EXP): Change to MAX_EXP.
15396         (LDBL_MIN_EXP): Change to MIN_EXP.
15397         (LDBL_MANT_DIG): Change to MANT_DIG, except for
15398         nexttoward tests.
15400 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15402         * math/libm-test.inc:
15403         (TYPE_DECIMAL_DIG): Redefine using type supplied PREFIX macro.
15404         (TYPE_MIN): Likewise.
15405         (TYPE_TRUE_MIN): Likewise.
15406         (TYPE_MAX): Likewise.
15407         (MIN_EXP): Likewise.
15408         (MAX_EXP): Likewise.
15409         (MANT_DIG): Likewise.
15411         (FSTR_MAX): New macro.
15412         (__CONCATX): Likewise.
15413         (QTYPE_STR): Likewise.
15414         (TEST_COND_binary32): Likewise.
15415         (TEST_COND_binary64): Likewise.
15416         (TEST_COND_binary128): Likewise.
15417         (TEST_COND_ibm128): Likewise.
15418         (TEST_COND_intel96): Likewise.
15419         (TEST_COND_m68k96): Likewise.
15421         (TEST_COND_flt_32): Redefine as equivalent format test macro.
15422         (TEST_COND_dbl_64): Likewise.
15423         (TEST_COND_ldbl_96_intel): Likewise.
15424         (TEST_COND_ldbl_96_m68k): Likewise.
15425         (TEST_COND_ldbl_128): Likewise.
15426         (TEST_COND_ldbl_128ibm): Likewise.
15428         (plus_zero): Redefine using LIT macro.
15429         (minus_zero): Likewise.
15430         (plus_infty): Redefine as (INF).
15431         (minux_infty): Redefine as (-INF).
15432         (max_value): Redefine as TYPE_MAX.
15433         (min_value): Redefine as TYPE_MIN.
15434         (min_subnorm_value): Redefine as TYPE_TRUE_MIN.
15436         (print_float): Refactor to use snprintf to convert FLOAT values
15437         to string. This brings it closer to dropin replacement of strtof
15438         for the TS 18661 defined types.
15439         (update_stats): Likewise.
15440         (print_complex_function_ulps): Likewise.
15441         (print_max_error): Likewise.
15442         (print_complex_max_error): Likewise.
15443         (check_float_internal): Likewise.
15445         * math/test-float.h (PREFIX): New macro.
15446         (LIT): Likewise.
15447         (TYPE_STR): Likewise.
15448         (FTOSTR): Likewise.
15450         * math/test-double.h (PREFIX): New macro.
15451         (LIT): Likewise.
15452         (TYPE_STR): Likewise.
15453         (FTOSTR): Likewise.
15455         * math/test-ldouble.h (PREFIX): New macro.
15456         (LIT): Likewise.
15457         (TYPE_STR): Likewise.
15458         (FTOSTR): Likewise.
15460 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
15462         [BZ #20156]
15463         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Add high part
15464         to itself when zero or not finite.
15465         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Likewise.
15466         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
15467         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Likewise.
15468         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
15470 2016-05-26  Joseph Myers  <joseph@codesourcery.com>
15472         [BZ #20153]
15473         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Return
15474         x * x + x for infinities and NaNs.
15476         [BZ #20151]
15477         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Add NaN
15478         argument to itself before returning result.
15479         (__ieee754_y0l): Likewise.
15480         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
15481         (__ieee754_y1l).
15483         * math/libm-test.inc (acosh_test_data): Add sNaN tests.
15484         (atan_test_data): Likewise.
15485         (ceil_test_data): Likewise.
15486         (cos_test_data): Likewise.
15487         (cosh_test_data): Likewise.
15488         (erf_test_data): Likewise.
15489         (exp2_test_data): Likewise.
15490         (fabs_test_data): Likewise.
15491         (floor_test_data): Likewise.
15492         (ilogb_test_data): Likewise.
15493         (j0_test_data): Likewise.
15494         (j1_test_data): Likewise.
15495         (jn_test_data): Likewise.
15496         (lgamma_test_data): Likewise.
15497         (lrint_test_data): Likewise.
15498         (llrint_test_data): Likewise.
15499         (logb_test_data): Likewise.
15500         (lround_test_data): Likewise.
15501         (llround_test_data): Likewise.
15502         (nearbyint_test_data): Likewise.
15503         (rint_test_data): Likewise.
15504         (round_test_data): Likewise.
15505         (sin_test_data): Likewise.
15506         (sincos_test_data): Likewise.
15507         (sinh_test_data): Likewise.
15508         (sqrt_test_data): Likewise.
15509         (tan_test_data): Likewise.
15510         (tanh_test_data): Likewise.
15511         (tgamma_test_data): Likewise.
15512         (trunc_test_data): Likewise.
15513         (y0_test_data): Likewise.
15514         (y1_test_data): Likewise.
15515         (yn_test_data): Likewise.
15517         * math/libm-test.inc: Update comment about NaN testing.
15518         (TEST_SNAN): New macro.
15519         (snan_value): Likewise.
15520         (enable_test): Disable tests of sNaNs when SNAN_TESTS fails.
15521         (fpclassify_test_data): Add sNaN tests.
15522         (isfinite_test_data): Likewise.
15523         (isinf_test_data): Likewise.
15524         (isnan_test_data): Likewise.
15525         (isnormal_test_data): Likewise.
15526         (issignaling_test_data): Likewise.
15527         (signbit_test_data): Likewise.
15528         * math/gen-libm-test.pl (%beautify): Add snan_value.
15529         (show_exceptions): Add argument $test_snan.
15530         (parse_args): Handle snan_value as non-finite.  Update call to
15531         show_exceptions.
15532         * math/Makefile (libm-test-no-inline-cflags): Add
15533         -fsignaling-nans.
15535 2016-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15537         * nptl/Makefile (CFLAGS-oldrecvfrom.c): Remove rule.
15538         (CFLAGS-oldsendmsg.c): Add rule.
15539         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
15540         Correct recvmsg symbol name.
15541         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24):
15542         Likewise.
15544 2016-05-25  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15546         * sysdeps/unix/sysv/linux/Makefile
15547         [$(subdir) = socket] (sysdep_routines): Add oldrecvmmsg and
15548         oldsendmmsg.
15549         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add recvmmsg and
15550         sendmmsg.
15551         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
15552         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
15553         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
15554         * sysdeps/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
15555         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
15556         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
15557         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
15558         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
15559         Likewise.
15560         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
15561         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: New file.
15562         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
15563         * sysdeps/unix/sysv/linux/recvmmsg.c (__recvmmsg): Adjust msghdr
15564         iovlen and controllen fields to adjust to POSIX specification.
15565         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
15567         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Remove xfail-
15568         and change to correct expected type.
15569         (msghdr.msg_controllen): Likewise.
15570         (cmsghdr.cmsg_len): Likewise.
15571         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Fix
15572         expected POSIX assumption about the size.
15573         (msghdr.msg_controllen): Likewise.
15574         (msghdr.__glibc_reserved1): Likewise.
15575         (msghdr.__glibc_reserved2): Likewise.
15576         (cmsghdr.cmsg_len): Likewise.
15577         (cmsghdr.__glibc_reserved1): Likewise.
15578         * nptl/Makefile (libpthread-routines): Remove ptw-recvmsg and ptw-sendmsg.
15579         Add ptw-oldrecvmsg and ptw-oldsendmsg.
15580         (CFLAGS-sendmsg.c): Remove rule.
15581         (CFLAGS-recvmsg.c): Likewise.
15582         (CFLAGS-oldsendmsg.c): Add rule.
15583         (CFLAGS-oldrecvmsg.c): Likewise.
15584         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24): Add
15585         recvmsg and sendmsg.
15586         * sysdeps/unix/sysv/linux/aarch64/Version [libc] (GLIBC_2.24):
15587         Likewise.
15588         * sysdeps/unix/sysv/linux/arm/Versions [libc] (GLIBC_2.24): Likewise.
15589         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24): Likewise.
15590         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
15591         * sysdeps/unix/sysv/linux/ia64/Versions [libc] (GLIBC_2.24): Likewise.
15592         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
15593         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
15594         Likewise.
15595         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
15596         Likewise.
15597         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions [libc] (GLIBC_2.24):
15598         Likewise.
15599         * sysdeps/unix/sysv/linux/mips/mips64/Versions [libc] (GLIBC_2.24):
15600         Likewise.
15601         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
15602         Likewise.
15603         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
15604         Likewise.
15605         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions [libc]
15606         (GLIBC_2.24): Likewise.
15607         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
15608         Likewise.
15609         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
15610         Likewise.
15611         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
15612         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
15613         Likewise.
15614         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
15615         Likewise.
15616         ( sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
15617         Likewise.
15618         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions [libc]
15619         (GLIBC_2.24): Likewise.
15620         ( sysdeps/unix/sysv/linux/x86_64/64/Versions [libc] (GLIBC_2.24):
15621         Likewise.
15622         * sysdeps/unix/sysv/linux/x84_64/Versions [libc] (GLIBC_2.24):
15623         Likewise.
15624         * sysdeps/unix/sysv/linux/Makefile
15625         [$(subdir) = socket)] (sysdep_headers): Add oldrecvmsg and oldsendmsg.
15626         (CFLAGS-sendmsg.c): Add rule.
15627         (CFLAGS-recvmsg.c): Likewise.
15628         (CFLAGS-oldsendmsg.c): Likewise.
15629         (CFLAGS-oldrecvmsg.c): Likewise.
15630         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Fix msghdr
15631         initialization.
15632         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
15633         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
15634         * sysdeps/unix/sysv/linux/oldrecvmsg.c: New file.
15635         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
15636         * sysdeps/unix/sysv/linux/recvmsg.c (__libc_recvmsg): Adjust msghdr
15637         iovlen and controllen fields to adjust to POSIX specification.
15638         * sysdeps/unix/sysv/linux/sendmsg.c (__libc_sendmsg): Likewise.
15639         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: New version and
15640         added recvmsg and sendmsg.
15641         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
15642         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
15643         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
15644         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
15645         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
15646         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
15647         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
15648         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
15649         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
15650         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
15651         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
15652         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
15653         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
15654         Likewise.
15655         * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
15656         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
15657         * sysdepe/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
15658         Likewise.
15659         Likewise.
15660         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
15661         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
15662         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
15663         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
15664         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
15665         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
15666         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
15667         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
15668         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
15669         Likewise.
15670         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
15671         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
15673         * sysdeps/unix/sysv/linux/alpha/syscalls.list (recvmsg): Remove
15674         from auto-generation.
15675         (sendmsg): Likewise.
15676         * sysdeps/unix/sysv/linux/arm/syscalls.list (recvmsg): Likewise.
15677         (sendmsg): Likewise.
15678         * sysdeps/unix/sysv/linux/generic/syscalls.list (recvmsg): Likewise.
15679         (sendmsg): Likewise.
15680         * sysdeps/unix/sysv/linux/hppa/syscalls.list (recvmsg): Likewise.
15681         (sendmsg): Likewise.
15682         * sysdeps/unix/sysv/linux/ia64/syscalls.list (recvmsg): Likewise.
15683         (sendmsg): Likewise.
15684         * sysdeps/unix/sysv/linux/mips/syscalls.list (recvmsg): Likewise.
15685         (sendmsg): Likewise.
15686         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (recvmsg):
15687         Likewise.
15688         (sendmsg): Likewise.
15689         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (recvmsg): Likewise.
15690         (sendmsg): Likewise.
15691         * sysdeps/unix/sysv/linux/i386/kernel-features.h
15692         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
15693         Remove.
15694         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
15695         Likewise.
15696         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
15697         Undefine.
15698         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
15699         Likewise.
15700         * sysdeps/unix/sysv/linux/kernel-features.h
15701         (__ASSUME_SENDMSG_SYSCALL): Define.
15702         (__ASSUME_RECVMSG_SYSCALL): Likewise.
15703         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
15704         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
15705         Remove.
15706         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
15707         Likewise.
15708         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
15709         Undefine.
15710         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
15711         Likewise.
15712         * sysdeps/unix/sysv/linux/s390/kernel-features.h
15713         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
15714         Remove.
15715         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
15716         Likewise.
15717         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
15718         Undefine.
15719         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
15720         Likewise.
15721         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15722         (__ASSUME_SENDMSG_SYSCALL): Undefine.
15723         (__ASSUME_RECVMSG_SYSCALL): Likewise.
15724         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
15725         (__ASSUME_SENDMSG_SYSCALL): Likewise.
15726         (__ASSUME_RECVMSG_SYSCALL): Likewise.
15727         * sysdeps/unix/sysv/linux/sh/kernel-features.h
15728         (__ASSUME_SENDMSG_SYSCALL): Likewise.
15729         (__ASSUME_RECVMSG_SYSCALL): Likewise.
15731 2016-05-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15733         * stdlib/gen-tst-strtod-round.c: Add backslash to
15734         compile command in comment.
15735         (printfp): Remove the literal suffix, and define an infinite
15736         value as INF to avoid expansion clash with INFINITY.
15737         (round_str): Remove the literal suffix.
15738         (round_for_all): Likewise, remove the now duplicate ldbl-64
15739         entry, and remove some magic constants.
15741         * stdlib/tst-strtod-round.c: (TEST): Redefine to reduce
15742         duplication.  Remove duplicate dbl-64 and ldbl-64 entries.
15743         (ROUNDING_TESTS_long_double): Define as 0 for ibm128.
15744         (_CONCAT): New macro.
15745         (CONCAT): Likewise.
15746         (CHOOSE_ld): Likewise.
15747         (CHOOSE_f): Likewise.
15748         (CHOOSE_d): Likewise.
15749         (FTYPE_MEMBER): Likewise.
15750         (BOOL_MEMBER): Likewise.
15751         (STRUCT_FOREACH_FLOAT_FTYPE): Likewise.
15752         (STRUCT_FOREACH_FLOAT_BOOL): Likewise.
15753         (_XNTRY): Likewise.
15754         (XNTRY): Likewise.
15755         (_ENTRY): Likewise.
15756         (ENTRY): Likewise.
15757         (test_exactness): Generate members via macro.
15758         (test_results): Likewise.
15759         (test): Update members.
15760         (TEST): Redefine using new macros.
15761         (INF): New macro.
15762         (fetestmodes): New structure.
15763         (do_test): Refactor to be type generic.
15764         (test_in_one_mode): Refactor duplicate code into
15765         (GEN_ONE_TEST): New macro.
15767         * stdlib/tst-strtod-round-data.h: Regenerate.
15769         * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH):
15770         Extend to pass additional arbitrary parameters to
15771         generators.
15773 2016-05-25  Joseph Myers  <joseph@codesourcery.com>
15775         [BZ #15479]
15776         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Move save of
15777         floating-point state after first floating-point operation on
15778         input.  Restore full floating-point state instead of just rounding
15779         mode.
15780         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
15781         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
15782         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
15783         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
15784         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
15786         [BZ #15479]
15787         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Move save of
15788         floating-point state after first floating-point operation on
15789         input.  Restore full floating-point state instead of just rounding
15790         mode.
15791         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
15792         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
15793         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
15794         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
15795         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
15797 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
15799         [BZ #19727]
15800         * iconvdata/utf-16.c (BODY): Report an error if first word is not a
15801         valid high surrogate.
15802         * iconvdata/utf-32.c (BODY): Report an error if the value is in range
15803         of an utf16 surrogate.
15804         * iconv/gconv_simple.c (BODY): Likewise.
15805         * iconvdata/bug-iconv12.c: New file.
15806         * iconvdata/Makefile (tests): Add bug-iconv12.
15808 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
15810         [BZ #19726]
15811         * iconv/gconv_simple.c (ucs4le_internal_loop): Update inptrp and
15812         outptrp in case of an illegal input.
15813         * iconv/tst-iconv6.c: New file.
15814         * iconv/Makefile (tests): Add tst-iconv6.
15816 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
15818         * sysdeps/s390/utf16-utf32-z9.c: Disable cu42 instruction and report
15819         an error in case of a value in range of an utf16 low surrogate.
15821 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
15823         * sysdeps/s390/utf8-utf32-z9.c: Disable cu41 instruction and report
15824         an error in case of a value in range of an utf16 low surrogate.
15826 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
15828         * sysdeps/s390/s390-64/Makefile (iconvdata-subdirectory):
15829         Move to ...
15830         * sysdeps/s390/Makefile: ... here.
15831         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Move to ...
15832         * sysdeps/s390/iso-8859-1_cp037_z900.c: ... here.
15833         (BRANCH_ON_COUNT): New define.
15834         (TR_LOOP): Use BRANCH_ON_COUNT instead of brctg.
15835         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Move to ...
15836         * sysdeps/s390/utf16-utf32-z9.c: ... here and adjust to
15837         run on s390-32, too.
15838         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Move to ...
15839         * sysdeps/s390/utf8-utf16-z9.c: ... here and adjust to
15840         run on s390-32, too.
15841         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Move to ...
15842         * sysdeps/s390/utf8-utf32-z9.c: ... here and adjust to
15843         run on s390-32, too.
15845 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
15847         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Use ifunc to select c,
15848         etf3eh or new vector loop-variant.
15850 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
15852         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Use ifunc to select c,
15853         etf3eh or new vector loop-variant.
15855 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
15857         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Use ifunc to select c, etf3eh
15858         or new vector loop-variant.
15860 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
15862         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c (TROO_LOOP):
15863         Rename to TR_LOOP and usage of tr instead of troo instruction.
15865 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
15867         * sysdeps/s390/multiarch/gconv_simple.c: New File.
15868         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add gconv_simple.
15870 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
15872         * sysdeps/s390/multiarch/8bit-generic.c: New File.
15873         * sysdeps/s390/multiarch/gen-8bit.sh: New File.
15874         * sysdeps/s390/multiarch/Makefile (generate-8bit-table):
15875         New override define.
15876         * sysdeps/s390/multiarch/iconv/skeleton.c: Likewise.
15878 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
15880         * config.h.in (HAVE_S390_VX_GCC_SUPPORT): New macro undefine.
15881         * sysdeps/s390/configure.ac: Add test for S390 vector register
15882         support in gcc.
15883         * sysdeps/s390/configure: Regenerated.
15885 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
15887         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules):
15888         Install file from $(objpfx)gconv-modules.
15889         ($(objpfx)gconv-modules): Concatenate architecture specific file
15890         in variable sysdeps-gconv-modules and gconv-modules in src dir.
15891         * sysdeps/s390/gconv-modules: New file.
15892         * sysdeps/s390/s390-64/Makefile: ($(inst_gconvdir)/gconv-modules):
15893         Deleted.
15894         ($(objpfx)gconv-modules-s390): Deleted.
15895         (sysdeps-gconv-modules): New variable.
15897 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
15899         [BZ #15479]
15900         * sysdeps/x86_64/fpu/multiarch/s_ceil.S (__ceil_sse41): Set bit 3
15901         of immediate operand to rounding instruction.
15902         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S (__ceilf_sse41):
15903         Likewise.
15904         * sysdeps/x86_64/fpu/multiarch/s_floor.S (__floor_sse41):
15905         Likewise.
15906         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf_sse41):
15907         Likewise.
15909 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15911         * math/libm-test.inc (MIN_EXP): Directly define as
15912         (DBL|LDBL|FLT)_MIN_EXP and fixup usage.
15914 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15916         * math/libm-test.inc (MANT_DIG): Directly define as
15917         (DBL|LDBL|FLT)_MANT_DIG and fixup usage.
15919 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15921         * stdlib/gen-tst-strtod-round.c (main):
15922           Change usage to more closely match the generated
15923           output.  Add usage and compilation instructions.
15924           (string_to_fp): Add and use FILE* parameter as
15925           output target.
15926           (print_fp): Likewise.
15927           (round_str): Likewise.
15928           (round_for_all): Likewise.
15929         * stdlib/tst-strtod-round.c (tests): Move into
15930         * stdlib/tst-strtod-round-data.h: New file.
15932 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
15934         [BZ #15479]
15935         * sysdeps/ieee754/dbl-64/s_round.c (huge): Remove variable.
15936         (__round): Do not force "inexact" exception.
15937         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (huge): Remove
15938         variable.
15939         (__round): Do not force "inexact" exception.
15940         * sysdeps/ieee754/flt-32/s_roundf.c (huge): Remove variable.
15941         (__roundf): Do not force "inexact" exception.
15942         * sysdeps/ieee754/ldbl-128/s_roundl.c (huge): Remove variable.
15943         (__roundl): Do not force "inexact" exception.
15944         * sysdeps/ieee754/ldbl-96/s_roundl.c (huge): Remove variable.
15945         (__roundl): Do not force "inexact" exception.
15946         * math/libm-test.inc (round_test_data): Do not allow spurious
15947         "inexact" exceptions.
15949         [BZ #15479]
15950         * sysdeps/ieee754/dbl-64/s_floor.c: Do not mention "inexact"
15951         exception in comment.
15952         (huge): Remove variable.
15953         (__floor): Do not force "inexact" exception.
15954         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Do not mention
15955         "inexact" exception in comment.
15956         (huge): Remove variable.
15957         (__floor): Do not force "inexact" exception.
15958         * sysdeps/ieee754/flt-32/s_floorf.c: Do not mention "inexact"
15959         exception in comment.
15960         (huge): Remove variable.
15961         (__floorf): Do not force "inexact" exception.
15962         * sysdeps/ieee754/ldbl-128/s_floorl.c: Do not mention "inexact"
15963         exception in comment.
15964         (huge): Remove variable.
15965         (__floorl): Do not force "inexact" exception.
15967         [BZ #15479]
15968         * sysdeps/ieee754/dbl-64/s_ceil.c: Do not mention "inexact"
15969         exception in comment.
15970         (huge): Remove variable.
15971         (__ceil): Do not force "inexact" exception.
15972         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Do not mention
15973         "inexact" exception in comment.
15974         (huge): Remove variable.
15975         (__ceil): Do not force "inexact" exception.
15976         * sysdeps/ieee754/flt-32/s_ceilf.c (huge): Remove variable.
15977         (__ceilf): Do not force "inexact" exception.
15978         * sysdeps/ieee754/ldbl-128/s_ceill.c: Do not mention "inexact"
15979         exception in comment.
15980         (huge): Remove variable.
15981         (__ceill): Do not force "inexact" exception.
15983 2016-05-24  H.J. Lu  <hongjiu.lu@intel.com>
15985         * config.h.in (BIND_NOW): New.
15986         * configure.ac (BIND_NOW): New.  Defined for --enable-bind-now.
15987         * configure: Regenerated.
15988         * sysdeps/x86_64/sysdep.h (JUMPTARGET)[BIND_NOW]: Defined to
15989         indirect branch via the GOT slot.
15991 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
15993         [BZ #19765]
15994         * sysdeps/s390/mempcpy.S: New File.
15995         * sysdeps/s390/multiarch/mempcpy.c: Likewise.
15996         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add mempcpy.
15997         * sysdeps/s390/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
15998         Add mempcpy variants.
15999         * sysdeps/s390/s390-32/memcpy.S: Add mempcpy entry point.
16000         (memcpy): Adjust to be usable from mempcpy entry point.
16001         (__memcpy_mvcle): Likewise.
16002         * sysdeps/s390/s390-64/memcpy.S: Likewise.
16003         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add entry points
16004         ____mempcpy_z196, ____mempcpy_z10 and add __GI_ symbols for mempcpy.
16005         (__memcpy_z196): Adjust to be usable from mempcpy entry point.
16006         (__memcpy_z10): Likewise.
16007         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
16009 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
16011         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_libc_ifunc):
16012         Remove __GI_ symbol.
16013         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Add __GI_memcmp symbol.
16014         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Likewise.
16015         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add __GI_memcpy symbol.
16016         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
16017         * sysdeps/s390/s390-32/multiarch/memset-s390.S: Add __GI_memset symbol.
16018         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Likewise.
16020 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
16022         * sysdeps/s390/s390-64/memcpy.S (memcpy):
16023         Use cghi instead of chi to compare 64bit value.
16025 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
16027         * sysdeps/s390/s390-32/memcpy.S (memcpy):
16028         Jump to 1MB check before executing mvc-loop.
16030 2016-05-24  Florian Weimer  <fweimer@redhat.com>
16032         [BZ #6527]
16033         * malloc/malloc.c (MALLOC_ALIGNMENT): Use correct alignment
16034         unconditionally.
16035         * malloc/hooks.c (MALLOC_STATE_VERSION): Increase state version.
16037 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16039         * stdlib/tst-strtod6.c (do_test): Use new type generic
16040         invocation of the test function.
16041         (test): Refactor into ...
16042         (TEST_STRTOD): New macro base function.
16044 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16046         * stdlib/bug-strtod2.c (do_test): Refactor strtod usage into ...
16047         (TEST_STRTOD): New macro.
16048         (TEST_FUNCTION): Redefine to use STRTOD_TEST_FOREACH
16050 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16052         * stdlib/tst-strtod6.c (do_test): Use new type generic
16053         invocation of the test function.
16054         (test): Refactor into ...
16055         (TEST_STRTOD): New macro base function.
16057 2016-05-23  Florian Weimer  <fweimer@redhat.com>
16059         CVE-2016-4429
16060         [BZ #20112]
16061         * sunrpc/clnt_udp.c (clntudp_call): Use malloc/free for the error
16062         payload.
16064 2016-05-23  Florian Weimer  <fweimer@redhat.com>
16066         [BZ #20111]
16067         * bits/sockaddr.h (_SS_SIZE): Define.
16068         * bits/socket.h (_SS_SIZE): Remove.
16069         (_SS_PADSIZE): Adjust to account for all padding.
16070         (struct sockaddr_storage): Update comment.  Avoid implicit
16071         padding.
16072         * sysdeps/mach/hurd/bits/socket.h (_SS_SIZE): Remove.
16073         (_SS_PADSIZE): Adjust to account for all padding.
16074         (struct sockaddr_storage): Update comment.  Avoid implicit
16075         padding.
16076         * sysdeps/unix/bsd/bits/sockaddr.h (_SS_SIZE): Define.
16077         * sysdeps/unix/sysv/linux/bits/socket.h (_SS_SIZE): Remove.
16078         (_SS_PADSIZE): Adjust to account for all padding.
16079         (struct sockaddr_storage): Update comment.  Avoid implicit
16080         padding.
16081         * sysdeps/unix/sysv/linux/m68k/bits/sockaddr.h: New file.
16082         __SS_SIZE is 126 in this version.
16083         * inet/tst-sockaddr.c: New file.
16084         * inet/Makefile (tests): Add tst-sockaddr.c
16085         (tst-sockaddr.c): Compile with non-strict aliasing.
16087 2016-05-23  Joseph Myers  <joseph@codesourcery.com>
16089         * conform/data/limits.h-data (CHARCLASS_NAME_MAX): Also expect for
16090         [XPG3 || XPG4].
16091         (NL_ARGMAX): Also expect for [XPG3].
16092         (NL_LANGMAX): Likewise.
16093         (NL_MSGMAX): Likewise.
16094         (NL_NMAX): Likewise.
16095         (NL_SETMAX): Likewise.
16096         (NL_TEXTMAX): Likewise.
16097         (NZERO): Likewise.
16098         (TMP_MAX): Likewise.
16099         * conform/Makefile (test-xfail-XPG3/limits.h/conform): Remove
16100         variable.
16102         * sysdeps/unix/sysv/linux/bits/socket.h (PF_KCM): New macro.
16103         (PF_MAX): Update value.
16104         (AF_KCM): New macro.
16105         (SOL_NETBEUI): Likewise.
16106         (SOL_LLC): Likewise.
16107         (SOL_DCCP): Likewise.
16108         (SOL_NETLINK): Likewise.
16109         (SOL_TIPC): Likewise.
16110         (SOL_RXRPC): Likewise.
16111         (SOL_PPPOL2TP): Likewise.
16112         (SOL_BLUETOOTH): Likewise.
16113         (SOL_PNPIPE): Likewise.
16114         (SOL_RDS): Likewise.
16115         (SOL_IUCV): Likewise.
16116         (SOL_CAIF): Likewise.
16117         (SOL_ALG): Likewise.
16118         (SOL_NFC): Likewise.
16119         (SOL_KCM): Likewise.
16120         (MSG_BATCH): New enum value and macro.
16122 2016-05-20  H.J. Lu  <hongjiu.lu@intel.com>
16124         [BZ #18185]
16125         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Don't limit threads
16126         sharing L2 cache to 2 for Knights Landing.
16128 2016-05-20  Joseph Myers  <joseph@codesourcery.com>
16130         * conform/data/ftw.h-data (struct FTW): Do not expect for [XPG3].
16131         (FTW_DP): Do not expect for [XPG3 || XPG4].
16132         (FTW_SL): Do not expect for [XPG3].
16133         (FTW_SLN): Likewise.
16134         (FTW_PHYS): Likewise.
16135         (FTW_MOUNT): Likewise.
16136         (FTW_DEPTH): Likewise.
16137         (FTW_CHDIR): Likewise.
16138         (nftw): Likewise.
16139         * conform/Makefile (test-xfail-XPG3/ftw.h/conform): Remove
16140         variable.
16142 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
16144         * manual/errno.texi: Fix various typos & grammar errors.
16146 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
16148         * manual/intro.texi: Fix duplicated typo.
16150 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
16152         [BZ #13304]
16153         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Include <fenv.h>,
16154         <float.h>, <math_private.h> and <stdlib.h>.
16155         (add_split): New function.
16156         (mul_split): Likewise.
16157         (ext_val): New typedef.
16158         (store_ext_val): New function.
16159         (mul_ext_val): New function.
16160         (compare): New function.
16161         (add_split_ext): New function.
16162         (__fmal): After checking for Inf, NaN and zero, compute result as
16163         an exact sum of scaled double values in round-to-nearest before
16164         adding those up and adjusting for other rounding modes.
16165         * math/auto-libm-test-in: Remove xfail-rounding:ldbl-128ibm from
16166         tests of fma.
16167         * math/auto-libm-test-out: Regenerated.
16169 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
16171         [BZ #20119]
16172         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Correct Intel
16173         processor level type mask for CPUID with EAX == 11.
16175 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
16177         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Skip counting
16178         logical threads if the HTT bit is 0.
16179         * sysdeps/x86/cpu-features.h (bit_cpu_HTT): New.
16180         (index_cpu_HTT): Likewise.
16181         (reg_HTT): Likewise.
16183 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
16185         [BZ #20115]
16186         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S (__memset):
16187         Remove alignments on jump targets.
16189 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
16191         * conform/data/pwd.h-data (endpwent): Do not expect for [XPG3].
16192         (getpwent): Likewise.
16193         (setpwent): Likewise.
16194         * conform/Makefile (test-xfail-XPG3/pwd.h/conform): Remove
16195         variable.
16197         * conform/data/search.h-data (insque): Do not expect for [XPG3].
16198         (remque): Likewise.
16199         * conform/Makefile (test-xfail-XPG3/search.h/conform): Remove
16200         variable.
16202 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
16204         * math/libm-test.inc: Update comment not to refer to signs of NaNs
16205         not being tested.
16207 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
16209         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
16210         (__condvar_cleanup2): Remove JUMPTARGET from  _Unwind_Resume
16211         call.
16212         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
16213         (__condvar_cleanup1): Likewise.
16215 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
16217         * sysdeps/unix/sysv/linux/x86_64/cancellation.S (PTHREAD_UNWIND):
16218         New
16219         (__pthread_unwind): Renamed to ...
16220         (PTHREAD_UNWIND): This.
16221         (__pthread_enable_asynccancel): Replace
16222         JUMPTARGET(__pthread_unwind) with PTHREAD_UNWIND.
16224 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
16226         * sysdeps/unix/sysv/linux/bits/sched.h [__USE_GNU]
16227         (CLONE_NEWCGROUP): New macro.
16229         * sysdeps/unix/sysv/linux/sys/quota.h [_LINUX_QUOTA_VERSION >= 2]
16230         (Q_GETNEXTQUOTA): New macro.
16232 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
16234         [BZ #19907]
16235         * benchtests/bench-memcpy.c (do_one_test): Clear the destination
16236         buffer updated by the previous run.
16237         * string/test-memcpy.c (do_one_test): Likewise.
16238         * benchtests/bench-memmove.c (do_one_test): Add a comment.
16239         * string/test-memmove.c (do_one_test): Likewise.
16241 2016-05-17  Joseph Myers  <joseph@codesourcery.com>
16243         [BZ #20094]
16244         * stdlib/stdlib.h (grantpt): Declare if [__USE_XOPEN_EXTENDED],
16245         not [__USE_XOPEN].
16246         (unlockpt): Likewise.
16247         (ptsname): Likewise.
16248         * conform/Makefile (test-xfail-XPG3/stdlib.h/conform): Remove
16249         variable.
16251         [BZ #20076]
16252         * io/sys/stat.h (S_IFSOCK): Define for [__USE_XOPEN_EXTENDED]
16253         instead of [__USE_UNIX98].
16254         (S_ISSOCK): Likewise.
16255         * conform/Makefile (test-xfail-XPG4/sys/stat.h/conform): Remove
16256         variable.
16258         [BZ #20074]
16259         * stdlib/stdlib.h (rand_r): Declare if [__USE_POSIX199506], not if
16260         [__USE_POSIX].
16261         * conform/Makefile (test-xfail-XPG4/stdlib.h/conform): Remove
16262         variable.
16264         [BZ #20051]
16265         * posix/unistd.h [__USE_XOPEN_EXTENDED && !__USE_UNIX98]
16266         (ttyslot): Do not declare.
16267         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && !__USE_XOPEN2K]
16268         (ttyslot): New prototype.
16269         * conform/Makefile (test-xfail-XPG4/unistd.h/conform): Remove
16270         variable.
16271         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
16273 2016-05-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
16275         * nptl/tst-cancel17.c (do_test): Wait for finishing aio_read(&a).
16277 2016-05-13  Florian Weimer  <fweimer@redhat.com>
16279         Fix race condition in tst-mallocfork2, use fewer resources.
16280         * malloc/tst-mallocfork2.c (sigusr1_handler): Do not send SIGSTOP
16281         to current process group.
16282         (signal_sender): Yield in the non-sleeping case.
16284 2016-05-13  Joseph Myers  <joseph@codesourcery.com>
16286         * conform/data/stdlib.h-data (a64l): Do not expect for [XPG3].
16287         (ecvt): Likewise.
16288         (fcvt): Likewise.
16289         (gcvt): Likewise.
16290         (getsubopt): Likewise.
16291         (grantpt): Likewise.
16292         (initstate): Likewise.
16293         (l64a): Likewise.
16294         (mktemp): Likewise.
16295         (mkstemp): Likewise.
16296         (ptsname): Likewise.
16297         (random): Likewise.
16298         (realpath): Likewise.
16299         (setstate): Likewise.
16300         (srandom): Likewise.
16301         (ttyslot): Likewise.
16302         (unlockpt): Likewise.
16303         (valloc): Likewise.
16305         * conform/data/string.h-data (strdup): Do not expect for [XPG3].
16306         * conform/Makefile (test-xfail-XPG3/string.h/conform): Remove
16307         variable.
16309 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
16311         [BZ #20072]
16312         * sysdeps/i386/dl-machine.h (dl_platform_init): Call
16313         init_cpu_features only if SHARED is defined.
16314         * sysdeps/x86_64/dl-machine.h (dl_platform_init): Likewise.
16316 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
16318         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Check and support
16319         non-inclusive caches on Intel processors.
16321 2016-05-13  Florian Weimer  <fweimer@redhat.com>
16323         * malloc/malloc.c (dumped_main_arena_start)
16324         (dumped_main_arena_end): New variables.
16325         (DUMPED_MAIN_ARENA_CHUNK): New macro.
16326         (do_check_chunk): Skip dumped fake mmapped chunks.
16327         (munmap_chunk): Likewise.
16328         (__libc_free): Do not adjust statistics for fake mmapped chunks.
16329         (__libc_realloc): Adjust hardening check.  Always copy dumped fake
16330         mmapped chunks.
16331         * malloc/hooks.c (__malloc_set_state): Do not update main_arena.
16332         Mark dumped chunks as using mmap.  Update dumped_main_arena_start
16333         and dumped_main_arena_end to cover the dumped heap.
16335 2016-05-12  Joseph Myers  <joseph@codesourcery.com>
16337         * conform/data/time.h-data (getdate_err): Do not expect for
16338         [XPG3].
16339         (getdate): Likewise.
16340         * conform/Makefile (test-xfail-XPG3/time.h/conform): Remove
16341         variable.
16343         * conform/data/unistd.h-data (F_LOCK): Do not expect for [XPG3].
16344         (F_ULOCK): Likewise.
16345         (F_TEST): Likewise.
16346         (F_TLOCK): Likewise.
16347         (useconds_t): Likewise.
16348         (intptr_t): Do not expect for [XPG3] or [XPG4].
16349         (brk): Do not expect for [XPG3]
16350         (fchown): Likewise.
16351         (fchdir): Likewise.
16352         (ftruncate): Likewise.
16353         (getdtablesize): Likewise.
16354         (gethostid): Likewise.
16355         (getpagesize): Likewise.
16356         (getpgid): Likewise.
16357         (getsid): Likewise.
16358         (getwd): Likewise.
16359         (lchown): Likewise.
16360         (lockf): Likewise.
16361         (readlink): Likewise.
16362         (sbrk): Likewise.
16363         (setpgrp): Likewise.
16364         (setregid): Likewise.
16365         (setreuid): Likewise.
16366         (symlink): Likewise.
16367         (sync): Likewise.
16368         (truncate): Likewise.
16369         (ualarm): Likewise.
16370         (usleep): Likewise.
16371         (vfork): Likewise.
16372         * conform/Makefile (test-xfail-XPG3/unistd.h/conform): Remove
16373         variable.
16375         [BZ #20054]
16376         * posix/unistd.h (gethostname): Declare if [__USE_XOPEN_EXTENDED],
16377         not [__USE_UNIX98].
16378         * conform/data/unistd.h-data (gethostname): Do not expect for
16379         [XPG3].
16381         * conform/data/fcntl.h-data [!POSIX] (S_IFMT): Do not expect.
16382         [!POSIX] (S_IFBLK): Likewise.
16383         [!POSIX] (S_IFCHR): Likewise.
16384         [!POSIX] (S_IFIFO): Likewise.
16385         [!POSIX] (S_IFREG): Likewise.
16386         [!POSIX] (S_IFDIR): Likewise.
16387         [!POSIX] (S_IFLNK): Likewise.
16388         [!POSIX] (S_IFSOCK): Likewise.
16389         * conform/Makefile (test-xfail-XPG3/fcntl.h/conform): Remove
16390         variable.
16391         (test-xfail-XPG4/fcntl.h/conform): Likewise.
16393 2016-05-12  Wilco Dijkstra  <wdijkstr@arm.com>
16395         * sysdeps/aarch64/memset.S (__memset):
16396         Rewrite of optimized memset.
16398 2016-05-12  Florian Weimer  <fweimer@redhat.com>
16400         [BZ #19703]
16401         Partially async-signal-safe fork for single-threaded processes.
16402         * sysdeps/nptl/fork.c (__libc_fork): Introduce multiple_threads
16403         variable.  Do not acquire and reset/release malloc and libio locks
16404         in single-threaded processes.
16405         * malloc/tst-mallocfork2.c: New file.
16406         * malloc/Makefile (tests): Add it.
16408 2016-05-12  Florian Weimer  <fweimer@redhat.com>
16410         * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Add tmpbuf
16411         argument.  Use scratch buffer instead of extend_alloca.
16412         (gethosts): Use scratch buffer instead of extend_alloca.
16413         (gaih_inet): Add tmpbuf argument.  Use scratch buffer instead of
16414         extend_alloca.
16415         (getaddrinfo): Allocate scratch buffer and pass it to gaih_inet.
16417 2016-05-11  Joseph Myers  <joseph@codesourcery.com>
16419         [BZ #20055]
16420         * termios/termios.h (pid_t): Define for [__USE_XOPEN_EXTENDED]
16421         instead of [__USE_UNIX98].
16422         (tcgetsid): Declare for [__USE_XOPEN_EXTENDED] instead of
16423         [__USE_UNIX98].
16424         * conform/data/termios.h-data (tcgetsid): Do not expect for
16425         [XPG3].
16426         * conform/Makefile (test-xfail-XPG3/termios.h/conform): Remove
16427         variable.
16428         (test-xfail-XPG4/termios.h/conform): Likewise.
16430 2016-05-11  Florian Weimer  <fweimer@redhat.com>
16432         Do not use mcheck in localedef.
16433         * locale/programs/localedef.c (turn_on_mcheck)
16434         (__malloc_initialize_hook): Remove.
16436 2016-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
16438         * sysdeps/s390/s390-32/Makefile (pic-ccflag): Remove.
16439         * sysdeps/s390/s390-64/Makefile: Likewise.
16441 2016-05-11  H.J. Lu  <hongjiu.lu@intel.com>
16443         * sysdeps/i386/i686/multiarch/Makefile (gen-as-const-headers):
16444         Remove ifunc-defines.sym.
16445         * sysdeps/x86_64/multiarch/Makefile (gen-as-const-headers):
16446         Likewise.
16447         * sysdeps/i386/i686/multiarch/ifunc-defines.sym: Removed.
16448         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
16449         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Likewise.
16450         * sysdeps/x86/Makefile (gen-as-const-headers): Remove
16451         rtld-global-offsets.sym.
16452         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Merged with ...
16453         * sysdeps/x86/cpu-features-offsets.sym: This.
16454         * sysdeps/x86/cpu-features.h: Include <cpu-features-offsets.h>
16455         instead of <ifunc-defines.h> and <rtld-global-offsets.h>.
16457 2016-05-10  Joseph Myers  <joseph@codesourcery.com>
16459         [BZ #20073]
16460         * io/sys/stat.h (fchmod): Declare for
16461         [__USE_POSIX199309 || __USE_XOPEN_EXTENDED], not [__USE_POSIX].
16462         * conform/Makefile (test-xfail-XPG3/sys/stat.h/conform): Remove
16463         variable.
16465         * conform/data/sys/stat.h-data [XPG3] (S_IFLNK): Do not expect.
16466         [XPG3] (S_IFSOCK): Likewise.
16467         [XPG3] (S_ISVTX): Likewise.
16468         [XPG3] (S_ISLNK): Likewise.
16469         [XPG3] (S_ISSOCK): Likewise.
16470         [XPG3] (fchmod): Likewise.
16471         [XPG3] (lstat): Likewise.
16472         [XPG3] (mknod): Likewise.
16474         * conform/data/sys/stat.h-data (st_blksize): Do not expect for
16475         [XPG3].  Expect type long and XFAIL for [XPG4].
16476         (st_blocks): Likewise.
16478         [BZ #20044]
16479         * posix/unistd.h [__USE_UNIX98 && !__USE_XOPEN2K]
16480         (pthread_atfork): New prototype.
16481         * conform/Makefile (test-xfail-UNIX98/unistd.h/conform): Remove
16482         variable.
16484         [BZ #20043]
16485         * posix/unistd.h [__USE_XOPEN && !__USE_XOPEN2K] (cuserid): New
16486         prototype.
16488 2016-05-10  Florian Weimer  <fweimer@redhat.com>
16490         [BZ #20017]
16491         * resolv/res_debug.c (p_secstodate): Call __gmtime_r instead of
16492         gmtime.
16494 2016-05-10  Florian Weimer  <fweimer@redhat.com>
16496         [BZ #19994]
16497         * sysdeps/posix/getaddrinfo.c (gethosts): Restore RES_USE_INET6
16498         flag in _res.options.
16500 2016-05-09  Joseph Myers  <joseph@codesourcery.com>
16502         * conform/data/sys/types.h-data (blkcnt_t): Do not expect for
16503         [XPG3 || XPG4].
16504         (blksize_t): Likewise.
16505         (clockid_t): Likewise.
16506         * conform/Makefile (test-xfail-XPG3/sys/types.h/conform): Remove
16507         variable.
16508         (test-xfail-XPG4/sys/types.h/conform): Likewise.
16510 2016-05-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
16512         * sysdeps/unix/sysv/linux/s390/init-first.c:
16513         Add VDSO_SYMBOL(getcpu).
16514         (_libc_vdso_platform_setup): Initialize VDSO_SYMBOL(getcpu).
16515         * sysdeps/unix/sysv/linux/s390/libc-vdso.h:
16516         Add VDSO_SYMBOL(getcpu).
16517         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h:
16518         New define HAVE_GETCPU_VSYSCALL.
16519         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
16521 2016-05-08  H.J. Lu  <hongjiu.lu@intel.com>
16523         * sysdeps/i386/cacheinfo.c: Include <sysdeps/x86/cacheinfo.c>
16524         instead of <sysdeps/x86_64/cacheinfo.c>.
16525         * sysdeps/x86_64/cacheinfo.c: Moved to ...
16526         * sysdeps/x86/cacheinfo.c: Here.
16528 2016-05-04  Florian Weimer  <fweimer@redhat.com>
16530         * malloc/malloc-internal.h: Adjust header file guard.
16532 2016-05-04  Florian Weimer  <fweimer@redhat.com>
16534         [BZ #19787]
16535         * inet/getnameinfo.c (check_sprintf_result): New function.
16536         (CHECKED_SNPRINTF): New macro.
16537         (gni_host_inet_numeric): Use CHECKED_SNPRINTF to write the scope
16538         to the host buffer.
16539         (gni_host_local): Use checked_copy to copy the host name.
16540         (gni_serv_inet): Use CHECKED_SNPRINTF to write the service name.
16541         (gni_serv_local): Use checked_copy to copy the service name.
16542         (getnameinfo): Remove unnecessary truncation of result buffers.
16544 2016-05-04  Florian Weimer  <fweimer@redhat.com>
16546         * inet/getnameinfo.c (gni_host_inet_numeric): Return EAI_OVERFLOW
16547         in case of inet_ntop failure.
16549 2016-05-04  Florian Weimer  <fweimer@redhat.com>
16551         * inet/getnameinfo.c (gni_host_inet_name): Use temporaries to
16552         avoid long lines.
16553         (gni_host_inet_numeric): Likewise.  Reduce scope of local
16554         variables.
16555         (gni_host_inet, gni_host_local): Add comment.
16556         (gni_host): Add comment.  Use temporary to avoid long lines.
16558 2016-05-04  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
16560         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Fix use of condition
16561         registers specifiers where general purpose registers specifiers should
16562         have been used.
16564 2016-05-04  Florian Weimer  <fweimer@redhat.com>
16566         [BZ #19779]
16567         CVE-2016-1234
16568         Avoid copying names of directory entries.
16569         * posix/glob.c (DIRENT_MUST_BE, DIRENT_MIGHT_BE_SYMLINK)
16570         (DIRENT_MIGHT_BE_DIR, CONVERT_D_INO, CONVERT_D_TYPE)
16571         (CONVERT_DIRENT_DIRENT64, REAL_DIR_ENTRY): Remove macros.
16572         (struct readdir_result): New type.
16573         (D_TYPE_TO_RESULT, D_INO_TO_RESULT, READDIR_RESULT_INITIALIZER)
16574         (GL_READDIR): New macros.
16575         (readdir_result_might_be_symlink, readdir_result_might_be_dir)
16576         (convert_dirent, convert_dirent64): New functions.
16577         (glob_in_dir): Use struct readdir_result.  Call convert_dirent or
16578         convert_dirent64.  Adjust references to the readdir result.
16579         * sysdeps/unix/sysv/linux/i386/glob64.c:
16580         (convert_dirent, GL_READDIR): Redefine for second file inclusion.
16581         * posix/bug-glob2.c (LONG_NAME): Define.
16582         (filesystem): Add LONG_NAME.
16583         (my_DIR): Increase the size of room_for_dirent.
16585 2016-05-03  Joseph Myers  <joseph@codesourcery.com>
16587         [BZ #20041]
16588         * misc/sys/select.h (__need_timespec): Only define if
16589         [__USE_XOPEN2K].
16590         * conform/Makefile (test-xfail-XPG4/sys/time.h/conform): Remove
16591         variable.
16592         (test-xfail-XPG4/utmpx.h/conform): Likewise.
16593         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
16594         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
16596 2016-05-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16597             Segher Boessenkool  <segher@gcc.gnu.org>
16599         [BZ #20004]
16600         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S:
16601         (__novec_swapcontext): Add missing load.
16603 2016-05-02  Joseph Myers  <joseph@codesourcery.com>
16605         [BZ #20023]
16606         * io/fcntl.h [__USE_XOPEN && !__USE_XOPEN2K8]: Do not include
16607         <time.h>.
16608         * conform/Makefile (test-xfail-UNIX98/fcntl.h/conform): Remove
16609         variable.
16610         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
16612 2016-05-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16614         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone): Fix
16615         flags CLONE_VM compare.
16617 2016-05-02  Florian Weimer  <fweimer@redhat.com>
16619         [BZ #20031]
16620         * hesiod/hesiod.c (get_txt_records): Return error if TXT record is
16621         completely empty.
16623 2016-05-02  Florian Weimer  <fweimer@redhat.com>
16625         [BZ #19573]
16626         * hesiod/Makefile (libnss_hesiod-routines): Remove hesiod-init.
16627         * hesiod/nss_hesiod/hesiod-init.c: Remove file.
16628         * hesiod/nss_hesiod/nss_hesiod.h: Likewise.
16629         * hesiod/hesiod.h (__hesiod_res_get, __hesiod_res_set): Remove.
16630         (hesiod_init, hesiod_end, hesiod_to_bind, hesiod_resolve)
16631         (hesiod_free_list): Mark as hidden.
16632         * hesiod/hesiod_p (struct hesiod_p): Remove res, free_res,
16633         res_set, res_get.
16634         * hesiod/hesiod.c: Remove unnecessary forward declarations.
16635         (init, __hesiod_res_get, __hesiod_res_set): Remove.
16636         (hesiod_init): Remove obsolete res_ninit call.
16637         (hesiod_end): Do not free resolver state.  Do not invoke callback.
16638         (hesiod_bind): Do not call init.
16639         (get_txt_records): Use res_mkquery, res_send instead of
16640         res_nmkquery, res_nsend.
16641         * hesiod/nss_hesiod/hesiod-grp.c (lookup): Call hesiod_init
16642         instead of _nss_hesiod_init.
16643         (_nss_hesiod_initgroups_dyn): Likewise.
16644         * hesiod/nss_hesiod/hesiod-proto.c (lookup): Likewise.
16645         * hesiod/nss_hesiod/hesiod-pwd.c (lookup): Likewise.
16646         * hesiod/nss_hesiod/hesiod-service.c (lookup): Likewise.
16648 2016-05-02  Florian Weimer  <fweimer@redhat.com>
16650         * hesiod/hesiod_p.h (DEF_RHS): Remove.
16651         * hesiod/hesiod.c (hesiod_init): Remove code for handling DEF_RHS.
16653 2016-05-02  Florian Weimer  <fweimer@redhat.com>
16655         * hesiod/hesiod.h: Remove RCS keyword.
16656         * hesiod/hesiod_p.h: Likewise.
16658         * hesiod/hesiod.c: Likewise.
16660 2016-05-01  Arnas Udovičius  <arnas.udovicius@gmail.com>
16662         [BZ #12450]
16663         * locale/iso-639.def: Add Samogitian/sgs.
16665 2016-04-30  Andreas Schwab  <schwab@linux-m68k.org>
16667         * sysdeps/m68k/Makefile (CFLAGS-gmon-start.c): Define.
16669         * sysdeps/unix/sysv/linux/m68k/clone.S: Localize labels.
16671 2016-04-29  Stephen Gallagher  <sgallagh@redhat.com>
16672             Carlos O'Donell  <carlos@redhat.com>
16674         [BZ #19072]
16675         * grp/Makefile (headers): Add grp-merge.h
16676         (routines): Add grp-merge.
16677         * grp/getgrgid_r.c: Include grp-merge.h.
16678         (DEEPCOPY_FN): Define.
16679         (MERGE_FN): Define.
16680         * grp/getgrname_r.c: Include grp-merge.h.
16681         (DEEPCOPY_FN): Define.
16682         (MERGE_FN): Define.
16683         * grp/grp-merge.c: New file.
16684         * grp/grp-merge.h: New file.
16685         * include/grp-merge.h: New file.
16686         * grp/Versions: Define __merge_grp@GLIBC_PRIVATE, and
16687         __copy_grp@GLIBC_PRIVATE.
16688         * manual/nss.texi (Actions in the NSS configuration): Describe
16689         return, continue, and merge.
16690         * nscd/getgrgid_r.c: Include grp/grp-merge.h.
16691         (DEEPCOPY_FN): Define.
16692         (MERGE_FN): Define.
16693         * nscd/getgrnam_r.c: Include grp/grp-merge.h.
16694         (DEEPCOPY_FN): Define.
16695         (MERGE_FN): Define.
16696         * nss/getXXbyYY_r.c [!DEEPCOPY_FN]: Define __copy_einval.
16697         [!MERGE_FN]: Define __merge_einval.
16698         (CHECK_MERGE): Define.
16699         (REENTRANT_NAME): Process merge if do_merge is true.
16700         * nss/getnssent_r.c (__nss_setent): Process NSS_ACTION_MERGE.
16701         (__nss_getent_r): Likewise.
16702         * nss/nsswitch.c (nss_parse_service_list): Likewise.
16703         * nss/nsswitch.h (lookup_actions): Define NSS_ACTION_MERGE.
16705 2016-04-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16707         [BZ #20012]
16708         * libio/fmemopen.c (fmemopen_read): Use buffer maximum position, not
16709         length to calculate the buffer to read.
16710         (fmemopen_write): Set the buffer position based on bytes written.
16711         (fmemopen_seek): Return EINVAL for invalid whence modes.
16713         [BZ #19957]
16714         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nptl] (test): Remove
16715         tst-getpid2.
16716         (test): Add tst-clone2.
16717         * sysdeps/unix/sysv/linux/tst-clone2.c: New file.
16718         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Do not change
16719         pid/tid fields for CLONE_VM.
16720         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
16721         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
16722         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
16723         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise,
16724         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
16725         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
16726         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
16727         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
16728         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
16729         Likewise.
16730         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
16731         Likewise.
16732         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
16733         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
16734         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
16735         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
16736         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
16737         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
16738         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
16739         * sysdeps/unix/sysv/linux/tst-getpid2.c: Remove file.
16741 2016-04-29  Florian Weimer  <fweimer@redhat.com>
16743         [BZ #19642]
16744         * inet/getnameinfo.c (gni_host_inet_name, gni_host_inet_numeric)
16745         (gni_host_inet, gni_host_local, gni_host, gni_serv_inet)
16746         (gni_serv_local, gni_serv): New functions extracted from
16747         getnameinfo.
16748         (getnameinfo): Call gni_host and gni_serv to perform the
16749         processing.  Always free scratch buffer.
16751 2016-04-29  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
16753         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Call memset to pad the
16754         remaining bytes in the dest string, with zeros.
16756 2016-04-29  Florian Weimer  <fweimer@redhat.com>
16758         [BZ #20010]
16759         CVE-2016-3706
16760         * sysdeps/posix/getaddrinfo.c
16761         (convert_hostent_to_gaih_addrtuple): New function.
16762         (gethosts): Call convert_hostent_to_gaih_addrtuple.
16763         (gaih_inet): Use convert_hostent_to_gaih_addrtuple to convert
16764         AF_INET data.
16766 2016-04-29  Florian Weimer  <fweimer@redhat.com>
16768         glob: Simplify and document the interface for the GLOB_ALTDIRFUNC
16769         callback function gl_readdir.
16770         * posix/glob.c (NAMELEN, CONVERT_D_NAMLEN): Remove.
16771         (CONVERT_DIRENT_DIRENT64): Use strcpy instead of memcpy.
16772         (glob_in_dir): Remove len.  Use strdup instead of malloc and
16773         memcpy to copy the name.
16774         * manual/pattern.texi (Calling Glob): Document requirements for
16775         implementations of the gl_readdir callback function.
16776         * manual/examples/mkdirent.c: New example.
16777         * posix/bug-glob2.c (my_readdir): Set d_ino to 1 unconditionally,
16778         per the manual guidance.
16779         * posix/tst-gnuglob.c (my_readdir): Likewise.
16781 2016-04-28  Joseph Myers  <joseph@codesourcery.com>
16783         [BZ #20014]
16784         * libio/stdio.h (getc_unlocked): Declare if [__USE_POSIX199506],
16785         not [__USE_POSIX].
16786         (getchar_unlocked): Likewise.
16787         (putc_unlocked): Likewise.
16788         (putchar_unlocked): Likewise.
16789         (flockfile): Likewise.
16790         (ftrylockfile): Likewise.
16791         (funlockfile): Likewise.
16792         * conform/Makefile (test-xfail-XPG3/stdio.h/conform): Remove
16793         variable.
16794         (test-xfail-XPG4/stdio.h/conform): Likewise.
16796         * conform/data/langinfo.h-data [XPG3 || XPG4 || UNIX98] (YESSTR):
16797         Expect constant.
16798         [XPG3 || XPG4 || UNIX98] (NOSTR): Likewise.
16799         * conform/Makefile (test-xfail-XPG3/langinfo.h/conform): Remove
16800         variable.
16801         (test-xfail-XPG4/langinfo.h/conform): Likewise.
16802         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
16804         * libio/stdio.h (off_t): Also define if [__USE_UNIX98].
16805         [__USE_LARGEFILE64] (off64_t): Likewise.
16806         * conform/Makefile (test-xfail-UNIX98/stdio.h/conform): Remove
16807         variable.
16809 2016-04-28  Florian Weimer  <fweimer@redhat.com>
16811         * inet/getnameinfo.c (getnameinfo): Do not preserve errno.
16813 2016-04-28  Florian Weimer  <fweimer@redhat.com>
16815         * resolv/inet_addr.c: Reindent preprocessor conditionals.
16816         * resolv/res_init.c: Likewise.
16817         * resolv/res_mkquery.c: Likewise.
16819 2016-04-28  Florian Weimer  <fweimer@redhat.com>
16821         * resolv/res_init.c (isascii): Do not define.  Use definition in
16822         <ctype.h>.
16823         * resolv/gethnamaddr.c: Remove USE_OPTIONS_H conditional.
16824         (LOG_AUTH): Remove.
16825         (SPRINTF): Remove, adjust caller.
16826         (MULTI_PTRS_ARE_ALIASES): Remove, always defined.
16828 2016-04-28  Florian Weimer  <fweimer@redhat.com>
16830         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Remove
16831         SUNSECURITY conditional.
16832         * resolv/gethnamaddr.c (gethostbyaddr): Likewise.
16834 2016-04-28  Florian Weimer  <fweimer@redhat.com>
16836         * resolv/arpa/nameser.h: Include <sys/types.h> unconditionally.
16837         * resolv/gethnamaddr.c: Use include files from conf/portability.h.
16838         Remove BSD-related preprocessor conditionals.
16839         * conf/portability.h: Remove.
16841 2016-04-28  Florian Weimer  <fweimer@redhat.com>
16843         * resolv/resolv.h: Remove __BIND_NOSTATIC conditional.
16844         * resolv/res_data.c: Likewise.
16846 2016-04-28  Florian Weimer  <fweimer@redhat.com>
16848         * resolv/res_comp.c: Remove code conditional on __ultrix__.
16849         * resolv/res_data.c: Remove code conditional on ultrix.
16851 2016-04-28  Florian Weimer  <fweimer@redhat.com>
16853         * resolv/res_init.c (RFC1535): Do not define.  Remove
16854         RFC1535 preprocessor conditionals.
16855         * resolv/README: Update.  Do not claim strict RFC 1535 compliance
16856         because there configuration options which make the resolver
16857         behavior different.
16859 2016-04-28  Florian Weimer  <fweimer@redhat.com>
16861         * resolv/gethnamaddr.c (RESOLVSORT): Do not define.  Remove
16862         RESOLVSORT preprocessor conditionals.
16863         * resolv/nss_dns/dns-host.c: Likewise.
16864         * resolv/res_init.c: Likewise.
16866 2016-04-28  Florian Weimer  <fweimer@redhat.com>
16868         * resolv/res_data.c: Remove code conditional on BIND_UPDATE.  It
16869         is never defined.
16871 2016-04-28  Florian Weimer  <fweimer@redhat.com>
16873         * inet/inet_lnaof.c: Remove SCSS keyword.
16874         * inet/inet_mkadr.c: Likewise.
16875         * inet/inet_net.c: Likewise.
16876         * inet/inet_netof.c: Likewise.
16877         * inet/rcmd.c: Likewise.
16878         * inet/rexec.c: Likewise.
16879         * inet/ruserpass.c: Likewise.
16881 2016-04-28  Florian Weimer  <fweimer@redhat.com>
16883         * resolv/inet_addr.c: Remove _LIBC conditionals.
16884         * resolv/res_data.c: Likewise.
16885         * resolv/res_init.c: Likewise.
16886         * resolv/res_mkquery.c: Likewise.
16887         * resolv/res_libc.c: Update comment.
16888         * resolv/README: Update.
16890 2016-04-28  Florian Weimer  <fweimer@redhat.com>
16892         * resolv/gethnamaddr.c: Remove SCSS keyword.
16893         * resolv/herror.c: Likewise.
16894         * resolv/inet_addr.c: Likewise.
16895         * resolv/inet_net_ntop.c: Likewise.
16896         * resolv/inet_net_pton.c: Likewise.
16897         * resolv/inet_neta.c: Likewise.
16898         * resolv/inet_ntop.c: Likewise.
16899         * resolv/inet_pton.c: Likewise.
16900         * resolv/ns_date.c: Remove RCS keyword.
16901         * resolv/ns_name.c: Likewise.
16902         * resolv/ns_netint.c: Likewise.
16903         * resolv/ns_parse.c: Likewise.
16904         * resolv/ns_print.c: Likewise.
16905         * resolv/ns_samedomain.c: Likewise.
16906         * resolv/ns_ttl.c: Likewise.
16907         * resolv/nsap_addr.c: Likewise.
16908         * resolv/res_comp.c: Remove SCSS and RCS keyword.
16909         * resolv/res_data.c: Remove RCS keyword.
16910         * resolv/res_debug.c: Remove SCSS and RCS keyword.
16911         * resolv/res_init.c: Likewise.
16912         * resolv/res_mkquery.c: Likewise.
16913         * resolv/res_query.c: Likewise.
16914         * resolv/res_send.c: Likewise.
16916 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
16918         * conform/data/stdio.h-data (fdopen): Expect also for
16919         [XPG3 || XPG4].
16921         * conform/data/stdio.h-data (flockfile): Also expect for [UNIX98].
16922         (fseeko): Likewise.
16923         (ftello): Likewise.
16924         (ftrylockfile): Likewise.
16925         (funlockfile): Likewise.
16926         (getc_unlocked): Likewise.
16927         (getchar_unlocked): Likewise.
16928         (putc_unlocked): Likewise.
16929         (putchar_unlocked): Likewise.
16931 2016-04-27  Florian Weimer  <fweimer@redhat.com>
16933         [BZ #19868]
16934         * resolv/nss_dns/dns-network.c (getanswer_r): Implement additional
16935         DNS packet syntax checks (which were not needed before).  Skip
16936         over non-PTR records.
16938 2016-04-27  Florian Weimer  <fweimer@redhat.com>
16940         * resolv/nss_dns/dns-network.c (offsetof): Remove macro
16941         definition.  Include <stddef.h> instead.
16943 2016-04-27  Florian Weimer  <fweimer@redhat.com>
16945         [BZ #19831]
16946         * resolv/nss_dns/dns-host.c (rrtype_to_rdata_length): New
16947         function.
16948         (getanswer_r): Check RDATA length against RRTYPE and QTYPE.
16949         (gaih_getanswer_slice): Check RDATA length against RRTYPE.
16951 2016-04-27  Florian Weimer  <fweimer@redhat.com>
16953         [BZ #19862]
16954         * resolv/nss_dns/dns-host.c (AskedForGot): Remove.
16955         (getanswer_r): Do not call syslog.
16956         (gaih_getanswer_slice): Likewise.
16957         * resolv/gethnamaddr.c (AskedForGot): Remove.
16958         (getanswer): Do not call syslog.
16959         (gethostbyaddr): Likewise.
16961 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
16963         * conform/data/signal.h-data (union sigval): Expect also if
16964         [XOPEN2K].
16965         (struct sigevent): Likewise.
16966         (SIGEV_NONE): Likewise.
16967         (SIGEV_SIGNAL): Likewise.
16968         (SIGEV_THREAD): Likewise.
16969         (SIGRTMIN): Likewise.
16970         (SIGRTMAX): Likewise.
16971         * conform/Makefile (test-xfail-XOPEN2K/aio.h/conform): Remove
16972         variable.
16973         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
16975 2016-04-27  Florian Weimer  <fweimer@redhat.com>
16977         [BZ #19830]
16978         * resolv/nss_dns/dns-host.c (getanswer_r): Check RDATA length.
16979         (gaih_getanswer_slice): Likewise.
16980         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Likewise.
16981         Also check for availability of RR metadata.
16983 2016-04-27  Florian Weimer  <fweimer@redhat.com>
16985         [BZ #19825]
16986         * resolv/res_send.c (send_vc): Remove early *resplen2
16987         initialization.  Set *resplen2 on socket error.  Call
16988         close_and_return_error for other errors.
16990 2016-04-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
16992         * sysdeps/unix/sysv/linux/netiucv/iucv.h
16993         (SOL_IUCV, SO_IPRMDATA_MSG, SO_MSGLIMIT, SO_MSGSIZE)
16994         (SCM_IUCV_TRGCLS): New define.
16996 2016-04-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16998         [BZ #20005]
16999         * libio/fmemopen.c (fmemopen_write): Update internal position after
17000         write.
17001         * stdio-common/Makefile (tests): Add tst-fmemopen4.c.
17002         * stdio-common/tst-fmemopen4.c: New file..
17004 2016-04-26  Joseph Myers  <joseph@codesourcery.com>
17006         [BZ #19996]
17007         * locale/langinfo.h (nl_langinfo_l): Declare if [__USE_XOPEN2K8],
17008         not [__USE_XOPEN2K].
17009         * conform/Makefile (test-xfail-XOPEN2K/langinfo.h/conform): Remove
17010         variable.
17012         * conform/data/stdarg.h-data [XOPEN2K] (va_copy): Require macro.
17013         * conform/Makefile (test-xfail-XOPEN2K/stdarg.h/conform): Remove
17014         variable.
17016         * libio/stdio.h (off_t): Define if [__USE_XOPEN2K], not
17017         [__USE_XOPEN2K8].
17018         [__USE_LARGEFILE64] (off64_t): Likewise.
17019         * conform/Makefile (test-xfail-XOPEN2K/stdio.h/conform): Remove
17020         variable.
17022 2016-04-25  Joseph Myers  <joseph@codesourcery.com>
17024         [BZ #19989]
17025         * libio/stdio.h (cuserid): Do not declare if
17026         [__USE_XOPEN2K && !__USE_GNU].
17027         * conform/Makefile (test-xfail-XOPEN2K8/stdio.h/conform): Remove
17028         variable.
17030 2016-04-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17032         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
17033         (sysdep_routines): Add P8 and PPC64 strcspn targets.
17034         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
17035         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
17036         ifunc'ed strcspn.
17037         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
17038         [EALIGN]: Removed.
17039         [END]: Likewise
17040         [STRSPN]: Define instead of the above to control symbol name.
17041         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S:
17042         New file.
17043         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c:
17044         Likewise.
17045         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c:
17046         Likewise.
17047         * sysdeps/powerpc/powerpc64/power8/strcspn.S:
17048         Likewise.
17049         * sysdeps/powerpc/powerpc64/power8/strspn.S:
17050         [INITIAL_MASK]: New macro.
17051         [STRCSPN]: Likewise.
17052         [UPDATE_MASK]: Likewise.
17053         [USE_AS_STRCSPN]: Likewise.
17055 2016-04-25  Florian Weimer  <fweimer@redhat.com>
17057         [BZ #19931]
17058         * stdio-common/tst-vfprintf-width-prec.c: New file.
17059         * stdio-common/Makefile (tests): Add tst-vfprintf-width-prec.
17060         (tests-special): Add tst-vfprintf-width-prec-mem.out.
17061         (generated): Add mtrace-related files.
17062         (tst-vfprintf-width-prec-ENV): Set MALLOC_TRACE.
17063         (tst-%-mem.out): New pattern rule, replaces
17064         tst-printf-bz18872-mem.out.
17065         * stdio-common/vfprintf.c (vfprintf): When handling a precision
17066         specifier, deallocate any previously allocated work buffer.
17068 2016-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
17070         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__startcontext):
17071         Add nop before __startcontext, add explaining comments.
17073 2016-04-25  Samuel thibault  <samuel.thibault@ens-lyon.org>
17075         RFC2292 macros were obsoleted by RFC3542, and should not be exposed
17076         any more. Notably since IPV6_PKTINFO has been reintroduced with a
17077         completely different API.
17079         * bits/in.h (IPV6_PKTINFO): Rename to IPV6_2292PKTINFO.
17080         (IPV6_HOPOPTS): Rename to IPV6_2292HOPOPTS.
17081         (IPV6_DSTOPTS): Rename to IPV6_2292DSTOPTS.
17082         (IPV6_RTHDR): Rename to IPV6_2292RTHDR.
17083         (IPV6_PKTOPTIONS): Rename to IPV6_2292PKTOPTIONS.
17084         (IPV6_HOPLIMIT): Rename to IPV6_2292HOPLIMIT.
17085         (IPV6_RECVPKTINFO, IPV6_PKTINFO, IPV6_RECVHOPLIMIT, IPV6_HOPLIMIT,
17086         IPV6_RECVHOPOPTS, IPV6_HOPOPTS, IPV6_RTHDRDSTOPTS, IPV6_RECVRTHDR,
17087         IPV6_RTHDR, IPV6_RECVDSTOPTS, IPV6_DSTOPTS, IPV6_RECVPATHMTU,
17088         IPV6_PATHMTU, IPV6_DONTFRAG): New macros.
17090 2016-04-23  H.J. Lu  <hongjiu.lu@intel.com>
17092         * elf/dl-minimal.c (__libc_memalign): Mmap one extra page.
17094 2016-04-23  Mike Frysinger  <vapier@gentoo.org>
17096         * locale/programs/ld-time.c (time_finish): Set week_1stweek to 7
17097         when it is the default of 0.
17099 2016-04-22  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
17101         * sysdeps/powerpc/locale-defines.sym:  Add new macros.
17102         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
17103         (sysdep_routines): Add new strcasestr targets.
17104         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
17105         (__libc_ifunc_impl_list): Likewise.
17106         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: New file.
17107         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-ppc64.c: New file.
17108         * sysdeps/powerpc/powerpc64/multiarch/strcasestr.c: New file.
17109         * sysdeps/powerpc/powerpc64/power8/Makefile:
17110         New file to add strcasestr-ppc64 to sysdep_routines.
17111         * sysdeps/powerpc/powerpc64/power8/strcasestr-ppc64.c: New file.
17112         * sysdeps/powerpc/powerpc64/power8/strcasestr.S: New file.
17114 2016-04-20  Siddhesh Poyarekar  <sid@reserved-bit.com>
17116         * benchtests/Makefile (wcsmbs-benchset): Include only for
17117         native builds and runs.
17118         (LOCALES): Likewise.
17119         (bench-build): Build timing-type here instead of the bench
17120         target.  Generate locale only for native builds.
17121         * benchtests/README: Add note for cross-building.
17123         * benchtests/Makefile (bench-clean): Clean up extra-objs.
17125         * benchtests/README: Update README to include instructions on
17126         using bench-build.
17128         * Makefile.in (bench-build): New target.
17129         * Rules (PHONY): Add bench-build target.
17130         * benchtests/Makefile (bench): Depend on bench-build.
17131         (bench-build): New target.
17133 2016-04-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17135         * sysdeps/mach/hurd/profil.c (update_waiter): Initialize
17136         profil_reply_port.
17137         (profile_waiter): Do not initialize profil_reply_port.
17138         * sysdeps/mach/hurd/profil.c (__profile_frequency): Return tick
17139         frequency instead of tick length in us.
17141 2016-04-18  Wilco Dijkstra  <wdijkstr@arm.com>
17143         [BZ #18712]
17144         * string/string-inlines.c (__STRING2_COPY_TYPE): Add, moved from string2.h.
17145         (__old_mempcpy_small): Likewise.
17146         (__old_strcpy_small): Likewise.
17147         (__old_stpcpy_small): Likewise.
17148         (__old_strpbrk_c2): Fix compat symbol name.
17149         (__old_strpbrk_c3): Likewise.
17150         * string/bits/string2.h (__STRING2_COPY_TYPE): Remove.
17151         (__mempcpy_small): Remove.
17152         (__strcpy_small): Remove.
17153         (__stpcpy_small): Remove.
17155 2016-04-16  Robin van der Vliet <info@robinvandervliet.com>
17157         [BZ #19400]
17158         * locale/iso-639.def: Add the Talossan/tzl language.
17160 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
17162         [BZ #16983]
17163         * locale/programs/ld-address.c (address_finish): Update postal_fmt
17164         comment.  Add "ln" to strchr check on postal_fmt.
17166 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
17168         * locale/programs/ld-telephone.c (telephone_finish): Add %t to the
17169         default tel_int_fmt.  Add "Cet" to strchr check on tel_int_fmt and
17170         tel_dom_fmt.
17172 2016-04-15  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
17174         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
17175         (sysdep_routines): Added __strlen_power8.
17176         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Added
17177         __strlen_power8 entry.
17178         * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: New file.
17179         Implementation for POWER8.
17180         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Added IFUNC selector
17181         for __strlen_power8.
17182         * sysdeps/powerpc/powerpc64/power8/strlen.S: New file.
17183         Implementation for POWER8.
17185 2016-04-15  Mike Frysinger  <vapier@gentoo.org>
17187         * locale/iso-4217.def: Add SSP and change ZMK to ZMW.
17189 2016-04-15   H.J. Lu  <hongjiu.lu@intel.com>
17191         * sysdeps/x86/cpu-features.c (init_cpu_features): Detect Intel
17192         Goldmont and Airmont processors.
17194 2016-04-15  Wilco Dijkstra  <wdijkstr@arm.com>
17196         * string/string.h: Use __GNUC_PREREQ(3,4) for bits/string2.h.
17197         * string/bits/string2.h (__STRING2_SMALL_GET16): Remove.
17198         (__STRING2_SMALL_GET32): Remove.
17199         (memset): Remove.
17200         (__memset_1): Remove.
17201         (__memset_gc): Remove.
17202         (__mempcpy): Remove.
17203         (mempcpy): Remove.
17204         (__mempcpy_args): Remove.
17205         (strchr): Remove.
17206         (strcpy): Remove.
17207         (strcpy_args): Remove.
17208         (__stpcpy_args): Remove.
17209         (__strcmp_cc): Remove.
17210         (__strcmp_gc): Remove.
17211         (strstr): Remove.
17213 2016-04-15  Yvan Roux  <yvan.roux@linaro.org>
17215         * stdlib/setenv.c (unsetenv): Fix ambiguous 'else'.
17216         * nis/nis_call.c (nis_server_cache_add): Likewise.
17218 2016-04-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17220         * sysdeps/unix/sysv/linux/sysdep.h: Include kernel-features.h.
17222 2016-04-14  Florian Weimer  <fweimer@redhat.com>
17224         * malloc/arena.c (__malloc_fork_lock_parent)
17225         (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Add
17226         internal_function attribute.
17228 2016-04-14  Stefan Liebler  <stli@linux.vnet.ibm.com>
17230         * stdio-common/printf_fp.c (__printf_fp_l):
17231         Rename ___printf_fp_l to __printf_fp_l and
17232         remove strong alias. Use libc_hidden_def instead
17233         of ldbl_hidden_def macro.
17235 2016-04-14  Florian Weimer  <fweimer@redhat.com>
17237         Remove malloc hooks from fork handler.  They are no longer needed
17238         because malloc runs right before fork, and no malloc calls from
17239         other fork handlers are not possible anymore.
17240         * malloc/malloc.c (malloc_atfork, free_atfork): Remove
17241         declarations.
17242         * malloc/arena.c (save_malloc_hook, save_free_hook, save_arena)
17243         (ATFORK_ARENA_PTR, malloc_atfork, free_atfork)
17244         (atfork_recursive_cntr): Remove.
17245         (__malloc_fork_lock_parent): Do not override malloc hooks and
17246         thread_arena.
17247         (__malloc_fork_unlock_parent): Do not restore malloc hooks and
17248         thread_arena.
17249         (__malloc_fork_unlock_child): Do not restore malloc hooks.  Use
17250         thread_arena instead of save_arena.
17252 2016-04-14  Florian Weimer  <fweimer@redhat.com>
17254         * sysdeps/nptl/malloc-machine.h (ATFORK_MEM, __dso_handle)
17255         (thread_atfork, thread_atfork_static): Remove.
17256         * sysdeps/mach/hurd/malloc-machine.h:
17257         (thread_atfork, thread_atfork_static): Remove.
17259 2016-04-14  Florian Weimer  <fweimer@redhat.com>
17261         [BZ #19431]
17262         Run the malloc fork handler as late as possible to avoid deadlocks.
17263         * malloc/malloc-internal.h: New file.
17264         * malloc/malloc.c: Include it.
17265         * malloc/arena.c (ATFORK_MEM): Remove.
17266         (__malloc_fork_lock_parent): Rename from ptmalloc_lock_all.
17267         Update comment.
17268         (__malloc_fork_unlock_parent): Rename from ptmalloc_unlock_all.
17269         (__malloc_fork_unlock_child): Rename from ptmalloc_unlock_all2.
17270         Remove outdated comment.
17271         (ptmalloc_init): Do not call thread_atfork.  Remove
17272         thread_atfork_static.
17273         * malloc/tst-malloc-fork-deadlock.c: New file.
17274         * Makefile (tests): Add tst-malloc-fork-deadlock.
17275         (tst-malloc-fork-deadlock): Link against libpthread.
17276         * manual/memory.texi (Aligned Memory Blocks): Update safety
17277         annotation comments.
17278         * sysdeps/nptl/fork.c (__libc_fork): Call
17279         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
17280         __malloc_fork_unlock_child.
17281         * sysdeps/mach/hurd/fork.c (__fork): Likewise.
17283 2016-04-14  Florian Weimer  <fweimer@redhat.com>
17285         [BZ #19613]
17286         Remove union wait.
17287         * bits/waitstatus.h (union wait, w_termsig, w_coredump, w_retcode)
17288         (w_stopsig, w_stopval): Remove.
17289         * include/sys/wait.h (__wait, __wait3, __wait4): Use int * for the
17290         stat_loc argument.
17291         * posix/sys/wait.h (__WAIT_INT, __WAIT_STATUS)
17292         (__WAIT_STATUS_DEFN): Remove.
17293         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
17294         (WIFSTOPPED, WIFCONTINUED, WCOREDUMP): Remove __WAIT_INT.
17295         (wait, wait3, wait4): Use int * for the stat_loc argument.
17296         * posix/wait.c (__wait): Likewise.
17297         * posix/wait3.c (__wait3): Likewise.
17298         * posix/wait4.c (__wait4): Likewise.
17299         * stdlib/stdlib.h (__WAIT_INT, __WAIT_STATUS)
17300         (__WAIT_STATUS_DEFN): Remove.
17301         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
17302         (WIFSTOPPED, WIFCONTINUED): Remove __WAIT_INT.
17303         * sysdeps/mach/hurd/wait4.c (__wait4): Use int * for the stat_loc
17304         argument.
17305         * sysdeps/posix/wait.c (__libc_wait): Likewise.
17306         * sysdeps/posix/wait3.c (__wait3): Likewise.
17307         * sysdeps/unix/bsd/wait.c (__libc_wait): Likewise.
17308         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
17309         * sysdeps/unix/bsd/waitpid.c (__waitpid): Remove cast.
17310         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Use int * for the
17311         stat_loc argument.
17312         * manual/process.texi (BSD Wait Functions): Remove union wait.
17314 2016-04-13  Andreas Schwab  <schwab@suse.de>
17316         * elf/Makefile (extra-test-objs): Add tst-tlsalign-vars.o.
17317         (test-extras): Add tst-tlsalign-vars.
17318         * math/Makefile: Wrap long lines.
17319         (libm-vec-test-wrappers): Define.
17320         (test-extras): Add $(libm-vec-test-wrappers).
17321         (extra-test-objs): Add $(libm-vec-test-wrappers) objects.
17322         * nss/Makefile (extra-test-objs): Add nss_test1.os.
17323         * stdlib/Makefile (extra-test-objs): Add $(modules-names) objects.
17324         * sysdeps/x86_64/Makefile (test-extras): Add tst-quadmod1pie
17325         tst-quadmod2pie tst-audit4-aux tst-audit10-aux.
17326         (extra-test-objs): Add corresponding objects.
17328 2016-04-12   H.J. Lu  <hongjiu.lu@intel.com>
17330         [BZ #19928]
17331         * sysdeps/x86_64/cacheinfo.c (__x86_shared_non_temporal_threshold):
17332         New.
17333         (init_cacheinfo): Set __x86_shared_non_temporal_threshold to 6
17334         times of shared cache size.
17335         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S
17336         (VMOVNT): New.
17337         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S
17338         (VMOVNT): Likewise.
17339         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
17340         (VMOVNT): Likewise.
17341         (VMOVU): Changed to movups for smaller code sizes.
17342         (VMOVA): Changed to movaps for smaller code sizes.
17343         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Update
17344         comments.
17345         (PREFETCH): New.
17346         (PREFETCH_SIZE): Likewise.
17347         (PREFETCHED_LOAD_SIZE): Likewise.
17348         (PREFETCH_ONE_SET): Likewise.
17349         Rewrite to use forward and backward loops, which move 4 vector
17350         registers at a time, to support overlapping addresses and use
17351         non temporal store if size is above the threshold and there is
17352         no overlap between destination and source.
17354 2016-04-12  Alex Smith  <alex.smith@imgtec.com>
17356         * sysdeps/unix/sysv/linux/mips/Makefile (sysdep_routines):
17357         Include dl-vdso.
17358         * sysdeps/unix/sysv/linux/mips/Versions: Add
17359         __vdso_clock_gettime.
17360         * sysdeps/unix/sysv/linux/mips/init-first.c: New file.
17361         * sysdeps/unix/sysv/linux/mips/libc-vdso.h: New file.
17362         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h:
17363         (INTERNAL_VSYSCALL_CALL): Define to be compatible with MIPS
17364         definitions of INTERNAL_SYSCALL_{ERROR_P,ERRNO}.
17365         (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
17366         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
17367         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
17368         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
17370 2016-04-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17372         * sysdeps/unix/sysv/linux/arm/pwrite.c: Remove file.
17373         * sysdeps/unix/sysv/linux/arm/pwrite64.c: Likewise.
17374         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
17375         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
17376         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
17377         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
17378         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
17379         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
17380         * sysdeps/unix/sysv/linux/wordsize-64/pwrite64.c: Likewise.
17381         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (prite): Remove
17382         syscalls generation.
17383         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
17384         [__NR_pwrite64] (__NR_write): Remove define.
17385         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
17386         [__NR_pwrite64] (__NR_write): Remove define.
17387         * sysdeps/unix/sysv/linux/pwrite.c [__NR_pwrite64] (__NR_pwrite):
17388         Remove define.
17389         (__libc_pwrite): Use SYSCALL_LL macro on offset argument.
17390         * sysdeps/unix/sysv/linux/pwrite64.c [__NR_pwrite64] (__NR_pwrite):
17391         Remove define.
17392         (__libc_pwrite64): Use SYSCALL_LL64 macro on offset argument.
17393         * sysdeps/unix/sysv/linux/sh/pwrite.c: Rewrite using default
17394         Linux implementation as base.
17395         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
17397         * sysdeps/unix/sysv/linux/arm/pread.c: Remove file.
17398         * sysdeps/unix/sysv/linux/arm/pread64.c: Likewise.
17399         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
17400         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
17401         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise,
17402         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
17403         * sysdeps/unix/sysv/linux/wordsize-64/pread64.c: Likewise.
17404         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (pread): Remove
17405         syscall generation.
17406         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
17407         [__NR_pread64] (__NR_pread): Remove define.
17408         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
17409         [__NR_pread64] (__NR_pread): Likewise.
17410         * sysdeps/unix/sysv/linux/pread.c [__NR_pread64] (__NR_pread): Remove
17411         define.
17412         (__libc_pread): Use SYSCALL_LL macro on offset argument.
17413         * sysdeps/unix/sysv/linux/pread64.c [__NR_pread64] (__NR_pread):
17414         Remove define.
17415         (__libc_pread64): Use SYSCALL_LL64 macro on offset argument.
17416         * sysdeps/unix/sysv/linux/sh/pread.c: Rewrite using default
17417         Linux implementation as base.
17418         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
17419         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
17420         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
17422         * sysdeps/unix/sysv/linux/generic/sysdep.h (__ALIGNMENT_ARG): Move
17423         definition.
17424         (__ALIGNMENT_COUNT): Likewise.
17425         * sysdeps/unix/sysv/linux/sysdep.h (__ALIGNMENT_ARG): To here.
17426         (__ALIGNMENT_COUNT): Likewise.
17427         (SYSCALL_LL): New define.
17428         (SYSCALL_LL64): Likewise.
17429         * sysdeps/unix/sysv/linux/mips/kernel-features.h:
17430         [_MIPS_SIM == _ABIO32] (__ASSUME_WORDSIZE64_ILP32): Define.
17431         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h:
17432         [ILP32] (__ASUME_WORDSIZE64_ILP32): Likewise.
17434         * sysdeps/unix/sysv/linux/arm/kernel-features.h
17435         (__ASSUME_ALIGNED_REGISTER_PAIRS): Define.
17436         * sysdeps/unix/sysv/linux/mips/kernel-features.h
17437         [_MIPS_SIM == _ABIO32] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
17438         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
17439         [!__powerpc64__] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
17441 2016-04-11  Florian Weimer  <fweimer@redhat.com>
17443         [BZ #19865]
17444         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Restore
17445         original buffer before retry.
17447 2016-04-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17449         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro)
17450         [!HAVE_AUX_VECTOR]: Do not define _dl_auxv field.
17451         * misc/getauxval.c (__getauxval) [!HAVE_AUX_VECTOR]: Do not go through
17452         GLRO(dl_auxv) list.
17453         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_VECTOR): Define before
17454         including <ldsodefs.h>.
17455         * sysdeps/nacl/ldsodefs.h (HAVE_AUX_VECTOR): Likewise.
17457 2016-04-09  Nick Alcock  <nick.alcock@oracle.com>
17459         * elf/rtld-Rules (rtld-compile-command.c): Add $(rtld-CFLAGS).
17460         * scripts/sysd-rules.awk: Substitute in $(CFLAGS) as well as
17461         $(CPPFLAGS).
17463 2016-04-09  Khem Raj  <raj.khem@gmail.com>
17465         [BZ #17950]
17466         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os):
17467         Add -mfpmath=387.
17469 2016-04-09  Mike Frysinger  <vapier@gentoo.org>
17471         * sysdeps/i386/configure.ac: Change == to = when calling test.
17472         * sysdeps/x86_64/configure.ac: Likewise.
17473         * sysdeps/i386/configure: Regenerated.
17474         * sysdeps/x86_64/configure: Likewise.
17476 2016-04-08  Mike Frysinger  <vapier@gentoo.org>
17478         [BZ #16137]
17479         * benchtests/Makefile (LOCALES): Change iw_IL to he_IL.
17480         * benchtests/bench-strcoll.c (input_files): Likewise.
17481         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
17482         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Rename to ...
17483         * benchtests/strcoll-inputs/lorem_ipsum#he_IL.UTF-8: ... here.
17485 2016-04-08  Joseph Myers  <joseph@codesourcery.com>
17487         [BZ #19929]
17488         * include/bits/xopen_lim.h (NL_NMAX): Do not define if
17489         [__USE_XOPEN2K8 && !__USE_GNU].
17490         * conform/Makefile (test-xfail-XOPEN2K8/limits.h/conform): Remove
17491         variable.
17493         [BZ #19925]
17494         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (XCASE): Do not
17495         define if [!__USE_MISC && __USE_XOPEN2K].
17496         * sysdeps/unix/sysv/linux/bits/termios.h (XCASE): Likewise.
17497         * sysdeps/unix/sysv/linux/mips/bits/termios.h (XCASE): Likewise.
17498         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (XCASE):
17499         Likewise.
17500         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (XCASE): Likewise.
17501         * conform/Makefile (test-xfail-XOPEN2K/termios.h/conform): Remove
17502         variable.
17503         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
17505 2016-04-07  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17507         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
17508         (sysdep_routines): Add new strspn targets.
17509         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
17510         (__libc_ifunc_impl_list): Add strspn.
17511         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
17512         New file.
17513         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c:
17514         Likewise.
17515         * sysdeps/powerpc/powerpc64/multiarch/strspn.c:
17516         Likewise.
17517         * sysdeps/powerpc/powerpc64/power8/strspn.S:
17518         Likewise.
17520 2016-04-07  Florian Weimer  <fweimer@redhat.com>
17522         * misc/hsearch_r.c: Include <limits.h>.
17524 2016-04-07  Florian Weimer  <fweimer@redhat.com>
17526         * malloc/scratch_buffer_set_array_size.c: Include <limits.h>.
17528 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
17530         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
17531         (MEMCPY_SYMBOL): New.
17532         (MEMPCPY_SYMBOL): Likewise.
17533         (MEMMOVE_CHK_SYMBOL): Likewise.
17534         Replace MEMMOVE_SYMBOL with MEMMOVE_CHK_SYMBOL on __mempcpy_chk
17535         symbols.  Replace MEMMOVE_SYMBOL with MEMPCPY_SYMBOL on
17536         __mempcpy symbols.  Provide alias for __memcpy_chk in libc.a.
17537         Provide alias for memcpy in libc.a and ld.so.
17539 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
17541         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
17542         (MEMSET_CHK_SYMBOL): New.  Define if not defined.
17543         (__bzero): Check VEC_SIZE == 16 instead of USE_MULTIARCH.
17544         Disabled fro now.
17545         Replace MEMSET_SYMBOL with MEMSET_CHK_SYMBOL on __memset_chk
17546         symbols.  Properly check USE_MULTIARCH on __memset symbols.
17548 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
17550         * benchtests/Makefile (string-benchset): Add memcpy-large,
17551         memmove-large and memset-large.
17552         * benchtests/bench-memcpy-large.c: New file.
17553         * benchtests/bench-memmove-large.c: Likewise.
17554         * benchtests/bench-memmove-large.c: Likewise.
17555         * benchtests/bench-string.h (TIMEOUT): Don't redefine.
17557 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
17559         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Force
17560         32-bit displacement to avoid long nop between instructions.
17562 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
17564         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Add
17565         a comment on VMOVU and VMOVA.
17567 2016-04-04  Florian Weimer  <fweimer@redhat.com>
17569         [BZ #19633]
17570         Use specified locale for number formatting in strfmon_l.
17571         * locale/localeinfo.h (__nl_lookup, _nl_lookup_wstr)
17572         (__nl_lookup_word): New inline functions.
17573         * include/printf.h (__print_fp_l): Declare.
17574         * stdio-common/printf_fp.c (___printf_fp_l): Renamed from
17575         ___printf_fp.  Add locale argument.  Replace _NL_CURRENT with
17576         _nl_lookup and _NL_CURRENT_WORD with _nl_lookup_word.
17577         (___printf_fp): New function.
17578         * stdlib/strfmon_l.c (__printf_fp): Remove declaration.
17579         (__vstrfmon_l): Call __printf_fp_l instead of printf_fp.
17580         * stdlib/tst-strfmon_l.c (do_test): New test.
17581         * stdlib/Makefile (tests): Add kt.
17582         (LOCALES): Build additional locales.
17583         (tst-strfmon_l.out): Require locales.
17585 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
17587         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: Skip
17588         if not in libc.
17589         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
17590         Likewise.
17591         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S:
17592         Likewise.
17593         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
17594         Likewise.
17596 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
17598         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
17599         (__mempcpy_erms, __memmove_erms): Moved before __mempcpy_chk
17600         with unaligned_erms.
17601         (__memmove_erms): Skip if source == destination.
17602         (__memmove_unaligned_erms): Don't check source == destination
17603         first.
17605 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
17607         * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
17608         bit_arch_Fast_Copy_Backward for Intel Core proessors.
17610 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17612         * string/strcspn.c (strcspn): Use PTR_ALIGN_DOWN.
17613         * string/strspn.c (strspn): Likewise.
17615 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
17617         * benchtests/bench-memset.c (do_test): Support 64-byte
17618         alignment.
17619         (test_main): Test 64-byte alignment.
17621 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
17623         * benchtests/bench-memmove.c (test_main): Test 64-byte
17624         alignment.
17626 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
17628         * benchtests/bench-memcpy.c (test_main): Test 64-byte alignment.
17630 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17632         * sysdeps/powerpc/powerpc64/strcspn.S: Remove file.
17633         * sysdeps/powerpc/powerpc64/strpbrk.S: Remove file.
17634         * sysdeps/powerpc/powerpc64/strspn.S: Remove file.
17636         * string/strpbrk.c (strpbrk): Rewrite function.
17637         * string/bits/string2.h (strpbrk): Use __builtin_strpbrk.
17638         (__strpbrk_c2): Likewise.
17639         (__strpbrk_c3): Likewise.
17640         * string/string-inlines.c
17641         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c2):
17642         Likewise.
17643         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c3):
17644         Likewise.
17646         * string/strspn.c (strcspn): Rewrite function.
17647         * string/bits/string2.h (strspn): Use __builtin_strcspn.
17648         (__strspn_c1): Remove inline function.
17649         (__strspn_c2): Likewise.
17650         (__strspn_c3): Likewise.
17651         * string/string-inlines.c
17652         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c1): Add
17653         compatibility symbol.
17654         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c2):
17655         Likewise.
17656         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c3):
17657         Likewise.
17658         * string/string-inlines.c: Include generic version.
17660 2016-04-01  Wilco Dijkstra  <wdijkstr@arm.com>
17661             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17663         * string/Version (libc): Add GLIBC_2.24.
17664         * string/strcspn.c (strcspn): Rewrite function.
17665         * string/bits/string2.h (strcspn): Use __builtin_strcspn.
17666         (__strcspn_c1): Remove inline function.
17667         (__strcspn_c2): Likewise.
17668         (__strcspn_c3): Likewise.
17669         * string/string-inline.c
17670         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c1): Add
17671         compatibility symbol.
17672         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c2):
17673         Likewise.
17674         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c3):
17675         Likewise.
17676         * sysdeps/i386/string-inlines.c: Include generic string-inlines.c.
17678 2016-04-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
17680         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
17681         Use ahi instead of aghi to adjust stack pointer.
17683 2016-03-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17685         [BZ #19853]
17686         * stdio-common/tst-sprintf3.c [TEST_N]: Refactor
17687         TEST to take significant digits as second parameter.
17688         [TEST]: Redefine in terms of TEST_N taking 30
17689         significant digits.
17690         (do_test): Add test case to demonstrate precision
17691         failure in the ldbl-128ibm printf.
17692         * sysdeps/ieee754/ldbl-128ibm/ldbl2pm.c:
17693         (__mpn_extract_long_double): Carry 7 extra intermediate
17694         bits of precision to aide computing difference when
17695         signs differ.
17697 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
17699         [BZ #19881]
17700         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
17701         memset-sse2-unaligned-erms, memset-avx2-unaligned-erms and
17702         memset-avx512-unaligned-erms.
17703         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
17704         (__libc_ifunc_impl_list): Test __memset_chk_sse2_unaligned,
17705         __memset_chk_sse2_unaligned_erms, __memset_chk_avx2_unaligned,
17706         __memset_chk_avx2_unaligned_erms, __memset_chk_avx512_unaligned,
17707         __memset_chk_avx512_unaligned_erms, __memset_sse2_unaligned,
17708         __memset_sse2_unaligned_erms, __memset_erms,
17709         __memset_avx2_unaligned, __memset_avx2_unaligned_erms,
17710         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
17711         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S: New
17712         file.
17713         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
17714         Likewise.
17715         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S:
17716         Likewise.
17717         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S:
17718         Likewise.
17720 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
17722         [BZ #19776]
17723         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
17724         memmove-sse2-unaligned-erms, memmove-avx-unaligned-erms and
17725         memmove-avx512-unaligned-erms.
17726         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
17727         (__libc_ifunc_impl_list): Test
17728         __memmove_chk_avx512_unaligned_2,
17729         __memmove_chk_avx512_unaligned_erms,
17730         __memmove_chk_avx_unaligned_2, __memmove_chk_avx_unaligned_erms,
17731         __memmove_chk_sse2_unaligned_2,
17732         __memmove_chk_sse2_unaligned_erms, __memmove_avx_unaligned_2,
17733         __memmove_avx_unaligned_erms, __memmove_avx512_unaligned_2,
17734         __memmove_avx512_unaligned_erms, __memmove_erms,
17735         __memmove_sse2_unaligned_2, __memmove_sse2_unaligned_erms,
17736         __memcpy_chk_avx512_unaligned_2,
17737         __memcpy_chk_avx512_unaligned_erms,
17738         __memcpy_chk_avx_unaligned_2, __memcpy_chk_avx_unaligned_erms,
17739         __memcpy_chk_sse2_unaligned_2, __memcpy_chk_sse2_unaligned_erms,
17740         __memcpy_avx_unaligned_2, __memcpy_avx_unaligned_erms,
17741         __memcpy_avx512_unaligned_2, __memcpy_avx512_unaligned_erms,
17742         __memcpy_sse2_unaligned_2, __memcpy_sse2_unaligned_erms,
17743         __memcpy_erms, __mempcpy_chk_avx512_unaligned_2,
17744         __mempcpy_chk_avx512_unaligned_erms,
17745         __mempcpy_chk_avx_unaligned_2, __mempcpy_chk_avx_unaligned_erms,
17746         __mempcpy_chk_sse2_unaligned_2, __mempcpy_chk_sse2_unaligned_erms,
17747         __mempcpy_avx512_unaligned_2, __mempcpy_avx512_unaligned_erms,
17748         __mempcpy_avx_unaligned_2, __mempcpy_avx_unaligned_erms,
17749         __mempcpy_sse2_unaligned_2, __mempcpy_sse2_unaligned_erms and
17750         __mempcpy_erms.
17751         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: New
17752         file.
17753         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
17754         Likewise.
17755         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
17756         Likewise.
17757         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
17758         Likewise.
17760 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
17762         * sysdeps/s390/bits/link.h: (La_s390_vr) New typedef.
17763         (La_s390_32_regs): Append vector register lr_v24-lr_v31.
17764         (La_s390_64_regs): Likewise.
17765         (La_s390_32_retval): Append vector register lrv_v24.
17766         (La_s390_64_retval): Likeweise.
17767         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
17768         Handle extended structs La_s390_32_regs and La_s390_32_retval.
17769         * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
17770         Handle extended structs La_s390_64_regs and La_s390_64_retval.
17772 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
17774         [BZ #19916]
17775         * sysdeps/s390/s390-32/dl-trampoline.S: Include dl-trampoline.h twice
17776         to create a non-vector/vector version for _dl_runtime_resolve and
17777         _dl_runtime_profile. Move implementation to ...
17778         * sysdeps/s390/s390-32/dl-trampoline.h: ... here.
17779         (_dl_runtime_resolve) Save and restore fpr/vrs.
17780         (_dl_runtime_profile) Save and restore vrs and fix some issues
17781         if _dl_call_pltexit is called.
17782         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup):
17783         Choose the correct resolver function if running on a machine with vx.
17784         * sysdeps/s390/s390-64/dl-trampoline.S: Include dl-trampoline.h twice
17785         to create a non-vector/vector version for _dl_runtime_resolve and
17786         _dl_runtime_profile. Move implementation to ...
17787         * sysdeps/s390/s390-64/dl-trampoline.h: ... here.
17788         (_dl_runtime_resolve) Save and restore fpr/vrs.
17789         (_dl_runtime_profile) Save and restore vrs and fix some issues
17790         * sysdeps/s390/s390-64/dl-machine.h: (elf_machine_runtime_setup):
17791         Choose the correct resolver function if running on a machine with vx.
17793 2016-03-31  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17795         * elf/tst-dlsym-error.c: Include <string.h> for strchrnul.
17797 2016-03-31  Florian Weimer  <fweimer@redhat.com>
17799         [BZ #19509]
17800         * elf/dl-lookup.c (_dl_lookup_symbol_x): Report error even if
17801         skip_map != NULL.
17802         * elf/tst-dlsym-error.c: New file.
17803         * elf/Makefile (tests): Add tst-dlsym-error.
17804         (tst-dlsym-error): Link against libdl.
17806 2016-03-29  Joseph Myers  <joseph@codesourcery.com>
17808         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
17809         (__ASSUME_FUTIMESAT): Remove macro.
17810         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: Remove file.
17812 2016-03-29  Florian Weimer  <fweimer@redhat.com>
17814         [BZ #19879]
17815         CVE-2016-3075
17816         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Do not
17817         copy name.
17819 2016-03-29  Florian Weimer  <fweimer@redhat.com>
17821         [BZ #19837]
17822         * nss/nss_db/db-XXX.c (_nss_db_getENTNAME_r): Propagate ERANGE
17823         error if parse_line fails.
17825 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
17827         * sysdeps/x86/cpu-features.h (bit_cpu_ERMS): New.
17828         (index_cpu_ERMS): Likewise.
17829         (reg_ERMS): Likewise.
17831 2016-03-28  Aurelien Jarno  <aurelien@aurel32.net>
17833         * sysdeps/unix/sysv/linux/sys/personality.h (UNAME26, FDPIC_FUNCPTRS,
17834         PER_LINUX_FDPIC): Add.
17836 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
17838         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
17839         memcpy-avx512-no-vzeroupper.
17840         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: Renamed
17841         to ...
17842         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: This.
17843         (MEMCPY): Don't define.
17844         (MEMCPY_CHK): Likewise.
17845         (MEMPCPY): Likewise.
17846         (MEMPCPY_CHK): Likewise.
17847         (MEMPCPY_CHK): Renamed to ...
17848         (__mempcpy_chk_avx512_no_vzeroupper): This.
17849         (MEMPCPY_CHK): Renamed to ...
17850         (__mempcpy_chk_avx512_no_vzeroupper): This.
17851         (MEMCPY_CHK): Renamed to ...
17852         (__memmove_chk_avx512_no_vzeroupper): This.
17853         (MEMCPY): Renamed to ...
17854         (__memmove_avx512_no_vzeroupper): This.
17855         (__memcpy_avx512_no_vzeroupper): New alias.
17856         (__memcpy_chk_avx512_no_vzeroupper): Likewise.
17858 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
17860         [BZ #18858]
17861         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
17862         mempcpy-ssse3, mempcpy-ssse3-back, mempcpy-avx-unaligned
17863         and mempcpy-avx512-no-vzeroupper.
17864         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMPCPY_CHK):
17865         New.
17866         (MEMPCPY): Likewise.
17867         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S
17868         (MEMPCPY_CHK): New.
17869         (MEMPCPY): Likewise.
17870         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S (MEMPCPY_CHK): New.
17871         (MEMPCPY): Likewise.
17872         * sysdeps/x86_64/multiarch/memcpy-ssse3.S (MEMPCPY_CHK): New.
17873         (MEMPCPY): Likewise.
17874         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: Removed.
17875         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S:
17876         Likewise.
17877         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: Likewise.
17878         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: Likewise.
17880 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
17881              Amit Pawar  <Amit.Pawar@amd.com>
17883         [BZ #19583]
17884         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
17885         Fast_Unaligned_Copy with Fast_Unaligned_Load for Intel
17886         processors.  Set Fast_Copy_Backward for AMD Excavator
17887         processors.
17888         * sysdeps/x86/cpu-features.h (bit_arch_Fast_Unaligned_Copy):
17889         New.
17890         (index_arch_Fast_Unaligned_Copy): Likewise.
17891         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check
17892         Fast_Unaligned_Copy instead of Fast_Unaligned_Load.
17894 2016-03-25  Florian Weimer  <fweimer@redhat.com>
17896         [BZ #19791]
17897         * resolv/res_send.c (close_and_return_error): New function.
17898         (send_dg): Initialize *resplen2 after reopen failure.  Call
17899         close_and_return_error for error returns.  On error paths without
17900         __res_iclose, initialze *resplen2 explicitly.  Update comment for
17901         successful return.
17903 2016-03-25  Florian Weimer  <fweimer@redhat.com>
17905         [BZ #19860]
17906         * sysdeps/x86_64/tst-audit10.c (avx512_enabled): Always return
17907         zero if the compiler does not provide the AVX512F bit.
17909 2016-03-24  Joseph Myers  <joseph@codesourcery.com>
17911         [BZ #19848]
17912         * sysdeps/i386/fpu/e_powl.S (p3): Rename to p2 and change value
17913         from 8 to 4.
17914         (__ieee754_powl): Compare integer exponent against 4 not 8.
17915         * sysdeps/x86_64/fpu/e_powl.S (p3): Rename to p2 and change value
17916         from 8 to 4.
17917         (__ieee754_powl): Compare integer exponent against 4 not 8.
17918         * math/auto-libm-test-in: Add more tests of pow.
17919         * math/auto-libm-test-out: Regenerated.
17920         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
17921         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17923 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
17925         * sysdeps/unix/sysv/linux/futimens.c (futimens) [__NR_utimensat]:
17926         Make code unconditional.
17927         [!__NR_utimensat]: Remove conditional code.
17928         * sysdeps/unix/sysv/linux/lutimes.c (lutimes) [__NR_utimensat]:
17929         Make code unconditional.
17930         [!__NR_utimensat]: Remove conditional code.
17931         * sysdeps/unix/sysv/linux/utimensat.c (utimensat) [__NR_utimensat]:
17932         Make code unconditional.
17933         [!__NR_utimensat]: Remove conditional code.
17935 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
17937         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64) [__NR_openat]:
17938         Make code unconditional.
17940 2016-03-23  Nick Alcock  <nick.alcock@oracle.com>
17942         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Reload
17943         call-clobbered %eax on retry path.
17944         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
17946 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
17948         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMCPY):
17949         Don't set %rcx twice before "rep movsb".
17951 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
17953         [BZ #19583]
17954         * sysdeps/x86/cpu-features.c (get_common_indeces): Remove
17955         inline.  Check family before setting family, model and
17956         extended_model.  Set AVX, AVX2, AVX512, FMA and FMA4 usable
17957         bits here.
17958         (init_cpu_features): Replace HAS_CPU_FEATURE and
17959         HAS_ARCH_FEATURE with CPU_FEATURES_CPU_P and
17960         CPU_FEATURES_ARCH_P.  Set index_arch_AVX_Fast_Unaligned_Load
17961         for Intel processors with usable AVX2.  Call get_common_indeces
17962         for other processors with family == NULL.
17963         * sysdeps/x86/cpu-features.h (CPU_FEATURES_CPU_P): New macro.
17964         (CPU_FEATURES_ARCH_P): Likewise.
17965         (HAS_CPU_FEATURE): Use CPU_FEATURES_CPU_P.
17966         (HAS_ARCH_FEATURE): Use CPU_FEATURES_ARCH_P.
17968 2016-03-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17970         * malloc/Makefile ($(objpfx)tst-malloc-backtrace,
17971         $(objpfx)tst-malloc-thread-exit, $(objpfx)tst-malloc-thread-fail): Use
17972         $(shared-thread-library) instead of hardcoding the path to libpthread.
17974 2016-03-22  Joseph Myers  <joseph@codesourcery.com>
17976         * sysdeps/unix/sysv/linux/kernel-features.h
17977         (__ASSUME_GETDENTS64_SYSCALL): Remove macro.
17978         * sysdeps/unix/sysv/linux/getdents.c
17979         [!__ASSUME_GETDENTS64_SYSCALL]: Remove conditional code.
17980         [!have_no_getdents64_defined]: Likewise.
17981         (__GETDENTS): Remove __have_no_getdents64 conditional.
17983 2016-03-21  Joseph Myers  <joseph@codesourcery.com>
17985         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SIGNALFD4):
17986         Remove macro.
17987         * sysdeps/unix/sysv/linux/signalfd.c: Do not include
17988         <kernel-features.h>.
17989         (signalfd) [__NR_signalfd4]: Make code unconditional.
17990         (signalfd) [!__ASSUME_SIGNALFD4]: Remove conditional code.
17992 2016-03-21  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17994         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix implict checks
17995         style.
17997 2016-03-21  H.J. Lu  <hongjiu.lu@intel.com>
17999         * sysdeps/unix/sysv/linux/x86_64/cancellation.S
18000         (__pthread_enable_asynccancel): Use JUMPTARGET to call
18001         __pthread_unwind.
18002         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
18003         (__condvar_cleanup2): Use JUMPTARGET to call _Unwind_Resume.
18004         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
18005         (__condvar_cleanup1): Likewise.
18007 2016-03-21  Dylan Alex Simon  <dylan-sourceware@dylex.net>
18009         [BZ #19822]
18010         * math/Makefile ($(inst_libdir)/libm.so): Write output to $@.tmp and
18011         move it to the final $@ location.
18013 2016-03-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18015         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix invalid memory
18016         access where posix_spawn success and pid argument is null.
18017         * posix/tst-spawn.c (do_test): Add posix_spawn null pid argument for
18018         success case.
18020 2016-03-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>:
18022         * sysdeps/mach/hurd/i386/c++-types.data: New file.
18024         * sysdeps/mach/hurd/libc-lock.h (_IO_lock_inexpensive): Define to 1.
18026         * sysdeps/generic/dl-fcntl.h: New file, adds attribute_hidden to __open
18027         and __fcntl.
18028         * sysdeps/mach/hurd/dl-fcntl.h: New file, adds attribute_hidden to
18029         __fcntl only.
18030         * include/fcntl.h [IS_IN (rtld)]: Include <dl-fcntl.h> instead of
18031         adding attribute_hidden to __open and __fcntl.
18033         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Strip
18034         "-include $(common-objpfx)libc-modules.h" from CPPFLAGS, and do not
18035         depend on libc-modules.h,
18036         * mach/Makefile ($(objpfx)mach-syscalls.mk): Depend on libc-modules.h.
18038 2016-03-17  Joseph Myers  <joseph@codesourcery.com>
18040         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EVENTFD2):
18041         Remove macro.
18042         * sysdeps/unix/sysv/linux/eventfd.c: Remove file.
18043         * sysdeps/unix/sysv/linux/syscalls.list (eventfd): New syscall
18044         entry.
18046         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FALLOCATE):
18047         Remove macro.
18048         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Do not
18049         include <kernel-features.h>.
18050         [!__ASSUME_FALLOCATE]: Remove conditional code.
18051         (posix_fallocate) [__NR_fallocate]: Make code unconditional.
18053 2016-03-16  H.J. Lu  <hongjiu.lu@intel.com>
18055         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S
18056         (_ZGVbN2v_cos_sse4): Use JUMPTARGET to call cos.
18057         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S
18058         (_ZGVdN4v_cos_avx2): Likewise.
18059         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S
18060         (_ZGVdN4v_cos): Likewise.
18061         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S
18062         (_ZGVbN2v_exp_sse4): Use JUMPTARGET to call exp.
18063         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S
18064         (_ZGVdN4v_exp_avx2): Likewise.
18065         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S
18066         (_ZGVdN4v_exp): Likewise.
18067         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S
18068         (_ZGVbN2v_log_sse4): Use JUMPTARGET to call log.
18069         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S
18070         (_ZGVdN4v_log_avx2): Likewise.
18071         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S
18072         (_ZGVdN4v_log): Likewise.
18073         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S
18074         (_ZGVbN2vv_pow_sse4): Use JUMPTARGET to call pow.
18075         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S
18076         (_ZGVdN4vv_pow_avx2): Likewise.
18077         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S
18078         (_ZGVdN4vv_pow): Likewise.
18079         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S
18080         (_ZGVbN2v_sin_sse4): Use JUMPTARGET to call sin.
18081         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S
18082         (_ZGVdN4v_sin_avx2): Likewise.
18083         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S
18084         (_ZGVdN4v_sin): Likewise.
18085         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S
18086         (_ZGVbN2vvv_sincos_sse4): Use JUMPTARGET to call sin and cos.
18087         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S
18088         (_ZGVdN4vvv_sincos_avx2): Likewise.
18089         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S
18090         (_ZGVdN4vvv_sincos): Likewise.
18091         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S
18092         (_ZGVdN8v_cosf): Use JUMPTARGET to call cosf.
18093         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S
18094         (_ZGVbN4v_cosf_sse4): Likewise.
18095         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S
18096         (_ZGVdN8v_cosf_avx2): Likewise.
18097         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S
18098         (_ZGVdN8v_expf): Use JUMPTARGET to call expf.
18099         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S
18100         (_ZGVbN4v_expf_sse4): Likewise.
18101         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S
18102         (_ZGVdN8v_expf_avx2): Likewise.
18103         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S
18104         (_ZGVdN8v_logf): Use JUMPTARGET to call logf.
18105         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S
18106         (_ZGVbN4v_logf_sse4): Likewise.
18107         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S
18108         (_ZGVdN8v_logf_avx2): Likewise.
18109         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S
18110         (_ZGVdN8vv_powf): Use JUMPTARGET to call powf.
18111         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S
18112         (_ZGVbN4vv_powf_sse4): Likewise.
18113         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S
18114         (_ZGVdN8vv_powf_avx2): Likewise.
18115         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
18116         (_ZGVdN8vv_powf): Use JUMPTARGET to call sinf and cosf.
18117         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
18118         (_ZGVbN4vvv_sincosf_sse4): Likewise.
18119         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
18120         (_ZGVdN8vvv_sincosf_avx2): Likewise.
18121         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S
18122         (_ZGVdN8v_sinf): Use JUMPTARGET to call sinf.
18123         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S
18124         (_ZGVbN4v_sinf_sse4): Likewise.
18125         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S
18126         (_ZGVdN8v_sinf_avx2): Likewise.
18127         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h (WRAPPER_IMPL_SSE2):
18128         Use JUMPTARGET to call callee.
18129         (WRAPPER_IMPL_SSE2_ff): Likewise.
18130         (WRAPPER_IMPL_SSE2_fFF): Likewise.
18131         (WRAPPER_IMPL_AVX): Likewise.
18132         (WRAPPER_IMPL_AVX_ff): Likewise.
18133         (WRAPPER_IMPL_AVX_fFF): Likewise.
18134         (WRAPPER_IMPL_AVX512): Likewise.
18135         (WRAPPER_IMPL_AVX512_ff): Likewise.
18136         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h (WRAPPER_IMPL_SSE2):
18137         Likewise.
18138         (WRAPPER_IMPL_SSE2_ff): Likewise.
18139         (WRAPPER_IMPL_SSE2_fFF): Likewise.
18140         (WRAPPER_IMPL_AVX): Likewise.
18141         (WRAPPER_IMPL_AVX_ff): Likewise.
18142         (WRAPPER_IMPL_AVX_fFF): Likewise.
18143         (WRAPPER_IMPL_AVX512): Likewise.
18144         (WRAPPER_IMPL_AVX512_ff): Likewise.
18145         (WRAPPER_IMPL_AVX512_fFF): Likewise.
18147 2016-03-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18149         * sysdeps/mach/hurd/openat.c (__openat): Add missing ellipsis.
18150         * resolv/gai_sigqueue.c (__gai_sigqueue): Add missing internal_function
18151         qualifier.
18152         * /rt/aio_sigqueue.c (__aio_sigqueue): Add missing attribute_hidden
18153         internal_function qualifiers.
18155 2016-03-15  Carlos O'Donell <carlos@redhat.com>
18157         * catgets/tst-catgets.c (do_bz17905): Mark result unused.
18158         * dlfcn/bug-dl-leaf-lib.c (check_val_fini): Mark ret unused.
18159         * math/atest-exp.c (exp_mpn): Mark chk unused.
18160         * math/atest-exp2.c (exp_mpn): Likewise.
18161         * sysdeps/arm/dl-machine.h (elf_machine_rela): Mark td unused.
18162         * sysdeps/i386/i686/dl-hash.h: Mark _dl_elf_hash unused.
18164 2016-03-15  Joseph Myers  <joseph@codesourcery.com>
18166         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PPOLL):
18167         Remove macro.
18168         * sysdeps/unix/sysv/linux/ppoll.c: Do not include
18169         <kernel-features.h>.
18170         [__NR_ppoll]: Make code unconditional.
18171         [!__ASSUME_PPOLL]: Remove conditional code.
18173         * sysdeps/unix/sysv/linux/kernel-features.h
18174         (__ASSUME_ACCEPT4_SYSCALL): Define unconditionally.
18175         (__ASSUME_ACCEPT4): Likewise.
18176         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
18177         Define.
18178         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG):
18179         Likewise.
18180         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
18181         Likewise.
18182         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG):
18183         Likewise.
18184         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: Remove file.
18185         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: Likewise.
18186         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
18187         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
18188         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
18189         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
18190         * sysdeps/unix/sysv/linux/arm/kernel-features.h
18191         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
18192         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
18193         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
18194         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
18195         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
18196         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
18197         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
18198         * sysdeps/unix/sysv/linux/i386/kernel-features.h
18199         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
18200         Likewise.
18201         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
18202         Likewise.
18203         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
18204         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
18205         0x040300].
18206         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
18207         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
18208         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
18209         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
18210         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
18211         0x030300].
18212         [__LINUX_KERNEL_VERSION < 0x030300] (__ASSUME_ACCEPT4): Undefine.
18213         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
18214         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
18215         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
18216         0x040300].
18217         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
18218         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
18219         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
18220         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
18221         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
18222         (__ASSUME_SENDMMSG_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
18223         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
18224         0x030300].
18225         * sysdeps/unix/sysv/linux/mips/kernel-features.h
18226         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
18227         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
18228         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
18229         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
18230         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
18231         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
18232         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
18233         * sysdeps/unix/sysv/linux/s390/kernel-features.h
18234         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
18235         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
18236         0x040300].
18237         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
18238         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
18239         * sysdeps/unix/sysv/linux/sh/kernel-features.h
18240         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
18241         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
18242         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
18243         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
18244         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
18245         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
18246         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
18247         * sysdeps/unix/sysv/linux/tile/kernel-features.h
18248         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
18249         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
18250         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
18251         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h
18252         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
18253         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
18254         Likewise.
18255         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
18256         Likewise.
18258 2016-03-15  Andreas Schwab  <schwab@suse.de>
18260         [BZ #19257]
18261         * resolv/res_init.c (__res_iclose): Use statp->nscount instead of
18262         statp->_u._ext.nscount as loop count.
18264 2016-03-14  Andreas Schwab  <schwab@linux-m68k.org>
18266         * math/test-signgam-finite-c99.c: Also #undef
18267         __LIBC_INTERNAL_MATH_INLINES.
18268         * math/test-signgam-main.c: Likewise.
18270 2016-03-14  Joseph Myers  <joseph@codesourcery.com>
18272         * bits/mman-linux.h [__USE_MISC] (MADV_FREE): New macro.
18273         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
18274         (MADV_FREE): Likewise.
18275         * sysdeps/unix/sysv/linux/bits/in.h (IPV6_HDRINCL): Likewise.
18276         * sysdeps/unix/sysv/linux/sys/epoll.h (enum EPOLL_EVENTS): Add
18277         EPOLLEXCLUSIVE.
18279 2016-03-14  Carlos O'Donell  <carlos@redhat.com>
18281         * timezone/README: Remove mention of checktab.awk. Mention wiki
18282         SharedSourceFiles.
18284 2016-03-13  Samuel Thibault  <samuel.thibault@ens-lyon.org
18286         * sysdeps/posix/waitid.c (OUR_WAITID): Test against WSTOPPED instead of
18287         WUNTRACED.
18289 2016-03-11  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
18291         * malloc/malloc.c (malloc_consolidate): Replace 0 by NULL in
18292         order to match the type of p when calling atomic_exchange_acq().
18294 2016-03-11  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
18296         * sysdeps/powerpc/powerpc32/power4/memcmp.S (memcmp): Rearrange
18297         cfi_offset calls.
18298         * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
18299         * sysdeps/powerpc/powerpc32/power7/memcmp.S (memcmp): Likewise.
18300         * sysdeps/powerpc/powerpc64/power4/memcmp.S (memcmp): Likewise.
18301         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Likewise.
18302         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Likewise.
18304 2016-03-10  Carlos O'Donell  <carlos@redhat.com>
18306         * timezone/checktab.awk: Removed.
18308 2016-03-10  Joseph Myers  <joseph@codesourcery.com>
18310         * manual/math.texi (Errors in Math Functions): Document relaxed
18311         accuracy goals for IBM long double.
18312         * math/libm-test.inc (test_exceptions): Always allow spurious
18313         "underflow" and "inexact" exceptions for IBM long double.
18315 2016-03-10  H.J. Lu  <hongjiu.lu@intel.com>
18317         [BZ #19762]
18318         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
18319         (EXTRA_LD_ENVVARS): Add _arch_ to index_*/bit_*.
18320         * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
18321         * sysdeps/x86/cpu-features.h (bit_*): Renamed to ...
18322         (bit_arch_*): This for feature array.
18323         (bit_*): Renamed to ...
18324         (bit_cpu_*): This for cpu array.
18325         (index_*): Renamed to ...
18326         (index_arch_*): This for feature array.
18327         (index_*): Renamed to ...
18328         (index_cpu_*): This for cpu array.
18329         [__ASSEMBLER__] (HAS_FEATURE): Add and use field.
18330         [__ASSEMBLER__] (HAS_CPU_FEATURE)): Pass cpu to HAS_FEATURE.
18331         [__ASSEMBLER__] (HAS_ARCH_FEATURE)): Pass arch to HAS_FEATURE.
18332         [!__ASSEMBLER__] (HAS_CPU_FEATURE): Replace index_##name and
18333         bit_##name with index_cpu_##name and bit_cpu_##name.
18334         [!__ASSEMBLER__] (HAS_ARCH_FEATURE): Replace index_##name and
18335         bit_##name with index_arch_##name and bit_arch_##name.
18337 2016-03-09  Aurelien Jarno  <aurelien@aurel32.net>
18339         [BZ #19792]
18340         * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
18341         Terminate FDE before return label.
18343 2016-03-09  Joseph Myers  <joseph@codesourcery.com>
18345         [BZ #19790]
18346         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c [USE_AS_NEARBYINTL]
18347         (rintl): Define as macro.
18348         [USE_AS_NEARBYINTL] (__rintl): Likewise.
18349         (__rintl) [USE_AS_NEARBYINTL]: Use SET_RESTORE_ROUND_NOEX instead
18350         of fesetround.  Ensure results are evaluated before end of scope.
18351         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Define
18352         USE_AS_NEARBYINTL and include s_rintl.c.
18353         * sysdeps/powerpc/fpu/fenv_private.h (libc_feholdsetround_ppc):
18354         Disable exception traps in new environment.
18355         (libc_feholdsetround_ppc_ctx): Likewise.
18357 2016-03-08  Roland McGrath  <roland@hack.frob.com>
18359         * sysdeps/x86_64/tst-audit10.c: #include <cpu-features.h>.
18360         * sysdeps/x86_64/tst-audit10-aux.c: Move audit_test extern decl ...
18361         (tst_audit10_aux) [__AVX512F__]: ... here.
18363 2016-03-08  Aurelien Jarno  <aurelien@aurel32.net>
18365         * include/sys/auxv.h: New file.
18367 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
18369         [BZ #19759]
18370         * sysdeps/x86/bits/string.h (_HAVE_STRING_ARCH_mempcpy): New.
18372 2016-03-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
18374         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Remove use of %s
18375         operand modifier.
18376         (feclearexcept): Likewise.
18378 2016-03-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
18380         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Updated
18381         to reflect the entire 32-bit HWCAP.
18382         * sysdeps/powerpc/dl-procinfo.h: Code cleanup.
18383         (_DL_HWCAP_FIRST): Removed.  Replaced by 0 accordingly.
18385 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
18387         [BZ #19783]
18388         * benchtests/Makefile (run-bench): Replace $(rtld-prefix) with
18389         $(test-via-rtld-prefix).
18390         ($(binaries-bench)): Replace $(+link) with $(+link-tests).
18392 2016-03-08  Florian Weimer  <fweimer@redhat.com>
18394         * sunrpc/key_call.c (key_call_keyenvoy): Use int status instead of
18395         union wait.  Report any non-zero exit status as error.
18397 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18399         * posix/tst-execvpe5.c (do_test): Fix fix test invocation when
18400         configured with --enable-hardcoded-path-in-tests.
18402 2016-03-08  Joseph Myers  <joseph@codesourcery.com>
18404         [BZ #19677]
18405         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
18406         (__ieee754_remainderl): Put zero low parts in canonical form.
18407         * sysdeps/ieee754/ldbl-128ibm/test-fmodrem-ldbl-128ibm.c: New
18408         file.  Based on
18409         sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c.
18410         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: Replace
18411         with wrapper round test-fmodrem-ldbl-128ibm.c.
18412         * sysdeps/ieee754/ldbl-128ibm/test-remainderl-ldbl-128ibm.c: New
18413         file.
18414         * sysdeps/ieee754/ldbl-128ibm/test-remquol-ldbl-128ibm.c:
18415         Likewise.
18416         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
18417         test-remainderl-ldbl-128ibm and test-remquol-ldbl-128ibm.
18419 2016-03-07  Florian Weimer  <fweimer@redhat.com>
18421         [BZ #19610]
18422         * elf/ldconfig.c (opt_link): Update comment.
18423         (options): Update help string for option -X.
18424         (search_dir): Unlink stale symbolic link only if updating symbolic
18425         links.
18426         * elf/tst-ldconfig-X.sh: New file.
18427         * elf/Makefile (tests-special): Add tst-ldconfig-X.out.
18428         (tst-ldconfig-X.out): New rule to run tst-ldconfig-X.sh.
18430 2016-03-07  Andreas Schwab  <schwab@suse.de>
18432         * iconv/gconv_builtin.h ("=ascii->INTERNAL"): Correct min/max
18433         needed arguments.
18435 2016-03-07  Hongjiu Zhang  <noctuorare@gmail.com>
18437         [BZ #15333]
18438         * elf/sln.c (makesymlink): Change struct stat to stat64, and lstat
18439         to lstat64.
18441 2016-03-07  Florian Weimer  <fweimer@redhat.com>
18443         * libio/filedoalloc.c (isatty): Remove.
18444         (local_isatty): Add comment.  Call __isatty directly.
18445         (_IO_file_doallocate): Update comment.  Assume _LIBC.
18446         * libio/wfiledoalloc.c (isatty): Remove.
18447         (_IO_wfile_doallocate): Update comment.
18449 2016-03-07  Florian Weimer  <fweimer@redhat.com>
18451         [BZ #19269]
18452         * sysdeps/x86_64/Makefile (tst-audit4): Depend on
18453         tst-audit4-aux.o.
18454         (tst-audit10): Depend on tst-audit10-aux.o.
18455         (CFLAGS-tst-audit4-aux.c): Compile with AVX enabled.
18456         (CFLAGS-tst-audit10-aux.c): Compile with AVX512 enabled.
18457         * sysdeps/x86_64/tst-audit4.c (do_test): Call tst_audit4_aux
18458         instead of inline AVX code.
18459         * sysdeps/x86_64/tst-audit10.c (do_test): Call tst_audit10_aux
18460         instead of inline AVX512 code.
18461         * sysdeps/x86_64/tst-audit4-aux.c: New file
18462         * sysdeps/x86_64/tst-audit10-aux.c: New file
18464         [BZ #19648]
18465         * test-skeleton.c (main): Do not set RLIMIT_DATA.
18467 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18469         [BZ #14750]
18470         [BZ #10354]
18471         [BZ #18433]
18472         * include/sched.h (__clone): Add hidden prototype.
18473         (__clone2): Likewise.
18474         * include/unistd.h (__dup): Likewise.
18475         * posix/Makefile (tests): Add tst-spawn2.
18476         * posix/tst-spawn2.c: New file.
18477         * sysdeps/posix/dup.c (__dup): Add hidden definition.
18478         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Likewise.
18479         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
18480         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
18481         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
18482         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
18483         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise.
18484         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
18485         * sysdeps/unix/sysv/linux/microblaze/clone.S (__clone): Likewise.
18486         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
18487         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
18488         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
18489         Likewise.
18490         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
18491         Likewise.
18492         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
18493         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
18494         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
18495         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
18496         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
18497         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
18498         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
18499         * sysdeps/unix/sysv/linux/nptl-signals.h
18500         (____nptl_is_internal_signal): New function.
18501         * sysdeps/unix/sysv/linux/spawni.c: New file.
18503         * posix/execvpe.c (__execvpe): Remove dynamic allocation.
18504         * posix/Makefile (tests): Add tst-execvpe{1,2,3,4,5,6}.
18505         * posix/tst-execvp1.c (do_test): Use a macro to call execvp.
18506         * posix/tst-execvp2.c (do_test): Likewise.
18507         * posix/tst-execvp3.c (do_test): Likewise.
18508         * posix/tst-execvp4.c (do_test): Likewise.
18509         * posix/tst-execvpe1.c: New file.
18510         * posix/tst-execvpe2.c: Likewise.
18511         * posix/tst-execvpe3.c: Likewise.
18512         * posix/tst-execvpe4.c: Likewise.
18513         * posix/tst-execvpe5.c: Likewise.
18514         * posix/tst-execvpe6.c: Likewise.
18516         [BZ #19534]
18517         * posix/execl.c (execl): Remove dynamic memory allocation.
18518         * posix/execle.c (execle): Likewise.
18519         * posix/execlp.c (execlp): Likewise.
18521 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
18523         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S:
18524         Replace .text with .text.avx512.
18525         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
18526         Likewise.
18528 2016-03-07  Aurelien Jarno  <aurelien@aurel32.net>
18530         * sysdeps/generic/libnsl.abilist: New file.
18531         * sysdeps/generic/libutil.abilist: New file.
18533 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
18535         [BZ #19762]
18536         * sysdeps/i386/i686/multiarch/bcopy.S (bcopy): Use
18537         HAS_ARCH_FEATURE with Fast_Rep_String.
18538         * sysdeps/i386/i686/multiarch/bzero.S (__bzero): Likewise.
18539         * sysdeps/i386/i686/multiarch/memcpy.S (memcpy): Likewise.
18540         * sysdeps/i386/i686/multiarch/memcpy_chk.S (__memcpy_chk):
18541         Likewise.
18542         * sysdeps/i386/i686/multiarch/memmove_chk.S (__memmove_chk):
18543         Likewise.
18544         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy): Likewise.
18545         * sysdeps/i386/i686/multiarch/mempcpy_chk.S (__mempcpy_chk):
18546         Likewise.
18547         * sysdeps/i386/i686/multiarch/memset.S (memset): Likewise.
18548         * sysdeps/i386/i686/multiarch/memset_chk.S (__memset_chk):
18549         Likewise.
18551 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
18553         [BZ #19745]
18554         * sysdeps/x86_64/crti.S (_init): Replace PREINIT_FUNCTION@PLT
18555         with *%rax in call.
18557 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
18559         [BZ #19745]
18560         * sysdeps/x86_64/start.S (_start): Replace __libc_start_main@PLT
18561         with *__libc_start_main@GOTPCREL(%rip) in call.
18563 2016-03-04  Roland McGrath  <roland@hack.frob.com>
18565         * Makefile (tests-special): Add $(objpfx)c++-types-check.out only
18566         inside conditional for nonempty $(CXX).
18568         * math/Makefile (tests): Add test-math-isinff only if $(CXX) is
18569         nonempty.
18571         * Makefile ($(objpfx)c++-types-check.out): Fix conditionalization
18572         to test for empty $(CXX) rather than $(CXX) of "no".
18574 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
18576         * sysdeps/x86_64/Makefile (sysdep_noprof): Add comments.
18578 2016-03-04  Amit Pawar  <Amit.Pawar@amd.com>
18579             H.J. Lu  <hongjiu.lu@intel.com>
18581         [BZ #18880]
18582         * sysdeps/x86_64/multiarch/memcpy.S: Check Fast_Unaligned_Load,
18583         instead of Slow_BSF, and also check for Fast_Copy_Backward to
18584         enable __memcpy_ssse3_back.
18586 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
18588         [BZ #19758]
18589         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
18590         (EXTRA_LD_ENVVARS): Or in bit_Prefer_MAP_32BIT_EXEC.
18592 2016-03-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
18594         [BZ #19490]
18595         * sysdeps/x86_64/_mcount.S (_mcount): Add unwind descriptor.
18596         (__fentry__): Likewise.
18598 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
18600         * gmon/Makefile (noprof): Add $(sysdep_noprof).
18601         * sysdeps/x86_64/Makefile (sysdep_noprof): Add _mcount.
18603 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
18605         * sysdeps/x86_64/_mcount.S (C_LABEL(_mcount)): Call
18606         __mcount_internal directly.
18607         (C_LABEL(__fentry__)): Likewise.
18608         * sysdeps/x86_64/setjmp.S __sigsetjmp): Call __sigjmp_save
18609         directly.
18611 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
18613         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
18614         (__start_context): Call __setcontext directly.
18616 2016-02-26  Joseph Myers  <joseph@codesourcery.com>
18618         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
18619         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
18620         [__LINUX_KERNEL_VERSION >= 0x030200]: Likewise.
18621         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
18622         * sysdeps/unix/sysv/linux/arm/kernel-features.h
18623         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
18624         [__LINUX_KERNEL_VERSION >= 0x020624]: Likewise.
18625         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
18626         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
18627         [__LINUX_KERNEL_VERSION >= 0x020622]: Likewise.
18628         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
18629         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
18630         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
18631         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
18632         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
18633         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
18634         [__LINUX_KERNEL_VERSION < 0x030000]: Remove conditional code.
18635         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
18636         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
18637         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
18638         [__LINUX_KERNEL_VERSION < 0x020625]: Likewise.
18639         * sysdeps/unix/sysv/linux/mips/kernel-features.h
18640         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
18641         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
18642         [_MIPS_SIM == _ABIN32 && __LINUX_KERNEL_VERSION < 0x020623]:
18643         Remove conditional code.
18644         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
18645         [__LINUX_KERNEL_VERSION >= 0x020625]: Make code unconditional.
18646         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
18647         * sysdeps/unix/sysv/linux/sh/kernel-features.h
18648         [__LINUX_KERNEL_VERSION >= 0x020625]: Likewise.
18649         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
18650         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
18651         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
18652         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
18653         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
18654         * sysdeps/unix/sysv/linux/tile/kernel-features.h
18655         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
18657 2016-02-24  Marko Myllynen  <myllynen@redhat.com>
18659         * NEWS (2.23): Fix typo in bug 19048 text.
18661 2016-02-24  Carlos O'Donell  <carlos@redhat.com>
18663         [BZ #14259]
18664         * Makeconfig: Rename msgcatdir to localedir.
18665         Rename inst_msgcatdir to inst_localedir.
18666         * catgets/Makefile (catgets-CPPFLAGS): Use localedir.
18667         * config.make.in: Add localedir.
18668         * elf/Makefile ($(objpfx)sotruss): Use localedir.
18669         (ldd-rewrite): Likewise.
18670         * intl/Makefile: Rename inst_msgcatdir to inst_localedir.
18671         (install-others): Use inst_localedir.
18672         (CPPFLAGS): Use localedir.
18673         * locale/Makefile (locale-CPPFLAGS): Likewise.
18674         * po/Makefile (mo-installed): Use inst_localedir.
18676         [BZ #19575]
18677         * localedata/charmaps/GB18030: Update comments regarding PAU to
18678         non-PUA mappings.
18680 2016-02-24  Joseph Myers  <joseph@codesourcery.com>
18682         * sysdeps/unix/sysv/linux/configure.ac (linux/fanotify.h): Do not
18683         test for header.
18684         * sysdeps/unix/sysv/linux/configure: Regenerated.
18685         * config.h.in (HAVE_LINUX_FANOTIFY_H): Remove #undef.
18686         * sysdeps/unix/sysv/linux/tst-fanotify.c [!HAVE_LINUX_FANOTIFY_H]:
18687         Remove conditional code.
18688         [HAVE_LINUX_FANOTIFY_H]: Make code unconditional.
18690         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
18691         Define to 3.2.0.
18692         (arch_minimum_kernel): Likewise.
18693         * sysdeps/unix/sysv/linux/configure: Regenerated.
18694         * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel):
18695         Define to 2.6.32.
18696         * sysdeps/unix/sysv/linux/i386/configure: Regenerated.
18697         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac
18698         (arch_minimum_kernel): Define to 2.6.32.
18699         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated.
18700         * README: Document Linux 3.2 requirement.
18701         * manual/install.texi (Linux): Document Linux 3.2 headers
18702         requirement.
18703         * INSTALL: Regenerated.
18705 2016-02-24  Andreas Schwab  <schwab@suse.de>
18707         * math/test-math-isinff.cc (do_test): Only call isinfl and isnanl
18708         if !NO_LONG_DOUBLE.
18710 2016-02-22  Roland McGrath  <roland@hack.frob.com>
18712         * sysdeps/arm/nacl/libc.abilist (GLIBC_2.23): Add GLIBC_2.23,
18713         fts64_children, fts64_close, fts64_open, fts64_read and fts64_set.
18715 2016-02-22  Dmitry V. Levin  <ldv@altlinux.org>
18717         [BZ #19512]
18718         * config.h.in (HAVE_BUILTIN_EXPECT): New macro.
18720 2016-02-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
18722         * posix/tst-dir.c: Include libc-internal.h.
18724 2016-02-20  Florian Weimer  <fweimer@redhat.com>
18726         [BZ #19056]
18727         * dirent/dirent.h (readdir_r, readdir64_r): Mark as deprecated.
18728         * manual/filesys.texi (Reading/Closing Directory): Mention
18729         deprecaion.
18730         * posix/tst-dir.c (main): Disable deprecation warning in test.
18732 2016-02-19  H.J. Lu  <hongjiu.lu@intel.com>
18734         [BZ #19679]
18735         * sysdeps/x86_64/dl-trampoline.S (DL_RUNIME_UNALIGNED_VEC_SIZE):
18736         Renamed to ...
18737         (DL_RUNTIME_UNALIGNED_VEC_SIZE): This.  Set to 8.
18738         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
18739         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.  Updated.
18740         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
18741         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
18742         * sysdeps/x86_64/dl-trampoline.h
18743         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
18744         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
18746 2016-02-19  Mark Wielaard  <mjw@redhat.com>
18748         * elf/elf.h: Add NT_ARM_SYSTEM_CALL.
18750 2016-02-19  Mark Wielaard  <mjw@redhat.com>
18752         * elf/elf.h (R_386_GOT32X): New.
18753         (R_386_NUM): Update.
18754         (R_X86_64_GOTPCRELX: New.
18755         (R_X86_64_REX_GOTPCRELX): New.
18756         (R_X86_64_NUM): Update.
18758 2016-02-19  Mike Frysinger  <vapier@gentoo.org>
18760         * test-skeleton.c (TIMEOUT): Change to 20 and adjust comment.
18762 2016-02-19  Carlos O'Donell  <carlos@systemhalted.org>
18764         * nptl/allocatestack.c (allocate_stack): Declare new stackaddr,
18765         assign attr->stackaddr to it, and adjust it down when
18766         _STACK_GROWS_UP.  Change all attr->stackaddr to stackaddr.
18767         [_STACK_GROWS_UP]: Delete assert.
18768         * nptl/pthread_create.c (START_THREAD_DEFN) [!_STACK_GROWS_DOWN]:
18769         Implement stack grows up logic.
18770         * nptl/pthread_getattr_np.c (pthread_getattr_np): Implement
18771         stack grows up logic.
18773 2016-02-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18775         * NEWS: Update with 2.24 template.
18777 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
18779         [BZ #19678]
18780         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
18781         Ensure +0.0 is returned when taking the next value below the least
18782         positive value.
18784 2016-02-19  Florian Weimer  <fweimer@redhat.com>
18786         * sysdeps/generic/malloc-machine.h: Assume mutex_init is always
18787         available.  Do not define NO_THREADS.
18788         * malloc/malloc.c: Do not check NO_THREADS.
18789         * malloc/arena.c: Likewise.
18791 2016-02-19  Florian Weimer  <fweimer@redhat.com>
18793         * malloc/malloc.c (__libc_mallinfo): Update comment.
18794         (struct malloc_par): Remove max_total_mem member, it was always 0.
18795         (int_mallinfo): Store 0 into usmblks (no functional change).
18796         * malloc/hooks.c (struct malloc_state): Document that
18797         max_total_mem is always 0.
18798         * malloc/malloc.h (struct mallinfo): Dcoument that usmblks is
18799         always 0.
18800         * manual/memory.texi (Statistics of Malloc): Likewise.
18802 2016-02-19  Florian Weimer  <fweimer@redhat.com>
18804         * malloc/malloc.c (sysmalloc): Do not update arena_max.
18805         * malloc/arena.c (arena_max): Remove.
18806         (heap_trim, _int_new_arena): Do not update arena_max.
18808 2016-02-19  Florian Weimer  <fweimer@redhat.com>
18810         * resolv/res_init.c (res_ninit): Update comment.
18812 2016-02-19  Florian Weimer  <fweimer@redhat.com>
18814         [BZ #19505]
18815         * posix/spawn_int.h: Add headers and include guard.
18816         (__spawn_valid_fd): New function.
18817         * posix/spawn_faction_addopen.c
18818         (posix_spawn_file_actions_addopen): Use __spawn_valid_fd.
18819         * posix/spawn_faction_addclose.c
18820         (posix_spawn_file_actions_addclose): Likewise.
18821         * posix/spawn_faction_adddup2.c
18822         (posix_spawn_file_actions_adddup2): Likewise.  Add check for
18823         second file descriptor.
18824         * posix/spawn_valid_fd.c: New file.
18825         * posix/tst-posix_spawn-fd.c: New file.
18826         * posix/Makefile (routines): Add spawn_valid_fd.
18827         (tests): Add tst-posix_spawn-fd.
18829 2016-02-19  Florian Weimer  <fweimer@redhat.com>
18831         * malloc/tst-malloc-thread-exit.c: Include test-skeleton.c early.
18832         (do_test): Limit the number of arenas, so that we can use fewer
18833         outer threads.  Limit timeout to 3 seconds, in preparation for a
18834         larger TIMEOUT value.
18836 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
18838         [BZ #19674]
18839         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Include
18840         sign in overflowing and underflowing results when overflow or
18841         underflow is detected early.  Include sign in result before rather
18842         than after scaling.
18844         [BZ #19603]
18845         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
18846         (__ieee754_remainderl): Adjust sign of integer version of low part
18847         when taking absolute value of high part.
18848         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
18849         * math/libm-test.inc (remainder_test_data): Add another test.
18850         (remquo_test_data): Likewise.
18852 2016-02-18  Joseph Myers  <joseph@codesourcery.com>
18854         [BZ #19602]
18855         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Handle
18856         equal high parts and both low parts zero specially.
18857         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: New test.
18858         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
18859         Add test-fmodl-ldbl-128ibm.
18861         [BZ #19595]
18862         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Use
18863         common logic for all cases of shifting subnormal results.  Do not
18864         insert sign bit in shifted mantissa.  Always pass -1023 as biased
18865         exponent to ldbl_insert_mantissa in subnormal case.
18867         [BZ #19594]
18868         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Use __round
18869         on high and low parts then adjust result and use
18870         ldbl_canonicalize_int if needed.
18872         [BZ #19593]
18873         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Use __trunc
18874         on high part and __floor or __ceil on low part then use
18875         ldbl_canonicalize_int if needed.
18877         [BZ #19592]
18878         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Use __ceil on
18879         high and low parts then use ldbl_canonicalize_int if needed.
18881         [BZ #17899]
18882         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
18883         New function.
18884         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Use __floor
18885         on high and low parts then use ldbl_canonicalize_int if needed.
18887 2016-02-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18889         * configure: Regenerated.
18891         * po/libc.pot: Regenerated.
18893         * po/be.po: Updated translation.
18894         * po/bg.po: Likewise.
18895         * po/ca.po: Likewise.
18896         * po/cs.po: Likewise.
18897         * po/da.po: Likewise.
18898         * po/el.po: Likewise.
18899         * po/eo.po: Likewise.
18900         * po/es.po: Likewise.
18901         * po/fi.po: Likewise.
18902         * po/fr.po: Likewise.
18903         * po/gl.po: Likewise.
18904         * po/hr.po: Likewise.
18905         * po/hu.po: Likewise.
18906         * po/ia.po: Likewise.
18907         * po/id.po: Likewise.
18908         * po/it.po: Likewise.
18909         * po/ja.po: Likewise.
18910         * po/lt.po: Likewise.
18911         * po/nb.po: Likewise.
18912         * po/nl.po: Likewise.
18913         * po/pt_BR.po: Likewise.
18914         * po/rw.po: Likewise.
18915         * po/sk.po: Likewise.
18916         * po/sl.po: Likewise.
18917         * po/sv.po: Likewise.
18918         * po/tr.po: Likewise.
18919         * po/zh_CN.po: Likewise.
18920         * po/zh_TW.po: Likewise.
18922         * version.h (RELEAES): Set to "development".
18923         (VERSION): Set to 2.23.90.
18925         * version.h (RELEASE): Set to "stable".
18926         (VERSION): Set to 2.23.
18927         * include/feature.h (__GLIBC_MINOR__): Set to 23.
18929         * NEWS: Updated fixed bugs.
18931 2016-02-18  H.J. Lu  <hongjiu.lu@intel.com>
18932             Wilco Dijkstra  <wdijkstr@arm.com>
18934         [BZ #19462]
18935         * bits/string.h (_STRING_ARCH_unaligned): Renamed to ...
18936         (_STRING_INLINE_unaligned): This.
18937         * include/string.h: Include <string_private.h>.
18938         * string/bits/string2.h: Replace _STRING_ARCH_unaligned with
18939         _STRING_INLINE_unaligned.
18940         * sysdeps/aarch64/bits/string.h (_STRING_ARCH_unaligned): Removed.
18941         (_STRING_INLINE_unaligned): New.
18942         * sysdeps/aarch64/string_private.h: New file.
18943         * sysdeps/generic/string_private.h: Likewise.
18944         * sysdeps/m68k/m680x0/m68020/string_private.h: Likewise.
18945         * sysdeps/s390/string_private.h: Likewise.
18946         * sysdeps/x86/string_private.h: Likewise.
18947         * sysdeps/m68k/m680x0/m68020/bits/string.h
18948         (_STRING_ARCH_unaligned): Renamed to ...
18949         (_STRING_INLINE_unaligned): This.
18950         * sysdeps/s390/bits/string.h (_STRING_ARCH_unaligned): Renamed
18951         to ...
18952         (_STRING_INLINE_unaligned): This.
18953         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Renamed
18954         to ...
18955         (_STRING_INLINE_unaligned): This.
18956         * sysdeps/x86/bits/string.h (_STRING_ARCH_unaligned): Renamed
18957         to ...
18958         (_STRING_INLINE_unaligned): This.
18960 2016-02-17  Andrew Senkevich  <andrew.senkevich@intel.com>
18961             H.J. Lu  <hongjiu.lu@intel.com>
18963         [BZ #19590]
18964         * sysdeps/x86_64/fpu/svml_finite_alias.S (ALIAS_IMPL): Use PIC
18965         relocation.
18967 2016-02-15  Carlos O'Donell  <carlos@redhat.com>
18969         [BZ #18665]
18970         * resolv/nss_dns/dns-host.c (gaih_getanswer_slice): Always set
18971         *herrno_p.
18972         (gaih_getanswer): Document functional behviour. Return tryagain
18973         if any result is tryagain.
18974         * resolv/res_query.c (__libc_res_nsearch): Set buffer size to zero
18975         when freed.
18976         * resolv/res_send.c: Add copyright text.
18977         (__libc_res_nsend): Document that MAXPACKET is expected.
18978         (send_vc): Document. Remove buffer reuse.
18979         (send_dg): Document. Remove buffer reuse. Set *thisanssizp to set the
18980         size of the buffer. Add Dprint for truncated UDP buffer.
18982 2016-02-14  Carlos O'Donell  <carlos@redhat.com>
18984         * manual/install.texi: Latest tested is GCC 5.3, texinfo 6.0, gawk
18985         4.1.3, and sed 4.2.2. Remove po2test.sed comments.
18986         * INSTALL: Regenerate.
18988 2016-02-14  Jakub Jelinek  <jakub@redhat.com>
18989             Jonathan Wakely  <jwakely@redhat.com>
18990             Carlos O'Donell  <carlos@redhat.com>
18992         [BZ 19439]
18993         * math/Makefile (tests): Add test-math-isinff.
18994         (CFLAGS-test-math-isinff.cc): Use -std=gnu++11.
18995         * math/bits/mathcalls.h [__USE_MISC]: Use
18996         '|| __MATH_DECLARING_DOUBLE == 0' to relax definition of
18997         functions not in C++11 and which don't conflict e.g. isinff,
18998         isinfl etc.
18999         * math/test-math-isinff.cc: New file.
19001 2016-02-12  Florian Weimer  <fweimer@redhat.com>
19003         * misc/bug18240.c (do_test): Set RLIMIT_AS.
19005 2016-02-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
19007         [BZ #19529]
19008         * stdlib/Makefile (CFLAGS-tst-makecontext.c): Add -funwind-tables.
19010 2016-02-04  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
19012         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
19014 2016-02-01  Joseph Myers  <joseph@codesourcery.com>
19016         [BZ #19550]
19017         * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: New file.
19018         * sysdeps/unix/sysv/linux/mips/mips64/mmap64.c: Move to ....
19019         * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: ... here.
19020         * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: New file.
19021         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (mmap64):
19022         New syscall entry.
19023         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list (mmap):
19024         New syscall entry.
19025         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (mmap): Remove
19026         syscall entry.
19028 2016-01-27  Paul Eggert  <eggert@cs.ucla.edu>
19030         [BZ #18240]
19031         * misc/hsearch_r.c (isprime, __hcreate_r): Protect against
19032         unsigned int wraparound.
19034 2016-01-27  Florian Weimer  <fweimer@redhat.com>
19036         [BZ #18240]
19037         * misc/bug18240.c: New test.
19038         * misc/Makefile (tests): Add it.
19040 2016-01-28  Steve Ellcey  <sellcey@imgtec.com>
19041             Joseph Myers  <joseph@codesourcery.com>
19043         * sysdeps/mips/memcpy.S (MEMCPY_NAME) [USE_DOUBLE]: Avoid word
19044         load in branch delay slot when less than a word of input left.
19046 2016-01-27  Andreas Schwab  <schwab@suse.de>
19048         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (half): Remove.
19049         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (maxlog, big): Remove.
19050         * sysdeps/powerpc/fpu/s_cosf.c (one): Remove.
19051         * sysdeps/powerpc/fpu/e_hypotf.c (two30): Remove.
19053 2016-01-26  David S. Miller  <davem@davemloft.net>
19055         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Add _Q_cmp.
19057 2016-01-25  David S. Miller  <davem@davemloft.net>
19059         * sysdeps/sparc/sparc32/Versions (GLIBC_2.23): Add entry for
19060         __sqrtl_finite.
19061         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c (__sqrtl_finite): Define
19062         instead using versioned_symbol.
19063         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Fix ordering
19064         of entries.
19066         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Move
19067         __sqrtl_finite to GLIBC_2.23
19069 2016-01-25  Ricchard Henderson  <rth@redhat.com>
19071         * sysdeps/alpha/fpu/libm-test-ulps: Update.
19073 2016-01-25  Andreas Schwab  <schwab@suse.de>
19075         [BZ #17514]
19076         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock)
19077         <case PTHREAD_MUTEX_ERRORCHECK_NP>: Don't do lock elision.
19078         * nptl/Makefile (tests): Add tst-mutex-errorcheck.
19079         * nptl/tst-mutex-errorcheck.c: New file.
19081 2016-01-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
19083         [BZ #18560]
19084         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h (__ipc): Remove.
19085         (IPCOP_semop): Likewise.
19086         (IPCOP_semget): Likewise.
19087         (IPCOP_semctl): Likewise.
19088         (IPCOP_msgsnd): Likewise.
19089         (IPCOP_msgrcv): Likewise.
19090         (IPCOP_msgget): Likewise.
19091         (IPCOP_msgctl): Likewise.
19092         (IPCOP_shmat): Likewise.
19093         (IPCOP_shmdt): Likewise.
19094         (IPCOP_shmget): Likewise.
19095         (IPCOP_shmctl): Likewise.
19097 2016-01-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
19099         * string/tst-endian.c: Include <libc-internal.h>.
19100         (do_test): Ignore tautological-compare warnings around
19101         "htobeXX (beXXtoh (i)) != i" and
19102         "htoleXX (leXXtoh (i)) != i" if-statements.
19104 2016-01-24  David S. Miller  <davem@davemloft.net>
19106         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c: New file.
19107         * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c (__ieee754_sqrtl): Remove
19108         alias.
19109         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
19110         __sqrtl_finite.
19112         * sysdeps/sparc/fpu/libm-test-ulps: Update.
19114 2016-01-25  Maciej W. Rozycki  <macro@imgtec.com>
19116         * sysdeps/unix/sysv/linux/mips/configure.ac: Set
19117         `arch_minimum_kernel' to 4.5.0 if 2008 NaN encoding is used.
19118         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
19120 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
19122         * nptl/tst-setuid3.c (is_invalid_barrier_ret): New function.
19123         (thread_func): Use new function to simplify barrier check.
19124         (do_test): Use new function to simplify checking barrier exit
19125         code, and actually join the child thread.
19127 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
19129         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin): Remove
19130         semicolon.
19131         (__libc_tend): Likewise.
19132         (__libc_tabort): Likewise.
19134 2016-01-22  Chung-Lin Tang  <cltang@codesourcery.com>
19136         * sysdeps/nios2/libm-test-ulps: Update.
19137         * sysdeps/unix/sysv/linux/nios2/localplt.data (__gtdf2): Add.
19138         (__gtsf2): Likewise.
19139         (__unorddf2): Likewise.
19140         (__unordsf2): Likewise.
19141         (__ledf2): Likewise.
19143 2016-01-20  Chris Metcalf  <cmetcalf@ezchip.com>
19145         * nis/nis_table.c (__follow_path): Disable diagnostic for
19146         uninitialized variable that is a false positive for gcc 4.7.
19147         * stdio-common/vfscanf.c (_IO_vfwscanf): Likewise.
19149 2016-01-20  Roland McGrath  <roland@hack.frob.com>
19151         * sysdeps/nacl/lowlevellock-futex.h
19152         (lll_futex_wait, lll_futex_timed_wait, lll_futex_wake):
19153         Always evaluate PRIVATE argument.
19155 2016-01-20  Paul Pluzhnikov  <ppluzhnikov@google.com>
19157         [BZ #19490]
19158         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S
19159         (pthread_cond_broadcast): Use ENTRY/END
19160         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S
19161         (pthread_cond_signal): Likewise.
19162         * sysdeps/x86_64/nptl/pthread_spin_lock.S (pthread_spin_lock):
19163         Likewise.
19164         * sysdeps/x86_64/nptl/pthread_spin_trylock.S (pthread_spin_trylock):
19165         Likewise.
19166         * sysdeps/x86_64/nptl/pthread_spin_unlock.S (pthread_spin_unlock):
19167         Likewise.
19169 2016-01-20  Joseph Myers  <joseph@codesourcery.com>
19171         * sysdeps/ieee754/dbl-64/s_finite.c
19172         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Define
19173         compat symbol at version GLIBC_2_1 and use GLIBC_2_1 in
19174         SHLIB_COMPAT condition for libm, not GLIBC_2_0.
19175         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c
19176         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Likewise.
19178         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
19179         (__gtsf2): Add as optional for libc.so.
19180         (__unordsf2): Likewise.
19181         (__signbit): Remove for libc.so.
19182         (__signbitl): Likewise.
19184 2016-01-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
19186         * iconvdata/bug-iconv11.c (test_ibm93x):
19187         Use %zu printf format specifier for size_t argument.
19189 2016-01-19  Joseph Myers  <joseph@codesourcery.com>
19191         * math/gen-libm-test.pl (parse_ulps): Do not reduce
19192         already-recorded ulps.
19193         * sysdeps/arm/libm-test-ulps: Regenerated.
19194         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
19195         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
19196         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
19198 2016-01-19  Andrew Senkevich  <andrew.senkevich@intel.com>
19199             Paul Pluzhnikov  <ppluzhnikov@google.com>
19201         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Fixed build with
19202         assembler not supporting AVX-512.
19204 2016-01-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
19206         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
19208 2016-01-18  Joseph Myers  <joseph@codesourcery.com>
19210         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
19211         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
19213         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
19215         * sysdeps/arm/libm-test-ulps: Regenerated.
19217 2016-01-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
19219         [BZ #19451]
19220         * math/Makefile (libm-vec-tests): Move libraries after wrappers.o
19222 2016-01-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
19224         [BZ #19486]
19225         * sysdeps/s390/fix-fp-int-convert-overflow.h: New File.
19226         * sysdeps/generic/fix-fp-int-convert-overflow.h
19227         (FIX_LDBL_LONG_CONVERT_OVERFLOW,
19228         FIX_LDBL_LLONG_CONVERT_OVERFLOW): New define.
19229         * sysdeps/arm/fix-fp-int-convert-overflow.h: Likewise.
19230         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h:
19231         Likewise.
19232         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl):
19233         Avoid conversions to long int where inexact exceptions
19234         could be raised.
19235         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl):
19236         Likewise.
19237         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl):
19238         Avoid conversions to long long int where inexact exceptions
19239         could be raised.
19240         * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl):
19241         Likewise.
19243 2016-01-17  Mike Frysinger  <vapier@gentoo.org>
19245         * configure.ac: Rewrite error comment and use AC_MSG_ERROR.
19246         * configure: Regenerated.
19248 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
19250         * sysdeps/x86_64/multiarch/memcpy_chk.S: Fixed typos.
19252 2016-01-16  Mike Frysinger  <vapier@gentoo.org>
19254         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT): Move
19255         outside of comment.
19257 2016-01-15  Torvald Riegel  <triegel@redhat.com>
19259         * nptl/tst-barrier1.c: Add description on first line.
19260         * nptl/tst-barrier2.c: Likewise.
19261         * nptl/tst-barrier3.c: Likewise.
19262         * nptl/tst-barrier4.c: Likewise.
19263         * nptl/tst-barrier5.c: Likewise.
19265 2016-01-15  Torvald Riegel  <triegel@redhat.com>
19267         [BZ #18868]
19268         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Apply fix.
19270 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
19272         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new files.
19273         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
19274         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: New file.
19275         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S: Likewise.
19276         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: Likewise.
19277         * sysdeps/x86_64/multiarch/memcpy.S: Added new IFUNC branch.
19278         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
19279         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
19280         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
19281         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
19282         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
19284 2016-01-15  Torvald Riegel  <triegel@redhat.com>
19286         [BZ #13065]
19287         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Replace with
19288         new implementation.
19289         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy): Likewise.
19290         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Adapt.
19291         * sysdeps/nptl/internaltypes.h (pthread_barrier): Adapt.
19292         (BARRIER_IN_THRESHOLD): New macro.
19293         * nptl/pthread_barrierattr_setpshared.c
19294         (pthread_barrierattr_setpshared): Clean up.
19295         * nptl/tst-barrier4.c: Correct comment.
19296         * nptl/tst-barrier5.c: New file.
19297         * nptl/Makefile (tests): Add nptl/tst-barrier5.c.
19298         (gen-as-const-headers): Remove lowlevelbarrier.sym.
19299         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Remove.
19300         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Remove.
19301         * nptl/lowlevelbarrier.sym: Remove.
19302         * nptl/DESIGN-barrier.txt: Remove.
19303         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Remove.
19304         * sysdeps/sparc/nptl/pthread_barrier_init.c: Remove.
19305         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Remove.
19306         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: Replace with build
19307         error.
19308         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: Use generic
19309         implementation.
19311 2016-01-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
19313         * rt/tst-mqueue5.c (thr): Cleanup misleading comment.
19314         (do_child): Mask SIGRTMIN while thr is running.
19316 2016-01-15  Martin Sebor  <msebor@redhat.com>
19318         [BZ #19432]
19319         * iconvdata/Makefile: Add bug-iconv11.
19320         * iconvdata/bug-iconv11.c: New test.
19321         * iconvdata/ibm930.c: Do not reject redundant shift sequences.
19322         * iconvdata/ibm933.c: Same.
19323         * iconvdata/ibm935.c: Same.
19324         * iconvdata/ibm937.c: Same.
19325         * iconvdata/ibm939.c: Same.
19327 2016-01-15  Martin Sebor  <msebor@redhat.com>
19329         [BZ #19443]
19330         * crypt/crypt_util.c [DEBUG] (_ufc_prbits): Correct format string.
19331         [DEBUG] (_ufc_set_bits): Declare used.
19332         * iconv/gconv_dl.c [DEBUG]: Add a missing include directive.
19333         [DEBUG] (print_all): Declare used.
19334         * resolv/res_send.c [DEBUG] (__libc_res_nsend): Explicitly convert
19335         operands of the ternary ?: expression to target type.
19336         * stdlib/rshift.c [DEBUG] (mpn_rshift): Use assert() instead of
19337         calling the undeclared abort.
19338         * time/mktime.c [DEBUG] (DEBUG): Rename to DEBUG_MKTIME.
19340 2016-01-15  Martin Sebor  <msebor@redhat.com>
19342         [BZ #18755]
19343         * iconv/skeleton.c (FUNCTION_NAME): Suppress -Wunused-but-set-variable
19344         warnings.
19345         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread): Same.
19346         (__gai_create_helper_thread): Same.
19347         * nscd/nscd.c (do_exit): Suppress -Wunused-variable.
19348         * iconvdata/iso-2022-cn-ext.c (BODY): Initialize local variable
19349         to suppress -Wmaybe-uninitialized warnings.
19351 2016-01-15  H.J. Lu  <hongjiu.lu@intel.com>
19353         [BZ #19465]
19354         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Call math_opt_barrier
19355         inside if.
19356         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
19357         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
19358         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
19360 2016-01-14  H.J. Lu  <hongjiu.lu@intel.com>
19362         [BZ #19466]
19363         * time/tst-mktime2.c (time_t_max): Removed.
19364         (time_t_min): Likewise.
19365         (TYPE_SIGNED): New.
19366         (TYPE_MINIMUM): Likewise.
19367         (TYPE_MAXIMUM): Likewise.
19368         (TIME_T_MIN): Likewise.
19369         (TIME_T_MAX): Likewise.
19370         (mktime_test): Replace time_t_max and time_t_min with TIME_T_MAX
19371         and TIME_T_MIN.
19372         (do_test): Likewise.
19374 2016-01-14  Amit Pawar  <amit.pawar@amd.com>
19376         [BZ #19467]
19377         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
19378         index_Fast_Unaligned_Load flag for Excavator family CPUs.
19380 2016-01-02  Marcin Kościelnicki  <koriakin@0x04.net>
19382         * sysdeps/s390/nptl/tls.h (struct tcbhead_t): Add __private_ss field.
19384 2016-01-13  Carlos O'Donell  <carlos@redhat.com>
19386         * benchtests/Makefile (PYTHON): Define.
19387         (bench-func): Use $(PYTHON) to run python scripts.
19388         ($(objpfx)bench-%.c): Likewise.
19390 2016-01-13  Flavio Cruz  <flaviocruz@gmail.com>
19392         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Do not remove
19393         leading slash when `file_name' is "/".
19395 2016-01-12  Joseph Myers  <joseph@codesourcery.com>
19397         * bits/mman-linux.h [!MCL_CURRENT] (MCL_ONFAULT): New macro.
19398         * sysdeps/unix/sysv/linux/alpha/bits/mman.h (MCL_ONFAULT):
19399         Likewise.
19400         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MCL_ONFAULT):
19401         Likewise.
19402         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT):
19403         Likewise.
19404         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_GETSIGMASK): New
19405         enum constant and macro.
19406         (PTRACE_SETSIGMASK): Likewise.
19407         (PTRACE_SECCOMP_GET_FILTER): Likewise.
19408         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
19409         (PTRACE_GETSIGMASK): Likewise.
19410         (PTRACE_SETSIGMASK): Likewise.
19411         (PTRACE_SECCOMP_GET_FILTER): Likewise.
19412         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_GETSIGMASK):
19413         Likewise.
19414         (PTRACE_SETSIGMASK): Likewise.
19415         (PTRACE_SECCOMP_GET_FILTER): Likewise.
19416         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
19417         (PTRACE_GETSIGMASK): Likewise.
19418         (PTRACE_SETSIGMASK): Likewise.
19419         (PTRACE_SECCOMP_GET_FILTER): Likewise.
19420         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_GETSIGMASK):
19421         Likewise.
19422         (PTRACE_SETSIGMASK): Likewise.
19423         (PTRACE_SECCOMP_GET_FILTER): Likewise.
19424         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_GETSIGMASK):
19425         Likewise.
19426         (PTRACE_SETSIGMASK): Likewise.
19427         (PTRACE_SECCOMP_GET_FILTER): Likewise.
19428         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_GETSIGMASK):
19429         Likewise.
19430         (PTRACE_SETSIGMASK): Likewise.
19431         (PTRACE_SECCOMP_GET_FILTER): Likewise.
19433 2016-01-11  Jonathan Wakely  <jwakely.gcc@gmail.com>
19434             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19436         [BZ #19439]
19437         * math/bits/mathcalls.h
19438         [!__cplusplus || __cplusplus < 201103L] (isinf): Do not declare
19439         prototype.
19440         [!__cplusplus || __cplusplus < 201103L] (isnan): Likewise.
19442 2016-01-11  Andreas Schwab  <schwab@suse.de>
19444         [BZ #19253]
19445         * time/tzfile.c (__tzfile_default): Invalidate tzfile attribute
19446         cache when TZDEFRULES was used.
19447         * time/tst-tzname.c: New file.
19448         * time/Makefile (test): Add tst-tzname.
19449         (tst-tzname-ENV, CPPFLAGS-tst-tzname.c): Define.
19450         * timezone/Makefile (test-zones): Add $(posixrules-file).
19451         ($(testdata)/$(posixrules-file)): New rule.
19453 2016-01-10  Paul Eggert  <eggert@cs.ucla.edu>
19455         Fix doc quoting problems with Texinfo 5
19456         Without this change, in the info file output, Texinfo 5 quotes code
19457         in text with undirected single quotes 'like this' and generates
19458         code examples that with many PDF readers cannot be cut out of PDFs
19459         and pasted into code.
19460         * manual/libc.texinfo: Configure the libc manual like the GNU
19461         Emacs manual, by using @documentencoding and setting
19462         txicodequoteundirected and txicodequotebacktick.  This way,
19463         Texinfo 5 quotes code in text with directed single quotes ‘like
19464         this’ and produces examples that can be cut out of PDFs.  This
19465         change causes Texinfo 5 to generate info files that contain UTF-8
19466         characters in the set {'‘', '’', '“', '”', 'Ä', 'ä', 'ö', '−',
19467         '–', '—', '©', '⇒', '•', '…'}, which is OK nowadays.
19469 2016-01-08  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
19471         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin,
19472         __libc_tabort, __libc_tend): New wrappers that enforce compiler
19473         barriers to their respective compiler built-ins.
19474         * sysdeps/powerpc/nptl/elide.h (__get_new_count, ELIDE_LOCK,
19475         ELIDE_TRYLOCK, __elide_unlock): Use the new wrappers.
19476         * sysdeps/powerpc/sysdep.h: Likewise.
19477         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: Likewise.
19478         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: Likewise.
19479         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: Likewise.
19481 2016-01-08  Marko Myllynen  <myllynen@redhat.com>
19483         * scripts/config.guess: Revert previous shebang change.
19484         * scripts/config.sub: Likewise.
19485         * scripts/mkinstalldirs: Likewise.
19487 2016-01-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
19489         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_ARCH_3_00 and
19490         PPC_FEATURE2_HAS_IEEE128.
19491         * sysdeps/powerpc/dl-procinfo.c:
19492         (_dl_powerpc_cap_flags): Add corresponding names to new capabilities.
19494 2016-01-08  John David Anglin  <danglin@gcc.gnu.org>
19496         [BZ #19415]
19497         * sysdeps/hppa/dl-fptr.c (_dl_fixup): Declare.
19498         (elf_machine_resolve): New.  Return address of _dl_runtime_resolve.
19499         (_dl_lookup_address): Rewrite using function resolver trampoline.
19500         * sysdeps/hppa/dl-lookupcfg.h (DL_LOOKUP_ADDRESS): Don't clear bottom
19501         two bits in address.
19503 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
19505         * longlong.h: Change !__SHMEDIA__ to
19506         (!defined (__SHMEDIA__) || !__SHMEDIA__).
19507         Change __SHMEDIA__ to defined (__SHMEDIA__) && __SHMEDIA__.
19509 2016-01-07  Daniel Jacobowitz  <dan@codesourcery.com>
19510             Joseph Myers  <joseph@codesourcery.com>
19511             Mark Shinwell  <shinwell@codesourcery.com>
19512             Andrew Stubbs  <ams@codesourcery.com>
19513             Rich Felker <dalias@libc.org>
19515         * longlong.h (udiv_qrnnd): Add FDPIC compatible version for SH.
19517 2016-01-07  Richard Henderson  <rth@redhat.com>
19519         * longlong.h [__alpha] (umul_ppmm): Disable for c++.
19521 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
19523         * sysdeps/unix/sysv/linux/fxstat64.c (___fxstat64): Change
19524         __ASSUME_ST_INO_64_BIT == 0 to !defined __ASSUME_ST_INO_64_BIT.
19525         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
19526         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
19527         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat32_conv): Likewise.
19529 2016-01-07  Paul Eggert  <eggert@cs.ucla.edu>
19530             Joseph Myers  <joseph@codesourcery.com>
19532         * timezone/private.h: Update from tzcode 2015g.
19533         * timezone/tzfile.h: Likewise.
19534         * timezone/tzselect.ksh: Likewise.
19535         * timezone/zdump.c: Likewise.
19536         * timezone/zic.c: Likewise.
19537         * timezone/ialloc.c: Remove file.
19538         * timezone/scheck.c: Likewise.
19539         * timezone/Makefile (extra-objs): Remove variable.
19540         ($(objpfx)zic): Do not depend on scheck.o and ialloc.o.
19541         (tz-cflags): Add -DHAVE_GETTEXT -DUSE_LTZ=0
19542         -Wno-maybe-uninitialized.
19543         (CFLAGS-zdump.c): Remove -fwrapv -DNOID -DHAVE_GETTEXT.
19544         (CFLAGS-zic.c): Remove -DNOID -DHAVE_GETTEXT.
19545         (CFLAGS-ialloc.c): Remove variable.
19546         (CFLAGS-scheck.c): Likewise.
19547         * timezone/README: Update list of files from tzcode.
19549 2016-01-07  Khem Raj  <raj.khem@gmail.com>
19551         * argp/argp-fmtstream.c (__argp_fmtstream_free): Use fwrite_unlocked
19552         instead of __fxprintf when _LIBC is undefined.
19554 2016-01-07  Marko Myllynen  <myllynen@redhat.com>
19556         * catgets/test-gencat.sh: Remove space after shebang.
19557         * conform/GlibcConform.pm: Likewise.
19558         * conform/check-header-lists.sh: Likewise.
19559         * conform/conformtest.pl: Likewise.
19560         * conform/linknamespace.pl: Likewise.
19561         * conform/list-header-symbols.pl: Likewise.
19562         * debug/catchsegv.sh: Likewise.
19563         * elf/genrtldtbl.awk: Likewise.
19564         * elf/tst-pathopt.sh: Likewise.
19565         * elf/tst-rtld-load-self.sh: Likewise.
19566         * grp/tst_fgetgrent.sh: Likewise.
19567         * iconvdata/gen-8bit-gap-1.sh: Likewise.
19568         * iconvdata/gen-8bit-gap.sh: Likewise.
19569         * iconvdata/gen-8bit.sh: Likewise.
19570         * iconvdata/run-iconv-test.sh: Likewise.
19571         * intl/tst-gettext.sh: Likewise.
19572         * intl/tst-gettext2.sh: Likewise.
19573         * intl/tst-gettext4.sh: Likewise.
19574         * intl/tst-gettext6.sh: Likewise.
19575         * intl/tst-translit.sh: Likewise.
19576         * io/ftwtest-sh: Likewise.
19577         * libio/test-freopen.sh: Likewise.
19578         * locale/gen-translit.pl: Likewise.
19579         * malloc/tst-mtrace.sh: Likewise.
19580         * manual/check-safety.sh: Likewise.
19581         * manual/libc-texinfo.sh: Likewise.
19582         * manual/tsort.awk: Likewise.
19583         * manual/xtract-typefun.awk: Likewise.
19584         * nptl/tst-cancel-wrappers.sh: Likewise.
19585         * nptl/tst-tls6.sh: Likewise.
19586         * posix/globtest.sh: Likewise.
19587         * posix/tst-getconf.sh: Likewise.
19588         * posix/wordexp-tst.sh: Likewise.
19589         * scripts/check-c++-types.sh: Likewise.
19590         * scripts/check-local-headers.sh: Likewise.
19591         * scripts/config.guess: Likewise.
19592         * scripts/config.sub: Likewise.
19593         * scripts/cpp: Likewise.
19594         * scripts/cross-test-ssh.sh: Likewise.
19595         * scripts/documented.sh: Likewise.
19596         * scripts/evaluate-test.sh: Likewise.
19597         * scripts/gen-libc-abis: Likewise.
19598         * scripts/gen-sorted.awk: Likewise.
19599         * scripts/list-fixed-bugs.py: Likewise.
19600         * scripts/merge-test-results.sh: Likewise.
19601         * scripts/mkinstalldirs: Likewise.
19602         * scripts/rellns-sh: Likewise.
19603         * scripts/test-installation.pl: Likewise.
19604         * scripts/update-copyrights: Likewise.
19605         * stdio-common/tst-printf.sh: Likewise.
19606         * stdio-common/tst-unbputc.sh: Likewise.
19607         * stdlib/tst-fmtmsg.sh: Likewise.
19608         * stdlib/tst-setcontext3.sh: Likewise.
19609         * sysdeps/i386/tst-ld-sse-use.sh: Likewise.
19610         * sysdeps/unix/make-syscalls.sh: Likewise.
19612 2016-01-06  John David Anglin  <dave.anglin@bell.net>
19614         * sysdeps/hppa/nptl/pthread_spin_init.c (pthread_spin_init): Replace
19615         asm stw with atomic_exchange_rel.  Add explanatory comment.
19616         * sysdeps/hppa/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
19617         Likewise.
19619 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
19621         [BZ #19122]
19622         * include/unistd.h [IS_IN (rtld)]: Include <dl-unistd.h>.
19623         * sysdeps/generic/dl-unistd.h: New file.
19624         * sysdeps/mach/hurd/dl-unistd.h: Likewise.
19626 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
19628          [BZ #19122]
19629          * include/sys/mman.h [IS_IN (rtld)]: Include <dl-mman.h>.
19630          * sysdeps/generic/dl-mman.h: New file.
19631          * sysdeps/mach/hurd/dl-mman.h: Likewise.
19633 2016-01-05  Joseph Myers  <joseph@codesourcery.com>
19635         * manual/texinfo.tex: Update to version 2016-01-04.21 with
19636         trailing whitespace removed.
19637         * scripts/config.guess: Update to version 2016-01-01.
19638         * scripts/config.sub: Update to version 2016-01-01.
19639         * scripts/move-if-change: Update from gnulib.
19641 2016-01-04  Anton Blanchard  <anton@samba.org>
19643         * sysdeps/ieee754/dbl-64/e_pow.c (log1): Use unsigned int
19644         for array indices.
19645         * sysdeps/ieee754/dbl-64/e_pow.c (my_log2): Likewise.
19647 2016-01-04  Joseph Myers  <joseph@codesourcery.com>
19649         * NEWS: Update copyright dates.
19650         * catgets/gencat.c (print_version): Likewise.
19651         * csu/version.c (banner): Likewise.
19652         * debug/catchsegv.sh: Likewise.
19653         * debug/pcprofiledump.c (print_version): Likewise.
19654         * debug/xtrace.sh (do_version): Likewise.
19655         * elf/ldconfig.c (print_version): Likewise.
19656         * elf/ldd.bash.in: Likewise.
19657         * elf/pldd.c (print_version): Likewise.
19658         * elf/sotruss.sh: Likewise.
19659         * elf/sprof.c (print_version): Likewise.
19660         * iconv/iconv_prog.c (print_version): Likewise.
19661         * iconv/iconvconfig.c (print_version): Likewise.
19662         * locale/programs/locale.c (print_version): Likewise.
19663         * locale/programs/localedef.c (print_version): Likewise.
19664         * login/programs/pt_chown.c (print_version): Likewise.
19665         * malloc/memusage.sh (do_version): Likewise.
19666         * malloc/memusagestat.c (print_version): Likewise.
19667         * malloc/mtrace.pl: Likewise.
19668         * manual/libc.texinfo: Likewise.
19669         * nptl/version.c (banner): Likewise.
19670         * nscd/nscd.c (print_version): Likewise.
19671         * nss/getent.c (print_version): Likewise.
19672         * nss/makedb.c (print_version): Likewise.
19673         * posix/getconf.c (main): Likewise.
19674         * scripts/test-installation.pl: Likewise.
19675         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
19677         * All files with FSF copyright notices: Update copyright dates
19678         using scripts/update-copyrights.
19679         * intl/plural.c: Regenerated.
19680         * locale/programs/charmap-kw.h: Likewise.
19681         * locale/programs/locfile-kw.h: Likewise.
19683 2016-01-02  Helge Deller  <deller@gmx.de>
19685         [BZ #19285]
19686         * sysdeps/unix/sysv/linux/hppa/bits/mman.h (MAP_STACK): Define.
19687         (MAP_HUGETLB, MCL_ONFAULT): Likewise.
19688         (MADV_HUGEPAGE, MADV_NOHUGEPAGE, MADV_DONTDUMP, MADV_DODUMP): Likewise.
19689         (MADV_xxK_PAGES): Remove.
19691 2016-01-01  Mike Frysinger  <vapier@gentoo.org>
19693         [BZ #15421]
19694         * sysdeps/ia64/fpu/w_lgamma_main.c: Include math.h & math_private.h.
19695         [BUILD_LGAMMA]: Wrap all code by define.  Re-indent sub-preprocessor.
19696         * sysdeps/ia64/fpu/w_lgammaf_main.c: Likewise.
19697         * sysdeps/ia64/fpu/w_lgammal_main.c: Likewise.
19699 2015-12-30  Dmitry V. Levin  <ldv@altlinux.org>
19701         [BZ #19408]
19702         * sysdeps/unix/sysv/linux/personality.c: New file.
19703         * sysdeps/unix/sysv/linux/sparc/sparc64/personality.c: Likewise.
19704         * sysdeps/unix/sysv/linux/tst-personality.c: Likewise.
19705         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == misc]
19706         (sysdep_routines): Add personality.
19707         (tests): Add tst-personality.
19708         * sysdeps/unix/sysv/linux/syscalls.list (personality): Move ...
19709         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ... here.
19710         * sysdeps/unix/sysv/linux/arm/syscalls.list (personality): New entry.
19711         * sysdeps/unix/sysv/linux/hppa/syscalls.list (personality): Likewise.
19712         * sysdeps/unix/sysv/linux/i386/syscalls.list (personality): Likewise.
19713         * sysdeps/unix/sysv/linux/m68k/syscalls.list (personality): Likewise.
19714         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (personality):
19715         Likewise.
19716         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (personality):
19717         Likewise.
19718         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (personality):
19719         Likewise.
19720         * sysdeps/unix/sysv/linux/sh/syscalls.list (personality): Likewise.
19721         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (personality):
19722         Likewise.
19724 2015-12-30  Aurelien Jarno  <aurelien@aurel32.net>
19726         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include <string.h>.
19727         (PATH_ARM_SYSTYPE): Remove.
19728         (PATH_CPUINFO): Likewise.
19729         (IO_BASE_FOOTBRIDGE): Likewise.
19730         (IO_SHIFT_FOOTBRIDGE): Likewise.
19731         (struct platform): Likewise.
19732         (init_iosys): Remove compatibility code for 2.4 kernels.
19733         * sysdeps/unix/sysv/linux/arm/localplt.data: Remove fscanf.
19735 2015-12-29  Florian Weimer  <fweimer@redhat.com>
19737         * malloc/tst-malloc-thread-fail.c: New file.
19738         * malloc/Makefile (tests): Add tst-malloc-thread-fail.
19739         (tst-malloc-thread-fail): Link against libpthread.
19741 2015-12-29  Mike Frysinger  <vapier@gentoo.org>
19743         * scripts/list-fixed-bugs.py: Import argparse.  Call main instead.
19744         (get_parser): New function.
19745         (main): New function.
19747 2015-12-29  Rob Wu  <rob@robwu.nl>
19749         [BZ #19369]
19750         * resolv/res_init.c (__res_vinit): Reset defdname before use.
19752 2015-12-29  John David Anglin  <danglin@gcc.gnu.org>
19754         [BZ #19270]
19755         * sysdeps/hppa/fpu/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
19757 2015-12-28  Mike Frysinger  <vapier@gentoo.org>
19759         [BZ #15421]
19760         * sysdeps/ia64/fpu/w_lgamma_main.c: Change gammaf to gamma.
19762 2015-12-23  Torvald Riegel  <triegel@redhat.com>
19764         [BZ #13690]
19765         * sysdeps/nptl/lowlevellock.h (__lll_unlock): Do not access the lock
19766         after releasing it.
19767         (__lll_robust_unlock): Likewise.
19768         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
19769         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_unlock): Likewise.
19770         (lll_robust_unlock): Likewise.
19771         * sysdeps/unix/sysv/linux/lowlevellock-futex.h (__lll_private_flag):
19772         Prevent warnings in callers.
19774 2015-12-23  Florian Weimer  <fweimer@redhat.com>
19776         * malloc/arena.c (list_lock): Update comment.
19778 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
19780         * sysdeps/powerpc/hwcapinfo.c: Export symbol
19781         __parse_hwcap_and_convert_at_platform to libc.a.
19783 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
19785         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Added
19786         platform and feature support for POWER9.
19787         * sysdeps/powerpc/dl-procinfo.h: Likewise.
19788         * sysdeps/powerpc/powerpc32/power9/Implies: New file.
19789         * sysdeps/powerpc/powerpc32/power9/fpu/multiarch/Implies: Likewise.
19790         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Likewise.
19791         * sysdeps/powerpc/powerpc64/power9/Implies: Likewise, for powerpc64.
19792         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
19793         * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
19794         * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
19796 2015-12-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19798         Harmonize generic stdio-lock support with nptl
19800         This fixes build when _IO_funlockfile is a macro, fixes build where
19801         _IO_acquire_lock_clear_flags2 is used, and fixes unlocking on unexpected
19802         stack unwind.
19804         * sysdeps/generic/stdio-lock.h [__EXCEPTIONS] (_IO_acquire_lock,
19805         _IO_release_lock ): Use cleanup attribute on new
19806         _IO_acquire_lock_file variable instead of assuming that
19807         _IO_release_lock will be called.
19808         [!__EXCEPTIONS] (_IO_acquire_lock): Define to non-existing
19809         _IO_acquire_lock_needs_exceptions_enabled.
19810         (_IO_acquire_lock_clear_flags2): New macro.
19812 2015-12-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19814         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
19816 2015-12-21  Florian Weimer  <fweimer@redhat.com>
19818         [BZ #19182]
19819         * malloc/arena.c (list_lock): Document lock ordering requirements.
19820         (free_list_lock): New lock.
19821         (ptmalloc_lock_all): Comment on free_list_lock.
19822         (ptmalloc_unlock_all2): Reinitialize free_list_lock.
19823         (detach_arena): Update comment.  free_list_lock is now needed.
19824         (_int_new_arena): Use free_list_lock around detach_arena call.
19825         Acquire arena lock after list_lock.  Add comment, including FIXME
19826         about incorrect synchronization.
19827         (get_free_list): Switch to free_list_lock.
19828         (reused_arena): Acquire free_list_lock around detach_arena call
19829         and attached threads counter update.  Add two FIXMEs about
19830         incorrect synchronization.
19831         (arena_thread_freeres): Switch to free_list_lock.
19832         * malloc/malloc.c (struct malloc_state): Update comments to
19833         mention free_list_lock.
19835 2015-12-21  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
19837         * sysdeps/ieee754/dbl-64/s_sin.c (csloww, csloww1, csloww2):
19838         Remove functions.
19839         (sloww, sloww1): Accept argument to offset quadrant.
19840         (sloww, sloww1, sloww2): Call __mpsin or __mpcos based on
19841         quadrant.
19842         (__sin, __cos): Consolidate common code into new functions.
19843         (reduce_sincos_1, do_sincos_1): New functions.
19844         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
19846         * sysdeps/ieee754/dbl-64/s_sin.c (__sin, __cos): Move common
19847         code to new functions.
19848         (reduce_sincos_2, do_sincos_2): New functions.
19849         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
19851         * sysdeps/ieee754/dbl-64/s_sin.c (__sin) [!IN_SINCOS]: Skip
19852         common code for sincos.
19853         (__cos) [!IN_SINCOS]: Likewise.
19854         * sysdeps/ieee754/dbl-64/s_sincos.c (reduce_and_compute_sincos):
19855         New function.
19856         (__sincos): Use it.
19858 2015-12-20  Aurelien Jarno  <aurelien@aurel32.net>
19860         * sysdeps/i386/fpu/libm-test-ulps: Move to ....
19861         * sysdeps/i386/i686/multiarch/fpu/libm-test-ulps: ...here.
19862         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
19864 2015-12-19  Andrew Senkevich  <andrew.senkevich@intel.com>
19866         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: New file.
19867         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new file.
19868         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
19869         * sysdeps/x86_64/multiarch/memset.S: Added new IFUNC branch.
19870         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
19871         * sysdeps/x86/cpu-features.h (bit_Prefer_No_VZEROUPPER,
19872         index_Prefer_No_VZEROUPPER): New feature.
19873         * sysdeps/x86/cpu-features.c (init_cpu_features): Set the
19874         Prefer_No_VZEROUPPER for Knights Landing.
19876 015-12-18  Torvald Riegel  <triegel@redhat.com>
19878         * math/atest-exp2.c (mp_exp_m1): Remove.
19880 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19882         * sysdeps/unix/sysdep.h (SYSCALL_CANCEL): Fix macro for zero argument
19883         syscalls.
19884         (__SYSCALL0): New macro.
19885         (__SYSCALL1): Likewise.
19886         (__SYSCALL2): Likewise.
19887         (__SYSCALL3): Likewise.
19888         (__SYSCALL4): Likewise.
19889         (__SYSCALL5): Likewise.
19890         (__SYSCALL6): Likewise.
19891         (__SYSCALL_CONCAT_X): Likewise.
19892         (__SYSCALL_CONCAT): Likewise.
19893         (__SYSCALL_DIST): Likewise.
19894         (__SYSCALL_CALL): Likewise.
19896 2015-12-17  H.J. Lu  <hongjiu.lu@intel.com>
19898         [BZ #19363]
19899         * sysdeps/unix/sysv/linux/x86_64/x32/times.c: New file.
19901 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19903         [BZ #19375]
19904         * sysdeps/powerpc/power7/fpu/s_logb.c (__logb): Fix return for
19905         negative subnormals.
19907 2015-12-16  H.J. Lu  <hongjiu.lu@intel.com>
19909         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
19910         (REGISTERS_CLOBBERED_BY_SYSCALL): New.
19911         (INTERNAL_SYSCALL_NCS): Use it.
19912         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
19914 2015-12-16  Florian Weimer  <fweimer@redhat.com>
19916         [BZ #19243]
19917         * malloc/arena.c (get_free_list): Remove assert and adjust
19918         reference count handling.  Add comment about reused_arena
19919         interaction.
19920         (reused_arena): Add comments abount get_free_list interaction.
19921         * malloc/tst-malloc-thread-exit.c: New file.
19922         * malloc/Makefile (tests): Add tst-malloc-thread-exit.
19923         (tst-malloc-thread-exit): Link against libpthread.
19925 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
19927         [BZ #19367]
19928         * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: New file.
19929         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h: Likewise.
19930         * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
19931         * sysdeps/x86/cpu-features.h (bit_Prefer_MAP_32BIT_EXEC): New.
19932         (index_Prefer_MAP_32BIT_EXEC): Likewise.
19934 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
19936         * sysdeps/x86/cpu-features.c (init_cpu_features): Enable
19937         Silvermont optimizations for Knights Landing.
19939 2015-12-15  Andreas Schwab  <schwab@suse.de>
19941         [BZ #17197]
19942         * iconvdata/ibm930.c (BODY for TO_LOOP): Record current DBCS state
19943         immediately after emitting SI.
19944         * iconvdata/ibm933.c (BODY for TO_LOOP): Likewise.
19945         * iconvdata/ibm935.c (BODY for TO_LOOP): Likewise.
19946         * iconvdata/ibm937.c (BODY for TO_LOOP): Likewise.
19947         * iconvdata/ibm939.c (BODY for TO_LOOP): Likewise.
19948         * iconvdata/bug-iconv10.c: New file.
19949         * iconvdata/Makefile (tests): Add bug-iconv10.
19950         ($(objpfx)bug-iconv10.out): New rule.
19952 2015-12-15  Florian Weimer  <fweimer@redhat.com>
19954         * dlfcn/tst-rec-dlopen.c (call_func): Cast dlsym result, fixing an
19955         aliasing violation.
19957 2015-12-14  Joseph Myers  <joseph@codesourcery.com>
19959         [BZ #18472]
19960         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Handle entries
19961         for the form NAME@VERSION:OBSOLETED and generate SHLIB_COMPAT
19962         conditionals for them.
19963         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Likewise.
19964         * sysdeps/unix/sysv/linux/sys/kdaemon.h: Remove file.
19965         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
19966         sys/kdaemon.h.
19967         * sysdeps/unix/sysv/linux/syscalls.list (bdflush): Make into
19968         compat-only syscall, obsoleted in glibc 2.23.
19969         (create_module): Likewise.
19970         (get_kernel_syms): Likewise.
19971         (query_module): Likewise.
19972         (uselib): Likewise.
19973         * manual/sysinfo.texi (System Parameters): Do not mention bdflush.
19975 2015-12-11  Aurelien Jarno  <aurelien@aurel32.net>
19977         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include
19978         <linux/version.h>.
19979         [LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,23)]: Remove
19980         conditional code.
19981         (init_iosys): Use CTL_BUS_ISA instead of BUS_ISA in iobase_name
19982         and ioshift_name initialization.
19984 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
19986         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
19987         Fix indentation.
19989 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
19991         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Fix indentation.
19993 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
19995         * stdlib/strtol_l.c (__strtol_l): Fix indentation.
19997 2015-12-10  Aurelien Jarno  <aurelien@aurel32.net>
19998             Jakub Wilk  <jwilk@debian.org>
20000         [BZ #19347]
20001         * sysdeps/unix/grantpt.c [!HAVE_PT_CHOWN] (grantpt): Do not try
20002         to change the group of the device to the tty group.
20004 2015-12-10  Paul Eggert  <eggert@cs.ucla.edu>
20006         Split large string section; add truncation advice
20007         * manual/examples/strncat.c: Remove.
20008         This example was misleading, as the code would have undefined
20009         behavior if "hello" was longer than SIZE.  Anyway, the manual
20010         shouldn't encourage strncpy+strncat for this sort of thing.
20011         * manual/string.texi (Copying Strings and Arrays): Split into
20012         three sections Copying Strings and Arrays, Concatenating Strings,
20013         and Truncating Strings, as this section was way too long.  All
20014         cross-referenced changed.  Add advice about string-truncation
20015         functions.  Remove misleading strncat example.
20017 2015-12-10  Carlos O'Donell  <carlos@redhat.com>
20019         * manual/nss.texi (NSS Modules Interface): Document
20020         NSS_STATUS_NOTFOUND and SUCCESS.
20022 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
20024         [BZ 18568]
20025         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
20026         201505L, for Unicode 8.
20028 2015-12-09  Carlos O'Donell  <carlos@redhat.com>
20030         * locale/C-translit.h: Regenerate.
20032 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
20034         * locale/C-translit.h.in: Remove duplicate transliterations for U+0152
20035         and U+0153.
20037 2015-12-09  Joseph Myers  <joseph@codesourcery.com>
20039         [BZ #19351]
20040         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): When
20041         expanding log(1+z), compare z rather than its square with epsilon
20042         to determine when to avoid evaluating the expansion.
20044         [BZ #19350]
20045         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
20046         Increase overflow threshold.
20048         [BZ #19349]
20049         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Return argument
20050         when small.
20052         * sysdeps/unix/sysv/linux/i386/kernel-features.h
20053         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
20054         New macro.
20055         [__LINUX_KERNEL_VERSION >= 0x040300]
20056         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
20057         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
20058         Likewise.
20059         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
20060         Likewise.
20061         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
20062         Likewise.
20063         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
20064         Likewise.
20065         [__LINUX_KERNEL_VERSION >= 0x040300]
20066         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
20067         [__LINUX_KERNEL_VERSION >= 0x040300]
20068         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
20069         [__LINUX_KERNEL_VERSION >= 0x040300]
20070         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
20071         [__LINUX_KERNEL_VERSION >= 0x040300]
20072         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
20073         [__LINUX_KERNEL_VERSION >= 0x040300]
20074         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
20075         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
20076         Likewise.
20077         [__LINUX_KERNEL_VERSION >= 0x040300]
20078         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
20079         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
20080         Likewise.
20081         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
20082         Likewise.
20083         [__LINUX_KERNEL_VERSION >= 0x040300]
20084         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
20085         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
20086         Likewise.
20087         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
20088         Likewise.
20089         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
20090         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMMSG_SYSCALL):
20091         Likewise.
20092         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMMSG_SYSCALL):
20093         Likewise.
20094         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
20095         Likewise.
20096         [__LINUX_KERNEL_VERSION >= 0x040300]
20097         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
20098         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
20099         Likewise.
20100         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
20101         Likewise.
20102         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
20103         Likewise.
20104         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
20105         Likewise.
20106         [__LINUX_KERNEL_VERSION >= 0x040300]
20107         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
20108         [__LINUX_KERNEL_VERSION >= 0x040300]
20109         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
20110         [__LINUX_KERNEL_VERSION >= 0x040300]
20111         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
20112         [__LINUX_KERNEL_VERSION >= 0x040300]
20113         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
20114         [__LINUX_KERNEL_VERSION >= 0x040300]
20115         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
20116         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
20117         Likewise.
20118         [__LINUX_KERNEL_VERSION >= 0x040300]
20119         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
20120         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
20121         Likewise.
20122         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
20123         Likewise.
20124         [__LINUX_KERNEL_VERSION >= 0x040300]
20125         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
20126         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
20127         Likewise.
20128         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
20129         Likewise.
20130         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
20131         (__ASSUME_SOCKET_SYSCALL): Likewise.
20132         (__ASSUME_BIND_SYSCALL): Likewise.
20133         (__ASSUME_CONNECT_SYSCALL): Likewise.
20134         (__ASSUME_LISTEN_SYSCALL): Likewise.
20135         (__ASSUME_ACCEPT_SYSCALL): Likewise.
20136         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
20137         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
20138         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
20139         (__ASSUME_SEND_SYSCALL): Likewise.
20140         (__ASSUME_SENDTO_SYSCALL): Likewise.
20141         (__ASSUME_RECV_SYSCALL): Likewise.
20142         (__ASSUME_RECVFROM_SYSCALL): Likewise.
20143         (__ASSUME_SHUTDOWN_SYSCALL): Likewise.
20144         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
20145         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
20146         (__ASSUME_SENDMSG_SYSCALL): Likewise.
20147         (__ASSUME_RECVMSG_SYSCALL): Likewise.
20148         * sysdeps/unix/sysv/linux/sh/kernel-features.h
20149         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SOCKET_SYSCALL):
20150         Likewise.
20151         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_BIND_SYSCALL):
20152         Likewise.
20153         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_CONNECT_SYSCALL):
20154         Likewise.
20155         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_LISTEN_SYSCALL):
20156         Likewise.
20157         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_ACCEPT_SYSCALL):
20158         Likewise.
20159         [__LINUX_KERNEL_VERSION >= 0x020625]
20160         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
20161         [__LINUX_KERNEL_VERSION >= 0x020625]
20162         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
20163         [__LINUX_KERNEL_VERSION >= 0x020625]
20164         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
20165         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SEND_SYSCALL):
20166         Likewise.
20167         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDTO_SYSCALL):
20168         Likewise.
20169         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECV_SYSCALL):
20170         Likewise.
20171         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVFROM_SYSCALL):
20172         Likewise.
20173         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SHUTDOWN_SYSCALL):
20174         Likewise.
20175         [__LINUX_KERNEL_VERSION >= 0x020625]
20176         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
20177         [__LINUX_KERNEL_VERSION >= 0x020625]
20178         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
20179         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDMSG_SYSCALL):
20180         Likewise.
20181         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVMSG_SYSCALL):
20182         Likewise.
20184 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
20186         * sysdeps/unix/sysv/linux/mips/configure.ac (has-mpf64): Define to
20187         record the current if the current ABI and CPU support the FP64
20188         extension.
20189         (has-modd-spreg): Define to record the current if the current ABI and
20190         CPU support 32-bit floating point values in odd FPU registers.
20191         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
20192         * sysdeps/mips/Makefile (tst-abi-fpxxomod): Only build when
20193         $(has-modd-spreg) equals yes.
20194         (tst-abi-fp64amod): Only build when $(has-mpf64) equals yes.
20195         (tst-abi-fp64mod): Only build when both $(has-mpf64) and
20196         $(has-modd-spreg) equal yes.
20198 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
20200         * sysdeps/unix/grantpt.c (grantpt): Call__basename instead of
20201         basename.
20203 2015-12-08  Siddhesh Poyarekar  <sid@reserved-bit.com>
20205         * benchtests/Makefile (bench-math): Move ffs and ffsll...
20206         (bench-string): ... here.
20207         (bench): Add bench-string.
20208         (string-bench, wcsmbs-bench, stdlib-bench, stdio-common-bench): Rename
20209         to *-benchset to reflect what they are.
20210         (benchset): Adjust.
20212         * benchtests/sincos-inputs: Add inputs from sin-inputs and
20213         cos-inputs.
20215 2015-12-07  Andrew Senkevich  <andrew.senkevich@intel.com>
20217         * sysdeps/x86/fpu/bits/math-vector.h: W/o -fopenmp use GCC 6.*
20218         __attribute__ ((__simd__)) for vector math function declarations.
20220 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
20222         Fix typo in strncat, wcsncat manual entries
20223         * manual/string.texi (Copying and Concatenation): Fix typos in
20224         sample implementations of strncat and wcsncat, by having them use
20225         the old value of the destination length, not the new one.
20227 2015-12-04  Joseph Myers  <joseph@codesourcery.com>
20229         [BZ #16961]
20230         [BZ #16962]
20231         * math/s_nan.c (__nan): Use __strtod_nan instead of constructing a
20232         string on the stack for strtod.
20233         * math/s_nanf.c (__nanf): Use __strtof_nan instead of constructing
20234         a string on the stack for strtof.
20235         * math/s_nanl.c (__nanl): Use __strtold_nan instead of
20236         constructing a string on the stack for strtold.
20237         * stdlib/Versions (libc): Add __strtof_nan, __strtod_nan and
20238         __strtold_nan to GLIBC_PRIVATE.
20239         * math/test-nan-overflow.c: New file.
20240         * math/test-nan-payload.c: Likewise.
20241         * math/Makefile (tests): Add test-nan-overflow and
20242         test-nan-payload.
20244 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
20246         Consistency about byte vs character in string.texi
20247         * manual/string.texi (String and Array Utilities):
20248         Distinguish more carefully among bytes, multibyte characters,
20249         and wide characters.  Use "byte" when talking about C 'char',
20250         to distinguish it more clearly from multibyte characters.
20251         Say "wide character" or "multibyte character" instead of
20252         "character", when a wide or multibyte character is intended.
20253         Similarly for "multibyte string" versus "string".
20254         Define these terms more carefully.
20256 2015-12-03  Chris Metcalf  <cmetcalf@ezchip.com>
20258         * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): New symbol.
20259         * sysdeps/microblaze/math_private.h (LDBL_CLASSIFY_COMPAT):
20260         Likewise.
20261         * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
20262         * sysdeps/nios2/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
20263         * sysdeps/sh/math_private.h: New file.
20264         * sysdeps/m68k/coldfire/fpu/math_private.h: Likewise.
20265         * sysdeps/ieee754/dbl-64/s_finite.c [defined NO_LONG_DOUBLE &&
20266         defined LDBL_CLASSIFY_COMPAT]: Create compat symbol for internal
20267         long double function name.
20268         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
20269         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
20270         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
20271         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
20272         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
20273         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
20274         Remove __finitel, __isinfl, and __isnanl.
20275         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
20276         Likewise.
20277         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
20278         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
20279         Remove __finitel.
20280         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
20281         Likewise.
20282         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
20284 2015-12-03  Andrew Senkevich  <andrew.senkevich@intel.com>
20286         * math/Makefile ($(inst_libdir)/libm.so): Corrected path to
20287         installed libmvec_nonshared.a.
20289 2015-12-03  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
20291         * sysdeps/powerpc/Makefile (sysdep-dl-routines): Add hwcapinfo.
20292         (sysdep_routines): Likewise.
20293         (sysdep-rtld-routines): Likewise.
20294         [$(subdir) = nptl](tests): Add test-get_hwcap and test-get_hwcap-static
20295         [$(subdir) = nptl](tests-static): test-get_hwcap-static
20296         * sysdeps/powerpc/Versions: Added new
20297         __parse_hwcap_and_convert_at_platform symbol to GLIBC-2.23.
20298         * sysdeps/powerpc/hwcapinfo.c: New file.
20299         (__tcb_parse_hwcap_and_convert_at_platform): New function to initialize
20300         and parse hwcap, hwcap2 and platform number information.
20301         * sysdeps/powerpc/hwcapinfo.h: New file.  Creates global variables
20302         to store HWCAP+HWCAP2 and platform number.
20303         * sysdeps/powerpc/nptl/tcb-offsets.sym: Added new offsets
20304         for HWCAP+HWCAP2 and platform number in the TCB.
20305         * sysdeps/powerpc/nptl/tls.h: New functionality.  Stores
20306         the HWCAP, HWCAP2 and platform number in the TCB.
20307         (dtv): Added new fields for HWCAP+HWCAP2 and platform number.
20308         (TLS_INIT_TP): Included calls to add the hwcap and
20309         at_platform values in the TCB in TP initialization.
20310         (TLS_DEFINE_INIT_TP): Likewise.
20311         (THREAD_GET_HWCAP): New macro.
20312         (THREAD_SET_HWCAP): Likewise.
20313         (THREAD_GET_AT_PLATFORM): Likewise.
20314         (THREAD_SET_AT_PLATFORM): Likewise.
20315         * sysdeps/powerpc/powerpc32/dl-machine.h:
20316         (dl_platform_init): New function that calls
20317         __parse_hwcap_and_convert_at_platform for the dymanic linking case for
20318         powerpc32.
20319         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise, for powerpc64.
20320         * sysdeps/powerpc/test-get_hwcap-static.c: New file.  Testcase for
20321         this functionality, static linking case.
20322         * sysdeps/powerpc/test-get_hwcap.c: New file.  Likewise, dynamic
20323         linking case.
20324         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Added call to
20325         __parse_hwcap_and_convert_at_platform for the static linking case.
20326         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist:
20327         Included the new __parse_hwcap_and_convert_at_platform symbol in the
20328         ABI list for GLIBC 2.23.
20329         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist:
20330         Likewise.
20331         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist:
20332         Likewise.
20334 2015-12-02  Ludovic Courtès  <ludo@gnu.org>
20336         * configure.ac: Use 'pwd -P' instead of '/bin/pwd'.
20337         * configure: Regenerate.
20338         * io/ftwtest-sh: Use 'pwd -P' instead of '/bin/pwd'.
20339         * scripts/rellns-sh: Likewise.  Remove 'pwd' variable.
20341 2015-12-02  Carlos O'Donell  <carlos@redhat.com>
20343         * iconvdata/ibm930.c: Add comment explaining encoding uses.
20344         * iconvdata/ibm933.c: Likewise.
20345         * iconvdata/ibm935.c: Likewise.
20346         * iconvdata/ibm937.c: Likewise.
20347         * iconvdata/ibm939.c: Likewise.
20349 2015-12-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20351         * nptl/tst-cancel20.c (do_one_test): Move the pipe closing after
20352         pthread_join.
20353         * nptl/tst-cancel21.c (tf): Likewise.
20355 2015-12-01  H.J. Lu  <hongjiu.lu@intel.com>
20357         [BZ #19313]
20358         * bits/typesizes.h (__CPU_MASK_TYPE): New.
20359         * sysdeps/mach/hurd/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
20360         * sysdeps/nacl/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
20361         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h (__CPU_MASK_TYPE):
20362         Likewise.
20363         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h (__CPU_MASK_TYPE):
20364         Likewise.
20365         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h (__CPU_MASK_TYPE):
20366         Likewise.
20367         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h (__CPU_MASK_TYPE):
20368         Likewise.
20369         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h (__CPU_MASK_TYPE):
20370         * sysdeps/unix/sysv/linux/bits/sched.h (__cpu_mask): Replace
20371         unsigned long int with __CPU_MASK_TYPE.
20373 2015-12-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
20375         * sysdeps/aarch64/libm-test-ulps: Regenerated.
20377 2015-12-01  Joseph Myers  <joseph@codesourcery.com>
20379         * sysdeps/ieee754/dbl-64/e_sqrt.c: Do not include uroot.h.
20380         (__ieee754_sqrt): Use hex float constants instead of tm256.x and
20381         t512.x.
20382         * sysdeps/ieee754/dbl-64/uroot.h: Remove file.
20384 2015-11-30  Amit Pawar  <amit.pawar@amd.com>
20386         [BZ #19214]
20387         * sysdeps/x86/cpu-features.c (get_common_indeces): Add an
20388         argument to return extended model.  Update family and model
20389         with extended family and model when family == 0x0f.
20390         (init_cpu_features): Updated.
20392 2015-11-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20394         The RPC interface used by mmap uses the unsigned vm_offset_t, not the
20395         signed off_t, so 32bit bigger than 2GiB values are fine actually.
20397         * sysdeps/mach/hurd/mmap64.c: New file.
20399 2015-11-29  Thomas Schwinge  <thomas@codesourcery.com>
20401         * sysdeps/mach/hurd/fork.c (__fork): Install correct number of send
20402         rights for its main user thread in NEWTASK.
20404 2015-11-28  Maciej W. Rozycki  <macro@imgtec.com>
20406         * sysdeps/mips/fpu_control.h (_FPU_RESERVED): Include ABS2008.
20407         (_FPU_DEFAULT, _FPU_IEEE) [__mips_nan2008]: Set ABS2008.
20409 2015-11-27  Carlos O'Donell  <carlos@redhat.com>
20411         [BZ #14259]
20412         * Makeconfig: Rename localedir to complocaledir.
20413         Rename inst_localedir to inst_complocaledir.
20414         * aclocal.m4: Rename libc_cv_localedir to libc_cv_complocaledir.
20415         * config.make.in: Use complocaledir and libc_cv_complocaledir.
20416         * configure.ac: Use libc_cv_complocaledir.
20417         * configure: Regenerate.
20418         * locale/Makefile: Use complocaledir. Rename define -DLOCALEDIR to
20419         -DCOMPLOCALEDIR.
20420         * locale/findlocale.c: Use COMPLOCALEDIR.
20421         * locale/loadarchive.c: Likewise.
20422         * locale/programs/locale.c: Likewise.
20423         * locale/programs/localedef.c: Likewise.
20424         * locale/programs/locarchive.c: Likewise.
20425         * localedata/Makefile: Use inst_complocaledir.
20426         * sysdeps/gnu/configure: Regenerate.
20427         * sysdeps/hppa/configure: Regenerate.
20428         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
20429         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
20430         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
20431         * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
20432         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
20433         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
20434         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
20436 2015-11-27  Andrew Senkevich  <andrew.senkevich@intel.com>
20438         [BZ #19058]
20439         * math/Makefile ($(inst_libdir)/libm.so): Added libmvec_nonshared.a to
20440         AS_NEEDED.
20441         * sysdeps/x86/fpu/bits/math-vector.h: Removed code with asm aliases
20442         workaround.
20443         * sysdeps/x86_64/fpu/Makefile (libmvec-support,
20444         libmvec-static-only-routines): Added new file.
20445         * sysdeps/x86_64/fpu/svml_finite_alias.S: New file.
20447 2015-11-25  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20449         * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Destroy reply port
20450         of interrupted RPC instead of restoring it.
20452         * sysdeps/i386/setjmp.S (__sigsetjmp): Add hidden_def.
20453         * sysdeps/mach/hurd/accept4.c (__libc_accept4): Remove
20454         libc_hidden_def.
20455         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Initialize to get
20456         into initialized data instead of common. Define rtld_hidden_data_def.
20457         * sysdeps/mach/hurd/fxstatat64.c (__fxstatat64): Add libc_hidden_def.
20458         * sysdeps/mach/hurd/if_index.c (__if_freenameindex): Add
20459         libc_hidden_def.
20460         (if_freenameindex): Add libc_hidden_weak.
20461         (if_nameindex): Add libc_hidden_weak.
20462         * sysdeps/mach/hurd/open.c (_open64): Rename libc_hidden_weak into
20463         __open64.
20464         * sysdeps/mach/hurd/sigwait.c (__sigwait): Add libc_hidden_def.
20465         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Add libc_hidden_def.
20466         * sysdeps/mach/nanosleep.c: Include <time.h>
20467         (__nanosleep): Rename to __libc_nanosleep.
20468         (__nanosleep): Add weak_alias.
20469         (nanosleep): Update alias.
20471 2015-11-24  Joseph Myers  <joseph@codesourcery.com>
20473         * stdlib/strtod_nan.c: New file.
20474         * stdlib/strtod_nan_double.h: Likewise.
20475         * stdlib/strtod_nan_float.h: Likewise.
20476         * stdlib/strtod_nan_main.c: Likewise.
20477         * stdlib/strtod_nan_narrow.h: Likewise.
20478         * stdlib/strtod_nan_wide.h: Likewise.
20479         * stdlib/strtof_nan.c: Likewise.
20480         * stdlib/strtold_nan.c: Likewise.
20481         * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Likewise.
20482         * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Likewise.
20483         * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Likewise.
20484         * wcsmbs/wcstod_nan.c: Likewise.
20485         * wcsmbs/wcstof_nan.c: Likewise.
20486         * wcsmbs/wcstold_nan.c: Likewise.
20487         * stdlib/Makefile (routines): Add strtof_nan, strtod_nan and
20488         strtold_nan.
20489         * wcsmbs/Makefile (routines): Add wcstod_nan, wcstold_nan and
20490         wcstof_nan.
20491         * include/stdlib.h (__strtof_nan): Declare and use
20492         libc_hidden_proto.
20493         (__strtod_nan): Likewise.
20494         (__strtold_nan): Likewise.
20495         (__wcstof_nan): Likewise.
20496         (__wcstod_nan): Likewise.
20497         (__wcstold_nan): Likewise.
20498         * include/wchar.h (____wcstoull_l_internal): Declare.
20499         * stdlib/strtod_l.c: Do not include <ieee754.h>.
20500         (____strtoull_l_internal): Remove declaration.
20501         (STRTOF_NAN): Define macro.
20502         (SET_MANTISSA): Remove macro.
20503         (STRTOULL): Likewise.
20504         (____STRTOF_INTERNAL): Use STRTOF_NAN to parse NaN payload.
20505         * stdlib/strtof_l.c (____strtoull_l_internal): Remove declaration.
20506         (STRTOF_NAN): Define macro.
20507         (SET_MANTISSA): Remove macro.
20508         * sysdeps/ieee754/ldbl-128/strtold_l.c (STRTOF_NAN): Define macro.
20509         (SET_MANTISSA): Remove macro.
20510         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (STRTOF_NAN): Define
20511         macro.
20512         (SET_MANTISSA): Remove macro.
20513         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (STRTOF_NAN): Define
20514         macro.
20515         (SET_MANTISSA): Remove macro.
20516         * sysdeps/ieee754/ldbl-96/strtold_l.c (STRTOF_NAN): Define macro.
20517         (SET_MANTISSA): Remove macro.
20518         * wcsmbs/wcstod_l.c (____wcstoull_l_internal): Remove declaration.
20519         * wcsmbs/wcstof_l.c (____wcstoull_l_internal): Likewise.
20520         * wcsmbs/wcstold_l.c (____wcstoull_l_internal): Likewise.
20522         [BZ #19266]
20523         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check directly for
20524         upper case and lower case letters inside NAN(), not using TOLOWER.
20525         * stdlib/tst-strtod-nan-locale-main.c: New file.
20526         * stdlib/tst-strtod-nan-locale.c: Likewise.
20527         * stdlib/Makefile (tests): Add tst-strtod-nan-locale.
20528         [$(run-built-tests) = yes] ($(objpfx)tst-strtod-nan-locale.out):
20529         Depend on $(gen-locales).
20530         ($(objpfx)tst-strtod-nan-locale): Depend on $(libm).
20531         * wcsmbs/tst-wcstod-nan-locale.c: New file.
20532         * wcsmbs/Makefile (tests): Add tst-wcstod-nan-locale.
20533         [$(run-built-tests) = yes] ($(objpfx)tst-wcstod-nan-locale.out):
20534         Depend on $(gen-locales).
20535         ($(objpfx)tst-wcstod-nan-locale): Depend on $(libm).
20537 2015-11-24  Chris Metcalf  <cmetcalf@ezchip.com>
20539         * misc/tst-tsearch.c (TIMEOUT): Set to 10.
20541         * sysdeps/tile/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
20542         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Add
20543         __finitel, __isinfl, and __isnanl.
20544         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
20545         Likewise.
20546         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
20547         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Add
20548         __finitel.
20549         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
20550         Likewise.
20551         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
20553 2015-11-24  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
20555         * malloc/memusage.c (me): Remove redundant getenv call.
20557 2015-10-24  Florian Weimer  <fweimer@redhat.com>
20559         [BZ #19143]
20560         [BZ #19164]
20561         * nptl/check-cpuset.h: Remove.
20562         * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
20563         Remove CPU set size check.
20564         * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
20565         Likewise.
20566         * sysdeps/unix/sysv/linux/check-cpuset.h: Remove.
20567         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
20568         (__kernel_cpumask_size, __determine_cpumask_size): Remove.
20569         (__pthread_setaffinity_new): Remove CPU set size check.
20570         * sysdeps/unix/sysv/linux/sched_setaffinity.c
20571         (__kernel_cpumask_size): Remove.
20572         (__sched_setaffinity_new): Remove CPU set size check.
20573         * manual/threads.texi (Default Thread Attributes): Remove stale
20574         reference to check_cpuset_attr, determine_cpumask_size in comment.
20575         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == posix] (tests):
20576         Remove tst-getcpu.  Add tst-affinity, tst-affinity-pid.
20577         [$(subdir) == nptl] (tests): Add tst-thread-affinity-pthread,
20578         tst-thread-affinity-pthread2, tst-thread-affinity-sched.
20579         * sysdeps/unix/sysv/linux/tst-affinity.c: New file.
20580         * sysdeps/unix/sysv/linux/tst-affinity-pid.c: New file.
20581         * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c: New skeleton test file.
20582         * sysdeps/unix/sysv/linux/tst-thread-affinity-sched.c: New file.
20583         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread.c: New file.
20584         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread2.c: New file.
20585         * sysdeps/unix/sysv/linux/tst-thread-skeleton-affinity.c: New
20586         skeleton test file.
20587         * sysdeps/unix/sysv/linux/tst-getcpu.c: Remove.  Superseded by
20588         tst-affinity-pid.
20590 2015-11-24  Florian Weimer  <fweimer@redhat.com>
20592         * scripts/update-abilist.sh: New file.
20593         * Makefile (+subdir_targets): Add subdir_update-all-abi.
20594         * Makerules (update-all-abi-%, update-all-abi)
20595         (subdir_update-all-abi): New targets.
20596         * elf/Makefile (update-all-abi): New target.
20598 2015-11-24  Florian Weimer  <fweimer@redhat.com>
20600         Replace MUTEX_INITIALIZER with _LIBC_LOCK_INITIALIZER in generic code.
20601         * sysdeps/mach/hurd/libc-lock.h (_LIBC_LOCK_INITIALIZER): Define.
20602         (__libc_lock_define_initialized): Use it.
20603         * sysdeps/nptl/libc-lockP.h (_LIBC_LOCK_INITIALIZER): Define.
20604         * malloc/arena.c (list_lock): Use _LIBC_LOCK_INITIALIZER.
20605         * malloc/malloc.c (main_arena): Likewise.
20606         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): Remove.
20607         * sysdeps/nptl/malloc-machine.h (MUTEX_INITIALIZER): Remove.
20609 2015-11-23  Joseph Myers  <joseph@codesourcery.com>
20611         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
20612         (PTRACE_O_EXITKILL): New value in enum __ptrace_setoptions.
20613         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
20614         (PTRACE_O_MASK): Update value.
20615         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_O_EXITKILL):
20616         New value in enum __ptrace_setoptions.
20617         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
20618         (PTRACE_O_MASK): Update value.
20619         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
20620         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
20621         (PTRACE_O_MASK): Update value.
20622         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
20623         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
20624         (PTRACE_O_MASK): Update value.
20625         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
20626         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
20627         (PTRACE_O_MASK): Update value.
20628         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_SUSPEND_SECCOMP):
20629         New value in enum __ptrace_setoptions.
20630         (PTRACE_O_MASK): Update value.
20631         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_O_EXITKILL):
20632         New value in enum __ptrace_setoptions.
20633         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
20634         (PTRACE_O_MASK): Update value.
20636         * sysdeps/unix/sysv/linux/netpacket/packet.h (PACKET_COPY_THRESH):
20637         New macro.
20638         (PACKET_AUXDATA): Likewise.
20639         (PACKET_ORIGDEV): Likewise.
20640         (PACKET_VERSION): Likewise.
20641         (PACKET_HDRLEN): Likewise.
20642         (PACKET_RESERVE): Likewise.
20643         (PACKET_TX_RING): Likewise.
20644         (PACKET_LOSS): Likewise.
20645         (PACKET_VNET_HDR): Likewise.
20646         (PACKET_TX_TIMESTAMP): Likewise.
20647         (PACKET_TIMESTAMP): Likewise.
20648         (PACKET_FANOUT): Likewise.
20649         (PACKET_TX_HAS_OFF): Likewise.
20650         (PACKET_QDISC_BYPASS): Likewise.
20651         (PACKET_ROLLOVER_STATS): Likewise.
20652         (PACKET_FANOUT_DATA): Likewise.
20653         (PACKET_MR_UNICAST): Likewise.
20655         [BZ #19242]
20656         * stdlib/strtol_l.c (ISALPHA): Use _nl_C_locobj_ptr for locale.
20657         (TOUPPER): Likewise.
20658         * stdlib/tst-strtol-locale-main.c: New file.
20659         * stdlib/tst-strtol-locale.c: Likewise.
20660         * stdlib/Makefile (tests): Add tst-strtol-locale.
20661         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.ISO-8859-9.
20662         [$(run-built-tests) = yes] ($(objpfx)tst-strtol-locale.out):
20663         Depend on $(gen-locales).
20664         * wcsmbs/tst-wcstol-locale.c: New file.
20665         * wcsmbs/Makefile (tests): Add tst-wcstol-locale.
20666         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.UTF-8 and
20667         tr_TR.ISO-8859-9.
20668         [$(run-built-tests) = yes] ($(objpfx)tst-wcstol-locale.out):
20669         Depend on $(gen-locales).
20671 2015-11-20  Roland McGrath  <roland@hack.frob.com>
20673         * sysdeps/nacl/dl-map-segments.h (_dl_map_segments): Use
20674         __glibc_likely instead of __builtin_expect.  After falling back to
20675         dyncode_create in a non-ET_DYN case, use the allocate_code_data
20676         system interface to register the code pages as occupied.
20678 2015-11-20  Joseph Myers  <joseph@codesourcery.com>
20680         * sysdeps/arm/math_private.h [!_MATH_PRIVATE_H]: Change guard to
20681         [!ARM_MATH_PRIVATE_H].
20682         [!ARM_MATH_PRIVATE_H] (ARM_MATH_PRIVATE_H): Define macro.
20683         * sysdeps/hppa/math_private.h [!_MATH_PRIVATE_H]: Change guard to
20684         [!HPPA_MATH_PRIVATE_H].
20685         [!HPPA_MATH_PRIVATE_H] (HPPA_MATH_PRIVATE_H): Define macro.
20686         * sysdeps/i386/fpu/math_private.h [!_MATH_PRIVATE_H]: Change guard
20687         to [!I386_MATH_PRIVATE_H].
20688         [!I386_MATH_PRIVATE_H] (I386_MATH_PRIVATE_H): Define macro.
20689         * sysdeps/m68k/m680x0/fpu/math_private.h [!_MATH_PRIVATE_H]:
20690         Change guard to [!M68K_MATH_PRIVATE_H].
20691         [!M68K_MATH_PRIVATE_H] (M68K_MATH_PRIVATE_H): Define macro.
20692         * sysdeps/microblaze/math_private.h [!_MATH_PRIVATE_H]: Change
20693         guard to [!MICROBLAZE_MATH_PRIVATE_H].
20694         [!MICROBLAZE_MATH_PRIVATE_H] (MICROBLAZE_MATH_PRIVATE_H): Define
20695         macro.
20696         * sysdeps/mips/math_private.h [!_MATH_PRIVATE_H]: Change guard to
20697         [!MIPS_MATH_PRIVATE_H].
20698         [!MIPS_MATH_PRIVATE_H] (MIPS_MATH_PRIVATE_H): Define macro.
20699         * sysdeps/nios2/math_private.h [!_MATH_PRIVATE_H]: Change guard to
20700         [!NIO2_MATH_PRIVATE_H].
20701         [!NIO2_MATH_PRIVATE_H] (NIO2_MATH_PRIVATE_H): Define macro.
20702         * sysdeps/tile/math_private.h [!_MATH_PRIVATE_H]: Change guard to
20703         [!TILE_MATH_PRIVATE_H].
20704         [!TILE_MATH_PRIVATE_H] (TILE_MATH_PRIVATE_H): Define macro.
20706         [BZ #15421]
20707         * sysdeps/ieee754/s_signgam.c (signgam): Rename to __signgam,
20708         initialize with 0 and define as weak alias of __signgam.
20709         * include/math.h [!_ISOMAC] (__signgam): Declare.
20710         * math/Makefile (libm-calls): Add w_lgamma_compat.
20711         (tests): Add test-signgam-uchar, test-signgam-uchar-init,
20712         test-signgam-uint, test-signgam-uint-init, test-signgam-ullong and
20713         test-signgam-ullong-init.
20714         (tests-static): Add test-signgam-uchar-static,
20715         test-signgam-uchar-init-static, test-signgam-uint-static,
20716         test-signgam-uint-init-static, test-signgam-ullong-static and
20717         test-signgam-ullong-init-static.
20718         (CFLAGS-test-signgam-uchar.c): New variable.
20719         (CFLAGS-test-signgam-uchar-init.c): Likewise.
20720         (CFLAGS-test-signgam-uchar-static.c): Likewise.
20721         (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
20722         (CFLAGS-test-signgam-uint.c): Likewise.
20723         (CFLAGS-test-signgam-uint-init.c): Likewise.
20724         (CFLAGS-test-signgam-uint-static.c): Likewise.
20725         (CFLAGS-test-signgam-uint-init-static.c): Likewise.
20726         (CFLAGS-test-signgam-ullong.c): Likewise.
20727         (CFLAGS-test-signgam-ullong-init.c): Likewise.
20728         (CFLAGS-test-signgam-ullong-static.c): Likewise.
20729         (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
20730         * math/Versions (libm): Add GLIBC_2.23.
20731         * math/lgamma-compat.h: New file.
20732         * math/test-signgam-main.c: Likewise.
20733         * math/test-signgam-uchar-init-static.c: Likewise.
20734         * math/test-signgam-uchar-init.c: Likewise.
20735         * math/test-signgam-uchar-static.c: Likewise.
20736         * math/test-signgam-uchar.c: Likewise.
20737         * math/test-signgam-uint-init-static.c: Likewise.
20738         * math/test-signgam-uint-init.c: Likewise.
20739         * math/test-signgam-uint-static.c: Likewise.
20740         * math/test-signgam-uint.c: Likewise.
20741         * math/test-signgam-ullong-init-static.c: Likewise.
20742         * math/test-signgam-ullong-init.c: Likewise.
20743         * math/test-signgam-ullong-static.c: Likewise.
20744         * math/test-signgam-ullong.c: Likewise.
20745         * math/w_lgamma.c: Rename to w_lgamma_main.c and replace by
20746         wrapper of w_lgamma_main.c.
20747         * math/w_lgamma_compat.c: New file.
20748         * math/w_lgamma_compatf.c: Likewise.
20749         * math/w_lgamma_compatl.c: Likewise.
20750         * math/w_lgamma_main.c: New file.  Based on w_lgamma.c.  Include
20751         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
20752         defining compatibility symbols.
20753         (__lgamma): Change to LGFUNC (__lgamma).  Use CALL_LGAMMA.
20754         * math/w_lgammaf.c: Rename to w_lgammaf_main.c and replace by
20755         wrapper of w_lgammaf_main.c.
20756         * math/w_lgammaf_main.c: New file.  Based on w_lgammaf.c.  Include
20757         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
20758         defining compatibility symbols.
20759         (__lgammaf): Change to LGFUNC (__lgammaf).  Use CALL_LGAMMA.
20760         * math/w_lgammal.c: Rename to w_lgammal_main.c and replace by
20761         wrapper of w_lgammal_main.c.
20762         * math/w_lgammal_main.c: New file.  Based on w_lgammal.c.  Include
20763         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
20764         defining compatibility symbols.
20765         (__lgammal): Change to LGFUNC (__lgammal).  Use CALL_LGAMMA.
20766         * sysdeps/ia64/fpu/lgamma-compat.h: New file.
20767         * sysdeps/ia64/fpu/w_lgamma.c: Move to ....
20768         * sysdeps/ia64/fpu/w_lgamma_main.c: ...here.  Include
20769         <lgamma-compat.h>.
20770         (__ieee754_lgamma): Change to LGFUNC (lgamma).  Use CALL_LGAMMA.
20771         (__ieee754_gamma): Define as alias.
20772         * sysdeps/ia64/fpu/w_lgammaf.c: Move to ....
20773         * sysdeps/ia64/fpu/w_lgammaf_main.c: ...here.  Include
20774         <lgamma-compat.h>.
20775         (__ieee754_lgammaf): Change to LGFUNC (lgammaf).  Use CALL_LGAMMA.
20776         (__ieee754_gammaf): Define as alias.
20777         * sysdeps/ia64/fpu/w_lgammal.c: Move to ....
20778         * sysdeps/ia64/fpu/w_lgammal_main.c: ...here.  Include
20779         <lgamma-compat.h>.
20780         (__ieee754_lgammal): Change to LGFUNC (lgammal).  Use CALL_LGAMMA.
20781         (__ieee754_gammal): Define as alias.
20782         * sysdeps/ieee754/ldbl-opt/w_lgamma.c: Move to ....
20783         * sysdeps/ieee754/ldbl-opt/w_lgamma_compat.c: ...here.  Include
20784         <math/w_lgamma_compat.c>.
20785         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__lgammal_dbl_compat):
20786         Define as alias of __lgamma_compat and use in defining lgammal.
20787         * sysdeps/ieee754/ldbl-opt/w_lgammal.c: Move to ....
20788         * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c: ...here.  Include
20789         <math/lgamma-compat.h> and <math/w_lgamma_compatl.c>.
20790         (USE_AS_COMPAT): New macro.
20791         (LGAMMA_OLD_VER): Undefine and redefine.
20792         (lgammal): Do not define here.
20793         (gammal): Only define here if [GAMMA_ALIAS].
20794         * conform/linknamespace.pl (@whitelist): Remove signgam.
20795         * sysdeps/nacl/libm.abilist: Update.
20796         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
20797         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
20798         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
20799         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
20800         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
20801         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
20802         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
20803         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
20804         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
20805         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
20806         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
20807         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
20808         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
20809         Likewise.
20810         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
20811         Likewise.
20812         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
20813         Likewise.
20814         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
20815         Likewise.
20816         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
20817         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
20818         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
20819         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
20820         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
20821         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
20822         Likewise.
20823         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
20824         Likewise.
20825         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
20826         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
20827         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
20829 2015-11-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20831         [BZ #16364]
20832         * sysdeps/unix/sysv/linux/sleep.c: Remove file.
20833         * sysdeps/posix/sleep.c (__sleep): Simplify cancellation handling.
20835 2015-11-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
20837         * sysdeps/s390/fpu/bits/mathinline.h:
20838         Use __asm__ [__volatile__] instead of asm [volatile].
20839         * sysdeps/s390/abort-instr.h: Likewise.
20840         * sysdeps/s390/atomic-machine.h: Likewise.
20841         * sysdeps/s390/bits/string.h: Likewise.
20842         * sysdeps/s390/dl-tls.h: Likewise.
20843         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
20844         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
20845         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
20846         * sysdeps/s390/fpu/fesetround.c: Likewise.
20847         * sysdeps/s390/fpu/fpu_control.h: Likewise.
20848         * sysdeps/s390/fpu/s_fma.c: Likewise.
20849         * sysdeps/s390/fpu/s_fmaf.c: Likewise.
20850         * sysdeps/s390/memusage.h: Likewise.
20851         * sysdeps/s390/multiarch/ifunc-resolve.h: Likewise.
20852         * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
20853         * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
20854         * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
20855         * sysdeps/s390/nptl/tls.h: Likewise.
20856         * sysdeps/s390/s390-32/__longjmp.c: Likewise.
20857         * sysdeps/s390/s390-32/backtrace.c: Likewise.
20858         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
20859         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
20860         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
20861         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
20862         * sysdeps/s390/s390-64/__longjmp.c: Likewise.
20863         * sysdeps/s390/s390-64/backtrace.c: Likewise.
20864         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
20865         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Likewise.
20866         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
20867         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
20868         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
20869         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Likewise.
20870         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
20871         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
20872         * sysdeps/unix/sysv/linux/s390/brk.c: Likewise.
20873         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
20874         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Likewise.
20875         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
20876         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c: Likewise.
20877         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
20878         * sysdeps/unix/sysv/linux/s390/sysconf.c: Likewise.
20880 2015-11-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20881             Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
20883         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
20884         Add lwarx hint, and use macro for acquire instruction.
20885         * sysdeps/powerpc/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
20886         Likewise.
20887         * sysdep/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Move to ...
20888         * sysdeps/powerpc/nptl/pthread_spin_unlock.c: ... here, and
20889         update to use new atomic macros.
20891 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
20893         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
20894         (__lll_trylock_elision): Fix setting of adapt_count.
20895         * sysdeps/unix/sysv/linux/powerpc/htm.h
20896         (_ABORT_PERSISTENT): Define to clarify persistent aborts.
20897         (_ABORT_NESTED_TRYLOCK): Renumber, and make persistent.
20898         (_ABORT_SYSCALL): Renumber, and clarify definition.
20899         (_ABORT_LOCK_BUSY): Renumber, make non-persistent.
20901 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
20903         * sysdeps/ieee754/ldbl-128ibm/mpn2ldl.c: Include gmp headers
20904         after system headers to prevent MIN/MAX redefinition.  Define
20905         HAVE_ALLOCA to preserve builtin alloca usage.
20907 2015-11-17  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
20909         * sysdeps/ieee754/dbl-64/s_sin.c (__sin)[IN_SINCOS]: Mark function
20910         static and don't set or restore rounding.
20911         (__cos)[IN_SINCOS]: Likewise.
20912         * sysdeps/ieee754/dbl-64/s_sincos.c: Include s_sin.c.
20913         (__sincos): Set and restore rounding mode.  Remove check for infinite
20914         or NaN input.
20916         * sysdeps/ieee754/dbl-64/s_sin.c: Remove redundant else clauses.
20918         * benchtests/scripts/bench.py (_print_arg_data): Mark output variables
20919         as used.
20921 2015-11-16  Florian Weimer  <fweimer@redhat.com>
20923         * math/test-signgam-finite-c99.c (_Mlong_double_): Undefine.
20925 2015-11-14  H.J. Lu  <hongjiu.lu@intel.com>
20927         * config.make.in (have-glob-dat-reloc): New.
20928         * configure.ac (libc_cv_has_glob_dat): New.  Set to yes if
20929         target supports GLOB_DAT relocaton. AC_SUBST.
20930         * configure: Regenerated.
20931         * elf/Makefile (tests): Add tst-prelink.
20932         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
20933         (tst-prelink-ENV): New.
20934         ($(objpfx)tst-prelink-conflict.out): Likewise.
20935         ($(objpfx)tst-prelink-cmp.out): Likewise.
20936         * sysdeps/x86/tst-prelink.c: Moved to ...
20937         * elf/tst-prelink.c: Here.
20938         * sysdeps/x86/tst-prelink.exp: Moved to ...
20939         * elf/tst-prelink.exp: Here.
20940         * sysdeps/x86/Makefile (tests): Don't add tst-prelink.
20941         (tst-prelink-ENV): Removed.
20942         ($(objpfx)tst-prelink-conflict.out): Likewise.
20943         ($(objpfx)tst-prelink-cmp.out): Likewise.
20944         (tests-special): Don't add $(objpfx)tst-prelink-cmp.out.
20946 2015-11-13  Joseph Myers  <joseph@codesourcery.com>
20948         [BZ #14551]
20949         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Include <errno.h>.
20950         (__mpn_construct_long_double): If high part overflows to infinity,
20951         set errno and recompute overflowed result of the correct sign.
20952         * sysdeps/ieee754/ldbl-128ibm/Makefile
20953         [$(subdir) = stdlib] (tests): Add tst-strtold-ldbl-128ibm.
20954         [$(subdir) = stdlib] ($(objpfx)tst-strtold-ldbl-128ibm): Depend on
20955         $(libm).
20956         * sysdeps/ieee754/ldbl-128ibm/tst-strtold-ldbl-128ibm.c: New file.
20958 2015-11-12  Joseph Myers  <joseph@codesourcery.com>
20960         [BZ #15479]
20961         [BZ #19238]
20962         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Save
20963         floating-point state after first operation on input.  Restore full
20964         state rather than just rounding mode.
20965         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
20966         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
20967         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
20969         [BZ #19235]
20970         * sysdeps/powerpc/powerpc64/fpu/s_llround.S (__llround): Do not
20971         add 0.5 to integer arguments.
20972         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S (__llroundf):
20973         Likewise.
20974         (.LC2): New object.
20976 2015-11-11  Mike Frysinger  <vapier@gentoo.org>
20978         * scripts/pylintrc (reports): Set to no.
20980 2015-11-10  Roland McGrath  <roland@hack.frob.com>
20982         * elf/dl-load.c (open_verify): Take new argument FD.
20983         Skip __open call if passed FD is not -1.
20984         (_dl_map_object, open_path): Update callers.
20985         * elf/dl-sysdep-open.h: New file.
20986         * elf/dl-load.c: Include it.
20987         (_dl_map_object): Try _dl_sysdep_open_object before ldconfig cache.
20988         * sysdeps/nacl/dl-sysdep.c (_dl_sysdep_open_object): New function.
20989         * sysdeps/nacl/dl-sysdep-open.h: New file.
20990         * sysdeps/nacl/nacl-interface-list.h: Move nacl_irt_resource_open
20991         from libc to rtld.
20993 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
20995         [BZ #19228]
20996         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Save
20997         and restore full floating-point state.
20998         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
20999         Likewise.
21000         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
21001         Likewise.
21002         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
21003         Likewise.
21004         * math/test-nearbyint-except-2.c: New file.
21005         * math/Makefile (tests): Add test-nearbyint-except-2.
21007 2015-11-10  H.J. Lu  <hongjiu.lu@intel.com>
21009         [BZ #19178]
21010         * sysdeps/x86/Makefile (tests): Add tst-prelink.
21011         (tst-prelink-ENV): New.
21012         ($(objpfx)tst-prelink-conflict.out): Likewise.
21013         ($(objpfx)tst-prelink-cmp.out): Likewise.
21014         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
21015         * sysdeps/x86/tst-prelink.c: New file.
21016         * sysdeps/x86/tst-prelink.exp: Likewise.
21018 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
21020         * math/auto-libm-test-in: Add another test of pow.
21021         * math/auto-libm-test-out: Regenerated.
21022         * math/libm-test.inc (pow_test_data): Add another test.
21024 2015-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21026         [BZ #19219]
21027         * sysdeps/ia64/fpu/s_nearbyintl.S (__nearbyint): Define and
21028         weak_alias to nearbyintl.
21030 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
21032         * sysdeps/aarch64/bits/string.h: New file.
21033         (_STRING_ARCH_unaligned): Define.
21035 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
21037         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Remove __signbit*.
21038         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
21039         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
21040         * sysdeps/unix/sysv/linux/nios2/localplt.data: Likewise.
21041         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data: Likewise.
21043 2015-11-09  Ulrich Drepper  <drepper@gmail.com>
21045         * elf/dl-load.c (_dl_map_object_from_fd): Add additional parameter
21046         for original name of the DSO.  Add it to the name list of the DSO
21047         if it is actually given.
21048         (_dl_map_object): Keep track of whether an audit module rewrote
21049         the file name.  If yes, pass the original name to
21050         _dl_map_object_from_fd in a new parameter, otherwise NULL.  When
21051         debugging is enabled, log the change of the file name.
21052         * sysdeps/mach/hur/dl-sysdep.c: Adjust commented-out call to
21053         _dl_map_object_from_fd.
21054         * elf/Makefile: Build and run tst-audit11 and tst-audit12.
21055         * elf/tst-audit11.c: New file
21056         * elf/tst-auditmod11.c: New file.
21057         * elf/tst-audit11mod1.c: New file.
21058         * elf/tst-audit11mod2.c: New file.
21059         * elf/tst-audit11mod2.map: New file.
21060         * elf/tst-audit12.c: New file
21061         * elf/tst-auditmod12.c: New file.
21062         * elf/tst-audit12mod1.c: New file.
21063         * elf/tst-audit12mod2.c: New file.
21064         * elf/tst-audit12mod2.map: New file.
21065         * elf/tst-audit12mod3.c: New file.
21067 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
21069         * sysdeps/s390/longjmp.c (longjmp, _longjmp, siglongjmp):
21070         Don't create weak aliases,
21071         because versioned symbols are created later.
21072         * sysdeps/s390/s390-32/setjmp.S
21073         (setjmp, _setjmp): Remove weak and rename to an unique name
21074         in SHARED case due to existing versioned symbols.
21075         * sysdeps/s390/s390-64/setjmp.S: Likewise.
21076         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S
21077         (getcontext): Create weak alias only in non SHARED case.
21078         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
21080 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
21082         * sysdeps/unix/sysv/linux/s390/kernel-features.h:
21083         (__ASSUME_*_SYSCALL) Define new macros.
21084         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list:
21085         Remove socketcall syscalls.
21086         * sysdeps/unix/sysv/linux/accept.c (__libc_accept):
21087         Use accept4 if defined __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL.
21088         * sysdeps/unix/sysv/linux/recv.c (__libc_recv):
21089         Use recvfrom if defined __ASSUME_RECVFROM_FOR_RECV_SYSCALL.
21090         * sysdeps/unix/sysv/linux/send.c (__libc_send):
21091         Use sendto if defined __ASSUME_SENDTO_FOR_SEND_SYSCALL.
21093 2015-11-09  Florian Weimer  <fweimer@redhat.com>
21095         [BZ #12926]
21096         Terminate process on invalid netlink response.
21097         * sysdeps/unix/sysv/linux/netlinkaccess.h
21098         (__netlink_assert_response): Declare.
21099         * sysdeps/unix/sysv/linux/netlink_assert_response.c: New file.
21100         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == inet]
21101         (sysdep_routines): Add netlink_assert_response.
21102         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Call
21103         __netlink_assert_response.
21104         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
21105         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
21106         * sysdeps/unix/sysv/linux/Versions (GLIBC_PRIVATE): Add
21107         __netlink_assert_response.
21109 2015-11-07  H.J. Lu  <hongjiu.lu@intel.com>
21111         [BZ #19178]
21112         * elf/dl-lookup.c (RTYPE_CLASS_VALID): New.
21113         (RTYPE_CLASS_PLT): Likewise.
21114         (RTYPE_CLASS_COPY): Likewise.
21115         (RTYPE_CLASS_TLS): Likewise.
21116         (_dl_debug_bindings): Use RTYPE_CLASS_TLS and RTYPE_CLASS_VALID
21117         to set relocation type class for DL_DEBUG_PRELINK.  Keep only
21118         ELF_RTYPE_CLASS_PLT and ELF_RTYPE_CLASS_COPY bits for
21119         DL_DEBUG_PRELINK.
21121 2015-11-06  Joseph Myers  <joseph@codesourcery.com>
21123         * math/test-signgam-finite.c (RUN_TESTS): Correct messages about
21124         calls with argument -0.5.
21125         * math/test-signgam-finite-c99.c (RUN_TESTS): Likewise.
21127         * configure.ac (libc_cv_z_nodelete): Remove configure test.
21128         (libc_cv_z_nodlopen): Likewise.
21129         (libc_cv_z_initfirst): Likewise.
21130         * configure: Regenerated.
21132 2015-11-06  Florian Weimer  <fweimer@redhat.com>
21134         Simplify abilist format to be line-based.
21135         * scripts/abilist.awk: Collect descriptors in the descs variable.
21136         (emit): Write descs variable and sort it
21137         externally, with sort.
21138         * sysdeps/**/*.abilist: Convert to new format.
21140 2015-11-06  Mark Wielaard  <mjw@redhat.com>
21142         [BZ #11460]
21143         * io/Makefile (routines): Add fts64.
21144         (tests): Add tst-fts and tst-fts-lfs.
21145         (CFLAGS-fts64.c): New.
21146         * io/Versions (GLIBC_2.23): New.
21147         * io/fts.c: Replace FTS with FTSOBJ, FTSENT with FTSENTRY. Use
21148         function defines FTS_OPEN, FTS_CLOSE, FTS_READ, FTS_SET and
21149         FTS_CHILDREN. Define FTSOBJ, FTSENTRY, FTS_OPEN, FTS_CLOSE,
21150         FTS_READ, FTS_SET, FTS_CHILDREN, INO_T, STAT and LSTAT if necessary.
21151         * io/fts.h (FTS64): New if _USE_LARGEFILE64.
21152         (FTSENT64): Likewise.
21153         (fts64_children): Likewise.
21154         (fts64_close): Likewise.
21155         (fts64_open): Likewise.
21156         (fts64_read): Likewise.
21157         (fts64_set): Likewise.
21158         * io/fts64.c: New file.
21159         * io/tst-fts.c: New test.
21160         * io/tst-fts-lfs.c: Likewise.
21161         * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.23): Add
21162         GLIBC_2.23, fts64_children, fts64_close, fts64_open, fts64_read and
21163         fts64_set.
21164         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
21165         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
21166         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
21167         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
21168         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
21169         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
21170         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
21171         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
21172         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
21173         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
21174         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
21175         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
21176         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
21177         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
21178         Likewise.
21179         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
21180         Likewise.
21181         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
21182         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
21183         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
21184         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
21185         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
21186         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
21187         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
21188         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
21189         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
21190         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
21191         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
21192         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
21193         * sysdeps/wordsize-64/fts.c: New file.
21194         * sysdeps/wordsize-64/fts64.c: Likewise.
21195         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts.c: Likewise.
21196         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts64.c: Likewise.
21197         * sysdeps/unix/sysv/linux/x86_64/x32/fts.c: likewise.
21198         * sysdeps/unix/sysv/linux/x86_64/x32/fts64.c: likewise.
21200 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
21202         * math/libm-test.inc (NON_FINITE): New macro.
21203         (enable_test): Do not run tests flagged NON_FINITE if TEST_FINITE.
21204         * math/gen-libm-test.pl (show_exceptions): Add argument
21205         $non_finite.
21206         (parse_args): Update call to show_exceptions.
21207         * math/test-math-finite.h: New file.
21208         * math/test-math-no-finite.h: Likewise.
21209         * math/test-double-finite.c: Likewise.
21210         * math/test-float-finite.c: Likewise.
21211         * math/test-ldouble-finite.c: Likewise.
21212         * math/test-double.c: Include "test-math-no-finite.h".
21213         * math/test-float.c: Include "test-math-no-finite.h".
21214         * math/test-ldouble.c: Include "test-math-no-finite.h".
21215         * math/test-math-inline.h (TEST_FINITE): New macro.
21216         * math/test-math-vector.h (TEST_FINITE): Likewise.
21217         * math/Makefile (test-longdouble-yes): Add test-ldouble-finite.
21218         (libm-tests): Add test-float-finite and test-double-finite.
21219         ($(objpfx)test-float-finite.o): New dependency on
21220         $(objpfx)libm-test.stmp.
21221         ($(objpfx)test-double-finite.o): Likewise.
21222         ($(objpfx)test-ldouble-finite.o): Likewise.
21223         (libm-test-no-inline-cflags): New variable.
21224         (libm-test-finite-cflags): Likewise.
21225         (CFLAGS-test-float-finite.c): Likewise.
21226         (CFLAGS-test-double-finite.c): Likewise.
21227         (CFLAGS-test-ldouble-finite.c): Likewise.
21228         (CFLAGS-test-float.c): Use $(libm-test-no-inline-cflags).
21229         (CFLAGS-test-double.c): Likewise.
21230         (CFLAGS-test-ldouble.c): Likewise.
21232 2015-11-05  Roland McGrath  <roland@hack.frob.com>
21234         * io/fcntl.c (__fcntl): Add ... to prototype.
21235         * misc/ioctl.c (__ioctl): Likewise.
21236         * misc/syscall.c (syscall): Likewise.
21238 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
21240         * scripts/list-fixed-bugs.py: New file.
21242         [BZ #19213]
21243         * sysdeps/i386/fpu/e_log.S (__log_finite): Ensure +0 is always
21244         returned for argument 1.
21245         * sysdeps/i386/fpu/e_logf.S (__logf_finite): Likewise.
21246         * sysdeps/i386/fpu/e_logl.S (__logl_finite): Likewise.
21247         * sysdeps/i386/i686/fpu/e_logl.S (__logl_finite): Likewise.
21248         * sysdeps/x86_64/fpu/e_log10l.S (__log10l_finite): Likewise.
21249         * sysdeps/x86_64/fpu/e_log2l.S (__log2l_finite): Likewise.
21250         * sysdeps/x86_64/fpu/e_logl.S (__logl_finite): Likewise.
21252         [BZ #19211]
21253         * math/bits/math-finite.h (lgamma): Set signgam if [__USE_MISC ||
21254         __USE_XOPEN], not if [!__USE_ISOC99].
21255         (lgammaf): Likewise.
21256         (lgammal): Likewise.
21257         (gamma): Set signgam unconditionally, not if [!__USE_ISOC99].
21258         (gammaf): Likewise.
21259         (gammal): Likewise.
21260         * math/test-signgam-finite-c11.c: New file.
21261         * math/test-signgam-finite-c99.c: Likewise.
21262         * math/test-signgam-finite.c: Likewise.
21263         * math/Makefile (tests): Add test-signgam-finite,
21264         test-signgam-finite-c99 and test-signgam-finite-c11.
21265         (CFLAGS-test-signgam-finite.c): New variable.
21266         (CFLAGS-test-signgam-finite-c99.c): Likewise.
21267         (CFLAGS-test-signgam-finite-c11.c): Likewise.
21269         [BZ #19212]
21270         * include/features.h [(_XOPEN_SOURCE - 0) >= 500]: Change
21271         conditional to [defined _XOPEN_SOURCE && (_XOPEN_SOURCE - 0) >=
21272         500].
21273         [_POSIX_C_SOURCE >= 1]: Change conditional to [defined
21274         _POSIX_C_SOURCE && _POSIX_C_SOURCE >= 1].
21275         [(_POSIX_C_SOURCE - 0) >= 199309L]: Change conditional to [defined
21276         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199309L].
21277         [(_POSIX_C_SOURCE - 0) >= 199506L]: Change conditional to [defined
21278         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199506L].
21279         [(_POSIX_C_SOURCE - 0) >= 200112L]: Change conditional to [defined
21280         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200112L].
21281         [(_POSIX_C_SOURCE - 0) >= 200809L]: Change conditional to [defined
21282         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200809L].
21284         [BZ #19209]
21285         * math/bits/math-finite.h (ldexp): Remove declaration.
21286         (ldexpf): Likewise.
21287         (ldexpl): Likewise.
21289         [BZ #19205]
21290         * math/bits/math-finite.h (acosf): Condition declaration on
21291         [__USE_ISOC99].
21292         (acosl): Likewise.
21293         (acoshf): Likewise.
21294         (acoshl): Likewise.
21295         (asinf): Likewise.
21296         (asinl): Likewise.
21297         (atan2f): Likewise.
21298         (atan2l): Likewise.
21299         (atanhf): Likewise.
21300         (atanhl): Likewise.
21301         (coshf): Likewise.
21302         (coshl): Likewise.
21303         (expf): Likewise.
21304         (expl): Likewise.
21305         (fmodf): Likewise.
21306         (fmodl): Likewise.
21307         (hypot): Change condition to [__USE_XOPEN || __USE_ISOC99].
21308         (j0f): Change condition to [__USE_MISC && __USE_ISOC99].
21309         (j0l): Likewise.
21310         (y0f): Likewise.
21311         (y0l): Likewise.
21312         (j1f): Likewise.
21313         (j1l): Likewise.
21314         (y1f): Likewise.
21315         (y1l): Likewise.
21316         (jnf): Likewise.
21317         (jnl): Likewise.
21318         (ynf): Likewise.
21319         (ynl): Likewise.
21320         (lgammaf_r): Condition declaration on [__USE_ISOC99].
21321         (lgammal_r): Likewise.
21322         (__lgamma_r_finite): New declaration.
21323         (__lgammaf_r_finite): Likewise.
21324         (__lgammal_r_finite): Likewise.
21325         (lgamma): Use __lgamma_r_finite.
21326         (lgammaf): Condition definition on [__USE_ISOC99].  Use
21327         __lgammaf_r_finite.
21328         (lgammal): Condition definition on [__USE_ISOC99].  Use
21329         __lgammal_r_finite.
21330         (gamma): Do not define for [!__USE_MISC && __USE_XOPEN2K].  Use
21331         __lgamma_r_finite.
21332         (gammaf): Condition definition on [__USE_ISOC99].  Use
21333         __lgammaf_r_finite.
21334         (gammal): Condition definition on [__USE_ISOC99].  Use
21335         __lgammal_r_finite.
21336         (logf): Condition declaration on [__USE_ISOC99].
21337         (logl): Likewise.
21338         (log10f): Likewise.
21339         (log10l): Likewise.
21340         (ldexpf): Likewise.
21341         (ldexpl): Likewise.
21342         (powf): Likewise.
21343         (powl): Likewise.
21344         (remainder): Condition declaration on [__USE_XOPEN_EXTENDED ||
21345         __USE_ISOC99].
21346         (remainderf): Condition declaration on [__USE_ISOC99].
21347         (remainderl): Likewise.
21348         (scalb): Do not declare for [!__USE_MISC && __USE_XOPEN2K8].
21349         (scalbf): Change condition to [__USE_MISC && __USE_ISOC99].
21350         (scalbl): Likewise.
21351         (sinhf): Condition declaration on [__USE_ISOC99].
21352         (sinhl): Likewise.
21353         (sqrtf): Likewise.
21354         (sqrtl): Likewise.
21356 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
21358         * sysdeps/arm/atomic-machine.h
21359         [__GNUC_PREREQ (4, 7) && __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
21360         Change conditional to [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
21361         [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 && !__GNUC_PREREQ (4, 7)]:
21362         Remove conditional code.
21363         [!__GNUC_PREREQ (4, 7) || !__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
21364         Change conditional to [!__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
21365         * sysdeps/i386/sysdep.h [__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]:
21366         Change conditional to [__ASSEMBLER__].
21367         [__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
21368         [!__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]: Change conditional to
21369         [!__ASSEMBLER__].
21370         [!__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional
21371         code.
21372         * sysdeps/unix/sysv/linux/sh/atomic-machine.h (rNOSP): Remove
21373         conditional macro definitions.
21374         (__arch_compare_and_exchange_val_8_acq): Use "u" instead of rNOSP.
21375         (__arch_compare_and_exchange_val_16_acq): Likewise.
21376         (__arch_compare_and_exchange_val_32_acq): Likewise.
21377         (atomic_exchange_and_add): Likewise.
21378         (atomic_add): Likewise.
21379         (atomic_add_negative): Likewise.
21380         (atomic_add_zero): Likewise.
21381         (atomic_bit_set): Likewise.
21382         (atomic_bit_test_set): Likewise.
21383         * sysdeps/x86_64/atomic-machine.h [__GNUC_PREREQ (4, 7)]: Make
21384         code unconditional.
21385         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
21387         * math/test-math-errno.h: New file.
21388         * math/test-math-inline.h (TEST_INLINE): Define to 1 instead of
21389         empty.
21390         (TEST_ERRNO): New macro.
21391         (TEST_EXCEPTIONS): Likewise.
21392         * math/test-math-no-inline.h (TEST_INLINE): Likewise.
21393         (TEST_EXCEPTIONS): Likewise.
21394         * math/test-math-vector.h (TEST_ERRNO): Likewise.
21395         * math/test-double.c: Include "test-math-errno.h".
21396         * math/test-float.c: Likewise.
21397         * math/test-ldouble.c: Likewise.
21398         * math/libm-test.inc (test_single_exception) [!TEST_INLINE]: Make
21399         code unconditional.
21400         (test_exceptions): Only run code if TEST_EXCEPTIONS.
21401         (test_single_errno) [!TEST_INLINE && !TEST_MATHVEC]: Make code
21402         unconditional.
21403         (test_errno): Only run code if TEST_ERRNO.
21404         (enable_test): Use "if" conditional on TEST_INLINE, not #ifdef.
21406 2015-11-04  Florian Weimer  <fweimer@redhat.com>
21408         * nptl/tst-once5.cc: Remove attribution.
21410 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
21412         * math/auto-libm-test-in: Add more tests of sin, sincos, sinh,
21413         sqrt, tan, tanh, y0, y1 and yn.
21414         * math/auto-libm-test-out: Regenerated.
21415         * math/libm-test.inc (scalb_test_data): Add more tests.
21416         (scalbn_test_data): Likewise.
21417         (scalbln_test_data): Likewise.
21418         (signbit_test_data): Likewise.
21419         (sin_test_data): Likewise.
21420         (sincos_test_data): Likewise.
21421         (sinh_test_data): Likewise.
21422         (sqrt_test_data): Likewise.
21423         (tan_test_data): Likewise.
21424         (tanh_test_data): Likewise.
21425         (tgamma_test_data): Likewise.
21426         (y0_test_data): Likewise.
21427         (y1_test_data): Likewise.
21428         (yn_test_data): Likewise.
21429         (significand_test_data): Likewise.
21430         * sysdeps/i386/fpu/libm-test-ulps: Update.
21432 2015-11-03  David Kastrup  <dak@gnu.org>
21434         [BZ #18604]
21435         * assert/assert.h (assert): Don't macro-expand failed assertion
21436         expression in error message.
21437         * malloc/malloc.c (assert): Likewise.
21439 2015-11-03  Joseph Myers  <joseph@codesourcery.com>
21441         * configure.ac (libc_cv_ld_no_whole_archive): Remove configure
21442         test.
21443         * configure: Regenerated.
21445 2015-11-02  Joseph Myers  <joseph@codesourcery.com>
21447         * math/libm-test.inc (modf_test_data): Add more tests.
21448         (nearbyint_test_data): Likewise.
21449         (nextafter_test_data): Likewise.
21450         (nexttoward_test_data): Likewise.
21451         (pow_test_data): Likewise.
21452         (remainder_test_data): Likewise.
21453         (remquo_test_data): Likewise.
21454         (rint_test_data): Likewise.
21456         [BZ #19201]
21457         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
21458         Check for zero remainder in case of large exponents and ensure
21459         correct sign of result in that case.
21460         * math/libm-test.inc (remainder_test_data): Add more tests.
21462         [BZ #6799]
21463         * math/s_nextafter.c: Include <errno.h>.
21464         (__nextafter): Set errno on overflow and underflow.
21465         * math/s_nexttowardf.c: Include <errno.h>.
21466         (__nexttowardf): Set errno on overflow and underflow.
21467         * sysdeps/i386/fpu/s_nextafterl.c: Include <errno.h>.
21468         (__nextafterl): Set errno on overflow and underflow.
21469         * sysdeps/i386/fpu/s_nexttoward.c: Include <errno.h>.
21470         (__nexttoward): Set errno on overflow and underflow.
21471         * sysdeps/i386/fpu/s_nexttowardf.c: Include <errno.h>.
21472         (__nexttowardf): Set errno on overflow and underflow.
21473         * sysdeps/ieee754/flt-32/s_nextafterf.c: Include <errno.h>.
21474         (__nextafterf): Set errno on overflow and underflow.
21475         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include <errno.h>.
21476         (__nextafterl): Set errno on overflow and underflow.
21477         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Include <errno.h>.
21478         (__nexttoward): Set errno on overflow and underflow.
21479         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Include <errno.h>.
21480         (__nexttowardf): Set errno on overflow and underflow.
21481         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <errno.h>.
21482         (__nextafterl): Set errno on overflow and underflow.
21483         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Include <errno.h>.
21484         (__nexttoward): Set errno on overflow and underflow.
21485         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Include <errno.h>.
21486         (__nexttowardf): Set errno on overflow and underflow.
21487         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Include <errno.h>.
21488         (__nexttoward): Set errno on overflow and underflow.
21489         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Include <errno.h>.
21490         (__nexttowardf): Set errno on overflow and underflow.
21491         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Include <errno.h>.
21492         (__nldbl_nexttowardf): Set errno on overflow and underflow.
21493         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Include <errno.h>.
21494         (__nextafterl): Set errno on overflow and underflow.
21495         * math/libm-test.inc (nextafter_test_data): Do not allow errno
21496         setting to be missing on overflow.  Add more tests.
21497         (nexttoward_test_data): Likewise.
21499         * configure.ac (libc_cv_initfini_array): Remove configure test.
21500         * configure: Regenerated.
21502 2015-10-29  Joseph Myers  <joseph@codesourcery.com>
21504         [BZ #19189]
21505         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Make check for
21506         non-finite argument handle arguments with negative sign.
21508         * math/libm-test.inc (j0_test_data): Do not test sign of zero
21509         result from infinite argument.
21510         (j1_test_data): Likewise.
21511         (jn_test_data): Likewise.
21512         (y0_test_data): Likewise.
21513         (y1_test_data): Likewise.
21514         (yn_test_data): Likewise.
21516         [BZ #16171]
21517         * math/w_remainder.c (drem): Define as weak alias of __remainder.
21518         [NO_LONG_DOUBLE] (dreml): Define as weak alias of __remainder.
21519         * math/w_remainderf.c (dremf): Define as weak alias of
21520         __remainderf.
21521         * math/w_remainderl.c (dreml): Define as weak alias of
21522         __remainderl.
21523         * sysdeps/ia64/fpu/e_remainder.S (drem): Define as weak alias of
21524         __remainder.
21525         * sysdeps/ia64/fpu/e_remainderf.S (dremf): Define as weak alias of
21526         __remainderf.
21527         * sysdeps/ia64/fpu/e_remainderl.S (dreml): Define as weak alias of
21528         __remainderl.
21529         * sysdeps/ieee754/ldbl-opt/nldbl-remainder.c (dreml): Define as
21530         weak alias of remainderl.
21531         * sysdeps/ieee754/ldbl-opt/w_remainder.c
21532         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__drem): Define as strong
21533         alias of __remainder.
21534         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (dreml): Use compat_symbol.
21535         * sysdeps/ieee754/ldbl-opt/w_remainderl.c (__dreml): Define as
21536         strong alias of __remainderl.
21537         (dreml): Use long_double_symbol.
21538         * math/Makefile (libm-calls): Remove w_drem.
21539         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove drem.
21540         (CFLAGS-nldbl-drem.c): Remove variable.
21541         (CFLAGS-nldbl-remainder.c): Add -fno-builtin-dreml.
21542         * math/w_drem.c: Remove file.
21543         * math/w_dremf.c: Likewise.
21544         * math/w_dreml.c: Likewise.
21545         * sysdeps/ieee754/ldbl-opt/nldbl-drem.c: Likewise.
21546         * sysdeps/ieee754/ldbl-opt/w_drem.c: Likewise.
21547         * sysdeps/ieee754/ldbl-opt/w_dreml.c: Likewise.
21549         * sysdeps/i386/configure.ac (cpuid.h): Do not test for header.
21550         * sysdeps/i386/configure: Regenerated.
21551         * sysdeps/x86_64/configure.ac (cpuid.h): Do not test for header.
21552         * sysdeps/x86_64/configure: Regenerated.
21554         * configure.ac (libc_cv_asm_protected_directive): Remove configure
21555         test.
21556         (libc_cv_visibility_attribute): Likewise.
21557         (libc_cv_protected_data): Test unconditionally.
21558         (libc_cv_broken_visibility_attribute): Remove configure test.
21559         (libc_cv_have_sdata_section): Test unconditionally.
21560         * configure: Regenerated.
21562         * include/libc-internal.h (libc_max_align_t): Remove typedef.
21563         * include/scratch_buffer.h: Include <stddef.h> instead of
21564         <libc-internal.h>.
21565         (struct scratch_buffer): Use max_align_t instead of
21566         libc_max_align_t.
21568 2015-10-29  Florian Weimer  <fweimer@redhat.com>
21570         * elf/dl-fini.c (_dl_fini): Rewrite to use variable-length array
21571         instead of extend_alloca.  Change control flow to avoid a goto.
21572         Remove assert which is trivially always true.
21574 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
21576         [BZ #16068]
21577         * sysdeps/i386/fpu/fesetenv.c: Include <fpu_control.h>.
21578         (FE_ALL_EXCEPT_X86): New macro.
21579         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
21580         FE_ALL_EXCEPT.  Ensure precision control is included in
21581         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
21582         handle "denormal operand exception" and clear FZ and DAZ bits.
21583         * sysdeps/x86_64/fpu/fesetenv.c: Include <fpu_control.h>.
21584         (FE_ALL_EXCEPT_X86): New macro.
21585         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
21586         FE_ALL_EXCEPT.  Ensure precision control is included in
21587         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
21588         handle "denormal operand exception" and clear FZ and DAZ bits.
21589         * sysdeps/x86/fpu/test-fenv-sse-2.c: New file.
21590         * sysdeps/x86/fpu/test-fenv-x87.c: Likewise.
21591         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
21592         test-fenv-x87 and test-fenv-sse-2.
21593         [$(subdir) = math] (CFLAGS-test-fenv-sse-2.c): New variable.
21595         * math/libm-test.inc (BUILD_COMPLEX): Remove macro.
21596         * math/test-double.h (BUILD_COMPLEX): New macro.
21597         * math/test-float.h (BUILD_COMPLEX): Likewise.
21598         * math/test-ldouble.h (BUILD_COMPLEX): Likewise.
21600         * math/libm-test.inc (min_subnorm_value): Use LDBL_TRUE_MIN,
21601         DBL_TRUE_MIN and FLT_TRUE_MIN instead of __LDBL_DENORM_MIN__,
21602         __DBL_DENORM_MIN__ and __FLT_DENORM_MIN__.
21603         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Refer to DBL_TRUE_MIN
21604         instead of DBL_DENORM_MIN in comment.
21605         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Refer to
21606         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
21607         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <float.h>.
21608         (__nextafterl): Use LDBL_TRUE_MIN instead of __LDBL_DENORM_MIN__.
21609         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Refer to
21610         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
21612 2015-10-28  Florian Weimer  <fweimer@redhat.com>
21614         [BZ #19048]
21615         * malloc/malloc.c (struct malloc_state): Update comment.  Add
21616         attached_threads member.
21617         (main_arena): Initialize attached_threads.
21618         * malloc/arena.c (list_lock): Update comment.
21619         (ptmalloc_lock_all, ptmalloc_unlock_all): Likewise.
21620         (ptmalloc_unlock_all2): Reinitialize arena reference counts.
21621         (deattach_arena): New function.
21622         (_int_new_arena): Initialize arena reference count and deattach
21623         replaced arena.
21624         (get_free_list, reused_arena): Update reference count and deattach
21625         replaced arena.
21626         (arena_thread_freeres): Update arena reference count and only put
21627         unreferenced arenas on the free list.
21629 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
21631         [BZ #19181]
21632         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Clear already-raised
21633         SSE exceptions when argument is FE_DFL_ENV or FE_NOMASK_ENV.
21634         * sysdeps/x86_64/fpu/fesetenv.c (__fesetenv): Likewise.
21635         * math/test-fenv-clear-main.c: New file.
21636         * math/test-fenv-clear.c: Likewise.
21637         * math/Makefile (tests): Add test-fenv-clear.
21638         * sysdeps/x86/fpu/test-fenv-clear-sse.c: New file.
21639         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
21640         test-fenv-clear-sse.
21641         [$(subdir) = math] (CFLAGS-test-fenv-clear-sse.c): New variable.
21643         * math/libm-test.inc (TYPE_DECIMAL_DIG): Use LDBL_DECIMAL_DIG,
21644         DBL_DECIMAL_DIG and FLT_DECIMAL_DIG instead of __DECIMAL_DIG__,
21645         __DBL_DECIMAL_DIG__ and __FLT_DECIMAL_DIG__.
21647 2015-10-28  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
21649         * sysdeps/powerpc/libc-tls.c: New file. Provides __tls_get_addr () in
21650         static libc.
21652 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
21654         * sysdeps/i386/configure.ac (libc_cv_cc_avx2): Remove configure
21655         test.
21656         * sysdeps/i386/configure: Regenerated.
21657         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx2): Remove configure
21658         test.
21659         * sysdeps/x86_64/configure: Regenerated.
21660         * config.h.in (HAVE_AVX2_SUPPORT): Remove #undef.
21661         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
21662         memset-avx2 unconditionally instead of conditionally on
21663         [$(config-cflags-avx2) = yes].
21664         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
21665         (__libc_ifunc_impl_list) [HAVE_AVX2_SUPPORT]: Make code
21666         unconditional.
21667         * sysdeps/x86_64/multiarch/memset.S [HAVE_AVX2_SUPPORT]: Likewise.
21668         * sysdeps/x86_64/multiarch/memset_chk.S
21669         [IS_IN (libc) && SHARED && HAVE_AVX2_SUPPORT]: Change conditional
21670         to [IS_IN (libc) && SHARED].
21672 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
21674         * sysdeps/arm/configure.ac (libc_cv_arm_tls_desc): Remove
21675         configure test.
21676         * sysdeps/arm/configure: Regenerated.
21677         * sysdeps/arm/Makefile [!have-arm-tls-desc] (have-arm-tls-desc):
21678         Define variable if not already defined.
21680         [BZ #17404]
21681         * sysdeps/mips/atomic-machine.h
21682         [__GNUC_PREREQ (4, 8) || (__mips16 && __GNUC_PREREQ (4, 7))]:
21683         Change conditional to [__GNUC_PREREQ (4, 8) || __mips16].
21684         [__mips16 && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
21686         * resolv/res_send.c (send_vc) [__GNUC_PREREQ (4, 7)]: Make code
21687         unconditional.
21688         * soft-fp/fmadf4.c [__GNUC_PREREQ (4, 7)]: Likewise.
21689         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
21690         * soft-fp/fmasf4.c [__GNUC_PREREQ (4, 7)]: Make code
21691         unconditional.
21692         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
21693         * soft-fp/fmatf4.c [__GNUC_PREREQ (4, 7)]: Make code
21694         unconditional.
21695         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
21696         * stdlib/setenv.c
21697         [((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7)]: Make
21698         code unconditional.
21699         [!(((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7))]:
21700         Remove conditional code.
21701         * sysdeps/ieee754/dbl-64/e_lgamma_r.c
21702         (__ieee754_lgamma_r) [__GNUC_PREREQ (4, 7)]: Make code
21703         unconditional.
21704         (__ieee754_lgamma_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
21705         code.
21706         * sysdeps/ieee754/flt-32/e_lgammaf_r.c
21707         (__ieee754_lgammaf_r) [__GNUC_PREREQ (4, 7)]: Make code
21708         unconditional.
21709         (__ieee754_lgammaf_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
21710         code.
21711         * sysdeps/ieee754/ldbl-128/k_tanl.c
21712         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
21713         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
21714         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
21715         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
21716         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
21717         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
21718         (__ieee754_lgammal_r) [__GNUC_PREREQ (4, 7)]: Make code
21719         unconditional.
21720         (__ieee754_lgammal_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
21721         code.
21722         * sysdeps/ieee754/ldbl-96/k_tanl.c
21723         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
21724         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
21726         * nptl/tst-initializers1-c11.c: New file.
21727         * nptl/tst-initializers1-gnu11.c: Likewise.
21728         * nptl/Makefile (tests): Add these new tests.
21729         (CFLAGS-tst-initializers1-c11.c): New variable.
21730         (CFLAGS-tst-initializers1-gnu11.c): Likewise.
21732         * Makeconfig (CFLAGS): Use -std=gnu11 instead of -std=gnu99.
21733         * Makefile ($(objpfx)c++-types-check.out): Filter out -std=gnu11
21734         instead of -std=gnu99.
21735         * configure.ac (systemtap): Test with -std=gnu11 instead of
21736         -std=gnu99.
21737         * configure: Regenerated.
21738         * math/gen-auto-libm-tests.c: Use -std=gnu11 instead of -std=gnu99
21739         in compilation command in comment.
21741         * sysdeps/nptl/configure.ac: Remove file.
21742         * sysdeps/nptl/configure: Remove generated file.
21743         * configure.ac (libc_cv_forced_unwind): Do not substitute.
21744         * configure: Regenerated.
21745         * config.h.in (HAVE_FORCED_UNWIND): Remove #undef.
21746         * config.make.in (have-forced-unwind): Remove variable.
21747         * nptl/Makefile [$(have-forced-unwind) = yes]: Make code
21748         unconditional.
21749         * nptl/descr.h [HAVE_FORCED_UNWIND]: Likewise.
21750         * nptl/unwind.c [HAVE_FORCED_UNWIND]: Likewise.
21751         (__pthread_unwind) [!HAVE_FORCED_UNWIND]: Remove conditional code.
21752         * nptl/version.c [HAVE_FORCED_UNWIND]: Make code unconditional.
21753         * sysdeps/nptl/Makefile [$(have-forced-unwind) = yes]: Make code
21754         unconditional.
21756 2015-10-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
21758         [BZ #19174]
21759         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Fix usage of
21760         .skip_lock_out_of_tbegin_retries.
21761         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
21762         (__lll_lock_elision): Likewise, and respect a value of
21763         try_tbegin <= 0.
21765 2015-10-27  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
21767         * elf/dl-support.c (_dl_aux_init): Added AT_PLATFORM to the case
21768         statement.
21770 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
21772         * conform/Makefile (test-xfail-ISO11/complex.h/conform): Remove
21773         variable.
21774         (test-xfail-ISO11/stdalign.h/conform): Likewise.
21775         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
21777         * conform/GlibcConform.pm ($CFLAGS{"ISO11"}): Use -std=c11 instead
21778         of -std=c1x -D_ISOC11_SOURCE.
21780         * configure.ac (libc_cv_compiler_ok): Require GCC 4.7 or later.
21781         * configure: Regenerated.
21782         * manual/install.texi (Tools for Compilation): Document
21783         requirement for GCC 4.7 or later.
21784         * INSTALL: Regenerated.
21786 2015-10-27  Ludovic Courtès  <ludo@gnu.org>
21788         * locale/loadlocale.c (_nl_intern_locale_data): Change assertion
21789         on CNT to a conditional jump to 'puntdata'.
21791 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
21793         * configure.ac (libc_cv_gcc___thread): Remove configure test.
21794         (libc_cv_gcc_tls_model_attr): Likewise.
21795         * configure: Regenerated.
21797         * configure.ac (libc_cv_need_minus_P): Remove configure test.
21798         * configure: Regenerated.
21799         * Makeconfig (asm-CPPFLAGS): Remove reference to -P in comment.
21801 2015-10-26  Joseph Myers  <joseph@codesourcery.com>
21803         * configure.ac (old_glibc_headers): Remove configure test.
21804         * configure: Regenerated.
21805         * config.make.in (old-glibc-headers): Remove variable.
21806         * Makefile [!$(install_root) && $(old-glibc-headers) = yes]
21807         (install): Remove dependency on remove-old-headers.
21808         (headers2_0): Remove variable.
21809         (remove-old-headers): Remove rule.
21811         * configure.ac (libc_cv_dot_text): Remove configure test.
21812         (libc_cv_asm_set_directive): Use .text instead of
21813         ${libc_cv_dot_text} in configure test.
21814         * configure: Regenerated.
21816 2015-10-26  Florian Weimer  <fweimer@redhat.com>
21818         [BZ #19168]
21819         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
21821 2015-10-26  Florian Weimer  <fweimer@redhat.com>
21823         * configure.ac (CXX): Clear the variable if the C++ toolchain does
21824         not support static linking.
21825         * configure: Regenerate.
21827 2015-10-23  Joseph Myers  <joseph@codesourcery.com>
21829         * math/libm-test.inc (check_float_internal): Do not special-case
21830         errors up to 0.5 ulp.
21832         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
21833         log2.
21834         * math/auto-libm-test-out: Regenerated.
21835         * math/libm-test.inc (MAX_EXP): New macro.
21836         (ilogb_test_data): Add more tests.
21837         (isfinite_test_data): Likewise.
21838         (isgreater_test_data): Likewise.
21839         (isgreaterequal_test_data): Likewise.
21840         (isinf_test_data): Likewise.
21841         (isless_test_data): Likewise.
21842         (islessequal_test_data): Likewise.
21843         (islessgreater_test_data): Likewise.
21844         (isnan_test_data): Likewise.
21845         (isnormal_test_data): Likewise.
21846         (issignaling_test_data): Likewise.
21847         (isunordered_test_data): Likewise.
21848         (j0_test_data): Likewise.
21849         (j1_test_data): Likewise.
21850         (jn_test_data): Likewise.
21851         (lgamma_test_data): Likewise.
21852         (log_test_data): Likewise.
21853         (log10_test_data): Likewise.
21854         (log1p_test_data): Likewise.
21855         (log2_test_data): Likewise.
21856         (logb_test_data): Likewise.
21857         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21859         [BZ #18611]
21860         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Set errno and
21861         avoid excess range and precision on underflow.
21862         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
21863         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
21864         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
21865         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Set errno on
21866         underflow.
21867         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
21868         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
21869         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
21870         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
21871         * math/auto-libm-test-in: Do not allow missing errno setting for
21872         tests of j1 and jn.
21873         * math/auto-libm-test-out: Regenerated.
21875 2015-10-22  Joseph Myers  <joseph@codesourcery.com>
21877         [BZ #15491]
21878         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Save and restore
21879         floating-point environment instead of clearing all exceptions.
21880         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
21881         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise,
21882         merging in "invalid" exceptions from frndint.
21883         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
21884         * math/test-nearbyint-except.c: New file.
21885         * math/Makefile (tests): Add test-nearbyint-except.
21887 2015-10-22  Chris Metcalf  <cmetcalf@ezchip.com>
21889         * NEWS: Mention bug 18699 fixed by commit fe8c2b33aed0.
21891         * sysdeps/tile/libm-test-ulps: Regenerated.
21893 2015-10-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21895         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c
21896         (__NR_sync_file_range2): Assume it is always defined.
21897         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
21898         (__NR_sync_file_range): Assume it is always defined.
21900 2015-10-22  Andreas Schwab  <schwab@suse.de>
21902         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
21903         INTERNAL_SYSCALL_ERRNO.
21904         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
21905         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
21906         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
21907         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
21908         Likewise.
21909         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
21911 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
21913         * io/tst-fcntl.c (fd): New static variable.
21914         (do_prepare): Open temporary file here....
21915         (do_test): ...not here.
21917         * io/ftwtest-sh: Also trap on exit to remove temporary files.
21919 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
21921         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: Replace
21922         __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
21923         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
21924         Moved before "#ifdef __ASSEMBLER__".
21926 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
21928         [BZ #19156]
21929         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Return 1 for
21930         arguments very close to 0.
21932 2015-10-21  Chris Metcalf  <cmetcalf@ezchip.com>
21934         * sysdeps/unix/sysv/linux/tile/sysdep.h (PSEUDO_END)
21935         (PSEUDO_NOERRNO, PSEUDO_END_NOERRNO): Undef before defining.
21937 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
21939         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
21940         New.  Defined for GCC 5 and above when not compiling for
21941         profiling.
21942         Replace __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
21944         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
21945         Renamed to ...
21946         (CFLAGS-epoll_pwait.o): This.
21947         (CFLAGS-mmap.c): Renamed to ...
21948         (CFLAGS-mmap.o): This.
21949         (CFLAGS-mmap64.c): Renamed to ...
21950         (CFLAGS-mmap64.o): This.
21951         (CFLAGS-epoll_pwait.os): New.
21952         (CFLAGS-mmap.os): Likewise.
21953         (CFLAGS-mmap64.os): Likewise.
21954         (CFLAGS-semtimedop.os): Likewise.
21955         (CFLAGS-semtimedop.c): Renamed to ...
21956         (CFLAGS-semtimedop.o): This.
21958 2015-10-21  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
21960         * debug/tst-backtrace4.c (handle_signal): Fix a comment and
21961         warning message.
21963 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
21965         * Makeconfig (+gccwarn-c): Add -Wold-style-definition.
21966         * Makefile ($(objpfx)c++-types-check.out): Filter out
21967         $(+gccwarn-c) instead of -Wstrict-prototypes.
21969         * io/fts.c (fts_open): Convert to prototype-style function
21970         definition.
21971         * malloc/mcheck.c (mcheck): Likewise.
21972         (mcheck_pedantic): Likewise.
21973         * posix/regexec.c (re_search_2_stub): Likewise.  Use
21974         internal_function.
21975         (re_search_internal): Likewise.
21976         * resolv/res_init.c [RESOLVSORT] (net_mask): Convert to
21977         prototype-style function definition.
21978         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
21979         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
21980         * sunrpc/rpcsvc/rusers.x (xdr_utmp): Likewise.
21981         (xdr_utmpptr): Likewise.
21982         (xdr_utmparr): Likewise.
21983         (xdr_utmpidle): Likewise.
21984         (xdr_utmpidleptr): Likewise.
21985         (xdr_utmpidlearr): Likewise.
21987         * math/auto-libm-test-in: Add more tests of hypot, j0, j1, jn,
21988         log, log10 and log2.
21989         * math/auto-libm-test-out: Regenerated.
21990         * math/libm-test.inc (fmod_test_data): Add more tests.
21991         (fpclassify_test_data): Likewise.
21992         (frexp_test_data): Likewise.
21993         (hypot_test_data): Likewise.
21994         (ilogb_test_data): Likewise.
21996 2015-10-20  Joseph Myers  <joseph@codesourcery.com>
21998         * debug/fortify_fail.c (__fortify_fail): Convert to
21999         prototype-style function definition.  Use internal_function.
22000         * libio/genops.c (save_for_backup): Convert to prototype-style
22001         function definition.
22002         * libio/wgenops.c (save_for_wbackup): Likewise.
22003         * login/grantpt.c (grantpt): Likewise.
22004         * login/ptsname.c (ptsname): Likewise.
22005         (__ptsname_r): Likewise.
22006         * login/unlockpt.c (unlockpt): Likewise.
22007         * mach/msgserver.c (__mach_msg_server): Likewise.
22008         * misc/efgcvt.c (__APPEND (FUNC_PREFIX, fcvt)): Likewise.
22009         (__APPEND (FUNC_PREFIX, ecvt)): Likewise.
22010         (__APPEND (FUNC_PREFIX, gcvt)): Likewise.
22011         * misc/efgcvt_r.c (__APPEND (FUNC_PREFIX, fcvt_r)): Likewise.
22012         (__APPEND (FUNC_PREFIX, ecvt_r)): Likewise.
22013         * nptl/cleanup_compat.c (_pthread_cleanup_push): Likewise.
22014         * nptl/cleanup_defer_compat.c (_pthread_cleanup_push_defer):
22015         Likewise.
22016         * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.  Use
22017         internal_function.
22018         * nptl/pthread_atfork.c (__pthread_atfork): Convert to
22019         prototype-style function definition.
22020         * nptl/pthread_create.c (__pthread_create_2_1): Likewise.
22021         [SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1)]
22022         (__pthread_create_2_0): Likewise.
22023         * nptl/pthread_key_create.c (__pthread_key_create): Likewise.
22024         * nptl/register-atfork.c (__register_atfork): Likewise.
22025         * posix/glob.c (glob): Likewise.
22026         * posix/regcomp.c (re_comp): Likewise.
22027         * posix/regexec.c (re_exec): Likewise.
22028         * stdlib/add_n.c [__STDC__]: Make code unconditional.
22029         [!__STDC__]: Remove conditional code.
22030         * stdlib/cmp.c [__STDC__]: Make code unconditional.
22031         [!__STDC__]: Remove conditional code.
22032         * stdlib/divmod_1.c [__STDC__]: Make code unconditional.
22033         [!__STDC__]: Remove conditional code.
22034         * stdlib/divrem.c [__STDC__]: Make code unconditional.
22035         [!__STDC__]: Remove conditional code.
22036         * stdlib/lshift.c [__STDC__]: Make code unconditional.
22037         [!__STDC__]: Remove conditional code.
22038         * stdlib/mod_1.c [__STDC__]: Make code unconditional.
22039         [!__STDC__]: Remove conditional code.
22040         * stdlib/mul.c [__STDC__]: Make code unconditional.
22041         [!__STDC__]: Remove conditional code.
22042         * stdlib/mul_n.c [__STDC__]: Make code unconditional.
22043         [!__STDC__]: Remove conditional code.
22044         * stdlib/rshift.c [__STDC__]: Make code unconditional.
22045         [!__STDC__]: Remove conditional code.
22046         * stdlib/strtod.c (INTERNAL (STRTOF)): Convert to prototype-style
22047         function definition.
22048         (STRTOF): Likewise.
22049         * stdlib/strtod_l.c (__STRTOF): Likewise.
22050         * stdlib/strtol.c (INTERNAL (strtol)): Likewise.
22051         * stdlib/strtol_l.c (INTERNAL (__strtol_l)): Likewise.
22052         (__strtol_l): Likewise.
22053         * stdlib/sub_n.c [__STDC__]: Make code unconditional.
22054         [!__STDC__]: Remove conditional code.
22055         * string/memrchr.c (MEMRCHR): Convert to prototype-style function
22056         definition.
22057         * string/strcasecmp.c (LOCALE_PARAM_DECL): Remove macro.
22058         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
22059         type.
22060         (__strcasecmp): Convert to prototype-style function definition.
22061         * string/strncase.c (LOCALE_PARAM_DECL): Remove macro.
22062         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
22063         type.
22064         (__strncasecmp): Convert to prototype-style function definition.
22065         * sunrpc/pm_getport.c (__libc_rpc_getport): Likewise.
22066         * sunrpc/xdr.c (xdr_union): Likewise.
22067         * sunrpc/xdr_array.c (xdr_array): Likewise.
22068         * sunrpc/xdr_ref.c (xdr_reference): Likewise.
22069         * sysdeps/m68k/m680x0/fpu/s_atan.c (__CONCATX(__,FUNC)): Likewise.
22070         * sysdeps/m68k/m680x0/fpu/s_isinf.c (__CONCATX(__,FUNC)):
22071         Likewise.
22072         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(__scalbn,suffix):
22073         Likewise.
22074         * sysdeps/m68k/m680x0/fpu/s_sincos.c (CONCATX(__,FUNC)): Likewise.
22075         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
22076         Likewise.
22077         * time/strftime_l.c (LOCALE_PARAM_DECL): Remove macro.
22078         (LOCALE_PARAM_PROTO): Likewise.
22079         [_LIBC && USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include
22080         argument type.
22081         (ut_argument_spec): Remove macro.
22082         (ut_argument_spec_iso): Rename to ut_argument_spec.
22083         (memcpy_lowcase): Use LOCALE_PARAM in declaration.  Convert to
22084         prototype-style function definition.
22085         (memcpy_uppcase): Likewise.
22086         (__strftime_internal): Likewise.
22087         (my_strftime): Likewise.
22088         * time/strptime_l.c (LOCALE_PARAM_PROTO): Remove macro.
22089         (LOCALE_PARAM_DECL): Likewise.
22090         [_LIBC] (LOCALE_PARAM): Include argument type.
22091         (__strptime_internal): Convert to prototype-style function
22092         definition.
22093         (strptime): Likewise.
22094         * wcsmbs/wcscasecmp.c (LOCALE_PARAM_DECL): Remove macro.
22095         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
22096         type.
22097         (__wcscasecmp): Convert to prototype-style function definition.
22098         * wcsmbs/wcsncase.c (LOCALE_PARAM_DECL): Remove macro.
22099         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
22100         type.
22101         (__wcsncasecmp): Convert to prototype-style function definition.
22103         * crypt/md5-crypt.c (__md5_crypt_r): Convert to prototype-style
22104         function definition.
22105         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
22106         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
22107         * debug/backtracesyms.c (__backtrace_symbols): Likewise.
22108         * elf/dl-minimal.c (_itoa): Likewise.
22109         * hurd/hurdmalloc.c (malloc): Likewise.
22110         (free): Likewise.
22111         (realloc): Likewise.
22112         * inet/inet6_option.c (inet6_option_space): Likewise.
22113         (inet6_option_init): Likewise.
22114         (inet6_option_append): Likewise.
22115         (inet6_option_alloc): Likewise.
22116         (inet6_option_next): Likewise.
22117         (inet6_option_find): Likewise.
22118         * io/ftw.c (FTW_NAME): Likewise.
22119         (NFTW_NAME): Likewise.
22120         (NFTW_NEW_NAME): Likewise.
22121         (NFTW_OLD_NAME): Likewise.
22122         * libio/iofwide.c (_IO_fwide): Likewise.
22123         * libio/strops.c (_IO_str_init_static_internal): Likewise.
22124         (_IO_str_init_static): Likewise.
22125         (_IO_str_init_readonly): Likewise.
22126         (_IO_str_overflow): Likewise.
22127         (_IO_str_underflow): Likewise.
22128         (_IO_str_count): Likewise.
22129         (_IO_str_seekoff): Likewise.
22130         (_IO_str_pbackfail): Likewise.
22131         (_IO_str_finish): Likewise.
22132         * libio/wstrops.c (_IO_wstr_init_static): Likewise.
22133         (_IO_wstr_overflow): Likewise.
22134         (_IO_wstr_underflow): Likewise.
22135         (_IO_wstr_count): Likewise.
22136         (_IO_wstr_seekoff): Likewise.
22137         (_IO_wstr_pbackfail): Likewise.
22138         (_IO_wstr_finish): Likewise.
22139         * locale/programs/localedef.c (normalize_codeset): Likewise.
22140         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
22141         (add_locales_to_archive): Likewise.
22142         (delete_locales_from_archive): Likewise.
22143         * malloc/malloc.c (__libc_mallinfo): Likewise.
22144         * math/gen-auto-libm-tests.c (init_fp_formats): Likewise.
22145         * misc/tsearch.c (__tfind): Likewise.
22146         * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Likewise.
22147         * nptl/pthread_attr_getdetachstate.c
22148         (__pthread_attr_getdetachstate): Likewise.
22149         * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
22150         Likewise.
22151         * nptl/pthread_attr_getinheritsched.c
22152         (__pthread_attr_getinheritsched): Likewise.
22153         * nptl/pthread_attr_getschedparam.c
22154         (__pthread_attr_getschedparam): Likewise.
22155         * nptl/pthread_attr_getschedpolicy.c
22156         (__pthread_attr_getschedpolicy): Likewise.
22157         * nptl/pthread_attr_getscope.c (__pthread_attr_getscope):
22158         Likewise.
22159         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack):
22160         Likewise.
22161         * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
22162         Likewise.
22163         * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
22164         Likewise.
22165         * nptl/pthread_attr_init.c (__pthread_attr_init_2_1): Likewise.
22166         (__pthread_attr_init_2_0): Likewise.
22167         * nptl/pthread_attr_setdetachstate.c
22168         (__pthread_attr_setdetachstate): Likewise.
22169         * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
22170         Likewise.
22171         * nptl/pthread_attr_setinheritsched.c
22172         (__pthread_attr_setinheritsched): Likewise.
22173         * nptl/pthread_attr_setschedparam.c
22174         (__pthread_attr_setschedparam): Likewise.
22175         * nptl/pthread_attr_setschedpolicy.c
22176         (__pthread_attr_setschedpolicy): Likewise.
22177         * nptl/pthread_attr_setscope.c (__pthread_attr_setscope):
22178         Likewise.
22179         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack):
22180         Likewise.
22181         * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
22182         Likewise.
22183         * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
22184         Likewise.
22185         * nptl/pthread_condattr_setclock.c (pthread_condattr_setclock):
22186         Likewise.
22187         * nptl/pthread_create.c (__find_in_stack_list): Likewise.
22188         * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
22189         * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Define to
22190         use internal_function.
22191         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Convert to
22192         prototype-style function definition.
22193         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
22194         (__pthread_mutex_cond_lock_adjust): Likewise.  Use
22195         internal_function.
22196         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock):
22197         Convert to prototype-style function definition.
22198         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
22199         Likewise.
22200         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
22201         Likewise.
22202         (__pthread_mutex_unlock): Likewise.
22203         * nptl_db/td_ta_clear_event.c (td_ta_clear_event): Likewise.
22204         * nptl_db/td_ta_set_event.c (td_ta_set_event): Likewise.
22205         * nptl_db/td_thr_clear_event.c (td_thr_clear_event): Likewise.
22206         * nptl_db/td_thr_event_enable.c (td_thr_event_enable): Likewise.
22207         * nptl_db/td_thr_set_event.c (td_thr_set_event): Likewise.
22208         * nss/makedb.c (process_input): Likewise.
22209         * posix/fnmatch.c (__strchrnul): Likewise.
22210         (__wcschrnul): Likewise.
22211         (fnmatch): Likewise.
22212         * posix/fnmatch_loop.c (FCT): Likewise.
22213         * posix/glob.c (globfree): Likewise.
22214         (__glob_pattern_type): Likewise.
22215         (__glob_pattern_p): Likewise.
22216         * posix/regcomp.c (re_compile_pattern): Likewise.
22217         (re_set_syntax): Likewise.
22218         (re_compile_fastmap): Likewise.
22219         (regcomp): Likewise.
22220         (regerror): Likewise.
22221         (regfree): Likewise.
22222         * posix/regexec.c (regexec): Likewise.
22223         (re_match): Likewise.
22224         (re_search): Likewise.
22225         (re_match_2): Likewise.
22226         (re_search_2): Likewise.
22227         (re_search_stub): Likewise.  Use internal_function
22228         (re_copy_regs): Likewise.
22229         (re_set_registers): Convert to prototype-style function
22230         definition.
22231         (prune_impossible_nodes): Likewise.  Use internal_function.
22232         * resolv/inet_net_pton.c (inet_net_pton): Convert to
22233         prototype-style function definition.
22234         (inet_net_pton_ipv4): Likewise.
22235         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
22236         * sysdeps/pthread/aio_cancel.c (aio_cancel): Likewise.
22237         * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
22238         * sysdeps/pthread/timer_delete.c (timer_delete): Likewise.
22239         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
22240         Make variadic.
22241         * time/strptime_l.c (localtime_r): Convert to prototype-style
22242         function definition.
22243         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
22244         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
22245         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
22246         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
22248         * crypt/crypt.c (_ufc_doit_r): Convert to prototype-style function
22249         definition.
22250         (_ufc_doit_r): Likewise.
22251         * crypt/crypt_util.c (_ufc_copymem): Likewise.
22252         (_ufc_output_conversion_r): Likewise.
22253         * inet/inet_mkadr.c (__inet_makeaddr): Likewise.
22254         * inet/rcmd.c (rcmd_af): Likewise.
22255         (rcmd): Likewise.
22256         (ruserok_af): Likewise.
22257         (ruserok): Likewise.
22258         (ruserok2_sa): Likewise.
22259         (ruserok_sa): Likewise.
22260         (iruserok_af): Likewise.
22261         (iruserok): Likewise.
22262         (__ivaliduser): Likewise.
22263         (__validuser2_sa): Likewise.
22264         * inet/rexec.c (rexec_af): Likewise.
22265         (rexec): Likewise.
22266         * inet/ruserpass.c (ruserpass): Likewise.
22267         * locale/programs/xmalloc.c (xcalloc): Likewise.
22268         * manual/examples/timeval_subtract.c (timeval_subtract): Likewise.
22269         * math/w_drem.c (__drem): Likewise.
22270         * math/w_dremf.c (__dremf): Likewise.
22271         * math/w_dreml.c (__dreml): Likewise.
22272         * misc/daemon.c (daemon): Likewise.
22273         * resolv/res_debug.c (p_fqnname): Likewise.
22274         * stdlib/div.c (div): Likewise.
22275         * string/memcmp.c (memcmp_bytes): Likewise.
22276         * sunrpc/pmap_rmt.c (pmap_rmtcall): Likewise.
22277         * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
22279         * crypt/cert.c (main): Convert to prototype-style function
22280         definition.
22281         * io/pipe.c (__pipe): Likewise.
22282         * io/pipe2.c (__pipe2): Likewise.
22283         * misc/futimesat.c (futimesat): Likewise.
22284         * misc/utimes.c (__utimes): Likewise.
22285         * posix/execve.c (__execve): Likewise.
22286         * posix/execvp.c (execvp): Likewise.
22287         * posix/execvpe.c (__execvpe): Likewise.
22288         * posix/fexecve.c (fexecve): Likewise.
22289         * socket/socketpair.c (socketpair): Likewise.
22290         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
22291         * stdlib/erand48.c (erand48): Likewise.
22292         * stdlib/erand48_r.c (__erand48_r): Likewise.
22293         * stdlib/jrand48.c (jrand48): Likewise.
22294         * stdlib/jrand48_r.c (__jrand48_r): Likewise.
22295         * stdlib/lcong48.c (lcong48): Likewise.
22296         * stdlib/lcong48_r.c (__lcong48_r): Likewise.
22297         * stdlib/nrand48.c (nrand48): Likewise.
22298         * stdlib/nrand48_r.c (__nrand48_r): Likewise.
22299         * stdlib/seed48.c (seed48): Likewise.
22300         * stdlib/seed48_r.c (__seed48_r): Likewise.
22301         * sysdeps/mach/hurd/execve.c (__execve): Likewise.
22302         * sysdeps/mach/hurd/utimes.c (__utimes): Likewise.
22303         * sysdeps/unix/sysv/linux/fexecve.c (fexecve): Likewise.
22305 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
22307         * configure.ac (libc_cv_asm_unique_object): Remove configure test.
22308         * configure: Regenerated.
22309         * config.h.in (HAVE_ASM_UNIQUE_OBJECT): Remove #undef.
22310         * elf/tst-unique1.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Make code
22311         unconditional.
22312         * elf/tst-unique1mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
22313         * elf/tst-unique1mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
22314         * elf/tst-unique2.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
22315         (do_test) [!HAVE_ASM_UNIQUE_OBJECT]: Remove conditional code.
22316         * elf/tst-unique2mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Make code
22317         unconditional.
22318         * elf/tst-unique2mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
22320         * posix/Makefile (CFLAGS-regex.c): Remove variable.
22321         * resolv/Makefile (+cflags): Do not use -Wno-strict-prototypes.
22323         * crypt/crypt-entry.c (__crypt_r): Convert to prototype-style
22324         function definition.
22325         * crypt/crypt_util.c (__encrypt_r): Likewise.
22326         * libio/genops.c (_IO_no_init): Likewise.
22327         * libio/iofopncook.c (_IO_fopencookie): Likewise.
22328         (_IO_old_fopencookie): Likewise.
22329         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
22330         * libio/iogetline.c (_IO_getline): Likewise.
22331         (_IO_getline_info): Likewise.
22332         * libio/iogetwline.c (_IO_getwline): Likewise.
22333         (_IO_getwline_info): Likewise.
22334         * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
22335         * libio/vswprintf.c (_IO_vswprintf): Likewise.
22336         * locale/programs/simple-hash.c (insert_entry_2): Likewise.
22337         (find_entry): Likewise.
22338         (iterate_table): Likewise.
22339         (lookup): Likewise.
22340         * login/forkpty.c (forkpty): Likewise.
22341         * misc/hsearch_r.c (__hsearch_r): Likewise.
22342         * misc/select.c (__select): Likewise.
22343         * nptl/cleanup_defer_compat.c (_pthread_cleanup_pop_restore):
22344         Likewise.
22345         * nptl/old_pthread_cond_init.c (__pthread_cond_init_2_0):
22346         Likewise.
22347         * nptl/old_pthread_cond_timedwait.c
22348         (__pthread_cond_timedwait_2_0): Likewise.
22349         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
22350         * nptl/pthread_barrierattr_getpshared.c
22351         (pthread_barrierattr_getpshared): Likewise.
22352         * nptl/pthread_getschedparam.c (__pthread_getschedparam):
22353         Likewise.
22354         * nptl/pthread_mutex_setprioceiling.c
22355         (pthread_mutex_setprioceiling): Likewise.
22356         * nptl/pthread_mutexattr_getprioceiling.c
22357         (pthread_mutexattr_getprioceiling): Likewise.
22358         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
22359         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
22360         Likewise.
22361         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
22362         Likewise.
22363         * nptl/pthread_setschedparam.c (__pthread_setschedparam):
22364         Likewise.
22365         * socket/recvfrom.c (__recvfrom): Likewise.
22366         * socket/sendto.c (__sendto): Likewise.
22367         * socket/setsockopt.c (__setsockopt): Likewise.
22368         * stdio-common/_itoa.c (_itoa): Likewise.
22369         * stdio-common/_itowa.c (_itowa): Likewise.
22370         * stdio-common/reg-printf.c (__register_printf_specifier):
22371         Likewise.
22372         (__register_printf_function): Likewise.
22373         * stdio-common/tempname.c (__path_search): Likewise.
22374         * stdlib/addmul_1.c (mpn_addmul_1): Likewise.
22375         * stdlib/mul_1.c (mpn_mul_1): Likewise.
22376         * stdlib/random_r.c (__initstate_r): Likewise.
22377         * stdlib/setenv.c (__add_to_environ): Likewise.
22378         * stdlib/submul_1.c (mpn_submul_1): Likewise.
22379         * streams/getpmsg.c (getpmsg): Likewise.
22380         * streams/putmsg.c (putmsg): Likewise.
22381         * streams/putpmsg.c (putpmsg): Likewise.
22382         * sunrpc/clnt_raw.c (clntraw_call): Likewise.
22383         * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
22384         * sunrpc/clnt_udp.c (clntudp_create): Likewise.
22385         * sunrpc/clnt_unix.c (clntunix_call): Likewise.
22386         * sunrpc/pm_getport.c (pmap_getport): Likewise.
22387         * sunrpc/svc_udp.c (cache_get): Likewise.
22388         * sunrpc/xdr_array.c (xdr_vector): Likewise.
22389         * sysdeps/mach/hurd/getcwd.c
22390         (__canonicalize_directory_name_internal): Likewise.
22391         * sysdeps/mach/hurd/pselect.c (__pselect): Likewise.
22392         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise.
22393         * sysdeps/mach/hurd/select.c (__select): Likewise.
22394         * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
22395         * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
22396         * sysdeps/sparc/nptl/pthread_barrier_init.c
22397         (__pthread_barrier_init): Likewise.
22398         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c
22399         (__pthread_cond_timedwait): Likewise.
22400         * sysdeps/unix/sysv/linux/i386/putmsg.c (putmsg): Likewise.
22401         * sysdeps/unix/sysv/linux/s390/semtimedop.c (semtimedop):
22402         Likewise.
22403         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Likewise.
22404         * sysdeps/unix/sysv/linux/timer_settime.c (timer_settime):
22405         Likewise.
22406         * sysvipc/semtimedop.c (semtimedop): Likewise.
22407         * time/setitimer.c (__setitimer): Likewise.
22408         * time/strftime_l.c (emacs_strftime): Likewise.
22410 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
22412         * config.make.in (have-ssp): Delete.
22413         (stack-protector): New variable.
22414         * configure.ac: Delete libc_cv_ssp export.  Add libc_cv_ssp_strong
22415         cache test for -fstack-protector-strong.  Export stack_protector to
22416         the best ssp flag.
22417         * configure: Regenerated.
22418         * login/Makefile (pt_chown-cflags): Always add $(stack-protector).
22419         * nscd/Makefile (CFLAGS-nscd): Likewise.
22420         * resolv/Makefile (CFLAGS-libresolv): Likewise.
22422 2015-10-16  H.J. Lu  <hongjiu.lu@intel.com>
22424         [BZ #19122]
22425         * include/sys/stat.h [IS_IN (rtld)] (__fxstatat64): Add
22426         attribute_hidden.
22428 2015-10-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
22430         [BZ #18743]
22431         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Move most of this
22432         code to...
22433         (ELIDE_LOCK): ...here.
22434         (__get_new_count): New function with part of the code from
22435         __elide_lock that updates the value of adapt_count after a
22436         transaction abort.
22437         (__elided_trylock): Moved this code to...
22438         (ELIDE_TRYLOCK): ...here.
22440 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
22442         * configure.ac (AC_ARG_ENABLE(timezone-tools)): Tweak help phrasing.
22443         * configure: Regenerate.
22444         * INSTALL: Regenerate.
22445         * manual/install.texi (--disable-timezone-tools): Use @theglibc{}
22446         and tweak grammar.
22448 2015-10-19  Geoffrey Thomas  <geofft@ldpreload.com>
22450         * login/programs/pt_chown.c: Include signal.h
22451         (main): Clear any signal mask from the parent process.
22453 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
22455         * configure.ac (libc_cv_gnu89_inline): Remove configure test.
22456         * configure: Regenerated.
22457         * config.make.in (gnu89-inline-CFLAGS): Remove variable.
22458         * Makeconfig (CFLAGS): Use -fgnu89-inline instead of
22459         $(gnu89-inline-CFLAGS).
22461         * configure.ac (libc_cv_asm_weak_directive): Remove configure
22462         test.
22463         (libc_cv_asm_weakext_directive): Likewise.
22464         * configure: Regenerated.
22465         * config.h.in (HAVE_ASM_WEAK_DIRECTIVE): Remove #undef.
22466         (HAVE_ASM_WEAKEXT_DIRECTIVE): Likewise.
22467         * include/libc-symbols.h
22468         [!HAVE_ASM_WEAK_DIRECTIVE && !HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove
22469         #error.
22470         [HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove conditional code.
22471         [!HAVE_ASM_WEAKEXT_DIRECTIVE]: Make code unconditional.
22473         * sysdeps/arm/backtrace.c (__backtrace): Convert to
22474         prototype-style function definition.
22475         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
22476         * sysdeps/i386/ffs.c (__ffs): Likewise.
22477         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
22478         * sysdeps/ia64/nptl/pthread_spin_lock.c (pthread_spin_lock):
22479         Likewise.
22480         * sysdeps/ia64/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
22481         Likewise.
22482         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
22483         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
22484         Likewise.
22485         * sysdeps/m68k/ffs.c (__ffs): Likewise.
22486         * sysdeps/m68k/m680x0/fpu/e_acos.c (FUNC): Likewise.
22487         * sysdeps/m68k/m680x0/fpu/e_fmod.c (FUNC): Likewise.
22488         * sysdeps/mach/adjtime.c (__adjtime): Likewise.
22489         * sysdeps/mach/gettimeofday.c (__gettimeofday): Likewise.
22490         * sysdeps/mach/hurd/_exit.c (_exit): Likewise.
22491         * sysdeps/mach/hurd/access.c (__access): Likewise.
22492         * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
22493         * sysdeps/mach/hurd/chdir.c (__chdir): Likewise.
22494         * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
22495         * sysdeps/mach/hurd/chown.c (__chown): Likewise.
22496         * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Likewise.
22497         (cthread_getspecific): Likewise.
22498         (cthread_setspecific): Likewise.
22499         (__libc_getspecific): Likewise.
22500         * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Likewise.
22501         * sysdeps/mach/hurd/faccessat.c (faccessat): Likewise.
22502         * sysdeps/mach/hurd/fchdir.c (__fchdir): Likewise.
22503         * sysdeps/mach/hurd/fchmod.c (__fchmod): Likewise.
22504         * sysdeps/mach/hurd/fchmodat.c (fchmodat): Likewise.
22505         * sysdeps/mach/hurd/fchown.c (__fchown): Likewise.
22506         * sysdeps/mach/hurd/fchownat.c (fchownat): Likewise.
22507         * sysdeps/mach/hurd/flock.c (__flock): Likewise.
22508         * sysdeps/mach/hurd/fsync.c (fsync): Likewise.
22509         * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Likewise.
22510         * sysdeps/mach/hurd/getgroups.c (__getgroups): Likewise.
22511         * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
22512         * sysdeps/mach/hurd/getitimer.c (__getitimer): Likewise.
22513         * sysdeps/mach/hurd/getlogin_r.c (__getlogin_r): Likewise.
22514         * sysdeps/mach/hurd/getpgid.c (__getpgid): Likewise.
22515         * sysdeps/mach/hurd/getrusage.c (__getrusage): Likewise.
22516         * sysdeps/mach/hurd/getsockname.c (__getsockname): Likewise.
22517         * sysdeps/mach/hurd/group_member.c (__group_member): Likewise.
22518         * sysdeps/mach/hurd/isatty.c (__isatty): Likewise.
22519         * sysdeps/mach/hurd/lchown.c (__lchown): Likewise.
22520         * sysdeps/mach/hurd/link.c (__link): Likewise.
22521         * sysdeps/mach/hurd/linkat.c (linkat): Likewise.
22522         * sysdeps/mach/hurd/listen.c (__listen): Likewise.
22523         * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
22524         * sysdeps/mach/hurd/mkdirat.c (mkdirat): Likewise.
22525         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
22526         * sysdeps/mach/hurd/poll.c (__poll): Likewise.
22527         * sysdeps/mach/hurd/readlink.c (__readlink): Likewise.
22528         * sysdeps/mach/hurd/readlinkat.c (readlinkat): Likewise.
22529         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
22530         * sysdeps/mach/hurd/rename.c (rename): Likewise.
22531         * sysdeps/mach/hurd/renameat.c (renameat): Likewise.
22532         * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
22533         * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Likewise.
22534         * sysdeps/mach/hurd/rmdir.c (__rmdir): Likewise.
22535         * sysdeps/mach/hurd/seekdir.c (seekdir): Likewise.
22536         * sysdeps/mach/hurd/send.c (__send): Likewise.
22537         * sysdeps/mach/hurd/setdomain.c (setdomainname): Likewise.
22538         * sysdeps/mach/hurd/setegid.c (setegid): Likewise.
22539         * sysdeps/mach/hurd/seteuid.c (seteuid): Likewise.
22540         * sysdeps/mach/hurd/setgid.c (__setgid): Likewise.
22541         * sysdeps/mach/hurd/setgroups.c (setgroups): Likewise.
22542         * sysdeps/mach/hurd/sethostid.c (sethostid): Likewise.
22543         * sysdeps/mach/hurd/sethostname.c (sethostname): Likewise.
22544         * sysdeps/mach/hurd/setlogin.c (setlogin): Likewise.
22545         * sysdeps/mach/hurd/setpgid.c (__setpgid): Likewise.
22546         * sysdeps/mach/hurd/setregid.c (__setregid): Likewise.
22547         * sysdeps/mach/hurd/setreuid.c (__setreuid): Likewise.
22548         * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
22549         * sysdeps/mach/hurd/setuid.c (__setuid): Likewise.
22550         * sysdeps/mach/hurd/shutdown.c (shutdown): Likewise.
22551         * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
22552         * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
22553         * sysdeps/mach/hurd/sigpending.c (sigpending): Likewise.
22554         * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
22555         * sysdeps/mach/hurd/sigsuspend.c (__sigsuspend): Likewise.
22556         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
22557         * sysdeps/mach/hurd/symlink.c (__symlink): Likewise.
22558         * sysdeps/mach/hurd/symlinkat.c (symlinkat): Likewise.
22559         * sysdeps/mach/hurd/telldir.c (telldir): Likewise.
22560         * sysdeps/mach/hurd/truncate.c (__truncate): Likewise.
22561         * sysdeps/mach/hurd/umask.c (__umask): Likewise.
22562         * sysdeps/mach/hurd/unlink.c (__unlink): Likewise.
22563         * sysdeps/mach/hurd/unlinkat.c (unlinkat): Likewise.
22564         * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
22565         * sysdeps/posix/alarm.c (alarm): Likewise.
22566         * sysdeps/posix/cuserid.c (cuserid): Likewise.
22567         * sysdeps/posix/dirfd.c (dirfd): Likewise.
22568         * sysdeps/posix/dup.c (__dup): Likewise.
22569         * sysdeps/posix/dup2.c (__dup2): Likewise.
22570         * sysdeps/posix/euidaccess.c (euidaccess): Likewise.
22571         (main): Likewise.
22572         * sysdeps/posix/flock.c (__flock): Likewise.
22573         * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
22574         * sysdeps/posix/getcwd.c (__getcwd): Likewise.
22575         * sysdeps/posix/gethostname.c (__gethostname): Likewise.
22576         * sysdeps/posix/gettimeofday.c (__gettimeofday): Likewise.
22577         * sysdeps/posix/isatty.c (__isatty): Likewise.
22578         * sysdeps/posix/killpg.c (killpg): Likewise.
22579         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
22580         * sysdeps/posix/mkfifoat.c (mkfifoat): Likewise.
22581         * sysdeps/posix/raise.c (raise): Likewise.
22582         * sysdeps/posix/remove.c (remove): Likewise.
22583         * sysdeps/posix/rename.c (rename): Likewise.
22584         * sysdeps/posix/rewinddir.c (__rewinddir): Likewise.
22585         * sysdeps/posix/seekdir.c (seekdir): Likewise.
22586         * sysdeps/posix/sigblock.c (__sigblock): Likewise.
22587         * sysdeps/posix/sigignore.c (sigignore): Likewise.
22588         * sysdeps/posix/sigintr.c (siginterrupt): Likewise.
22589         * sysdeps/posix/signal.c (__bsd_signal): Likewise.
22590         * sysdeps/posix/sigset.c (sigset): Likewise.
22591         * sysdeps/posix/sigsuspend.c (__sigsuspend): Likewise.
22592         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
22593         * sysdeps/posix/sysv_signal.c (__sysv_signal): Likewise.
22594         * sysdeps/posix/time.c (time): Likewise.
22595         * sysdeps/posix/ttyname.c (getttyname): Likewise.
22596         (ttyname): Likewise.
22597         * sysdeps/posix/ttyname_r.c (__ttyname_r): Likewise.
22598         * sysdeps/posix/utime.c (utime): Likewise.
22599         * sysdeps/powerpc/fpu/s_isnan.c (__isnan): Likewise.
22600         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
22601         Likewise.
22602         * sysdeps/powerpc/nptl/pthread_spin_trylock.c
22603         (pthread_spin_trylock): Likewise.
22604         * sysdeps/pthread/aio_error.c (aio_error): Likewise.
22605         * sysdeps/pthread/aio_read.c (aio_read): Likewise.
22606         * sysdeps/pthread/aio_read64.c (aio_read64): Likewise.
22607         * sysdeps/pthread/aio_write.c (aio_write): Likewise.
22608         * sysdeps/pthread/aio_write64.c (aio_write64): Likewise.
22609         * sysdeps/pthread/flockfile.c (__flockfile): Likewise.
22610         * sysdeps/pthread/ftrylockfile.c (__ftrylockfile): Likewise.
22611         * sysdeps/pthread/funlockfile.c (__funlockfile): Likewise.
22612         * sysdeps/pthread/timer_create.c (timer_create): Likewise.
22613         * sysdeps/pthread/timer_getoverr.c (timer_getoverrun): Likewise.
22614         * sysdeps/pthread/timer_gettime.c (timer_gettime): Likewise.
22615         * sysdeps/s390/ffs.c (__ffs): Likewise.
22616         * sysdeps/s390/nptl/pthread_spin_lock.c (pthread_spin_lock):
22617         Likewise.
22618         * sysdeps/s390/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
22619         Likewise.
22620         * sysdeps/sh/nptl/pthread_spin_lock.c (pthread_spin_lock):
22621         Likewise.
22622         * sysdeps/sparc/nptl/pthread_barrier_destroy.c
22623         (pthread_barrier_destroy): Likewise.
22624         * sysdeps/sparc/nptl/pthread_barrier_wait.c
22625         (__pthread_barrier_wait): Likewise.
22626         * sysdeps/sparc/sparc32/e_sqrt.c (__ieee754_sqrt): Likewise.
22627         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
22628         (__pthread_barrier_wait): Likewise.
22629         * sysdeps/sparc/sparc32/sem_init.c (__old_sem_init): Likewise.
22630         * sysdeps/tile/memcmp.c (memcmp_common_alignment): Likewise.
22631         (memcmp_not_common_alignment): Likewise.
22632         (MEMCMP): Likewise.
22633         * sysdeps/tile/wordcopy.c (_wordcopy_fwd_aligned): Likewise.
22634         (_wordcopy_fwd_dest_aligned): Likewise.
22635         (_wordcopy_bwd_aligned): Likewise.
22636         (_wordcopy_bwd_dest_aligned): Likewise.
22637         * sysdeps/unix/bsd/ftime.c (ftime): Likewise.
22638         * sysdeps/unix/bsd/gtty.c (gtty): Likewise.
22639         * sysdeps/unix/bsd/stty.c (stty): Likewise.
22640         * sysdeps/unix/bsd/tcflow.c (tcflow): Likewise.
22641         * sysdeps/unix/bsd/tcflush.c (tcflush): Likewise.
22642         * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Likewise.
22643         * sysdeps/unix/bsd/tcgetpgrp.c (tcgetpgrp): Likewise.
22644         * sysdeps/unix/bsd/tcsendbrk.c (tcsendbreak): Likewise.
22645         * sysdeps/unix/bsd/tcsetattr.c (tcsetattr): Likewise.
22646         * sysdeps/unix/bsd/tcsetpgrp.c (tcsetpgrp): Likewise.
22647         * sysdeps/unix/bsd/ualarm.c (ualarm): Likewise.
22648         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
22649         * sysdeps/unix/getlogin_r.c (__getlogin_r): Likewise.
22650         * sysdeps/unix/sockatmark.c (sockatmark): Likewise.
22651         * sysdeps/unix/stime.c (stime): Likewise.
22652         * sysdeps/unix/sysv/linux/_exit.c (_exit): Likewise.
22653         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue):
22654         Likewise.  Use internal_function.
22655         * sysdeps/unix/sysv/linux/arm/sigaction.c (__libc_sigaction):
22656         Convert to prototype-style function definition.
22657         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
22658         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
22659         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Likewise.
22660         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
22661         Likewise.  Use internal_function.
22662         * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Convert to
22663         prototype-style function definition
22664         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
22665         Likewise.
22666         (__getlogin_r): Likewise.
22667         * sysdeps/unix/sysv/linux/getpt.c (__posix_openpt): Likewise.
22668         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c
22669         (__pthread_cond_broadcast): Likewise.
22670         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c
22671         (__pthread_cond_destroy): Likewise.
22672         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c
22673         (__pthread_cond_init): Likewise.
22674         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c
22675         (__pthread_cond_signal): Likewise.
22676         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
22677         (__pthread_cond_wait): Likewise.
22678         * sysdeps/unix/sysv/linux/i386/getmsg.c (getmsg): Likewise.
22679         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
22680         * sysdeps/unix/sysv/linux/ia64/sigaction.c (__libc_sigaction):
22681         Likewise.
22682         * sysdeps/unix/sysv/linux/ia64/sigpending.c (sigpending):
22683         Likewise.
22684         * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
22685         Likewise.
22686         * sysdeps/unix/sysv/linux/mips/sigaction.c (__libc_sigaction):
22687         Likewise.
22688         * sysdeps/unix/sysv/linux/msgget.c (msgget): Likewise.
22689         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c
22690         (__ftruncate64): Likewise.
22691         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c
22692         (truncate64): Likewise.
22693         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Likewise.
22694         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c
22695         (pthread_getcpuclockid): Likewise.
22696         * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
22697         Likewise.
22698         * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
22699         Likewise.
22700         * sysdeps/unix/sysv/linux/pthread_sigmask.c (pthread_sigmask):
22701         Likewise.
22702         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
22703         Likewise.
22704         * sysdeps/unix/sysv/linux/raise.c (raise): Likewise.
22705         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c
22706         (__libc_sigaction): Likewise.
22707         * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c (sigpending):
22708         Likewise.
22709         * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
22710         (__sigprocmask): Likewise.
22711         * sysdeps/unix/sysv/linux/semget.c (semget): Likewise.
22712         * sysdeps/unix/sysv/linux/semop.c (semop): Likewise.
22713         * sysdeps/unix/sysv/linux/setrlimit64.c (setrlimit64): Likewise.
22714         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
22715         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
22716         * sysdeps/unix/sysv/linux/shmget.c (shmget): Likewise.
22717         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
22718         Likewise.
22719         * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
22720         * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
22721         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
22722         * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Likewise.
22723         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c (sigpending):
22724         Likewise.
22725         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
22726         (__sigprocmask): Likewise.
22727         * sysdeps/unix/sysv/linux/speed.c (cfgetospeed): Likewise.
22728         (cfgetispeed): Likewise.
22729         (cfsetospeed): Likewise.
22730         (cfsetispeed): Likewise.
22731         * sysdeps/unix/sysv/linux/tcflow.c (tcflow): Likewise.
22732         * sysdeps/unix/sysv/linux/tcflush.c (tcflush): Likewise.
22733         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
22734         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
22735         * sysdeps/unix/sysv/linux/time.c (time): Likewise.
22736         * sysdeps/unix/sysv/linux/timer_create.c (timer_create): Likewise.
22737         * sysdeps/unix/sysv/linux/timer_delete.c (timer_delete): Likewise.
22738         * sysdeps/unix/sysv/linux/timer_getoverr.c (timer_getoverrun):
22739         Likewise.
22740         * sysdeps/unix/sysv/linux/timer_gettime.c (timer_gettime):
22741         Likewise.
22742         * sysdeps/unix/sysv/linux/x86_64/sigpending.c (sigpending):
22743         Likewise.
22744         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
22745         Likewise.
22746         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
22748 2015-10-17  Florian Weimer  <fweimer@redhat.com>
22750         sunrpc: Rewrite with explicit TLS access using __thread.
22751         * sunrpc/rpc_thread.c (thread_rpc_vars): New TLS variable.
22752         (__rpc_thread_destroy, rpc_thread_multi): Access thread_rpc_vars
22753         directly.
22754         (__rpc_thread_variables): Access thread_rpc_vars directly.
22755         Eliminate redundant assignment of the tvp variable.
22757 2015-10-17  Florian Weimer  <fweimer@redhat.com>
22759         malloc: Rewrite with explicit TLS access using __thread.
22760         * sysdeps/generic/malloc-machine.h (tsd_key_t, tsd_key_create)
22761         (tsd_setspecific, tsd_getspecific): Remove.
22762         * sysdeps/mach/hurd/malloc-machine.h (tsd_key_t, tsd_key_create)
22763         (tsd_setspecific, tsd_getspecific): Likewise.
22764         * sysdeps/nptl/malloc-machine.h (tsd_key_t, tsd_key_create)
22765         (tsd_setspecific, tsd_getspecific): Likewise.
22766         * malloc/arena.c (thread_arena): New TLS variable.
22767         (arena_key): Remove variable.
22768         (arena_get): Use thread_arena.
22769         (arena_lookup): Remove macro.
22770         (malloc_atfork, free_atfork, ptmalloc_lock_all)
22771         (ptmalloc_unlock_all, ptmalloc_unlock_all2, ptmalloc_init)
22772         (_int_new_arena, get_free_list, reused_arena)
22773         (arena_thread_freeres): Use thread_arena.
22774         * manual/memory.texi (Basic Allocation): Remove arena_lookup,
22775         tsd_getspecific, tsd_setspecific from safety annotations.
22776         (Allocating Cleared Space): Remove arena_lookup from safety
22777         annotations.
22779 2015-10-17  Florian Weimer  <fweimer@redhat.com>
22781         * stdio-common/vfprintf.c (printf_positional): Rewrite to use
22782         struct scratch_buffer instead of extend_alloca.
22784 2015-10-17  Florian Weimer  <fweimer@redhat.com>
22786         * sysdeps/unix/sysv/linux/kernel-features.h
22787         (__ASSUME_SOCK_CLOEXEC): Remove.
22788         * include/sys/socket.h (__have_sock_cloexec): Remove declaration.
22789         (__have_paccept): Remove unused macro.
22790         * include/unistd.h (__have_sock_cloexec): Remove declaration.
22791         * misc/syslog.c (openlog_internal): Remove fallback code for
22792         !__ASSUME_SOCK_CLOEXEC.
22793         * nis/ypclnt.c (yp_bind_client_create): Remove fallback code for
22794         missing SOCK_CLOEXEC.
22795         * nscd/connections.c (have_sock_cloexec): Remove definition.
22796         (nscd_init): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
22797         * nscd/nscd_helper.c (open_socket): Remove fallback code for
22798         !__ASSUME_SOCK_CLOEXEC.
22799         * resolv/res_send.c (__have_o_nonblock): Remove definition.
22800         (reopen): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
22801         * socket/have_sock_cloexec.c (__have_sock_cloexec): Remove
22802         definition.
22803         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Remove fallback
22804         code for !__ASSUME_SOCK_CLOEXEC.
22806 2015-10-17  Florian Weimer  <fweimer@redhat.com>
22808         [BZ #18982]
22809         * manual/stdio.texi (Variable Arguments Output): Add portability
22810         note, explaining that vfprintf clobbers the va_list pointer.
22812 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
22814         * math/libm-test.inc (fabs_test_data): Add more tests.
22815         (fdim_test_data): Likewise.
22816         (fma_test_data): Likewise.
22817         (fmax_test_data): Likewise.
22818         (fmin_test_data): Likewise.
22819         (fmod_test_data): Likewise.
22821 2015-10-16  Steve Ellcey  <sellcey@imgtec.com>
22823         * sysdeps/mips/memcpy.S (memcpy):  Add word copies for small aligned
22824         data.
22826 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
22828         * math/libm-test.inc (ceil_test_data): Add more tests and more
22829         expectations for "inexact".
22830         (floor_test_data): Add more tests.
22831         (round_test_data): Likewise.
22832         (trunc_test_data): Likewise.
22834         * crypt/cert.c (good_bye): Convert to prototype-style function
22835         definition.
22836         (get8): Likewise.
22837         (put8): Likewise.
22838         * crypt/crypt-entry.c (crypt): Likewise.
22839         (__fcrypt): Likewise.
22840         * crypt/crypt_util.c (_ufc_prbits): Likewise.
22841         (_ufc_set_bits): Likewise.
22842         (_ufc_clearmem): Likewise.
22843         (__init_des_r): Likewise.
22844         (shuffle_sb): Likewise.
22845         (shuffle_sb): Likewise.
22846         (_ufc_setup_salt_r): Likewise.
22847         (_ufc_mk_keytab_r): Likewise.
22848         (_ufc_dofinalperm_r): Likewise.
22849         (encrypt): Likewise.
22850         (__setkey_r): Likewise.
22851         (setkey): Likewise.
22852         * crypt/md5.c (md5_init_ctx): Likewise.
22853         (md5_read_ctx): Likewise.
22854         (md5_finish_ctx): Likewise.
22855         (md5_stream): Likewise.
22856         (md5_buffer): Likewise.
22857         (md5_process_bytes): Likewise.
22858         * crypt/sha256.c (__sha256_init_ctx): Likewise.
22859         (__sha256_finish_ctx): Likewise.
22860         (__sha256_process_bytes): Likewise.
22861         * crypt/sha512.c (__sha512_init_ctx): Likewise.
22862         (__sha512_finish_ctx): Likewise.
22863         (__sha512_process_bytes): Likewise.
22864         * ctype/isctype.c (__isctype): Likewise.
22865         * debug/backtrace.c (__backtrace): Likewise.
22866         * debug/backtracesymsfd.c (__backtrace_symbols_fd): Likewise.
22867         * debug/fgets_chk.c (__fgets_chk): Likewise.
22868         * debug/fgets_u_chk.c (__fgets_unlocked_chk): Likewise.
22869         * debug/memcpy_chk.c (__memcpy_chk): Likewise.
22870         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
22871         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
22872         * debug/memset_chk.c (__memset_chk): Likewise.
22873         * debug/strcat_chk.c (__strcat_chk): Likewise.
22874         * debug/strncat_chk.c (__strncat_chk): Likewise.
22875         * debug/strncpy_chk.c (__strncpy_chk): Likewise.
22876         * debug/vsprintf_chk.c (_IO_str_chk_overflow): Likewise.
22877         * dirent/dirfd.c (dirfd): Likewise.
22878         * dirent/getdents.c (__getdirentries): Likewise.
22879         * dirent/getdents64.c (getdirentries64): Likewise.
22880         * dirent/rewinddir.c (__rewinddir): Likewise.
22881         * dirent/seekdir.c (seekdir): Likewise.
22882         * dirent/telldir.c (telldir): Likewise.
22883         * elf/sln.c (makesymlinks): Likewise.
22884         (makesymlink): Likewise.
22885         * gmon/gmon.c (__moncontrol): Likewise.
22886         (__monstartup): Likewise.
22887         (write_hist): Likewise.
22888         (write_call_graph): Likewise.
22889         (write_bb_counts): Likewise.
22890         * grp/setgroups.c (setgroups): Likewise.
22891         * inet/inet_lnaof.c (inet_lnaof): Likewise.
22892         * inet/inet_net.c (inet_network): Likewise.
22893         * inet/inet_netof.c (inet_netof): Likewise.
22894         * inet/rcmd.c (rresvport_af): Likewise.
22895         (rresvport): Likewise.
22896         * io/access.c (__access): Likewise.
22897         * io/chdir.c (__chdir): Likewise.
22898         * io/chmod.c (__chmod): Likewise.
22899         * io/chown.c (__chown): Likewise.
22900         * io/close.c (__close): Likewise.
22901         * io/creat.c (creat): Likewise.
22902         * io/creat64.c (creat64): Likewise.
22903         * io/dup.c (__dup): Likewise.
22904         * io/dup2.c (__dup2): Likewise.
22905         * io/dup3.c (__dup3): Likewise.
22906         * io/euidaccess.c (__euidaccess): Likewise.
22907         * io/faccessat.c (faccessat): Likewise.
22908         * io/fchmod.c (__fchmod): Likewise.
22909         * io/fchmodat.c (fchmodat): Likewise.
22910         * io/fchown.c (__fchown): Likewise.
22911         * io/fchownat.c (fchownat): Likewise.
22912         * io/fcntl.c (__fcntl): Likewise.
22913         * io/flock.c (__flock): Likewise.
22914         * io/fts.c (fts_load): Likewise.
22915         (fts_close): Likewise.
22916         (fts_read): Likewise.
22917         (fts_set): Likewise.
22918         (fts_children): Likewise.
22919         (fts_build): Likewise.
22920         (fts_stat): Likewise.
22921         (fts_sort): Likewise.
22922         (fts_alloc): Likewise.
22923         (fts_lfree): Likewise.
22924         (fts_palloc): Likewise.
22925         (fts_padjust): Likewise.
22926         (fts_maxarglen): Likewise.
22927         (fts_safe_changedir): Likewise.
22928         * io/getwd.c (getwd): Likewise.
22929         * io/isatty.c (__isatty): Likewise.
22930         * io/lchown.c (__lchown): Likewise.
22931         * io/link.c (__link): Likewise.
22932         * io/linkat.c (linkat): Likewise.
22933         * io/lseek.c (__libc_lseek): Likewise.
22934         * io/mkdir.c (__mkdir): Likewise.
22935         * io/mkdirat.c (mkdirat): Likewise.
22936         * io/mkfifo.c (mkfifo): Likewise.
22937         * io/mkfifoat.c (mkfifoat): Likewise.
22938         * io/open.c (__libc_open): Likewise.
22939         * io/open64.c (__libc_open64): Likewise.
22940         * io/readlink.c (__readlink): Likewise.
22941         * io/readlinkat.c (readlinkat): Likewise.
22942         * io/rmdir.c (__rmdir): Likewise.
22943         * io/symlink.c (__symlink): Likewise.
22944         * io/symlinkat.c (symlinkat): Likewise.
22945         * io/ttyname.c (ttyname): Likewise.
22946         * io/ttyname_r.c (__ttyname_r): Likewise.
22947         * io/umask.c (__umask): Likewise.
22948         * io/unlink.c (__unlink): Likewise.
22949         * io/unlinkat.c (unlinkat): Likewise.
22950         * io/utime.c (utime): Likewise.
22951         * libio/clearerr.c (clearerr): Likewise.
22952         * libio/clearerr_u.c (clearerr_unlocked): Likewise.
22953         * libio/feof.c (_IO_feof): Likewise.
22954         * libio/feof_u.c (feof_unlocked): Likewise.
22955         * libio/ferror.c (_IO_ferror): Likewise.
22956         * libio/ferror_u.c (ferror_unlocked): Likewise.
22957         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
22958         * libio/fileno.c (__fileno): Likewise.
22959         * libio/fputc.c (fputc): Likewise.
22960         * libio/fputc_u.c (fputc_unlocked): Likewise.
22961         * libio/fputwc.c (fputwc): Likewise.
22962         * libio/fputwc_u.c (fputwc_unlocked): Likewise.
22963         * libio/freopen.c (freopen): Likewise.
22964         * libio/freopen64.c (freopen64): Likewise.
22965         * libio/fseek.c (fseek): Likewise.
22966         * libio/fseeko.c (fseeko): Likewise.
22967         * libio/fseeko64.c (fseeko64): Likewise.
22968         * libio/ftello.c (__ftello): Likewise.
22969         * libio/ftello64.c (ftello64): Likewise.
22970         * libio/fwide.c (fwide): Likewise.
22971         * libio/genops.c (_IO_un_link): Likewise.
22972         (_IO_link_in): Likewise.
22973         (_IO_least_marker): Likewise.
22974         (_IO_switch_to_main_get_area): Likewise.
22975         (_IO_switch_to_backup_area): Likewise.
22976         (_IO_switch_to_get_mode): Likewise.
22977         (_IO_free_backup_area): Likewise.
22978         (_IO_switch_to_put_mode): Likewise.
22979         (__overflow): Likewise.
22980         (__underflow): Likewise.
22981         (__uflow): Likewise.
22982         (_IO_setb): Likewise.
22983         (_IO_doallocbuf): Likewise.
22984         (_IO_default_underflow): Likewise.
22985         (_IO_default_uflow): Likewise.
22986         (_IO_default_xsputn): Likewise.
22987         (_IO_sgetn): Likewise.
22988         (_IO_default_xsgetn): Likewise.
22989         (_IO_sync): Likewise.
22990         (_IO_default_setbuf): Likewise.
22991         (_IO_default_seekpos): Likewise.
22992         (_IO_default_doallocate): Likewise.
22993         (_IO_init): Likewise.
22994         (_IO_old_init): Likewise.
22995         (_IO_default_sync): Likewise.
22996         (_IO_default_finish): Likewise.
22997         (_IO_default_seekoff): Likewise.
22998         (_IO_sputbackc): Likewise.
22999         (_IO_sungetc): Likewise.
23000         (_IO_set_column): Likewise.
23001         (_IO_set_column): Likewise.
23002         (_IO_adjust_column): Likewise.
23003         (_IO_get_column): Likewise.
23004         (_IO_init_marker): Likewise.
23005         (_IO_remove_marker): Likewise.
23006         (_IO_marker_difference): Likewise.
23007         (_IO_marker_delta): Likewise.
23008         (_IO_seekmark): Likewise.
23009         (_IO_unsave_markers): Likewise.
23010         (_IO_nobackup_pbackfail): Likewise.
23011         (_IO_default_pbackfail): Likewise.
23012         (_IO_default_seek): Likewise.
23013         (_IO_default_stat): Likewise.
23014         (_IO_default_read): Likewise.
23015         (_IO_default_write): Likewise.
23016         (_IO_default_showmanyc): Likewise.
23017         (_IO_default_imbue): Likewise.
23018         (_IO_iter_next): Likewise.
23019         (_IO_iter_file): Likewise.
23020         * libio/getc.c (_IO_getc): Likewise.
23021         * libio/getwc.c (_IO_getwc): Likewise.
23022         * libio/iofclose.c (_IO_new_fclose): Likewise.
23023         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
23024         * libio/iofflush.c (_IO_fflush): Likewise.
23025         * libio/iofflush_u.c (__fflush_unlocked): Likewise.
23026         * libio/iofgetpos.c (_IO_new_fgetpos): Likewise.
23027         * libio/iofgetpos64.c (_IO_new_fgetpos64): Likewise.
23028         * libio/iofgets.c (_IO_fgets): Likewise.
23029         * libio/iofgets_u.c (__fgets_unlocked): Likewise.
23030         * libio/iofgetws.c (fgetws): Likewise.
23031         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
23032         * libio/iofopen64.c (_IO_fopen64): Likewise.
23033         * libio/iofopncook.c (_IO_cookie_read): Likewise.
23034         (_IO_cookie_write): Likewise.
23035         (_IO_cookie_seek): Likewise.
23036         (_IO_cookie_close): Likewise.
23037         (_IO_cookie_seekoff): Likewise.
23038         (_IO_old_cookie_seek): Likewise.
23039         * libio/iofputs.c (_IO_fputs): Likewise.
23040         * libio/iofputs_u.c (__fputs_unlocked): Likewise.
23041         * libio/iofputws.c (fputws): Likewise.
23042         * libio/iofputws_u.c (fputws_unlocked): Likewise.
23043         * libio/iofread.c (_IO_fread): Likewise.
23044         * libio/iofread_u.c (__fread_unlocked): Likewise.
23045         * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
23046         * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
23047         * libio/ioftell.c (_IO_ftell): Likewise.
23048         * libio/iofwrite.c (_IO_fwrite): Likewise.
23049         * libio/iogetdelim.c (_IO_getdelim): Likewise.
23050         * libio/iogets.c (_IO_gets): Likewise.
23051         * libio/iopadn.c (_IO_padn): Likewise.
23052         * libio/iopopen.c (_IO_new_proc_open): Likewise.
23053         (_IO_new_popen): Likewise.
23054         (_IO_new_proc_close): Likewise.
23055         * libio/ioputs.c (_IO_puts): Likewise.
23056         * libio/ioseekoff.c (_IO_seekoff_unlocked): Likewise.
23057         (_IO_seekoff): Likewise.
23058         * libio/ioseekpos.c (_IO_seekpos_unlocked): Likewise.
23059         (_IO_seekpos): Likewise.
23060         * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
23061         * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
23062         * libio/ioungetc.c (_IO_ungetc): Likewise.
23063         * libio/ioungetwc.c (ungetwc): Likewise.
23064         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
23065         * libio/iovsscanf.c (_IO_vsscanf): Likewise.
23066         * libio/iowpadn.c (_IO_wpadn): Likewise.
23067         * libio/libc_fatal.c (__libc_fatal): Likewise.
23068         * libio/memstream.c (__open_memstream): Likewise.
23069         (_IO_mem_sync): Likewise.
23070         (_IO_mem_finish): Likewise.
23071         * libio/oldfileops.c (_IO_old_file_init): Likewise.
23072         (_IO_old_file_close_it): Likewise.
23073         (_IO_old_file_finish): Likewise.
23074         (_IO_old_file_fopen): Likewise.
23075         (_IO_old_file_attach): Likewise.
23076         (_IO_old_file_setbuf): Likewise.
23077         (_IO_old_do_write): Likewise.
23078         (old_do_write): Likewise.
23079         (_IO_old_file_underflow): Likewise.
23080         (_IO_old_file_overflow): Likewise.
23081         (_IO_old_file_sync): Likewise.
23082         (_IO_old_file_seekoff): Likewise.
23083         (_IO_old_file_write): Likewise.
23084         (_IO_old_file_xsputn): Likewise.
23085         * libio/oldiofclose.c (_IO_old_fclose): Likewise.
23086         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
23087         * libio/oldiofgetpos.c (_IO_old_fgetpos): Likewise.
23088         * libio/oldiofgetpos64.c (_IO_old_fgetpos64): Likewise.
23089         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
23090         * libio/oldiofsetpos.c (_IO_old_fsetpos): Likewise.
23091         * libio/oldiofsetpos64.c (_IO_old_fsetpos64): Likewise.
23092         * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
23093         (_IO_old_popen): Likewise.
23094         (_IO_old_proc_close): Likewise.
23095         * libio/oldpclose.c (__old_pclose): Likewise.
23096         * libio/pclose.c (__new_pclose): Likewise.
23097         * libio/peekc.c (_IO_peekc_locked): Likewise.
23098         * libio/putc.c (_IO_putc): Likewise.
23099         * libio/putc_u.c (putc_unlocked): Likewise.
23100         * libio/putchar.c (putchar): Likewise.
23101         * libio/putchar_u.c (putchar_unlocked): Likewise.
23102         * libio/putwc.c (putwc): Likewise.
23103         * libio/putwc_u.c (putwc_unlocked): Likewise.
23104         * libio/putwchar.c (putwchar): Likewise.
23105         * libio/putwchar_u.c (putwchar_unlocked): Likewise.
23106         * libio/rewind.c (rewind): Likewise.
23107         * libio/setbuf.c (setbuf): Likewise.
23108         * libio/setlinebuf.c (setlinebuf): Likewise.
23109         * libio/vasprintf.c (_IO_vasprintf): Likewise.
23110         * libio/vscanf.c (_IO_vscanf): Likewise.
23111         * libio/vsnprintf.c (_IO_strn_overflow): Likewise.
23112         * libio/vswprintf.c (_IO_wstrn_overflow): Likewise.
23113         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
23114         * libio/wgenops.c (_IO_least_wmarker): Likewise.
23115         (_IO_switch_to_main_wget_area): Likewise.
23116         (_IO_switch_to_wbackup_area): Likewise.
23117         (_IO_wsetb): Likewise.
23118         (_IO_wdefault_pbackfail): Likewise.
23119         (_IO_wdefault_finish): Likewise.
23120         (_IO_wdefault_uflow): Likewise.
23121         (__woverflow): Likewise.
23122         (__wuflow): Likewise.
23123         (__wunderflow): Likewise.
23124         (_IO_wdefault_xsputn): Likewise.
23125         (_IO_wdefault_xsgetn): Likewise.
23126         (_IO_wdoallocbuf): Likewise.
23127         (_IO_wdefault_doallocate): Likewise.
23128         (_IO_switch_to_wget_mode): Likewise.
23129         (_IO_free_wbackup_area): Likewise.
23130         (_IO_switch_to_wput_mode): Likewise.
23131         (_IO_sputbackwc): Likewise.
23132         (_IO_sungetwc): Likewise.
23133         (_IO_adjust_wcolumn): Likewise.
23134         (_IO_init_wmarker): Likewise.
23135         (_IO_wmarker_delta): Likewise.
23136         (_IO_seekwmark): Likewise.
23137         (_IO_unsave_wmarkers): Likewise.
23138         * libio/wmemstream.c (open_wmemstream): Likewise.
23139         (_IO_wmem_sync): Likewise.
23140         (_IO_wmem_finish): Likewise.
23141         * locale/nl_langinfo.c (nl_langinfo): Likewise.
23142         * locale/nl_langinfo_l.c (__nl_langinfo_l): Likewise.
23143         * locale/programs/simple-hash.c (init_hash): Likewise.
23144         (delete_hash): Likewise.
23145         (insert_entry): Likewise.
23146         (set_entry): Likewise.
23147         (next_prime): Likewise.
23148         (is_prime): Likewise.
23149         * locale/programs/xmalloc.c (fixup_null_alloc): Likewise.
23150         (xmalloc): Likewise.
23151         (xrealloc): Likewise.
23152         * locale/programs/xstrdup.c (xstrdup): Likewise.
23153         * localedata/collate-test.c (xstrcoll): Likewise.
23154         * localedata/xfrm-test.c (xstrcmp): Likewise.
23155         * login/getlogin_r.c (__getlogin_r): Likewise.
23156         * login/getpt.c (__posix_openpt): Likewise.
23157         * login/login_tty.c (login_tty): Likewise.
23158         * login/setlogin.c (setlogin): Likewise.
23159         * mach/msg-destroy.c (__mach_msg_destroy): Likewise.
23160         (mach_msg_destroy_port): Likewise.
23161         (mach_msg_destroy_memory): Likewise.
23162         * malloc/mcheck.c (flood): Likewise.
23163         * misc/acct.c (acct): Likewise.
23164         * misc/brk.c (__brk): Likewise.
23165         * misc/chflags.c (chflags): Likewise.
23166         * misc/chroot.c (chroot): Likewise.
23167         * misc/fchflags.c (fchflags): Likewise.
23168         * misc/fstab.c (getfsspec): Likewise.
23169         (getfsfile): Likewise.
23170         * misc/fsync.c (fsync): Likewise.
23171         * misc/ftruncate.c (__ftruncate): Likewise.
23172         * misc/ftruncate64.c (__ftruncate64): Likewise.
23173         * misc/getdomain.c (getdomainname): Likewise.
23174         (getdomainname): Likewise.
23175         * misc/gethostname.c (__gethostname): Likewise.
23176         * misc/getpass.c (getpass): Likewise.
23177         * misc/getttyent.c (skip): Likewise.
23178         (value): Likewise.
23179         * misc/gtty.c (gtty): Likewise.
23180         * misc/hsearch.c (hsearch): Likewise.
23181         (hcreate): Likewise.
23182         * misc/hsearch_r.c (__hcreate_r): Likewise.
23183         (__hdestroy_r): Likewise.
23184         * misc/ioctl.c (__ioctl): Likewise.
23185         * misc/mkdtemp.c (mkdtemp): Likewise.
23186         * misc/mkostemp.c (mkostemp): Likewise.
23187         * misc/mkostemp64.c (mkostemp64): Likewise.
23188         * misc/mkostemps.c (mkostemps): Likewise.
23189         * misc/mkostemps64.c (mkostemps64): Likewise.
23190         * misc/mkstemp.c (mkstemp): Likewise.
23191         * misc/mkstemp64.c (mkstemp64): Likewise.
23192         * misc/mkstemps.c (mkstemps): Likewise.
23193         * misc/mkstemps64.c (mkstemps64): Likewise.
23194         * misc/mktemp.c (__mktemp): Likewise.
23195         * misc/preadv.c (preadv): Likewise.
23196         * misc/preadv64.c (preadv64): Likewise.
23197         * misc/pwritev.c (pwritev): Likewise.
23198         * misc/pwritev64.c (pwritev64): Likewise.
23199         * misc/readv.c (__readv): Likewise.
23200         * misc/revoke.c (revoke): Likewise.
23201         * misc/setdomain.c (setdomainname): Likewise.
23202         * misc/setegid.c (setegid): Likewise.
23203         * misc/seteuid.c (seteuid): Likewise.
23204         * misc/sethostid.c (sethostid): Likewise.
23205         * misc/sethostname.c (sethostname): Likewise.
23206         * misc/setregid.c (__setregid): Likewise.
23207         * misc/setreuid.c (__setreuid): Likewise.
23208         * misc/sstk.c (sstk): Likewise.
23209         * misc/stty.c (stty): Likewise.
23210         * misc/syscall.c (syscall): Likewise.
23211         * misc/syslog.c (setlogmask): Likewise.
23212         * misc/truncate.c (__truncate): Likewise.
23213         * misc/truncate64.c (truncate64): Likewise.
23214         * misc/ualarm.c (ualarm): Likewise.
23215         * misc/usleep.c (usleep): Likewise.
23216         * misc/ustat.c (ustat): Likewise.
23217         * misc/writev.c (__writev): Likewise.
23218         * nptl/cleanup_compat.c (_pthread_cleanup_pop): Likewise.
23219         * nptl/old_pthread_cond_broadcast.c
23220         (__pthread_cond_broadcast_2_0): Likewise.
23221         * nptl/old_pthread_cond_destroy.c (__pthread_cond_destroy_2_0):
23222         Likewise.
23223         * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0):
23224         Likewise.
23225         * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0):
23226         Likewise.
23227         * nptl/pt-raise.c (raise): Likewise.
23228         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy):
23229         Likewise.
23230         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Likewise.
23231         * nptl/pthread_barrierattr_destroy.c
23232         (pthread_barrierattr_destroy): Likewise.
23233         * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
23234         Likewise.
23235         * nptl/pthread_barrierattr_setpshared.c
23236         (pthread_barrierattr_setpshared): Likewise.
23237         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
23238         Likewise.
23239         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
23240         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
23241         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
23242         * nptl/pthread_condattr_destroy.c (__pthread_condattr_destroy):
23243         Likewise.
23244         * nptl/pthread_condattr_getclock.c (pthread_condattr_getclock):
23245         Likewise.
23246         * nptl/pthread_condattr_getpshared.c
23247         (pthread_condattr_getpshared): Likewise.
23248         * nptl/pthread_condattr_init.c (__pthread_condattr_init):
23249         Likewise.
23250         * nptl/pthread_condattr_setpshared.c
23251         (pthread_condattr_setpshared): Likewise.
23252         * nptl/pthread_detach.c (pthread_detach): Likewise.
23253         * nptl/pthread_equal.c (__pthread_equal): Likewise.
23254         * nptl/pthread_getcpuclockid.c (pthread_getcpuclockid): Likewise.
23255         * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
23256         * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
23257         * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent):
23258         Likewise.
23259         * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
23260         Likewise.
23261         * nptl/pthread_mutex_getprioceiling.c
23262         (pthread_mutex_getprioceiling): Likewise.
23263         * nptl/pthread_mutexattr_destroy.c (__pthread_mutexattr_destroy):
23264         Likewise.
23265         * nptl/pthread_mutexattr_getprotocol.c
23266         (pthread_mutexattr_getprotocol): Likewise.
23267         * nptl/pthread_mutexattr_getpshared.c
23268         (pthread_mutexattr_getpshared): Likewise.
23269         * nptl/pthread_mutexattr_getrobust.c
23270         (pthread_mutexattr_getrobust): Likewise.
23271         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
23272         Likewise.
23273         * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init):
23274         Likewise.
23275         * nptl/pthread_mutexattr_setprioceiling.c
23276         (pthread_mutexattr_setprioceiling): Likewise.
23277         * nptl/pthread_mutexattr_setprotocol.c
23278         (pthread_mutexattr_setprotocol): Likewise.
23279         * nptl/pthread_mutexattr_setpshared.c
23280         (pthread_mutexattr_setpshared): Likewise.
23281         * nptl/pthread_mutexattr_setrobust.c
23282         (pthread_mutexattr_setrobust): Likewise.
23283         * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
23284         Likewise.
23285         * nptl/pthread_rwlock_destroy.c (__pthread_rwlock_destroy):
23286         Likewise.
23287         * nptl/pthread_rwlockattr_destroy.c (pthread_rwlockattr_destroy):
23288         Likewise.
23289         * nptl/pthread_rwlockattr_getkind_np.c
23290         (pthread_rwlockattr_getkind_np): Likewise.
23291         * nptl/pthread_rwlockattr_getpshared.c
23292         (pthread_rwlockattr_getpshared): Likewise.
23293         * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init):
23294         Likewise.
23295         * nptl/pthread_rwlockattr_setkind_np.c
23296         (pthread_rwlockattr_setkind_np): Likewise.
23297         * nptl/pthread_rwlockattr_setpshared.c
23298         (pthread_rwlockattr_setpshared): Likewise.
23299         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate):
23300         Likewise.
23301         * nptl/pthread_setcanceltype.c (__pthread_setcanceltype):
23302         Likewise.
23303         * nptl/pthread_setconcurrency.c (pthread_setconcurrency):
23304         Likewise.
23305         * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
23306         * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
23307         * nptl/pthread_spin_destroy.c (pthread_spin_destroy): Likewise.
23308         * nptl/pthread_tryjoin.c (pthread_tryjoin_np): Likewise.
23309         * nptl/sem_close.c (sem_close): Likewise.
23310         * nptl/sem_destroy.c (__new_sem_destroy): Likewise.
23311         * nptl/sem_init.c (__old_sem_init): Likewise.
23312         * nptl/sigaction.c (__sigaction): Likewise.
23313         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
23314         * posix/_exit.c (_exit): Likewise.
23315         * posix/alarm.c (alarm): Likewise.
23316         * posix/confstr.c (confstr): Likewise.
23317         * posix/fpathconf.c (__fpathconf): Likewise.
23318         * posix/getgroups.c (__getgroups): Likewise.
23319         * posix/getpgid.c (__getpgid): Likewise.
23320         * posix/group_member.c (__group_member): Likewise.
23321         * posix/pathconf.c (__pathconf): Likewise.
23322         * posix/sched_getaffinity.c (sched_getaffinity): Likewise.
23323         * posix/sched_setaffinity.c (sched_setaffinity): Likewise.
23324         * posix/setgid.c (__setgid): Likewise.
23325         * posix/setpgid.c (__setpgid): Likewise.
23326         * posix/setuid.c (__setuid): Likewise.
23327         * posix/sleep.c (__sleep): Likewise.
23328         * posix/sysconf.c (__sysconf): Likewise.
23329         * posix/times.c (__times): Likewise.
23330         * posix/uname.c (__uname): Likewise.
23331         * posix/waitid.c (__waitid): Likewise.
23332         * pwd/getpw.c (__getpw): Likewise.
23333         * resolv/base64.c (b64_pton): Likewise.
23334         * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
23335         * resolv/gethnamaddr.c (Dprintf): Likewise.
23336         (gethostbyname): Likewise.
23337         (gethostbyname2): Likewise.
23338         (gethostbyaddr): Likewise.
23339         (_sethtent): Likewise.
23340         (_gethtbyname): Likewise.
23341         (_gethtbyname2): Likewise.
23342         (_gethtbyaddr): Likewise.
23343         (map_v4v6_address): Likewise.
23344         (map_v4v6_hostent): Likewise.
23345         (addrsort): Likewise.
23346         (ht_sethostent): Likewise.
23347         (ht_gethostbyname): Likewise.
23348         (ht_gethostbyaddr): Likewise.
23349         * resolv/inet_net_ntop.c (inet_net_ntop): Likewise.
23350         (inet_net_ntop_ipv4): Likewise.
23351         * resolv/inet_neta.c (inet_neta): Likewise.
23352         * resolv/inet_ntop.c (inet_ntop): Likewise.
23353         (inet_ntop4): Likewise.
23354         (inet_ntop6): Likewise.
23355         * resolv/inet_pton.c (__inet_pton): Likewise.
23356         (inet_pton4): Likewise.
23357         (inet_pton6): Likewise.
23358         * resolv/res_debug.c (loc_aton): Likewise.
23359         (loc_ntoa): Likewise.
23360         * resource/getpriority.c (__getpriority): Likewise.
23361         * resource/getrusage.c (__getrusage): Likewise.
23362         * resource/nice.c (nice): Likewise.
23363         * resource/setpriority.c (__setpriority): Likewise.
23364         * resource/setrlimit64.c (setrlimit64): Likewise.
23365         * resource/vlimit.c (vlimit): Likewise.
23366         * resource/vtimes.c (vtimes): Likewise.
23367         * rt/aio_error.c (aio_error): Likewise.
23368         * rt/aio_return.c (aio_return): Likewise.
23369         * rt/aio_sigqueue.c (__aio_sigqueue): Likewise.
23370         * signal/kill.c (__kill): Likewise.
23371         * signal/killpg.c (killpg): Likewise.
23372         * signal/raise.c (raise): Likewise.
23373         * signal/sigaction.c (__sigaction): Likewise.
23374         * signal/sigaddset.c (sigaddset): Likewise.
23375         * signal/sigaltstack.c (sigaltstack): Likewise.
23376         * signal/sigandset.c (sigandset): Likewise.
23377         * signal/sigblock.c (__sigblock): Likewise.
23378         * signal/sigdelset.c (sigdelset): Likewise.
23379         * signal/sigempty.c (sigemptyset): Likewise.
23380         * signal/sigfillset.c (sigfillset): Likewise.
23381         * signal/sighold.c (sighold): Likewise.
23382         * signal/sigignore.c (sigignore): Likewise.
23383         * signal/sigintr.c (siginterrupt): Likewise.
23384         * signal/sigisempty.c (sigisemptyset): Likewise.
23385         * signal/sigismem.c (sigismember): Likewise.
23386         * signal/signal.c (signal): Likewise.
23387         * signal/sigorset.c (sigorset): Likewise.
23388         * signal/sigpause.c (__sigpause): Likewise.
23389         * signal/sigpending.c (sigpending): Likewise.
23390         * signal/sigprocmask.c (__sigprocmask): Likewise.
23391         * signal/sigrelse.c (sigrelse): Likewise.
23392         * signal/sigreturn.c (__sigreturn): Likewise.
23393         * signal/sigset.c (sigset): Likewise.
23394         * signal/sigsetmask.c (__sigsetmask): Likewise.
23395         * signal/sigstack.c (sigstack): Likewise.
23396         * signal/sigsuspend.c (__sigsuspend): Likewise.
23397         * signal/sigvec.c (sigvec_wrapper_handler): Likewise.
23398         * signal/sysv_signal.c (__sysv_signal): Likewise.
23399         * socket/accept.c (accept): Likewise.
23400         * socket/accept4.c (__libc_accept4): Likewise.
23401         * socket/bind.c (__bind): Likewise.
23402         * socket/connect.c (__connect): Likewise.
23403         * socket/getpeername.c (getpeername): Likewise.
23404         * socket/getsockname.c (__getsockname): Likewise.
23405         * socket/getsockopt.c (getsockopt): Likewise.
23406         * socket/listen.c (__listen): Likewise.
23407         * socket/recv.c (__recv): Likewise.
23408         * socket/recvmsg.c (__recvmsg): Likewise.
23409         * socket/send.c (__send): Likewise.
23410         * socket/sendmsg.c (__sendmsg): Likewise.
23411         * socket/shutdown.c (shutdown): Likewise.
23412         * socket/sockatmark.c (sockatmark): Likewise.
23413         * socket/socket.c (__socket): Likewise.
23414         * stdio-common/ctermid.c (ctermid): Likewise.
23415         * stdio-common/cuserid.c (cuserid): Likewise.
23416         * stdio-common/printf-prs.c (parse_printf_format): Likewise.
23417         * stdio-common/remove.c (remove): Likewise.
23418         * stdio-common/rename.c (rename): Likewise.
23419         * stdio-common/renameat.c (renameat): Likewise.
23420         * stdio-common/tempname.c (__gen_tempname): Likewise.
23421         * stdio-common/xbug.c (InitBuffer): Likewise.
23422         (AppendToBuffer): Likewise.
23423         (ReadFile): Likewise.
23424         * stdlib/a64l.c (a64l): Likewise.
23425         * stdlib/drand48_r.c (drand48_r): Likewise.
23426         * stdlib/getcontext.c (getcontext): Likewise.
23427         * stdlib/getenv.c (getenv): Likewise.
23428         * stdlib/l64a.c (l64a): Likewise.
23429         * stdlib/llabs.c (llabs): Likewise.
23430         * stdlib/lldiv.c (lldiv): Likewise.
23431         * stdlib/lrand48_r.c (lrand48_r): Likewise.
23432         * stdlib/mrand48_r.c (mrand48_r): Likewise.
23433         * stdlib/putenv.c (putenv): Likewise.
23434         * stdlib/random.c (__srandom): Likewise.
23435         (__initstate): Likewise.
23436         (__setstate): Likewise.
23437         * stdlib/random_r.c (__srandom_r): Likewise.
23438         (__setstate_r): Likewise.
23439         (__random_r): Likewise.
23440         * stdlib/secure-getenv.c (__libc_secure_getenv): Likewise.
23441         * stdlib/setcontext.c (setcontext): Likewise.
23442         * stdlib/setenv.c (setenv): Likewise.
23443         (unsetenv): Likewise.
23444         * stdlib/srand48.c (srand48): Likewise.
23445         * stdlib/srand48_r.c (__srand48_r): Likewise.
23446         * stdlib/swapcontext.c (swapcontext): Likewise.
23447         * stdlib/system.c (__libc_system): Likewise.
23448         * stdlib/tst-strtod.c (expand): Likewise.
23449         * stdlib/tst-strtol.c (expand): Likewise.
23450         * stdlib/tst-strtoll.c (expand): Likewise.
23451         * streams/fattach.c (fattach): Likewise.
23452         * streams/fdetach.c (fdetach): Likewise.
23453         * streams/getmsg.c (getmsg): Likewise.
23454         * streams/isastream.c (isastream): Likewise.
23455         * string/ffs.c (__ffs): Likewise.
23456         * string/ffsll.c (ffsll): Likewise.
23457         * string/memcmp.c (memcmp_common_alignment): Likewise.
23458         (memcmp_not_common_alignment): Likewise.
23459         (MEMCMP): Likewise.
23460         * string/memcpy.c (memcpy): Likewise.
23461         * string/memmove.c (MEMMOVE): Likewise.
23462         * string/memset.c (memset): Likewise.
23463         * string/rawmemchr.c (RAWMEMCHR): Likewise.
23464         * string/strchrnul.c (STRCHRNUL): Likewise.
23465         * string/strerror.c (strerror): Likewise.
23466         * string/strndup.c (__strndup): Likewise.
23467         * string/strverscmp.c (__strverscmp): Likewise.
23468         * sunrpc/clnt_raw.c (clntraw_freeres): Likewise.
23469         * sunrpc/clnt_tcp.c (clnttcp_geterr): Likewise.
23470         (clnttcp_freeres): Likewise.
23471         * sunrpc/clnt_unix.c (clntunix_freeres): Likewise.
23472         * sunrpc/pmap_prot.c (xdr_pmap): Likewise.
23473         * sunrpc/pmap_prot2.c (xdr_pmaplist): Likewise.
23474         * sunrpc/pmap_rmt.c (xdr_rmtcallres): Likewise.
23475         * sunrpc/rpc_prot.c (xdr_replymsg): Likewise.
23476         (xdr_callhdr): Likewise.
23477         * sunrpc/rpcinfo.c (udpping): Likewise.
23478         (tcpping): Likewise.
23479         (pstatus): Likewise.
23480         (pmapdump): Likewise.
23481         (brdcst): Likewise.
23482         (deletereg): Likewise.
23483         (getprognum): Likewise.
23484         (getvers): Likewise.
23485         (get_inet_address): Likewise.
23486         * sunrpc/svc_raw.c (svcraw_recv): Likewise.
23487         * sunrpc/svc_udp.c (svcudp_create): Likewise.
23488         (svcudp_stat): Likewise.
23489         (svcudp_recv): Likewise.
23490         (svcudp_reply): Likewise.
23491         (svcudp_getargs): Likewise.
23492         (svcudp_freeargs): Likewise.
23493         (svcudp_destroy): Likewise.
23494         * sunrpc/xdr.c (xdr_bytes): Likewise.
23495         (xdr_netobj): Likewise.
23496         (xdr_string): Likewise.
23497         (xdr_wrapstring): Likewise.
23498         * sunrpc/xdr_float.c (xdr_float): Likewise.
23499         (xdr_double): Likewise.
23500         * sunrpc/xdr_mem.c (xdrmem_setpos): Likewise.
23501         * sunrpc/xdr_ref.c (xdr_pointer): Likewise.
23502         * sysvipc/ftok.c (ftok): Likewise.
23503         * sysvipc/msgctl.c (msgctl): Likewise.
23504         * sysvipc/msgget.c (msgget): Likewise.
23505         * sysvipc/msgrcv.c (msgrcv): Likewise.
23506         * sysvipc/msgsnd.c (msgsnd): Likewise.
23507         * sysvipc/semget.c (semget): Likewise.
23508         * sysvipc/semop.c (semop): Likewise.
23509         * sysvipc/shmat.c (shmat): Likewise.
23510         * sysvipc/shmctl.c (shmctl): Likewise.
23511         * sysvipc/shmdt.c (shmdt): Likewise.
23512         * sysvipc/shmget.c (shmget): Likewise.
23513         * termios/cfmakeraw.c (cfmakeraw): Likewise.
23514         * termios/speed.c (cfgetospeed): Likewise.
23515         (cfgetispeed): Likewise.
23516         (cfsetospeed): Likewise.
23517         (cfsetispeed): Likewise.
23518         * termios/tcflow.c (tcflow): Likewise.
23519         * termios/tcflush.c (tcflush): Likewise.
23520         * termios/tcgetattr.c (__tcgetattr): Likewise.
23521         * termios/tcgetpgrp.c (tcgetpgrp): Likewise.
23522         * termios/tcgetsid.c (tcgetsid): Likewise.
23523         * termios/tcsendbrk.c (tcsendbreak): Likewise.
23524         * termios/tcsetpgrp.c (tcsetpgrp): Likewise.
23525         * time/adjtime.c (__adjtime): Likewise.
23526         * time/dysize.c (dysize): Likewise.
23527         * time/ftime.c (ftime): Likewise.
23528         * time/getitimer.c (__getitimer): Likewise.
23529         * time/gettimeofday.c (__gettimeofday): Likewise.
23530         * time/gmtime.c (__gmtime_r): Likewise.
23531         (gmtime): Likewise.
23532         * time/localtime.c (__localtime_r): Likewise.
23533         (localtime): Likewise.
23534         * time/offtime.c (__offtime): Likewise.
23535         * time/settimeofday.c (__settimeofday): Likewise.
23536         * time/stime.c (stime): Likewise.
23537         * time/strftime_l.c (tm_diff): Likewise.
23538         (iso_week_days): Likewise.
23539         * time/strptime.c (strptime): Likewise.
23540         * time/time.c (time): Likewise.
23541         * time/timespec_get.c (timespec_get): Likewise.
23542         * time/tzset.c (tzset_internal): Likewise.
23543         (compute_change): Likewise.
23544         (__tz_compute): Likewise.
23545         * wcsmbs/btowc.c (__btowc): Likewise.
23546         * wcsmbs/mbrlen.c (__mbrlen): Likewise.
23547         * wcsmbs/mbsinit.c (__mbsinit): Likewise.
23548         * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Likewise.
23549         * wcsmbs/wcpcpy.c (__wcpcpy): Likewise.
23550         * wcsmbs/wcpncpy.c (__wcpncpy): Likewise.
23551         * wcsmbs/wcscat.c (__wcscat): Likewise.
23552         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
23553         * wcsmbs/wcscmp.c (WCSCMP): Likewise.
23554         * wcsmbs/wcscpy.c (WCSCPY): Likewise.
23555         * wcsmbs/wcscspn.c (wcscspn): Likewise.
23556         * wcsmbs/wcsdup.c (wcsdup): Likewise.
23557         * wcsmbs/wcslen.c (__wcslen): Likewise.
23558         * wcsmbs/wcsncat.c (WCSNCAT): Likewise.
23559         * wcsmbs/wcsncmp.c (WCSNCMP): Likewise.
23560         * wcsmbs/wcsncpy.c (__wcsncpy): Likewise.
23561         * wcsmbs/wcsnlen.c (__wcsnlen): Likewise.
23562         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
23563         * wcsmbs/wcsrchr.c (WCSRCHR): Likewise.
23564         * wcsmbs/wcsspn.c (wcsspn): Likewise.
23565         * wcsmbs/wcsstr.c (wcsstr): Likewise.
23566         * wcsmbs/wcstok.c (wcstok): Likewise.
23567         * wcsmbs/wctob.c (wctob): Likewise.
23568         * wcsmbs/wmemchr.c (__wmemchr): Likewise.
23569         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
23570         * wcsmbs/wmemcpy.c (__wmemcpy): Likewise.
23571         * wcsmbs/wmemmove.c (__wmemmove): Likewise.
23572         * wcsmbs/wmempcpy.c (__wmempcpy): Likewise.
23573         * wcsmbs/wmemset.c (__wmemset): Likewise.
23574         * wctype/wcfuncs.c (__towlower): Likewise.
23575         (__towupper): Likewise.
23577         * sysdeps/unix/sysv/linux/i386/lowlevellock.h
23578         (lll_unlock_elision): Add adapt_count parameter.
23580 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
23582         * sysdeps/nptl/configure.ac: Do not give errors based on the
23583         results of top-level configure tests.
23584         * sysdeps/nptl/configure: Regenerated.
23586         * configure.ac (libc_cv_Bgroup): Remove configure test.
23587         * configure: Regenerated.
23588         * config.make.in (have-Bgroup): Remove variable.
23590         * configure.ac (sizeof_long_double): Remove configure test.
23591         * configure: Regenerated.
23592         * config.make.in (sizeof-long-double): Remove variable.
23594         * configure.ac (libc_cv_gcc_exceptions): Remove configure test.
23595         * configure: Regenerated.
23596         * sysdeps/arm/configure.ac (libc_cv_gcc_exceptions): Do not set
23597         variable.
23598         (exceptions): Likewise.
23599         * sysdeps/arm/configure: Regenerated.
23600         * config.make.in (exceptions): Remove variable.
23601         * Makeconfig (uses-callbacks): Use -fexceptions instead of
23602         $(exceptions).
23603         * debug/Makefile (CFLAGS-dprintf_chk.c): Likewise.
23604         (CFLAGS-vdprintf_chk.c): Likewise.
23605         (CFLAGS-printf_chk.c): Likewise.
23606         (CFLAGS-fprintf_chk.c): Likewise.
23607         (CFLAGS-vprintf_chk.c): Likewise.
23608         (CFLAGS-vfprintf_chk.c): Likewise.
23609         (CFLAGS-gets_chk.c): Likewise.
23610         (CFLAGS-fgets_chk.c): Likewise.
23611         (CFLAGS-fgets_u_chk.c): Likewise.
23612         (CFLAGS-fread_chk.c): Likewise.
23613         (CFLAGS-fread_u_chk.c): Likewise.
23614         (CFLAGS-wprintf_chk.c): Likewise.
23615         (CFLAGS-fwprintf_chk.c): Likewise.
23616         (CFLAGS-vwprintf_chk.c): Likewise.
23617         (CFLAGS-vfwprintf_chk.c): Likewise.
23618         (CFLAGS-fgetws_chk.c): Likewise.
23619         (CFLAGS-fgetws_u_chk.c): Likewise.
23620         * libio/Makefile (CFLAGS-fileops.c): Likewise.
23621         (CFLAGS-fputc.c): Likewise.
23622         (CFLAGS-fputwc.c): Likewise.
23623         (CFLAGS-freopen64.c): Likewise.
23624         (CFLAGS-freopen.c): Likewise.
23625         (CFLAGS-fseek.c): Likewise.
23626         (CFLAGS-fseeko64.c): Likewise.
23627         (CFLAGS-fseeko.c): Likewise.
23628         (CFLAGS-ftello64.c): Likewise.
23629         (CFLAGS-ftello.c): Likewise.
23630         (CFLAGS-fwide.c): Likewise.
23631         (CFLAGS-genops.c): Likewise.
23632         (CFLAGS-getc.c): Likewise.
23633         (CFLAGS-getchar.c): Likewise.
23634         (CFLAGS-getwc.c): Likewise.
23635         (CFLAGS-getwchar.c): Likewise.
23636         (CFLAGS-iofclose.c): Likewise.
23637         (CFLAGS-iofflush.c): Likewise.
23638         (CFLAGS-iofgetpos64.c): Likewise.
23639         (CFLAGS-iofgetpos.c): Likewise.
23640         (CFLAGS-iofgets.c): Likewise.
23641         (CFLAGS-iofgetws.c): Likewise.
23642         (CFLAGS-iofputs.c): Likewise.
23643         (CFLAGS-iofputws.c): Likewise.
23644         (CFLAGS-iofread.c): Likewise.
23645         (CFLAGS-iofsetpos64.c): Likewise.
23646         (CFLAGS-iofsetpos.c): Likewise.
23647         (CFLAGS-ioftell.c): Likewise.
23648         (CFLAGS-iofwrite.c): Likewise.
23649         (CFLAGS-iogetdelim.c): Likewise.
23650         (CFLAGS-iogetline.c): Likewise.
23651         (CFLAGS-iogets.c): Likewise.
23652         (CFLAGS-iogetwline.c): Likewise.
23653         (CFLAGS-ioputs.c): Likewise.
23654         (CFLAGS-ioseekoff.c): Likewise.
23655         (CFLAGS-ioseekpos.c): Likewise.
23656         (CFLAGS-iosetbuffer.c): Likewise.
23657         (CFLAGS-iosetvbuf.c): Likewise.
23658         (CFLAGS-ioungetc.c): Likewise.
23659         (CFLAGS-ioungetwc.c): Likewise.
23660         (CFLAGS-oldfileops.c): Likewise.
23661         (CFLAGS-oldiofclose.c): Likewise.
23662         (CFLAGS-oldiofgetpos64.c): Likewise.
23663         (CFLAGS-oldiofgetpos.c): Likewise.
23664         (CFLAGS-oldiofsetpos64.c): Likewise.
23665         (CFLAGS-oldiofsetpos.c): Likewise.
23666         (CFLAGS-peekc.c): Likewise.
23667         (CFLAGS-putc.c): Likewise.
23668         (CFLAGS-putchar.c): Likewise.
23669         (CFLAGS-putwc.c): Likewise.
23670         (CFLAGS-putwchar.c): Likewise.
23671         (CFLAGS-rewind.c): Likewise.
23672         (CFLAGS-wfileops.c): Likewise.
23673         (CFLAGS-wgenops.c): Likewise.
23674         (CFLAGS-oldiofopen.c): Likewise.
23675         (CFLAGS-iofopen.c): Likewise.
23676         (CFLAGS-iofopen64.c): Likewise.
23677         (CFLAGS-oldtmpfile.c): Likewise.
23678         * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
23679         (CFLAGS-fprintf.c): Likewise.
23680         (CFLAGS-printf.c): Likewise.
23681         (CFLAGS-vfwprintf.c): Likewise.
23682         (CFLAGS-vfscanf.c): Likewise.
23683         (CFLAGS-vfwscanf.c): Likewise.
23684         (CFLAGS-fscanf.c): Likewise.
23685         (CFLAGS-scanf.c): Likewise.
23686         (CFLAGS-isoc99_vfscanf.c): Likewise.
23687         (CFLAGS-isoc99_vscanf.c): Likewise.
23688         (CFLAGS-isoc99_fscanf.c): Likewise.
23689         (CFLAGS-isoc99_scanf.c): Likewise.
23690         * wcsmbs/Makefile (CFLAGS-isoc99_wscanf.c): Likewise.
23691         (CFLAGS-isoc99_fwscanf.c): Likewise.
23692         (CFLAGS-isoc99_vwscanf.c): Likewise.
23693         (CFLAGS-isoc99_vfwscanf.c): Likewise.
23695         * io/test-lfs.c (do_prepare): Do not call add_temp_file until
23696         after mkstemp64.
23697         * login/tst-utmp.c (do_prepare): Likewise.
23698         * rt/tst-aio.c (do_prepare): Likewise.
23699         * rt/tst-aio64.c (do_prepare): Likewise.
23701 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
23703         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
23704         (__lll_lock_elision): Remove adapt_count decrement...
23705         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
23706         (__lll_trylock_elision): Likewise.
23707         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
23708         (__lll_unlock_elision): ... to here. And utilize
23709         new adapt_count parameter.
23710         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
23711         (__lll_unlock_elision): Update to include adapt_count
23712         parameter.
23713         (lll_unlock_elision): Pass pointer to adapt_count
23714         variable.
23716 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
23718         * nptl/pthread_mutex_unlock.c (lll_unlock_elision):
23719         Add elision adapt_count parameter to list of arguments.
23720         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
23721         (lll_unlock_elision): Update with new parameter list
23722         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
23723         (lll_unlock_elision): Likewise.
23724         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
23725         (lll_unlock_elision): Likewise.
23727 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
23729         [BZ #19122]
23730         * include/sys/utsname.h [IS_IN (rtld)] (__uname): Add
23731         attribute_hidden.
23733         * include/string.h [IS_IN (rtld)] (__stpcpy): Add
23734         attribute_hidden.
23735         [IS_IN (rtld)] (__strdup): Likewise.
23736         [IS_IN (rtld)] (__strerror_r): Likewise.
23737         [IS_IN (rtld)] (__strsep_g): Likewise.
23738         [IS_IN (rtld)] (memchr): Likewise.
23739         [IS_IN (rtld)] (memcmp): Likewise.
23740         [IS_IN (rtld)] (memcpy): Likewise.
23741         [IS_IN (rtld)] (memmove): Likewise.
23742         [IS_IN (rtld)] (memset): Likewise.
23743         [IS_IN (rtld)] (rawmemchr): Likewise.
23744         [IS_IN (rtld)] (stpcpy): Likewise.
23745         [IS_IN (rtld)] (strchr): Likewise.
23746         [IS_IN (rtld)] (strcmp): Likewise.
23747         [IS_IN (rtld)] (strlen): Likewise.
23748         [IS_IN (rtld)] (strnlen): Likewise.
23749         [IS_IN (rtld)] (strsep): Likewise.
23751         * include/stdlib.h [IS_IN (rtld)] (unsetenv): Add
23752         attribute_hidden.
23753         [IS_IN (rtld)] (__strtoul_internal): Likewise.
23755         * include/signal.h [IS_IN (rtld)] (__sigaction): Add
23756         attribute_hidden.
23757         [IS_IN (rtld)] (__libc_sigaction): Likewise.
23759         * include/setjmp.h (__longjmp): Add attribute_hidden.
23760         [IS_IN (rtld)] (__sigsetjmp): Likewise.
23762         * include/libc-internal.h [IS_IN (rtld)] (__profile_frequency):
23763         Add attribute_hidden.
23765         * include/fcntl.h (__libc_fcntl): Add attribute_hidden.
23766         [IS_IN (rtld)] (__open): Likewise.
23767         [IS_IN (rtld)] (__fcntl): Likewise.
23769         * include/dirent.h (__opendirat): Add attribute_hidden.
23770         (__getdents): Likewise.
23771         (__getdents64): Likewise.
23772         (__alloc_dir): Likewise.
23773         [IS_IN (rtld)] (__closedir): Likewise.
23774         [IS_IN (rtld)] (__fdopendir): Likewise.
23775         [IS_IN (rtld)] (__readdir): Likewise.
23776         [IS_IN (rtld)] (__readdir64): Likewise.
23777         [IS_IN (rtld)] (__rewinddir): Likewise.
23779         * include/dlfcn.h (_dl_catch_error): Moved to ...
23780         * sysdeps/generic/ldsodefs.h (_dl_catch_error): Add
23781         attribute_hidden.
23783         * sysdeps/generic/_itoa.h (_itoa): Add attribute_hidden.
23784         (_itoa_word): Likewise.
23786         * elf/dl-runtime.c (_dl_fixup): Add attribute_hidden.
23787         * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
23788         * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
23789         * sysdeps/generic/ldsodefs.h (_dl_name_match_p): Likewise.
23790         (_dl_higher_prime_number): Likewise.
23791         (_dl_debug_printf_c): Likewise.
23792         (_dl_signal_cerror): Likewise.
23793         (_dl_receive_error): Likewise.
23794         (_dl_reloc_bad_type): Likewise.
23795         (_dl_resolve_conflicts): Likewise.
23796         (_dl_check_all_versions): Likewise.
23797         (_dl_check_map_versions): Likewise.
23798         (_dl_sort_fini): Likewise.
23799         (_dl_debug_initialize): Likewise.
23800         (_dl_init_paths): Likewise.
23801         (_dl_show_auxv): Likewise.
23802         (_dl_next_ld_env_entry): Likewise.
23803         (_dl_important_hwcaps): Likewise.
23804         (_dl_load_cache_lookup): Likewise.
23805         (_dl_update_slotinfo): Likewise.
23806         (_dl_show_scope): Likewise.
23808         * sysdeps/generic/memcopy.h (_wordcopy_fwd_aligned): Add
23809         attribute_hidden.
23810         (_wordcopy_fwd_dest_aligned): Likewise.
23811         (_wordcopy_bwd_aligned): Likewise.
23812         (_wordcopy_bwd_dest_aligned): Likewise.
23814         * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
23815         * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
23816         Likewise.
23817         * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
23818         Likewise.
23819         * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
23821 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
23823         * sysdeps/unix/sysv/linux/i386/sysdep.h: Add comments for
23824         GCC 5 requirement.
23826 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
23828         * sysdeps/i386/configure.ac (libc_cv_as_i686): Remove configure
23829         test.
23830         * sysdeps/i386/configure: Regenerated.
23831         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]: Make
23832         code unconditional.
23834         * configure.ac (libc_cv_asm_previous_directive): Remove configure
23835         test.
23836         (libc_cv_asm_popsection_directive): Likewise.
23837         * configure: Regenerated.
23838         * config.h.in (HAVE_ASM_PREVIOUS_DIRECTIVE): Remove #undef.
23839         (HAVE_ASM_POPSECTION_DIRECTIVE): Likewise.
23840         * include/libc-symbols.h [HAVE_ASM_PREVIOUS_DIRECTIVE]
23841         (__make_section_unallocated): Make definition unconditional.
23842         [HAVE_ASM_POPSECTION_DIRECTIVE] (__make_section_unallocated):
23843         Remove conditional definition.
23844         [!HAVE_ASM_PREVIOUS_DIRECTIVE && !HAVE_ASM_POPSECTION_DIRECTIVE]
23845         (__make_section_unallocated): Likewise.
23847         * configure.ac (libc_cv_gcc_static_libgcc): Remove configure test.
23848         * configure: Regenerated.
23849         * config.make.in (static-libgcc): Remove variable.
23850         * Makerules (build-shlib-helper): Use -static-libgcc instead of
23851         $(static-libgcc).
23852         (build-module-helper): Likewise.
23854         * configure.ac (libc_cv_friendly_stddef): Remove configure test.
23855         * configure: Regenerated.
23857 2015-10-15  Florian Weimer  <fweimer@redhat.com>
23859         * stdio-common/vfscanf.c (MEMCPY): Remove macro.
23860         (struct char_buffer): New type.
23861         (char_buffer_start, char_buffer_size, char_buffer_error)
23862         (char_buffer_rewind, char_buffer_add): New functions.
23863         (ADDW): Remove macro, replaced by the char_buffer_add function.
23864         (_IO_vfscanf_internal): Rewrite using struct char_buffer instead
23865         of extend_alloca.  Make control flow more explicit.
23867 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
23869         [BZ #19137]
23870         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
23871         Add -fomit-frame-pointer.
23872         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Remove file.
23874 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
23876         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S
23877         (__libc_do_syscall): Defined only if !__GNUC_PREREQ (5,0).
23878         * sysdeps/unix/sysv/linux/i386/sysdep.h: Define assembler macros
23879         only if !__GNUC_PREREQ (5,0).
23880         (INTERNAL_SYSCALL_MAIN_6): Optimize for GCC 5.
23881         (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
23882         (INTERNAL_SYSCALL_NCS): Likewise.
23883         (LOADREGS_0): New macro for GCC 5.
23884         (ASMARGS_0): Likewise.
23885         (LOADREGS_1): Likewise.
23886         (ASMARGS_1): Likewise.
23887         (LOADREGS_2): Likewise.
23888         (ASMARGS_2): Likewise.
23889         (LOADREGS_3): Likewise.
23890         (ASMARGS_3): Likewise.
23891         (LOADREGS_4): Likewise.
23892         (ASMARGS_4): Likewise.
23893         (LOADREGS_5): Likewise.
23894         (ASMARGS_5): Likewise.
23895         (LOADREGS_6): Likewise.
23896         (ASMARGS_6): Likewise.
23898 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
23900         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-mmap.c): Add
23901         -fomit-frame-pointer.
23902         (CFLAGS-mmap64.c): Likewise.
23903         (CFLAGS-semtimedop.c): Likewise.
23904         * sysdeps/unix/sysv/linux/i386/mmap.c: New file.
23905         * sysdeps/unix/sysv/linux/i386/mmap.S: Remove file.
23906         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
23907         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
23909 2015-10-15  Florian Weimer  <fweimer@redhat.com>
23911         [BZ #18928]
23912         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Remove
23913         _dl_pointer_guard member.
23914         * elf/rtld.c (_rtld_global_ro): Remove _dl_pointer_guard
23915         initializer.
23916         (security_init): Always set up pointer guard.
23917         (process_envvars): Do not process LD_POINTER_GUARD.
23919 2015-10-14  Joseph Myers  <joseph@codesourcery.com>
23921         [BZ #19134]
23922         * sysdeps/powerpc/powerpc32/fpu/s_lround.S (.LC1): New object.
23923         (.LC2): Likewise.
23924         (.LC3): Likewise.
23925         (__lround): Do not add 0.5 to integer or out-of-range arguments.
23927 2015-10-14  Szabolcs Nagy  <szabolcs.nagy@arm.com>
23929         [BZ #19129]
23930         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save and restore
23931         r0 and r1.
23933 2015-10-14  Namhyung Kim  <namhyung@gmail.com>
23935         * manaual/argp.texi (Specifying Argp Parsers): Fix typo.
23937 2015-10-14  Carlos O'Donell  <carlos@redhat.com>
23939         * include/stap-probe.h: Fix macro definition formatting.
23941 2015-10-14  Florian Weimer  <fweimer@redhat.com>
23943         [BZ #19074]
23944         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use atomics to
23945         load and store num_ifs.
23947 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
23949         [BZ #18822]
23950         * sysdeps/unix/sysv/linux/sched_getaffinity.c
23951         (__sched_getaffinity_new): Add libc_hidden_proto and
23952         libc_hidden_def.
23954 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
23956         [BZ #19007]
23957         * scripts/localplt.awk: Also allow GOT references.
23958         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark
23959         _Unwind_Find_FDE, calloc, memalign, realloc and __libc_memalign
23960         with "+ REL R_386_GLOB_DAT".
23961         * sysdeps/x86_64/localplt.data: Mark calloc, memalign, realloc
23962         and __libc_memalign with "+ RELA R_X86_64_GLOB_DAT".
23964 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
23966         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Use
23967         INLINE_SYSCALL_ERROR_RETURN_VALUE.
23968         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat):
23969         Likewise.
23970         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
23971         * sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Likewise.
23972         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
23973         INTERNAL_SYSCALLINTERNAL_SYSCALL and
23974         INLINE_SYSCALL_ERROR_RETURN_VALUE.
23975         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
23976         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
23977         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
23978         Likewise.
23979         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
23981 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
23983         [BZ #19125]
23984         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include <limits.h>,
23985         <math_private.h> and <stdint.h>.
23986         (__llround): Avoid conversions to and from long long int, and
23987         subtractions, where those might raise spurious exceptions.
23988         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
23989         <math_private.h> and <stdint.h>.
23990         (__llroundf): Avoid conversions to and from long long int, and
23991         subtractions, where those might raise spurious exceptions.
23993 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
23995         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Use
23996         INLINE_SYSCALL_ERROR_RETURN_VALUE.
23997         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
23998         * sysdeps/unix/sysv/linux/eventfd.c (eventfd): Likewise.
23999         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
24000         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
24001         * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Likewise.
24002         * sysdeps/unix/sysv/linux/futimens.c (futimens): Likewise.
24003         * sysdeps/unix/sysv/linux/futimes.c (__futimes): Likewise.
24004         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
24005         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
24006         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
24007         * sysdeps/unix/sysv/linux/lutimes.c (lutimes): Likewise.
24008         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
24009         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
24010         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Likewise.
24011         * sysdeps/unix/sysv/linux/mq_open.c (__mq_open): Likewise.
24012         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
24013         * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Likewise.
24014         * sysdeps/unix/sysv/linux/readahead.c (__readahead): Likewise.
24015         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
24016         * sysdeps/unix/sysv/linux/signalfd.c (signalfd): Likewise.
24017         * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Likewise.
24018         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
24019         * sysdeps/unix/sysv/linux/ustat.c (ustat): Likewise.
24020         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
24021         * sysdeps/unix/sysv/linux/xmknod.c (__xmknod): Likewise.
24022         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
24023         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
24024         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat_conv): Likewise.
24025         (__xstat64_conv): Likewise.
24026         (__xstat32_conv): Likewise.
24028 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
24030         * sysdeps/unix/sysv/linux/sysdep.h: New file.
24031         * sysdeps/unix/sysv/linux/i386/sysdep.c: Likewise.
24032         * sysdeps/unix/sysv/linux/alpha/sysdep.h: Include
24033         <sysdeps/unix/sysv/linux/sysdep.h>.
24034         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
24035         * sysdeps/unix/sysv/linux/generic/sysdep.h: Likewise.
24036         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Likewise.
24037         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
24038         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
24039         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Likewise.
24040         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Likewise.
24041         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
24042         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
24043         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
24044         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
24045         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
24046         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
24047         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
24048         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
24049         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
24050         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) == csu]
24051         (sysdep-dl-routines): Add sysdep.
24052         [$(subdir) == nptl] (libpthread-routines): Likewise.
24053         [$(subdir) == rt] (librt-routines): Likewise.
24054         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Don't check
24055         PIC when branching to SYSCALL_ERROR_LABEL.
24056         * sysdeps/unix/sysv/linux/i386/sysdep.S: Removed.
24057         * sysdeps/unix/sysv/linux/i386/sysdep.h: Include
24058         <sysdeps/unix/sysv/linux/sysdep.h>.
24059         (SYSCALL_ERROR_LABEL): Changed to __syscall_error.
24060         (SYSCALL_ERROR_ERRNO): Removed.
24061         (SYSCALL_ERROR_HANDLER): Changed to empty.
24062         (SYSCALL_ERROR_HANDLER_TLS_STORE): Likewise.
24063         (__syscall_error): New prototype.
24064         [IS_IN (libc)] (INLINE_SYSCALL): New macro.
24065         (INLINE_SYSCALL_ERROR_RETURN_VALUE): Likewise.
24067 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
24069         [BZ #19124]
24070         * sysdeps/x86_64/dl-trampoline.S [!HAVE_AVX512_ASM_SUPPORT]
24071         (_dl_runtime_resolve_avx512): Make it a hidden alias of
24072         _dl_runtime_resolve_avx.
24073         (_dl_runtime_profile_avx512): Make it a hidden alias of
24074         _dl_runtime_profile_avx.
24076 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
24078         * sysdeps/powerpc/fpu/s_llround.c: Move to ....
24079         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: ...here.
24080         * sysdeps/powerpc/fpu/s_llroundf.c: Move to ....
24081         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: ...here.
24083         [BZ #16422]
24084         * sysdeps/powerpc/powerpc32/fpu/configure.ac (libc_cv_ppc_fctidz):
24085         New configure test.
24086         * sysdeps/powerpc/powerpc32/fpu/configure: Regenerated.
24087         * config.h.in [_LIBC] (HAVE_PPC_FCTIDZ): New macro.
24088         * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include <limits.h>,
24089         <math_private.h> and <stdint.h>.
24090         (__llrint): Avoid conversions to long long int where those might
24091         raise spurious exceptions.
24092         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
24093         <math_private.h> and <stdint.h>.
24094         (__llrintf): Avoid conversions to long long int where those might
24095         raise spurious exceptions.
24097 2015-10-12  Andreas Schwab  <schwab@suse.de>
24099         [BZ #18969]
24100         * debug/Makefile (LOCALES): Define.  Include gen-locales.mk.
24101         ($(objpfx)tst-chk1.out): Depend on $(gen-locales).
24102         * iconvdata/Makefile (LOCALES): Define.  Include gen-locales.mk.
24103         ($(objpfx)bug-iconv6.out, $(objpfx)tst-iconv7.out): Depend on
24104         $(gen-locales).
24105         * intl/Makefile (LOCALES): Define.  Include gen-locales.mk.
24106         ($(objpfx)tst-codeset.out, $(objpfx)tst-gettext.out)
24107         ($(objpfx)tst-gettext2.out, $(objpfx)tst-gettext3.out)
24108         ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext5.out)
24109         ($(objpfx)tst-gettext6.out, $(objpfx)tst-translit.out): Depend on
24110         $(gen-locales).
24111         * libio/Makefile (LOCALES): Define.  Include gen-locales.mk.
24112         ($(objpfx)bug-ftell.out, $(objpfx)bug-ungetwc1.out)
24113         ($(objpfx)bug-ungetwc2.out, $(objpfx)tst-fgetwc.out)
24114         ($(objpfx)tst-fgetws.out, $(objpfx)tst-fopenloc.out)
24115         ($(objpfx)tst-fputws.out, $(objpfx)tst-fseek.out)
24116         ($(objpfx)tst-ftell-active-handler.out)
24117         ($(objpfx)tst-ftell-append.out)
24118         ($(objpfx)tst-ftell-partial-wide.out, $(objpfx)tst-setvbuf1.out)
24119         ($(objpfx)tst-swscanf.out, $(objpfx)tst-ungetwc1.out)
24120         ($(objpfx)tst-ungetwc2.out, $(objpfx)tst-widetext.out)
24121         ($(objpfx)tst_wprintf2.out): Depend on $(gen-locales).
24122         * posix/Makefile (LOCALES): Define.  Include gen-locales.mk.
24123         ($(objpfx)bug-regex1.out, $(objpfx)bug-regex4.out)
24124         ($(objpfx)bug-regex5.out, $(objpfx)bug-regex6.out)
24125         ($(objpfx)bug-regex17.out, $(objpfx)bug-regex18.out)
24126         ($(objpfx)bug-regex19.out, $(objpfx)bug-regex20.out)
24127         ($(objpfx)bug-regex22.out, $(objpfx)bug-regex23.out)
24128         ($(objpfx)bug-regex25.out, $(objpfx)bug-regex26.out)
24129         ($(objpfx)bug-regex30.out, $(objpfx)bug-regex32.out)
24130         ($(objpfx)bug-regex33.out, $(objpfx)bug-regex34.out)
24131         ($(objpfx)bug-regex35.out, $(objpfx)tst-fnmatch.out)
24132         ($(objpfx)tst-fnmatch4.out, $(objpfx)tst-fnmatch5.out)
24133         ($(objpfx)tst-regex.out, $(objpfx)tst-regex2.out)
24134         ($(objpfx)tst-regexloc.out, $(objpfx)tst-rxspencer.out)
24135         ($(objpfx)tst-rxspencer-no-utf8.out): Depend on $(gen-locales).
24136         * stdio-common/Makefile (LOCALES): Define.  Include gen-locales.mk.
24137         ($(objpfx)bug14.out, $(objpfx)scanf13.out)
24138         ($(objpfx)test-vfprintf.out, $(objpfx)tst-grouping.out)
24139         ($(objpfx)tst-sprintf.out, $(objpfx)tst-sscanf.out)
24140         ($(objpfx)tst-swprintf.out): Depend on $(gen-locales).
24141         * stdlib/Makefile (LOCALES): Define.  Include gen-locales.mk.
24142         ($(objpfx)bug-strtod2.out, $(objpfx)testmb2.out)
24143         ($(objpfx)tst-strtod.out, $(objpfx)tst-strtod3.out)
24144         ($(objpfx)tst-strtod4.out, $(objpfx)tst-strtod5.out): Depend on
24145         $(gen-locales).
24146         * time/Makefile (LOCALES): Define.  Include gen-locales.mk.
24147         ($(objpfx)tst-ftime_l.out, $(objpfx)tst-strptime.out): Depend on
24148         $(gen-locales).
24149         * wcsmbs/Makefile (LOCALES): Define.  Include gen-locales.mk.
24150         ($(objpfx)tst-btowc.out, $(objpfx)tst-c16c32-1.out)
24151         ($(objpfx)tst-mbrtowc.out, $(objpfx)tst-mbrtowc2.out)
24152         ($(objpfx)tst-wcrtomb.out, $(objpfx)wcsmbs-tst1.out): Depend on
24153         $(gen-locales).
24154         * libio/tst_wprintf2.c (main): Use explicit locale.
24155         * wcsmbs/wcsmbs-tst1.c (main): Likewise.
24157 2015-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24159         * hurd/hurd-raise.c (_hurd_raise_signal): Return error returned by
24160         __msg_sig_post.
24161         * hurd/hurd/signal.h (_hurd_raise_signal): Add int return type.
24163 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
24165         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
24166         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
24168         * sysdeps/arm/libm-test-ulps: Regenerated.
24170         [BZ #15470]
24171         * sysdeps/arm/fix-fp-int-convert-overflow.h: New file.
24173         [BZ #16399]
24174         * sysdeps/generic/fix-fp-int-convert-overflow.h: New file.
24175         * sysdeps/ieee754/dbl-64/s_llrint.c: Include <fenv.h>, <limits.h>
24176         and <fix-fp-int-convert-overflow.h>.
24177         (__llrint) [FE_INVALID]: Force FE_INVALID exception as needed if
24178         FIX_DBL_LLONG_CONVERT_OVERFLOW.
24179         * sysdeps/ieee754/dbl-64/s_llround.c: Include <fenv.h>, <limits.h>
24180         and <fix-fp-int-convert-overflow.h>.
24181         (__llround) [FE_INVALID]: Force FE_INVALID exception as needed if
24182         FIX_DBL_LLONG_CONVERT_OVERFLOW.
24183         * sysdeps/ieee754/dbl-64/s_lrint.c: Include
24184         <fix-fp-int-convert-overflow.h>.
24185         (__lrint) [FE_INVALID]: Force FE_INVALID exception as needed if
24186         FIX_DBL_LLONG_CONVERT_OVERFLOW.
24187         * sysdeps/ieee754/dbl-64/s_lround.c: Include
24188         <fix-fp-int-convert-overflow.h>.
24189         (__lround) [FE_INVALID]: Force FE_INVALID exception as needed if
24190         FIX_DBL_LLONG_CONVERT_OVERFLOW.
24191         * sysdeps/ieee754/flt-32/s_llrintf.c: Include <fenv.h>, <limits.h>
24192         and <fix-fp-int-convert-overflow.h>.
24193         (__llrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
24194         FIX_DBL_LLONG_CONVERT_OVERFLOW.
24195         * sysdeps/ieee754/flt-32/s_llroundf.c: Include <fenv.h>,
24196         <limits.h> and <fix-fp-int-convert-overflow.h>.
24197         (__llroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
24198         FIX_DBL_LLONG_CONVERT_OVERFLOW.
24199         * sysdeps/ieee754/flt-32/s_lrintf.c: Include <fenv.h>, <limits.h>
24200         and <fix-fp-int-convert-overflow.h>.
24201         (__lrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
24202         FIX_DBL_LLONG_CONVERT_OVERFLOW.
24203         * sysdeps/ieee754/flt-32/s_lroundf.c: Include <fenv.h>, <limits.h>
24204         and <fix-fp-int-convert-overflow.h>.
24205         (__lroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
24206         FIX_DBL_LLONG_CONVERT_OVERFLOW.
24207         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h: New file.
24209 2015-10-09  Carlos O'Donell  <carlos@redhat.com>
24211         [BZ #18589]
24212         * string/bug-strcoll2.c: Adjust copyright, and remove contributed by.
24213         * string/Makefile ($(objpfx)bug-strcoll2.out): Depend on
24214         $(gen-locales).
24216 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
24217             Phil Blundell <pb@pbcl.net>
24219         * nptl/Makefile (tests): Add tst-cancel26.c and tst-cancel27.c.
24220         * nptl/tst-cancel26.c: New file.
24221         * nptl/tst-cancel27.c: Likewise.
24223 2015-10-09  H.J. Lu  <hongjiu.lu@intel.com>
24225         * sysdeps/x86_64/fpu/s_llrint.S (__lrint): Add alias only if
24226         __ILP32__ isn't defined.
24227         (lrint): Likewise.
24228         * sysdeps/x86_64/fpu/s_llrintf.S (__lrintf): Likewise.
24229         (lrintf): Likewise.
24230         * sysdeps/x86_64/fpu/s_llrintl.S (__lrintl): Likewise.
24231         (lrintl): Likewise.
24232         * sysdeps/x86_64/x32/fpu/s_lrint.S: New file.
24233         * sysdeps/x86_64/x32/fpu/s_lrintf.S: Likewise.
24234         * sysdeps/x86_64/x32/fpu/s_lrintl.S: Likewise.
24236 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
24238         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
24239         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
24241         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Remove
24242         file.
24243         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Likewise.
24244         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
24246 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
24248         * sysdeps/i386/configure.ac (libc_cv_cc_novzeroupper): Remove
24249         configure test.
24250         * sysdeps/i386/configure: Regenerated.
24251         * sysdeps/x86_64/configure.ac (libc_cv_cc_novzeroupper): Remove
24252         configure test.
24253         * sysdeps/x86_64/configure: Regenerated.
24254         * sysdeps/x86_64/Makefile [$(config-cflags-novzeroupper) = yes]:
24255         Make code unconditional.
24257         * sysdeps/i386/configure.ac (libc_cv_cc_fma4): Remove configure
24258         test.
24259         * sysdeps/i386/configure: Regenerated.
24260         * sysdeps/x86_64/configure.ac (libc_cv_cc_fma4): Remove configure
24261         test.
24262         * sysdeps/x86_64/configure: Regenerated.
24263         * sysdeps/x86_64/fpu/multiarch/Makefile [$(have-mfma4) = yes]:
24264         Make code unconditional.
24265         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
24266         Likewise.
24267         * sysdeps/x86_64/fpu/multiarch/e_atan2.c [HAVE_FMA4_SUPPORT]:
24268         Likewise.
24269         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
24270         * sysdeps/x86_64/fpu/multiarch/e_exp.c [HAVE_FMA4_SUPPORT]: Make
24271         code unconditional.
24272         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
24273         * sysdeps/x86_64/fpu/multiarch/e_log.c [HAVE_FMA4_SUPPORT]: Make
24274         code unconditional.
24275         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
24276         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]: Make
24277         code unconditional.
24278         * sysdeps/x86_64/fpu/multiarch/s_atan.c [HAVE_FMA4_SUPPORT]: Make
24279         code unconditional.
24280         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
24281         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_FMA4_SUPPORT]: Make
24282         code unconditional.
24283         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
24284         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_FMA4_SUPPORT]: Make
24285         code unconditional.
24286         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
24287         * sysdeps/x86_64/fpu/multiarch/s_sin.c [HAVE_FMA4_SUPPORT]: Make
24288         code unconditional.
24289         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
24290         * sysdeps/x86_64/fpu/multiarch/s_tan.c [HAVE_FMA4_SUPPORT]: Make
24291         code unconditional.
24292         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
24293         * config.h.in (HAVE_FMA4_SUPPORT): Remove #undef.
24295         [BZ #19095]
24296         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Cast low part of
24297         mantissa to long int before shifting left.
24299 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
24301         [BZ #19094]
24302         * sysdeps/ieee754/dbl-64/s_lrint.c: Include <fenv.h> and
24303         <limits.h>.
24304         (__lrint) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
24305         when result overflows but exception would not result from cast.
24306         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include <fenv.h> and
24307         <limits.h>.
24308         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
24309         when result overflows but exception would not result from cast.
24310         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include <fenv.h> and
24311         <limits.h>.
24312         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
24313         when result overflows but exception would not result from cast.
24314         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include <fenv.h> and
24315         <limits.h>.
24316         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
24317         when result overflows but exception would not result from cast.
24318         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include <fenv.h> and
24319         <limits.h>.
24320         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
24321         when result overflows but exception would not result from cast.
24322         * math/libm-test.inc (lrint_test_data): Add more tests.
24323         (llrint_test_data): Likewise.
24325 2015-10-08  Roland McGrath  <roland@hack.frob.com>
24327         [BZ #18872]
24328         * stdio-common/Makefile ($(objpfx)tst-unbputc.out):
24329         Move out from under [$(run-built-tests) = yes] conditional.
24330         ($(objpfx)tst-printf.out, $(objpfx)tst-printf-bz18872.c): Likewise.
24331         ($(objpfx)tst-printf-bz18872-mem.out): Likewise.
24333 2015-10-08  Carlos O'Donell  <carlos@redhat.com>
24335         [BZ #18589]
24336         * string/Makefile (tests): Add bug-strcoll2.
24337         (LOCALES): Add cs_CZ.UTF-8.
24338         * string/bug-strcoll2.c (test_cs_CZ): Fix typo in FAIL string.
24340         [BZ #18589]
24341         * string/bug-strcoll2.c: New file.
24342         * locale/categories.def: Revert commit
24343         f13c2a8dff2329c6692a80176262ceaaf8a6f74e.
24344         * locale/langinfo.h: Likewise.
24345         * locale/localeinfo.h: Likewise.
24346         * locale/C-collate.c: Likewise.
24347         * locale/programs/ld-collate.c (collate_output): Likewise.
24348         * string/strcoll_l.c (STRDIFF): Likewise.
24349         (STRCOLL): Likewise.
24350         * wcsmbs/wcscoll_l.c: Likewise.
24352 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
24354         * math/libm-test.inc (lround_test_data): Do not expect the absence
24355         of "inexact" for some tests with non-integer arguments.
24356         (llround_test_data): Likewise.
24358         * sysdeps/i386/configure.ac (libc_cv_cc_avx): Remove configure
24359         test.
24360         (libc_cv_cc_sse2avx): Likewise.
24361         * sysdeps/i386/configure: Regenerated.
24362         * sysdeps/i386/i686/multiarch/Makefile
24363         [$(subdir)$(config-cflags-avx) = mathyes]: Change conditional to
24364         [$(subdir) = math].
24365         * sysdeps/i386/i686/multiarch/s_fma-fma.c [HAVE_AVX_SUPPORT]: Make
24366         code unconditional.
24367         * sysdeps/i386/i686/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
24368         Likewise.
24369         * sysdeps/i386/i686/multiarch/s_fmaf-fma.c [HAVE_AVX_SUPPORT]:
24370         Likewise.
24371         * sysdeps/i386/i686/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
24372         Likewise.
24373         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx): Remove configure
24374         test.
24375         (libc_cv_cc_sse2avx): Likewise.
24376         * sysdeps/x86_64/configure: Regenerated.
24377         * sysdeps/x86_64/Makefile [$(config-cflags-avx) = yes]: Make code
24378         unconditional.
24379         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile)
24380         [HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT]: Make code
24381         unconditional.
24382         (_dl_runtime_profile)
24383         [!(HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT)]: Remove
24384         conditional code.
24385         * sysdeps/x86_64/fpu/multiarch/Makefile
24386         [$(config-cflags-sse2avx) = yes]: Make code unconditional.
24387         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
24388         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
24389         * sysdeps/x86_64/fpu/multiarch/e_exp.c
24390         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
24391         * sysdeps/x86_64/fpu/multiarch/e_log.c
24392         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
24393         * sysdeps/x86_64/fpu/multiarch/s_atan.c
24394         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
24395         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
24396         Likewise.
24397         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
24398         Likewise.
24399         * sysdeps/x86_64/fpu/multiarch/s_sin.c
24400         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
24401         * sysdeps/x86_64/fpu/multiarch/s_tan.c
24402         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
24403         * sysdeps/x86_64/multiarch/strcmp.S [HAVE_AVX_SUPPORT]: Likewise.
24404         * config.h.in (HAVE_AVX_SUPPORT): Remove #undef.
24405         (HAVE_SSE2AVX_SUPPORT): Likewise.
24407 2015-10-07  Paul Pluzhnikov  <ppluzhnikov@google.com>
24409         * stdio-common/tst-printf-bz18872.sh: Use attribute optimize
24410         instead of #pragma optimize.
24412 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
24414         [BZ #17195]
24415         * malloc/arena.c (heap_trim): Apply trim_treshold to top_chunck size,
24416         as is similarly done in systrim and _int_free already.
24418 2015-10-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24420         * sysdeps/mach/configure.ac (mach_interface_list): Add task_notify.
24422 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
24424         [BZ #19088]
24425         * sysdeps/ieee754/dbl-64/s_lround.c: Include <fenv.h> and
24426         <limits.h>.
24427         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
24428         overflows but exception would not result from cast.
24429         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include <fenv.h>
24430         and <limits.h>.
24431         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
24432         overflows but exception would not result from cast.
24433         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include <fenv.h> and
24434         <limits.h>.
24435         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
24436         overflows but exception would not result from cast.
24437         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include <fenv.h> and
24438         <limits.h>.
24439         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
24440         overflows but exception would not result from cast.
24441         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include <fenv.h> and
24442         <limits.h>.
24443         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
24444         overflows but exception would not result from cast.
24445         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include <fenv.h> and
24446         <limits.h>.
24447         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
24448         overflows but exception would not result from cast.
24449         * math/libm-test.inc (lround_test_data): Add more tests.
24450         (llround_test_data): Likewise.
24452 2015-10-07  Steve Ellcey  <sellcey@imgtec.com>
24454         * timezone/Makefile (CFLAGS-zic.c): Add -Wno-unused-variable.
24455         (CFLAGS-ialloc.c): Ditto.
24456         (CFLAGS-scheck.c): Ditto.
24458 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
24460         [BZ #19086]
24461         * manual/filesys.texi (Storage Allocation): Fix argument order for
24462         posix_fallocate64.
24464 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
24466         [BZ #19085]
24467         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Move test for
24468         exponent below 48 inside case for non-overflowing exponent.
24469         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
24471 2015-10-07  Florian Weimer  <fweimer@redhat.com>
24473         * iconvdata/cp737.h (from_idx): Add const.
24474         * iconvdata/cp775.h (from_idx): Likewise.
24476 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
24478         * sysdeps/mips/mips64/Implies: Use ieee754/dbl-64/wordsize-64.
24479         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
24480         (__issignaling) [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Remove #error.
24482         [BZ #19079]
24483         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Restore previous
24484         file, conditioned on [!_LP64].
24485         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c
24486         [!_LP64] (__lround): Do not define as function or alias.
24487         [!_LP64] (lround): Likewise.
24488         [!_LP64] (__lroundl): Likewise.
24489         [!_LP64] (lroundl): Likewise.
24490         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Remove
24491         macro.
24492         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
24493         Likewise.
24495 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
24497         * math/libm-test.inc (lrint_test_data): Add more tests.
24498         (llrint_test_data): Likewise.
24499         (lround_test_data): Likewise.
24500         (llround_test_data): Likewise.
24502         * math/libm-test.inc (lrint_test_data): Add tests used for llrint.
24503         (llrint_test_data): Add tests used for lrint.
24505         * sysdeps/i386/configure.ac (libc_cv_cc_sse4): Remove configure
24506         test.
24507         * sysdeps/i386/configure: Regenerated.
24508         * sysdeps/i386/i686/multiarch/Makefile
24509         [$(config-cflags-sse4) = yes]: Make code unconditional.
24510         * sysdeps/i386/i686/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
24511         Likewise.
24512         * sysdeps/i386/i686/multiarch/strspn.S [HAVE_SSE4_SUPPORT]:
24513         Likewise.
24514         * sysdeps/x86_64/configure.ac (libc_cv_cc_sse4): Remove configure
24515         test.
24516         * sysdeps/x86_64/configure: Regenerated.
24517         * sysdeps/x86_64/multiarch/Makefile [$(config-cflags-sse4) = yes]:
24518         Make code unconditional.
24519         * sysdeps/x86_64/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
24520         Likewise.
24521         * sysdeps/x86_64/multiarch/strspn.S [HAVE_SSE4_SUPPORT]: Likewise.
24522         * config.h.in (HAVE_SSE4_SUPPORT): Remove #undef.
24524         * scripts/rpm2dynsym.sh: Remove file.
24526 2015-10-06  Florian Weimer  <fweimer@redhat.com>
24528         * configure.ac (libc_cv_cxx_thread_local): Define.
24529         * configure: Regenerate.
24530         * config.make.in (have-cxx-thread_local): Define.
24531         * nptl/Makefile (CFLAGS-tst-thread_local1.o):
24532         (LDLIBS-tst-thread_local1): Define.
24533         (tests): Add tst-thread_local1.
24534         [have-cxx-thread_local != yes] (tests-unsupported): Add
24535         tst-thread_local1.
24536         * nptl/tst-thread_local1.cc: New file.
24538 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
24540         [BZ #19078]
24541         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (o_thres): Remove variable.
24542         (u_thres): Likewise.
24543         (__expl): Determine whether to call __kernel_standard_l based on
24544         value of result, not argument.
24546         * math/libm-test.inc (scalb_test_data): Add more expectations for
24547         the "inexact" exception.
24549         [BZ #19077]
24550         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Return
24551         0.0L for argument 1.0L.
24553         [BZ #19076]
24554         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Divide by
24555         constant 0.0L when computing infinite result.
24557 2015-10-06  Florian Weimer  <fweimer@redhat.com>
24559         [BZ #10432]
24560         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Remove call to
24561         malloc_usable_size.
24563 2015-10-06  Florian Weimer  <fweimer@redhat.com>
24565         [BZ #19018]
24566         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
24567         Mangle function pointer before storing it.
24568         (__call_tls_dtors): Demangle function pointer before calling it.
24570 2015-10-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
24572         [BZ #19012]
24573         * iconv/gconv_db.c (gen_steps): Check for additional errors.
24574         Clean up on failure.
24576 2015-10-05  Joseph Myers  <joseph@codesourcery.com>
24578         [BZ #19071]
24579         * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Use unsigned
24580         long int variable to store possibly incremented high part of
24581         mantissa.
24582         * math/libm-test.inc (lround_test_data): Add tests used for
24583         llround.  Use [LONG_MAX > 0x7fffffff] consistently as condition
24584         for tests requiring 64-bit long.  Do not condition tests on
24585         [TEST_FLOAT] unnecessarily.
24586         (llround_test_data): Add tests used for lround.  Add another
24587         expectation for the "inexact" exception.  Do not condition tests
24588         on [TEST_FLOAT] unnecessarily.
24590         [BZ #887]
24591         [BZ #19049]
24592         [BZ #19050]
24593         * sysdeps/generic/fix-int-fp-convert-zero.h: New file.
24594         * sysdeps/ieee754/dbl-64/e_log10.c: Include
24595         <fix-int-fp-convert-zero.h>.
24596         (__ieee754_log10): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
24597         * sysdeps/ieee754/dbl-64/e_log2.c: Include
24598         <fix-int-fp-convert-zero.h>.
24599         (__ieee754_log2): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
24600         * sysdeps/ieee754/dbl-64/s_erf.c: Include
24601         <fix-int-fp-convert-zero.h>.
24602         (__erfc): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
24603         * sysdeps/ieee754/dbl-64/s_logb.c: Include
24604         <fix-int-fp-convert-zero.h>.
24605         (__logb): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
24606         * sysdeps/ieee754/flt-32/e_log10f.c: Include
24607         <fix-int-fp-convert-zero.h>.
24608         (__ieee754_log10f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
24609         * sysdeps/ieee754/flt-32/e_log2f.c: Include
24610         <fix-int-fp-convert-zero.h>.
24611         (__ieee754_log2f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
24612         * sysdeps/ieee754/flt-32/s_erff.c: Include
24613         <fix-int-fp-convert-zero.h>.
24614         (__erfcf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
24615         * sysdeps/ieee754/flt-32/s_logbf.c: Include
24616         <fix-int-fp-convert-zero.h>.
24617         (__logbf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
24618         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include
24619         <fix-int-fp-convert-zero.h>.
24620         (__erfcl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
24621         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Include
24622         <fix-int-fp-convert-zero.h>.
24623         (__logbl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
24624         * sysdeps/powerpc/powerpc32/fpu/configure.ac: New file.
24625         * sysdeps/powerpc/powerpc32/fpu/configure: New generated file.
24626         * sysdeps/powerpc/powerpc32/fpu/fix-int-fp-convert-zero.h: New
24627         file.
24628         * config.h.in [_LIBC] (HAVE_PPC_FCFID): New macro.
24630 2015-10-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
24632         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
24634 2015-10-02  Joseph Myers  <joseph@codesourcery.com>
24636         [BZ #19059]
24637         * math/s_nexttowardf.c (__nexttowardf): Do not return value from
24638         overflowing computation.
24639         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
24640         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
24641         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
24642         Likewise.
24643         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
24644         Likewise.
24645         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
24646         Likewise.
24647         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
24648         Likewise.
24649         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
24650         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
24651         Likewise.
24652         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
24653         Likewise.
24654         * math/libm-test.inc (nexttoward_test_data): Add more tests.
24656         * nss/rewrite_field.c (__nss_rewrite_field): Use
24657         internal_function.
24658         * nss/valid_field.c (__nss_valid_field): Likewise.
24659         * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
24661 2015-10-02  Florian Weimer  <fweimer@redhat.com>
24663         [BZ #18724]
24664         * include/nss.h (NSS_INVALID_FIELD_CHARACTERS): Define.
24665         (__nss_invalid_field_characters, __nss_valid_field)
24666         (__nss_valid_list_field, __nss_rewrite_field): Declare.
24667         * nss/valid_field.c, nss/valid_list_field, nss/rewrite_field.c,
24668         tst-field.c: New file.
24669         * nss/Makefile (routines): Add valid_field, rewrite_field.
24670         (tests-static): Define unconditionally.
24671         (tests): Include tests-static.
24672         [build-static-nss] (tests-static): Use append.
24673         [build-static-nss] (tests): Remove modification.
24674         * nss/getent.c (print_group): Call putgrent.  Report error.
24675         (print_gshadow): Call putsgent.  Report error.
24676         (print_passwd): Call putpwent.  Report error.
24677         (print_shadow): Call putspent.  Report error.
24678         * include/pwd.h: Include <nss.h> instead of <nss/nss.h>.
24679         * pwd/pwd.h (putpwent): Remove incorrect nonnull attribute.
24680         * pwd/putpwent.c (putpwent): Use ISO function definition.  Check
24681         name, password, directory, shell fields for valid syntax.  Rewrite
24682         GECOS field to match syntax.
24683         * pwd/Makefile (tests): Add tst-putpwent.
24684         * pwd/tst-putpwent.c: New file.
24685         * grp/putgrent.c (putgrent): Convert to ISO function definition.
24686         Check grName, grpasswd, gr_mem fields for valid syntax.
24687         Change loop variable i to size_t.
24688         * grp/Makefile (tests): Add tst-putgrent.
24689         * grp/tst-putgrent.c: New file.
24690         * shadow/putspent.c (putspent): Check sp_namp, sp_pwdp fields for
24691         valid syntax.
24692         * shadow/Makefile (tests): Add tst-putspent.
24693         * shadow/tst-putspent.c: New file.
24694         * gshadow/putsgent.c (putsgent): Check sg_namp, sg_passwd, sg_adm,
24695         sg_mem fields for valid syntax.
24696         * gshadow/Makefile (tests): Add tst-putsgent.
24697         * gshadow/tst-putsgent.c: New file.
24699 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
24701         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Added comments to some
24702         assembly instructions.
24704 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
24706         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Remove or add register
24707         prefix from operands.
24709 2015-10-01  Joseph Myers  <joseph@codesourcery.com>
24711         [BZ #16347]
24712         [BZ #19046]
24713         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Do not include
24714         <libc-internal.h>.
24715         (MAXLGM): Do not use diagnostic control macros.
24716         [LDBL_MANT_DIG == 106] (MAXLGM): Change value to overflow
24717         threshold for ldbl-128ibm.
24718         (__ieee754_lgammal_r): For large arguments, multiply by log - 1
24719         instead of multiplying by log then subtracting.
24720         * math/auto-libm-test-in: Add more tests of lgamma.
24721         * math/auto-libm-test-out: Regenerated.
24723         * math/libm-test.inc (TYPE_DECIMAL_DIG): New macro.
24724         (TYPE_HEX_DIG): Likewise.
24725         (print_float): Use TYPE_DECIMAL_DIG - 1 and TYPE_HEX_DIG - 1 as
24726         precisions when printing floating-point numbers.
24727         (check_float_internal): Likewise.
24729 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
24731         [BZ #16620]
24732         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (log10_high): Use value
24733         of log (10) rounded downward to 48 bits.
24734         (log10_low): Use corresponding low part of log (10).
24736         [BZ #19032]
24737         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): For arguments < 1,
24738         compute result as (x - x) / (x - x) not as 0 / 0.
24739         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
24740         * math/libm-test.inc (acosh_test_data): Add another test of acosh.
24742         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
24743         atan, atan2, atanh, cbrt, cos, cosh, erf, erfc, exp, exp10, exp2
24744         and expm1.
24745         * math/auto-libm-test-out: Regenerated.
24746         * math/libm-test.inc (acos_test_data): Add more tests.
24747         (asin_test_data): Likewise.
24748         (asinh_test_data): Likewise.
24749         (atan_test_data): Likewise.
24750         (atanh_test_data): Likewise.
24751         (atan2_test_data): Likewise.
24752         (cbrt_test_data): Likewise.
24753         (ceil_test_data): Likewise.
24754         (copysign_test_data): Likewise.
24755         (cos_test_data): Likewise.
24756         (cosh_test_data): Likewise.
24757         (erf_test_data): Likewise.
24758         (erfc_test_data): Likewise.
24759         (exp_test_data): Likewise.
24760         (exp10_test_data): Likewise.
24761         (exp2_test_data): Likewise.
24762         (expm1_test_data): Likewise.
24763         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24765 2015-09-30  H.J. Lu  <hongjiu.lu@intel.com>
24767         [BZ #19006]
24768         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved
24769         to ...
24770         * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Here.
24771         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: Moved
24772         to ...
24773         * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Here.
24774         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: Moved
24775         to ...
24776         * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Here.
24777         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved to ...
24778         * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Here.
24779         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved
24780         to ...
24781         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Here.
24782         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
24783         Moved to ...
24784         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Here.
24785         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
24786         Moved to ...
24787         * sysdeps/unix/sysv/linux/i386/pthread_cond_broadcast.S: Here.
24788         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Moved
24789         to ...
24790         * sysdeps/unix/sysv/linux/i386/pthread_cond_signal.S: Here.
24791         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
24792         Moved to ...
24793         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Here.
24794         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved
24795         to ...
24796         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Here.
24797         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S:
24798         Removed.
24799         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c:
24800         Likewise.
24801         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c:
24802         Likewise.
24803         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Likewise.
24804         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S:
24805         Likewise.
24806         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
24807         Likewise.
24808         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
24809         Likewise.
24810         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
24811         Likewise.
24812         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
24813         Likewise.
24814         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S:
24815         Likewise.
24816         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S:
24817         Likewise.
24818         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c:
24819         Likewise.
24820         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c:
24821         Likewise.
24822         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Likewise.
24823         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S:
24824         Likewise.
24825         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
24826         Likewise.
24827         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
24828         Likewise.
24829         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
24830         Likewise.
24831         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S:
24832         Likewise.
24833         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
24834         Replace ../i486/pthread_cond_timedwait.S with
24835         ../pthread_cond_timedwait.S.
24837 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
24839         * math/libm-test.inc (acos_test_data): Refine expectations for
24840         errno and "inexact" exceptions.
24841         (acosh_test_data): Likewise.
24842         (asin_test_data): Likewise.
24843         (asinh_test_data): Likewise.
24844         (atan_test_data): Likewise.
24845         (atanh_test_data): Likewise.
24846         (atan2_test_data): Likewise.
24847         (cbrt_test_data): Likewise.
24848         (ceil_test_data): Likewise.
24849         (copysign_test_data): Likewise.
24850         (cosh_test_data): Likewise.
24851         (erf_test_data): Likewise.
24852         (erfc_test_data): Likewise.
24853         (exp_test_data): Likewise.
24854         (exp10_test_data): Likewise.
24855         (exp2_test_data): Likewise.
24856         (expm1_test_data): Likewise.
24857         (fabs_test_data): Likewise.
24858         (floor_test_data): Likewise.
24859         (fma_test_data): Likewise.
24860         (fmax_test_data): Likewise.
24861         (fmin_test_data): Likewise.
24862         (fmod_test_data): Likewise.
24863         (fpclassify_test_data): Likewise.
24864         (frexp_test_data): Likewise.
24865         (hypot_test_data): Likewise.
24866         (ilogb_test_data): Likewise.
24867         (isgreater_test_data): Likewise.
24868         (isgreaterequal_test_data): Likewise.
24869         (isinf_test_data): Likewise.
24870         (isless_test_data): Likewise.
24871         (islessequal_test_data): Likewise.
24872         (islessgreater_test_data): Likewise.
24873         (isnan_test_data): Likewise.
24874         (isnormal_test_data): Likewise.
24875         (issignaling_test_data): Likewise.
24876         (isunordered_test_data): Likewise.
24877         (j0_test_data): Likewise.
24878         (j1_test_data): Likewise.
24879         (jn_test_data): Likewise.
24880         (lgamma_test_data): Likewise.
24881         (lrint_test_data): Likewise.
24882         (llrint_test_data): Likewise.
24883         (log_test_data): Likewise.
24884         (log10_test_data): Likewise.
24885         (log1p_test_data): Likewise.
24886         (log2_test_data): Likewise.
24887         (logb_test_data): Likewise.
24888         (lround_test_data): Likewise.
24889         (llround_test_data): Likewise.
24890         (modf_test_data): Likewise.
24891         (nearbyint_test_data): Likewise.
24892         (nextafter_test_data): Likewise.
24893         (nexttoward_test_data): Likewise.
24894         (pow_test_data): Likewise.
24895         (remainder_test_data): Likewise.
24896         (remquo_test_data): Likewise.
24897         (rint_test_data): Likewise.
24898         (round_test_data): Likewise.
24899         (signbit_test_data): Likewise.
24900         (sinh_test_data): Likewise.
24901         (sqrt_test_data): Likewise.
24902         (tanh_test_data): Likewise.
24903         (tgamma_test_data): Likewise.
24904         (trunc_test_data): Likewise.
24905         (y0_test_data): Likewise.
24906         (y1_test_data): Likewise.
24907         (yn_test_data): Likewise.
24908         (significand_test_data): Likewise.
24910 2015-09-29  Carlos O'Donell  <carlos@redhat.com>
24912         * manual/filesys.texi (Storage Allocation): Document that
24913         posix_fallocate emulation fails when fd is open with O_WRONLY.
24915 2015-09-28  Joseph Myers  <joseph@codesourcery.com>
24917         [BZ #19016]
24918         * sysdeps/generic/math_private.h (__x2y2m1f): Update comment to
24919         allow more cases with X^2 + Y^2 >= 0.5.
24920         * sysdeps/ieee754/dbl-64/x2y2m1.c (__x2y2m1): Likewise.  Add -1 as
24921         normal element in sum instead of special-casing based on values of
24922         arguments.
24923         * sysdeps/ieee754/dbl-64/x2y2m1f.c (__x2y2m1f): Update comment.
24924         * sysdeps/ieee754/ldbl-128/x2y2m1l.c (__x2y2m1l): Likewise.  Add
24925         -1 as normal element in sum instead of special-casing based on
24926         values of arguments.
24927         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c (__x2y2m1l): Likewise.
24928         * sysdeps/ieee754/ldbl-96/x2y2m1.c [FLT_EVAL_METHOD != 0]
24929         (__x2y2m1): Update comment.
24930         * sysdeps/ieee754/ldbl-96/x2y2m1l.c (__x2y2m1l): Likewise.  Add -1
24931         as normal element in sum instead of special-casing based on values
24932         of arguments.
24933         * math/s_clog.c (__clog): Handle more cases using log1p without
24934         hypot.
24935         * math/s_clog10.c (__clog10): Likewise.
24936         * math/s_clog10f.c (__clog10f): Likewise.
24937         * math/s_clog10l.c (__clog10l): Likewise.
24938         * math/s_clogf.c (__clogf): Likewise.
24939         * math/s_clogl.c (__clogl): Likewise.
24940         * math/auto-libm-test-in: Add more tests of clog and clog10.
24941         * math/auto-libm-test-out: Regenerated.
24942         * sysdeps/i386/fpu/libm-test-ulps: Update.
24943         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24945 2015-09-28  Martin Sebor  <msebor@redhat.com>
24947         [BZ #18969]
24948         * string/Makefile (LOCALES): Define.
24949         (gen-locales.mk): Include.
24950         (test-strcasecmp.out, test-strncasecmp.out, tst-strxfrm.out)
24951         (tst-strxfrm2.out): Add deppendency on $(gen-locales).
24952         * string/tst-strxfrm2.c (do_test): Print the name of the locale
24953         on setlocale failure.
24955 2015-09-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
24957         [BZ #18985]
24958         * time/strftime_l.c (a_wkday, f_wkday, a_month, f_month): Range check.
24959         (__strftime_internal): Likewise.
24960         * time/tst-strftime.c (do_bz18985): New test.
24961         (do_test): Call it.
24963 2015-09-26  Joseph Myers  <joseph@codesourcery.com>
24965         [BZ #18956]
24966         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Add 0x00400000
24967         not 0x0040000 for high bit of mantissa.  Mask with 0xfffff000 when
24968         extracting high part.
24969         * math/auto-libm-test-in: Add another test of pow.
24970         * math/auto-libm-test-out: Regenerated.
24971         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24973 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
24975         [BZ #18825]
24976         * sysdeps/i386/fpu/i386-math-asm.h (FLT_NARROW_EVAL_UFLOW_NONNAN):
24977         New macro.
24978         (DBL_NARROW_EVAL_UFLOW_NONNAN): Likewise.
24979         (LDBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
24980         * sysdeps/i386/fpu/e_pow.S: Use DEFINE_DBL_MIN.
24981         (__ieee754_pow): Use DBL_NARROW_EVAL_UFLOW_NONNAN instead of
24982         DBL_NARROW_EVAL, reloading the PIC register as needed.
24983         * sysdeps/i386/fpu/e_powf.S: Use DEFINE_FLT_MIN.
24984         (__ieee754_powf): Use FLT_NARROW_EVAL_UFLOW_NONNAN instead of
24985         FLT_NARROW_EVAL.  Use separate return path for case when first
24986         argument is NaN.
24987         * sysdeps/i386/fpu/e_powl.S: Include <i386-math-asm.h>.  Use
24988         DEFINE_LDBL_MIN.
24989         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN, reloading the
24990         PIC register.
24991         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use
24992         math_check_force_underflow_nonneg.
24993         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Force
24994         underflow for subnormal result.
24995         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
24996         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Use
24997         math_check_force_underflow_nonneg.
24998         * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Use
24999         math_check_force_underflow.
25000         * sysdeps/x86_64/fpu/x86_64-math-asm.h
25001         (LDBL_CHECK_FORCE_UFLOW_NONNAN): New macro.
25002         * sysdeps/x86_64/fpu/e_powl.S: Include <x86_64-math-asm.h>.  Use
25003         DEFINE_LDBL_MIN.
25004         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN.
25005         * math/auto-libm-test-in: Add more tests of pow.
25006         * math/auto-libm-test-out: Regenerated.
25008 2015-09-25  Florian Weimer  <fweimer@redhat.com>
25010         * nss/bug17079.c (init_test_items): Add diagnostic for
25011         inconsistent entries.
25012         (test_buffer_size): Skip inconsistent entries.
25014 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
25016         [BZ #13304]
25017         * sysdeps/m68k/coldfire/nofpu/s_fma.c: New file.
25018         * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
25019         * sysdeps/m68k/coldfire/nofpu/sfp-machine.h: Likewise.
25021         [BZ #13304]
25022         * sysdeps/microblaze/s_fma.c: New file.
25023         * sysdeps/microblaze/s_fmaf.c: Likewise.
25024         * sysdeps/microblaze/sfp-machine.h: Likewise.
25026 2015-09-25  Maciej W. Rozycki  <macro@imgtec.com>
25028         [BZ #17250]
25029         * elf/dl-support.c (_dl_main_map): Don't initialize l_flags_1
25030         member.
25032 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
25034         [BZ #18803]
25035         * sysdeps/i386/fpu/e_hypot.S: Use DEFINE_DBL_MIN.
25036         (MO): New macro.
25037         (__ieee754_hypot) [PIC]: Load PIC register.
25038         (__ieee754_hypot): Use DBL_NARROW_EVAL_UFLOW_NONNEG instead of
25039         DBL_NARROW_EVAL.
25040         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Use
25041         math_check_force_underflow_nonneg in case where result might be
25042         tiny.
25043         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
25044         Likewise.
25045         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
25046         Likewise.
25047         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
25048         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
25049         * math/auto-libm-test-in: Add more tests of hypot.
25050         * math/auto-libm-test-out: Regenerated.
25052 2015-09-24  Steve Ellcey  <sellcey@imgtec.com>
25054         * sysdeps/mips/math_private.h (libc_fesetenv_mips): Mark cw as unused.
25056 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
25058         * sysdeps/x86_64/fpu/x86_64-math-asm.h: New file.
25059         * sysdeps/x86_64/fpu/e_exp2l.S: Include <x86_64-math-asm.h>.
25060         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
25061         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
25062         * sysdeps/x86_64/fpu/e_expl.S: Include <x86_64-math-asm.h>.
25063         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
25064         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
25066         * sysdeps/i386/fpu/e_atanh.S (__ieee754_atanh) [PIC]: Use
25067         LOAD_PIC_REG.
25069         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_LDBL_MIN): New macro.
25070         (FLT_CHECK_FORCE_UFLOW): Likewise.
25071         (DBL_CHECK_FORCE_UFLOW): Likewise.
25072         (FLT_CHECK_FORCE_UFLOW_NARROW): Likewise.
25073         (DBL_CHECK_FORCE_UFLOW_NARROW): Likewise.
25074         (LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN): Likewise.
25075         (FLT_CHECK_FORCE_UFLOW_NONNAN): Likewise.
25076         (DBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
25077         (FLT_CHECK_FORCE_UFLOW_NONNEG): Likewise.
25078         (DBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
25079         (LDBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
25080         * sysdeps/i386/fpu/e_asin.S: Include <i386-math-asm.h>.
25081         (dbl_min): Replace with use of DEFINE_DBL_MIN.
25082         (__ieee754_asin): Use DBL_CHECK_FORCE_UFLOW.
25083         * sysdeps/i386/fpu/e_asinf.S: Include <i386-math-asm.h>.
25084         (flt_min): Replace with use of DEFINE_FLT_MIN.
25085         (__ieee754_asinf): Use FLT_CHECK_FORCE_UFLOW.
25086         * sysdeps/i386/fpu/e_atan2.S: Include <i386-math-asm.h>.
25087         (dbl_min): Replace with use of DEFINE_DBL_MIN.
25088         (__ieee754_atan2): Use DBL_CHECK_FORCE_UFLOW_NARROW.
25089         * sysdeps/i386/fpu/e_atan2f.S: Include <i386-math-asm.h>.
25090         (flt_min): Replace with use of DEFINE_FLT_MIN.
25091         (__ieee754_atan2f): Use FLT_CHECK_FORCE_UFLOW_NARROW.
25092         * sysdeps/i386/fpu/e_atanh.S: Include <i386-math-asm.h>.
25093         (dbl_min): Replace with use of DEFINE_DBL_MIN.
25094         (__ieee754_atanh): Use DBL_CHECK_FORCE_UFLOW_NONNEG.
25095         * sysdeps/i386/fpu/e_atanhf.S: Include <i386-math-asm.h>.
25096         (flt_min): Replace with use of DEFINE_FLT_MIN.
25097         (__ieee754_atanhf): Use FLT_CHECK_FORCE_UFLOW_NONNEG.
25098         * sysdeps/i386/fpu/e_exp2l.S: Include <i386-math-asm.h>.
25099         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
25100         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
25101         * sysdeps/i386/fpu/e_expl.S: Include <i386-math-asm.h>.
25102         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
25103         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
25104         * sysdeps/i386/fpu/s_atan.S: Include <i386-math-asm.h>.
25105         (dbl_min): Replace with use of DEFINE_DBL_MIN.
25106         (__atan): Use DBL_CHECK_FORCE_UFLOW.
25107         * sysdeps/i386/fpu/s_atanf.S: Include <i386-math-asm.h>.
25108         (flt_min): Replace with use of DEFINE_FLT_MIN.
25109         (__atanf): Use FLT_CHECK_FORCE_UFLOW.
25110         * sysdeps/i386/fpu/s_expm1.S: Include <i386-math-asm.h>.
25111         (dbl_min): Replace with use of DEFINE_DBL_MIN.
25112         (__expm1): Use DBL_CHECK_FORCE_UFLOW.  Move underflow check after
25113         main computation.
25114         * sysdeps/i386/fpu/s_expm1f.S: Include <i386-math-asm.h>.
25115         (flt_min): Replace with use of DEFINE_FLT_MIN.
25116         (__expm1f): Use FLT_CHECK_FORCE_UFLOW.  Move underflow check after
25117         main computation.
25118         * sysdeps/i386/fpu/s_log1p.S: Include <i386-math-asm.h>.
25119         (dbl_min): Replace with use of DEFINE_DBL_MIN.
25120         (MO): New macro.
25121         (__log1p): Use MO.  Use DBL_CHECK_FORCE_UFLOW_NONNAN.
25122         * sysdeps/i386/fpu/s_log1pf.S: Include <i386-math-asm.h>.
25123         (flt_min): Replace with use of DEFINE_FLT_MIN.
25124         (MO): New macro.
25125         (__log1pf): Use MO.  Use FLT_CHECK_FORCE_UFLOW_NONNAN.
25126         * sysdeps/i386/fpu/s_log1pl.S (MO): New macro.
25127         (__log1pl): Use MO.
25129         [BZ #19003]
25130         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma4.c): Add
25131         $(config-cflags-nofma).
25133 2015-09-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
25135         * sysdeps/aarch64/libm-test-ulps: Regenerated.
25137 2015-09-23  Joseph Myers  <joseph@codesourcery.com>
25139         * sysdeps/ieee754/flt-32/e_exp2f.c (TWOM100): Remove volatile.
25140         (TWO127): Likewise.
25142         * sysdeps/generic/math_private.h (fabs_tg): New macro.
25143         (min_of_type): Likewise.
25144         (math_check_force_underflow): Likewise.
25145         (math_check_force_underflow_nonneg): Likewise.
25146         (math_check_force_underflow_complex): Likewise.
25147         * math/e_exp2l.c (__ieee754_exp2l): Use
25148         math_check_force_underflow_nonneg.
25149         * math/k_casinh.c (__kernel_casinh): Likewise.
25150         * math/k_casinhf.c (__kernel_casinhf): Likewise.
25151         * math/k_casinhl.c (__kernel_casinhl): Likewise.
25152         * math/s_catan.c (__catan): Use
25153         math_check_force_underflow_complex.
25154         * math/s_catanf.c (__catanf): Likewise.
25155         * math/s_catanh.c (__catanh): Likewise.
25156         * math/s_catanhf.c (__catanhf): Likewise.
25157         * math/s_catanhl.c (__catanhl): Likewise.
25158         * math/s_catanl.c (__catanl): Likewise.
25159         * math/s_ccosh.c (__ccosh): Likewise.
25160         * math/s_ccoshf.c (__ccoshf): Likewise.
25161         * math/s_ccoshl.c (__ccoshl): Likewise.
25162         * math/s_cexp.c (__cexp): Likewise.
25163         * math/s_cexpf.c (__cexpf): Likewise.
25164         * math/s_cexpl.c (__cexpl): Likewise.
25165         * math/s_clog.c (__clog): Use math_check_force_underflow_nonneg.
25166         * math/s_clog10.c (__clog10): Likewise.
25167         * math/s_clog10f.c (__clog10f): Likewise.
25168         * math/s_clog10l.c (__clog10l): Likewise.
25169         * math/s_clogf.c (__clogf): Likewise.
25170         * math/s_clogl.c (__clogl): Likewise.
25171         * math/s_csin.c (__csin): Use math_check_force_underflow_complex.
25172         * math/s_csinf.c (__csinf): Likewise.
25173         * math/s_csinh.c (__csinh): Likewise.
25174         * math/s_csinhf.c (__csinhf): Likewise.
25175         * math/s_csinhl.c (__csinhl): Likewise.
25176         * math/s_csinl.c (__csinl): Likewise.
25177         * math/s_csqrt.c (__csqrt): Use math_check_force_underflow.
25178         * math/s_csqrtf.c (__csqrtf): Likewise.
25179         * math/s_csqrtl.c (__csqrtl): Likewise.
25180         * math/s_ctan.c (__ctan): Use math_check_force_underflow_complex.
25181         * math/s_ctanf.c (__ctanf): Likewise.
25182         * math/s_ctanh.c (__ctanh): Likewise.
25183         * math/s_ctanhf.c (__ctanhf): Likewise.
25184         * math/s_ctanhl.c (__ctanhl): Likewise.
25185         * math/s_ctanl.c (__ctanl): Likewise.
25186         * stdlib/strtod_l.c (round_and_return): Use math_force_eval
25187         instead of volatile.
25188         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use
25189         math_check_force_underflow.
25190         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
25191         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not use
25192         volatile when forcing underflow.
25193         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
25194         math_check_force_underflow_nonneg.
25195         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
25196         Likewise.
25197         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Use
25198         math_check_force_underflow.
25199         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
25200         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
25201         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
25202         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Use
25203         math_check_force_underflow_nonneg.
25204         * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Use
25205         math_check_force_underflow.
25206         * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
25207         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval
25208         instead of volatile.
25209         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Use
25210         math_check_force_underflow.
25211         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
25212         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
25213         math_check_force_underflow_nonneg.
25214         * sysdeps/ieee754/dbl-64/s_tanh.c (__tanh): Use
25215         math_check_force_underflow.
25216         * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
25217         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
25218         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Use
25219         math_check_force_underflow_nonneg.
25220         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
25221         Likewise.
25222         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Use
25223         math_check_force_underflow.
25224         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
25225         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
25226         * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
25227         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Likewise.
25228         * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
25229         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Likewise.
25230         * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
25231         * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
25232         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
25233         * sysdeps/ieee754/flt-32/s_tanhf.c (__tanhf): Likewise.
25234         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
25235         * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
25236         Likewise.
25237         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Use
25238         math_check_force_underflow_nonneg.
25239         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
25240         Likewise.
25241         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Use
25242         math_check_force_underflow.
25243         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
25244         * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
25245         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
25246         Likewise.
25247         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
25248         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernel_tanl): Likewise.
25249         * sysdeps/ieee754/ldbl-128/s_asinhl.c (__asinhl): Likewise.
25250         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Likewise.
25251         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Likewise.
25252         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
25253         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use math_force_eval
25254         instead of volatile.
25255         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Use
25256         math_check_force_underflow.
25257         * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
25258         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Use
25259         math_check_force_underflow.
25260         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl):
25261         Likewise.
25262         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
25263         Use math_check_force_underflow_nonneg.
25264         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Use
25265         math_check_force_underflow.
25266         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
25267         Likewise.
25268         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
25269         Likewise.
25270         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
25271         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
25272         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
25273         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
25274         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Likewise.
25275         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
25276         * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
25277         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
25278         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Use
25279         math_check_force_underflow_nonneg.
25280         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Use
25281         math_check_force_underflow.
25282         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
25283         * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
25284         * sysdeps/ieee754/ldbl-96/k_sinl.c (__kernel_sinl): Likewise.
25285         * sysdeps/ieee754/ldbl-96/k_tanl.c (__kernel_tanl): Use
25286         math_check_force_underflow_nonneg.
25287         * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Use
25288         math_check_force_underflow.
25289         * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
25290         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Use math_force_eval
25291         instead of volatile.
25292         * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Use
25293         math_check_force_underflow.
25295         * math/s_nexttowardf.c (__nexttowardf): Use math_narrow_eval.
25296         * stdlib/strtod_l.c: Include <math_private.h>.
25297         (overflow_value): Use math_narrow_eval.
25298         (underflow_value): Likewise.
25299         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
25300         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
25301         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
25302         (__ieee754_gamma_r): Likewise.
25303         * sysdeps/ieee754/dbl-64/gamma_productf.c (__gamma_productf):
25304         Likewise.
25305         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
25306         Likewise.
25307         * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
25308         * sysdeps/ieee754/dbl-64/s_erf.c (__erfc): Likewise.
25309         * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
25310         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
25311         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
25312         (__ieee754_gammaf_r): Likewise.
25313         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
25314         Likewise.
25315         * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
25316         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Likewise.
25317         * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
25318         * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
25319         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Do not use
25320         volatile.
25321         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
25322         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Use
25323         math_narrow_eval.
25324         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
25325         Likewise.
25326         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
25327         Likewise.
25328         * sysdeps/ieee754/ldbl-96/gamma_product.c (__gamma_product):
25329         Likewise.
25330         * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Do not use
25331         volatile.
25332         * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
25333         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Use
25334         math_narrow_eval.
25335         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
25336         Likewise.
25337         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
25338         Likewise.
25340 2015-09-22  H.J. Lu  <hongjiu.lu@intel.com>
25342         * nptl/Versions: Remove ignored symbols.
25344 2015-09-22  Florian Weimer  <fweimer@redhat.com>
25346         * nss/bug17079.c: Renamed from nss/bug18287.c.  Add description.
25347         * nss/Makefile (tests): Update.
25349 2015-09-22  Florian Weimer  <fweimer@redhat.com>
25351         * nss/bug18287.c: New file.
25352         * nss/Makefile (tests): Add bug18287.
25354 2015-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25356         * mach/Versions (__mach_host_self_): Add symbol.
25358 2015-09-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25360         * sysdeps/mach/hurd/mmap.c (__mmap): Use __vm_page_size instead of
25361         vm_page_size.
25363 2015-09-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25365         Really fix sysdeps/i386/fpu/s_scalbn.S build
25367         * math/Versions (libc: GLIBC_2_20): New (empty) version set.
25368         (libc: GLIBC_2_22): Remove unused version set.
25370 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
25372         * config.make.in (enable-timezone-tools): New variable.
25373         * configure.ac (AC_ARG_ENABLE(timezone-tools)): New configure flag.
25374         (enable_timezone_tools): Export to generated files.
25375         * configure: Regenerate.
25376         * INSTALL: Regenerate.
25377         * manual/install.texi (--disable-timezone-tools): Document new flag.
25378         * timezone/Makefile (install-sbin, install-bin-script): Wrap in a
25379         ifeq ($(enable-timezone-tools),yes) check.
25381 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
25383         * timezone/Makefile: Revert previous change.
25385         [BZ #18980]
25386         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_FLT_MIN): New macro.
25387         (DEFINE_DBL_MIN): Likewise.
25388         (FLT_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
25389         (DBL_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
25390         (FLT_NARROW_EVAL_UFLOW_NONNEG): Likewise.
25391         (DBL_NARROW_EVAL_UFLOW_NONNEG): Likewise.
25392         * sysdeps/i386/fpu/e_exp.S: Include <i386-math-asm.h>.
25393         (dbl_min): Replace with use of DEFINE_DBL_MIN.
25394         (__ieee754_exp): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
25395         (__exp_finite): Use DBL_NARROW_EVAL_UFLOW_NONNEG.
25396         * sysdeps/i386/fpu/e_exp10.S: Include <i386-math-asm.h>.
25397         (dbl_min): Replace with use of DEFINE_DBL_MIN.
25398         (__ieee754_exp10): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
25399         * sysdeps/i386/fpu/e_exp10f.S: Include <i386-math-asm.h>.
25400         (flt_min): Replace with use of DEFINE_FLT_MIN.
25401         (__ieee754_exp10f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
25402         * sysdeps/i386/fpu/e_exp2.S: Include <i386-math-asm.h>.
25403         (dbl_min): Replace with use of DEFINE_DBL_MIN.
25404         (__ieee754_exp2): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
25405         * sysdeps/i386/fpu/e_exp2f.S: Include <i386-math-asm.h>.
25406         (flt_min): Replace with use of DEFINE_FLT_MIN.
25407         (__ieee754_exp2f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
25408         * sysdeps/i386/fpu/e_expf.S: Include <i386-math-asm.h>.
25409         (flt_min): Replace with use of DEFINE_FLT_MIN.
25410         (__ieee754_expf): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
25411         (__expf_finite): Use FLT_NARROW_EVAL_UFLOW_NONNEG.
25412         * sysdeps/i386/fpu/e_hypot.S: Include <i386-math-asm.h>.
25413         (__ieee754_hypot): Use DBL_NARROW_EVAL.
25414         * sysdeps/i386/fpu/e_hypotf.S: Include <i386-math-asm.h>.
25415         (__ieee754_hypotf): Use FLT_NARROW_EVAL.
25416         * sysdeps/i386/fpu/e_pow.S: Include <i386-math-asm.h>.
25417         (__ieee754_pow): Use DBL_NARROW_EVAL.
25418         * sysdeps/i386/fpu/e_powf.S: Include <i386-math-asm.h>.
25419         (__ieee754_powf): Use FLT_NARROW_EVAL.
25420         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S
25421         (__ieee754_expf_sse2): Convert double-precision result to single
25422         precision.
25423         * sysdeps/i386/fpu/libm-test-ulps: Update.
25425 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
25427         * timezone/Makefile: Ignore unused variable errors due to private.h
25428         (time_t_min) and (time_t_max).
25429         * timezone/private.h (time_t_min): Revert removal.  (time_t_max):
25430         Likewise.
25432 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
25434         [BZ #18981]
25435         * sysdeps/i386/fpu/i386-math-asm.h: New file.
25436         * sysdeps/i386/fpu/e_scalb.S: Include <i386-math-asm.h>.
25437         (__ieee754_scalb): Use DBL_NARROW_EVAL.
25438         * sysdeps/i386/fpu/e_scalbf.S: Include <i386-math-asm.h>.
25439         (__ieee754_scalbf): Use FLT_NARROW_EVAL.
25440         * sysdeps/i386/fpu/s_scalbn.S: Include <i386-math-asm.h>.
25441         (__scalbn): Use DBL_NARROW_EVAL.
25442         * sysdeps/i386/fpu/s_scalbnf.S: Include <i386-math-asm.h>.
25443         (__scalbnf): Use FLT_NARROW_EVAL.
25445 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
25447         * math/w_tgamma.c (__ieee754_gamma_r): Use explicit sign check.
25448         * math/w_tgammaf.c (__ieee754_gammaf_r): Likewise.
25449         * math/w_tgammal.c (__ieee754_gammal_r): Likewise.
25450         * stdio-common/printf_fp.c (___printf_fp):
25451         Use signbit to get the sign. Use isinf macro to allow inlining.
25452         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.
25453         * stdio-common/printf_size.c (__printf_size): Likewise.
25455 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
25457         * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory).
25459 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
25461         [BZ #18980]
25462         * sysdeps/generic/math_private.h: Include <float.h>.
25463         (math_narrow_eval): New macro.
25464         [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
25465         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use
25466         math_narrow_eval on overflowing return value.
25467         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r):
25468         Likewise.
25469         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
25470         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise.
25471         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r):
25472         Likewise.
25473         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
25475 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
25477         * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl.
25478         * math/Makefile: Remove isinf_ns.c.
25479         * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf.
25480         * math/multc3.c (__multc3): Likewise.
25481         * math/s_casin.c (__casin): Likewise.
25482         * math/s_casinf.c (__casinf): Likewise.
25483         * math/s_casinl.c (__casinl): Likewise.
25484         * math/s_cproj.c (__cproj): Likewise.
25485         * math/s_cprojf.c (__cprojf): Likewise.
25486         * math/s_cprojl.c (__cprofl): Likewise.
25487         * math/s_ctan.c (__ctan): Likewise.
25488         * math/s_ctanf.c (__ctanf): Likewise.
25489         * math/s_ctanh.c (__ctanh): Likewise.
25490         * math/s_ctanhf.c (__ctanhf): Likewise.
25491         * math/s_ctanhl.c (__ctanhl): Likewise.
25492         * math/s_ctanl.c (__ctanl): Likewise.
25493         * math/w_fmod.c (__fmod): Likewise.
25494         * math/w_fmodf.c (__fmodf): Likewise.
25495         * math/w_fmodl.c (_fmodl): Likewise.
25496         * math/w_remainder.c (__remainder): Likewise.
25497         * math/w_remainderf.c (__remainderf): Likewise.
25498         * math/w_remainderl.c (__remainderl): Likewise.
25499         * math/w_scalb.c (__scalb): Likewise.
25500         * math/w_scalbf.c (__scalbf): Likewise.
25501         * math/w_scalbl.c (__scalbl): Likewise.
25502         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file.
25503         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns
25504         with isinf.
25505         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file.
25506         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file.
25507         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace
25508         __isinf_nsf with isinf.
25509         * sysdeps/ieee754/flt-32/math_private.h: Deleted file.
25510         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file.
25511         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file.
25512         * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl
25513         with isinf.
25514         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace
25515         __isinf_nsl with isinf.
25516         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl
25517         with isinf.
25518         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file.
25519         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace
25520         __isinf_nsl with isinf.
25521         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file.
25522         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl
25523         with isinf.
25525 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
25527         * resolv/base64.c (rcsid): Remove unused static.
25528         * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused
25529         static.  (tqpi1): Likewise.
25530         * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise.
25531         * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise.
25532         * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise.
25533         * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise.
25534         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise.
25535         * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise.
25536         * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise.
25537         * timezone/private.h (time_t_min): Likewise.  (time_t_max):
25538         Likewise.
25540 2015-09-18  H.J. Lu  <hongjiu.lu@intel.com>
25542         * sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of
25543         <nptl/pthreadP.h>.
25544         (_longjmp_unwind): Use __libc_ptf_call.
25545         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
25547 2015-09-18  David Lamparter  <equinox-gentoo@diac24.net>
25549         * sysdeps/arm/setjmp.S: Change PIC to SHARED.
25550         * sysdeps/arm/__longjmp.S: Likewise.
25552 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
25554         * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit):
25555         Use __builtin_signbit.
25556         * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf):
25557         Use __builtin_signbitf.
25558         * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl):
25559         Use __builtin_signbitl.
25560         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
25561         * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise.
25563 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
25565         [BZ #15367]
25566         [BZ #17441]
25568         * math/Makefile: Build test-snan.c with -fsignaling-nans.
25569         * math/math.h (fpclassify): Use __builtin_fpclassify when
25570         available.  (signbit): Use __builtin_signbit(f/l).
25571         (isfinite): Use__builtin_isfinite.  (isnormal): Use
25572         __builtin_isnormal.  (isnan): Use __builtin_isnan.
25573         (isinf): Use __builtin_isinf_sign.
25575 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
25577         * benchtests/Makefile: Add bench-math-inlines, link with libm.
25578         * benchtests/bench-math-inlines.c: New benchmark.
25579         * benchtests/bench-util.h: New file.
25580         * benchtests/bench-util.c: New file.
25581         * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
25583 2015-09-18  Carlos O'Donell  <carlos@redhat.com>
25585         * elf/tst-dlmopen1.c: Define TEST_SO.
25586         (do_test): Use TEST_SO.
25588         * elf/dl-load.c: Include libc-internal.h.
25589         (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
25591 2015-09-18  Vincent Bernat  <vincent@bernat.im>
25593         [BZ #17887]
25594         * time/strptime_l.c (__strptime_internal): Make %z accept
25595         [+-]HH:MM time zones.
25597 2015-09-18  Vincent Bernat  <vincent@bernat.im>
25599         [BZ #17886]
25600         * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
25601         valid time zone.
25603 2015-09-17  Mike Frysinger  <vapier@gentoo.org>
25605         * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
25606         * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
25607         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
25608         (__ASSUME_FDATASYNC): Delete.
25610 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
25612         * conform/linknamespace.pl: Require weak undefined symbols to be
25613         in the standard namespace.
25614         (%strong_syms): Rename to %seen_syms.
25615         (%strong_seen): Rename to %seen_where.
25617 2015-09-17  H.J. Lu  <hongjiu.lu@intel.com>
25619         [BZ #18970]
25620         * misc/error.c (error): Replace pthread_setcancelstate with
25621         __pthread_setcancelstate.
25622         (error_at_line): Likewise.
25623         * posix/wordexp.c (parse_comm): Likewise.
25624         * stdlib/fmtmsg.c (fmtmsg): Likewise.
25625         * nptl/forward.c (pthread_setcancelstate): Renamed to ...
25626         (__pthread_setcancelstate): This.
25627         (pthread_setcancelstate): Add an alias.
25628         * nptl/nptl-init.c (pthread_functions): Replace
25629         ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
25630         * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
25631         * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
25632         hidden_proto.
25633         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
25634         it with hidden_def.
25635         * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
25636         (pthread_setcancelstate): Renamed to ...
25637         (__pthread_setcancelstate): This.
25638         * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
25639         __libc_ptf_call with __pthread_setcancelstate.
25641 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
25642             Andreas Schwab  <schwab@suse.de>
25644         [BZ #17118]
25645         * math/s_ctan.c (__ctan): Determine sign of zero real part of
25646         result when imaginary part of argument is infinite using sine and
25647         cosine.
25648         * math/s_ctanf.c (__ctanf): Likewise.
25649         * math/s_ctanl.c (__ctanl): Likewise.
25650         * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
25651         of result when real part of argument is infinite using sine and
25652         cosine.
25653         * math/s_ctanhf.c (__ctanhf): Likewise.
25654         * math/s_ctanhl.c (__ctanhl): Likewise.
25655         * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
25656         (ctanh_test_data): Add more tests of ctanh.
25658 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
25660         [BZ #15384]
25661         * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
25662         bit-mask as in subtraction.
25663         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
25664         Likewise.
25665         * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
25666         * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
25667         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
25669         [BZ #18951]
25670         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
25671         underflow exception for small results.
25672         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
25673         Likewise.
25674         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
25675         Likewise.
25676         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
25677         Likewise.
25678         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
25679         Likewise.
25680         * math/auto-libm-test-in: Add more tests of tgamma.
25681         * math/auto-libm-test-out: Regenerated.
25683 2015-09-17  Andreas Schwab  <schwab@suse.de>
25685         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
25687 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
25689         [BZ #18977]
25690         * math/bits/mathcalls.h
25691         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
25692         not declare.
25693         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
25694         Likewise.
25695         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
25696         Likewise.
25697         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
25698         Likewise.
25699         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
25700         Likewise.
25701         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
25702         Likewise.
25703         * conform/data/math.h-data
25704         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
25705         function.
25706         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
25707         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
25708         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
25709         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
25710         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
25711         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
25712         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
25713         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
25714         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
25715         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
25716         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
25718         [BZ #6803]
25719         * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
25720         [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
25721         * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
25722         * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
25723         * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
25724         * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
25725         * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
25726         * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
25727         [NO_LONG_DOUBLE] (scalbnl): Likewise.
25728         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
25729         Likewise.
25730         [NO_LONG_DOUBLE] (scalbnl): Likewise.
25731         * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
25732         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
25733         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
25734         long_double_symbol calls.
25735         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
25736         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
25737         strong alias of __ldexpl.
25738         (scalbnl): Define using long_double_symbol.
25739         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
25740         Remove alias.
25741         * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
25742         * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
25743         * math/libm-test.inc (scalbn_test_data): Add errno expectations.
25744         (scalbln_test_data): Add more errno expectations.
25746 2015-09-16  Justus Winter  <4winter@informatik.uni-hamburg.de>
25748         Cache the host port like we cache the task port.  This way we do not
25749         need to call the kernel just to get the port.  Furthermore, we no
25750         longer increase the reference count on every invocation of
25751         `mach_host_self'.
25753         * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
25754         Protect declarations against the macro expansion.
25755         * mach/mach_init.c (__mach_host_self_): New variable.
25756         (mach_init): Initialize `__mach_host_self_'.
25757         * mach/mach_init.h (__mach_host_self_): New declaration.
25758         (__mach_host_self, mach_host_self): New macros.
25759         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
25760         Release reference.
25762 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
25764         [BZ #4404]
25765         * po/de.po: Update from Translation Project.
25767         [BZ #16415]
25768         * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
25769         (__expm1l): Remove code to handle positive infinity and overflow.
25770         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
25771         variable.
25772         (__expm1l): Remove code to handle positive infinity and overflow.
25774 2015-09-16  Paul Eggert  <eggert@cs.ucla.edu>
25775             Paul Pluzhnikov  <ppluzhnikov@google.com>
25777         [BZ #18872]
25778         * stdio-common/Makefile (tst-printf-bz18872): New test.
25779         (tst-printf-bz18872-mem.out): Likewise.
25780         * stdio-common/tst-printf-bz18872.sh: Generate new test.
25781         * stdio-common/vfprintf.c: Fix memory leaks.
25783 2015-09-16  Andreas Schwab  <schwab@suse.de>
25785         [BZ #17244]
25786         * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
25787         Remove extra va_start/va_end calls.
25789         [BZ #17243]
25790         * posix/execl.c (execl): Add missing va_end.
25791         * posix/execle.c (execle): Likewise.
25792         * posix/execlp.c (execlp): Likewise.
25794 2015-09-15  Roland McGrath  <roland@hack.frob.com>
25796         * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
25797         (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
25799 2015-09-15  Joseph Myers  <joseph@codesourcery.com>
25801         [BZ #18967]
25802         * math/math.h (__MATH_DECLARING_DOUBLE): New macro.  Define and
25803         undefine around includes of <bits/mathcalls.h>.
25804         * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
25805         not declare function.
25806         [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
25807         [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
25808         (scalb): Likewise.
25809         * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
25810         not define macro.
25811         * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
25812         variable.
25813         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
25814         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
25815         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
25817         [BZ #18857]
25818         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
25819         return non-finite argument without doing ordered comparisons on
25820         it.
25822         [BZ #16296]
25823         * math/fenv.h (fegetround): Use __attribute_pure__.
25824         * include/fenv.h (__fegetround): Likewise.
25826         [BZ #18595]
25827         * math/s_ctan.c (__ctan): Force underflow exception for results
25828         whose real or imaginary part has small absolute value.
25829         * math/s_ctanf.c (__ctanf): Likewise.
25830         * math/s_ctanh.c (__ctanh): Likewise.
25831         * math/s_ctanhf.c (__ctanhf): Likewise.
25832         * math/s_ctanhl.c (__ctanhl): Likewise.
25833         * math/s_ctanl.c (__ctanl): Likewise.
25834         * math/auto-libm-test-in: Do not allow missing underflow for ctan
25835         and ctanh.  Add more tests of ctan and ctanh.
25837         [BZ #15918]
25838         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
25839         handling of cases where one argument is an infinity.
25841         [BZ #18875]
25842         [BZ #18966]
25843         * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
25844         (MO): New macro.
25845         (__ieee754_exp10): For small results, force underflow exception
25846         and remove excess range and precision from return value.
25847         * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
25848         (MO): New macro.
25849         (__ieee754_exp10f): For small results, force underflow exception
25850         and remove excess range and precision from return value.
25851         * math/auto-libm-test-in: Add more tests of exp10.
25852         * math/auto-libm-test-out: Regenerated.
25854 2015-09-14  Joseph Myers  <joseph@codesourcery.com>
25856         [BZ #18875]
25857         [BZ #18961]
25858         * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
25859         (MO): New macro.
25860         (__ieee754_exp): For small results, force underflow exception and
25861         remove excess range and precision from return value.
25862         (__exp_finite): Likewise.
25863         * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
25864         (MO): New macro.
25865         (__ieee754_expf): For small results, force underflow exception and
25866         remove excess range and precision from return value.
25867         (__expf_finite): Likewise.
25868         * math/auto-libm-test-in: Add more tests of exp.
25869         * math/auto-libm-test-out: Regenerated.
25871         [BZ #16521]
25872         [BZ #18875]
25873         * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
25874         small results.
25875         * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
25876         (MO): New macro.
25877         (__ieee754_exp2): For small results, force underflow exception and
25878         remove excess range and precision from return value.
25879         * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
25880         (MO): New macro.
25881         (__ieee754_exp2f): For small results, force underflow exception
25882         and remove excess range and precision from return value.
25883         * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
25884         (MO): New macro.
25885         (__ieee754_exp2l): Force underflow exception for small results.
25886         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
25887         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
25888         * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
25889         (MO): New macro.
25890         (__ieee754_exp2l): Force underflow exception for small results.
25891         * math/auto-libm-test-in: Add more tests or exp2.
25892         * math/auto-libm-test-out: Regenerated.
25894 2015-09-14  Carlos O'Donell  <carlos@redhat.com>
25896         * malloc/malloc.c (systrim): Use ALIGN_DOWN.
25898         * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
25899         /dev/null.
25901 2015-09-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25903         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
25904         io fs process)): Drop spurious backslash.
25906 2015-09-12  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
25908         * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
25909         Use sysinfo system call instead of parsing /proc/meminfo.
25910         * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
25911         Likewise.
25913 2015-09-11  Mike Frysinger  <vapier@gentoo.org>
25915         [BZ #16985]
25916         * programs/localedef.c (main): Display argv[remaining] when
25917         output_path is NULL.
25919 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
25921         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
25922         asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
25923         exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
25924         tanh.
25925         * math/auto-libm-test-out: Regenerated.
25926         * sysdeps/i386/fpu/libm-test-ulps: Update.
25927         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
25928         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
25929         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25931 2015-09-11  Roland McGrath  <roland@hack.frob.com>
25933         * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
25934         Use 'override' keyword to freeze the value here, preventing
25935         the addition of sys/mtio.h by sysdeps/gnu/Makefile.
25937 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
25939         [BZ #14912]
25940         * sysdeps/aarch64/bits/atomic.h: Move to ...
25941         * sysdeps/aarch64/atomic-machine.h: ...here.
25942         (_AARCH64_BITS_ATOMIC_H): Rename macro to
25943         _AARCH64_ATOMIC_MACHINE_H.
25944         * sysdeps/alpha/bits/atomic.h: Move to ...
25945         * sysdeps/alpha/atomic-machine.h: ...here.
25946         * sysdeps/arm/bits/atomic.h: Move to ...
25947         * sysdeps/arm/atomic-machine.h: ...here.  Update comments.
25948         * bits/atomic.h: Move to ...
25949         * sysdeps/generic/atomic-machine.h: ...here.
25950         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
25951         * sysdeps/i386/bits/atomic.h: Move to ...
25952         * sysdeps/i386/atomic-machine.h: ...here.
25953         * sysdeps/ia64/bits/atomic.h: Move to ...
25954         * sysdeps/ia64/atomic-machine.h: ...here.
25955         * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
25956         * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
25957         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
25958         * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
25959         * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
25960         * sysdeps/microblaze/bits/atomic.h: Move to ...
25961         * sysdeps/microblaze/atomic-machine.h: ...here.
25962         * sysdeps/mips/bits/atomic.h: Move to ...
25963         * sysdeps/mips/atomic-machine.h: ...here.
25964         (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
25965         * sysdeps/powerpc/bits/atomic.h: Move to ...
25966         * sysdeps/powerpc/atomic-machine.h: ...here.  Update comments.
25967         * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
25968         * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here.  Update
25969         comments.  Include <atomic-machine.h> instead of <bits/atomic.h>.
25970         * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
25971         * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here.  Include
25972         <atomic-machine.h> instead of <bits/atomic.h>.
25973         * sysdeps/s390/bits/atomic.h: Move to ...
25974         * sysdeps/s390/atomic-machine.h: ...here.
25975         * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
25976         * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
25977         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
25978         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
25979         * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
25980         * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
25981         * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
25982         * sysdeps/tile/bits/atomic.h: Move to ...
25983         * sysdeps/tile/atomic-machine.h: ...here.
25984         * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
25985         * sysdeps/tile/tilegx/atomic-machine.h: ...here.  Include
25986         <sysdeps/tile/atomic-machine.h> instead of
25987         <sysdeps/tile/bits/atomic.h>.
25988         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
25989         * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
25990         * sysdeps/tile/tilepro/atomic-machine.h: ...here.  Include
25991         <sysdeps/tile/atomic-machine.h> instead of
25992         <sysdeps/tile/bits/atomic.h>.
25993         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
25994         * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
25995         * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here.  Include
25996         <sysdeps/arm/atomic-machine.h> instead of
25997         <sysdeps/arm/bits/atomic.h>.
25998         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
25999         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
26000         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
26001         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
26002         * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
26003         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
26004         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
26005         * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
26006         (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
26007         * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
26008         * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
26009         * sysdeps/x86_64/bits/atomic.h: Move to ...
26010         * sysdeps/x86_64/atomic-machine.h: ...here.
26011         * include/atomic.h: Include <atomic-machine.h> instead of
26012         <bits/atomic.h>.
26014         * sysdeps/mips/mips32/libm-test-ulps: Update.
26015         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
26017         [BZ #18952]
26018         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
26019         not convert non-integer negative arguments to int to determine the
26020         value of signgam.
26021         * math/auto-libm-test-in: Add more tests of lgamma.
26022         * math/auto-libm-test-out: Regenerated.
26024         * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
26025         cosh, csqrt, erfc, expm1 and lgamma.
26026         * math/auto-libm-test-out: Regenerated.
26027         * sysdeps/i386/fpu/libm-test-ulps: Update.
26028         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26030 2015-09-10  Joseph Myers  <joseph@codesourcery.com>
26032         [BZ #2542]
26033         [BZ #2543]
26034         [BZ #2558]
26035         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
26036         __lgamma_neg for arguments from -28.0 to -2.0.
26037         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
26038         __lgamma_negf for arguments from -15.0 to -2.0.
26039         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
26040         Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
26041         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
26042         Call __lgamma_negl for arguments from -33.0 to -2.0.
26043         * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
26044         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
26045         * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
26046         * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
26047         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
26048         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
26049         * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
26050         * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
26051         * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
26052         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
26053         * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
26054         * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
26055         (__lgamma_neg): Likewise.
26056         (__lgamma_negl): Likewise.
26057         (__lgamma_product): Likewise.
26058         (__lgamma_productl): Likewise.
26059         * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
26060         * math/auto-libm-test-in: Add more tests of lgamma.
26061         * math/auto-libm-test-out: Regenerated.
26062         * sysdeps/i386/fpu/libm-test-ulps: Update.
26063         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26065 2015-09-09  Justin Maggard  <jmaggard@netgear.com>
26067         [BZ #18675]
26068         * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
26070 2015-09-08  Joseph Myers  <joseph@codesourcery.com>
26072         [BZ #14912]
26073         * bits/libc-lock.h: Move to ...
26074         * sysdeps/generic/libc-lock.h: ...here.
26075         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
26076         * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
26077         * sysdeps/mach/hurd/libc-lock.h: ...here.
26078         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
26079         [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
26080         * sysdeps/mach/bits/libc-lock.h: Move to ...
26081         * sysdeps/mach/libc-lock.h: ...here.
26082         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
26083         * sysdeps/nptl/bits/libc-lock.h: Move to ...
26084         * sysdeps/nptl/libc-lock.h: ...here.
26085         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
26086         * sysdeps/nptl/bits/libc-lockP.h: Move to ...
26087         * sysdeps/nptl/libc-lockP.h: ...here.
26088         (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
26089         * crypt/crypt_util.c: Include <libc-lock.h> instead of
26090         <bits/libc-lock.h>.
26091         * dirent/scandir-tail.c: Likewise.
26092         * dlfcn/dlerror.c: Likewise.
26093         * elf/dl-close.c: Likewise.
26094         * elf/dl-iteratephdr.c: Likewise.
26095         * elf/dl-lookup.c: Likewise.
26096         * elf/dl-open.c: Likewise.
26097         * elf/dl-support.c: Likewise.
26098         * elf/dl-writev.h: Likewise.
26099         * elf/rtld.c: Likewise.
26100         * grp/fgetgrent.c: Likewise.
26101         * gshadow/fgetsgent.c: Likewise.
26102         * gshadow/sgetsgent.c: Likewise.
26103         * iconv/gconv_conf.c: Likewise.
26104         * iconv/gconv_db.c: Likewise.
26105         * iconv/gconv_dl.c: Likewise.
26106         * iconv/gconv_int.h: Likewise.
26107         * iconv/gconv_trans.c: Likewise.
26108         * include/link.h: Likewise.
26109         * inet/getnameinfo.c: Likewise.
26110         * inet/getnetgrent.c: Likewise.
26111         * inet/getnetgrent_r.c: Likewise.
26112         * intl/bindtextdom.c: Likewise.
26113         * intl/dcigettext.c: Likewise.
26114         * intl/finddomain.c: Likewise.
26115         * intl/gettextP.h: Likewise.
26116         * intl/loadmsgcat.c: Likewise.
26117         * intl/localealias.c: Likewise.
26118         * intl/textdomain.c: Likewise.
26119         * libidn/idn-stub.c: Likewise.
26120         * libio/libioP.h: Likewise.
26121         * locale/duplocale.c: Likewise.
26122         * locale/freelocale.c: Likewise.
26123         * locale/newlocale.c: Likewise.
26124         * locale/setlocale.c: Likewise.
26125         * login/getutent_r.c: Likewise.
26126         * login/getutid_r.c: Likewise.
26127         * login/getutline_r.c: Likewise.
26128         * login/utmp-private.h: Likewise.
26129         * login/utmpname.c: Likewise.
26130         * malloc/mtrace.c: Likewise.
26131         * misc/efgcvt.c: Likewise.
26132         * misc/error.c: Likewise.
26133         * misc/fstab.c: Likewise.
26134         * misc/getpass.c: Likewise.
26135         * misc/mntent.c: Likewise.
26136         * misc/syslog.c: Likewise.
26137         * nis/nis_call.c: Likewise.
26138         * nis/nis_callback.c: Likewise.
26139         * nis/nss-default.c: Likewise.
26140         * nis/nss_compat/compat-grp.c: Likewise.
26141         * nis/nss_compat/compat-initgroups.c: Likewise.
26142         * nis/nss_compat/compat-pwd.c: Likewise.
26143         * nis/nss_compat/compat-spwd.c: Likewise.
26144         * nis/nss_nis/nis-alias.c: Likewise.
26145         * nis/nss_nis/nis-ethers.c: Likewise.
26146         * nis/nss_nis/nis-grp.c: Likewise.
26147         * nis/nss_nis/nis-hosts.c: Likewise.
26148         * nis/nss_nis/nis-network.c: Likewise.
26149         * nis/nss_nis/nis-proto.c: Likewise.
26150         * nis/nss_nis/nis-pwd.c: Likewise.
26151         * nis/nss_nis/nis-rpc.c: Likewise.
26152         * nis/nss_nis/nis-service.c: Likewise.
26153         * nis/nss_nis/nis-spwd.c: Likewise.
26154         * nis/nss_nisplus/nisplus-alias.c: Likewise.
26155         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
26156         * nis/nss_nisplus/nisplus-grp.c: Likewise.
26157         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
26158         * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
26159         * nis/nss_nisplus/nisplus-network.c: Likewise.
26160         * nis/nss_nisplus/nisplus-proto.c: Likewise.
26161         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
26162         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
26163         * nis/nss_nisplus/nisplus-service.c: Likewise.
26164         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
26165         * nis/ypclnt.c: Likewise.
26166         * nptl/libc_pthread_init.c: Likewise.
26167         * nss/getXXbyYY.c: Likewise.
26168         * nss/getXXent.c: Likewise.
26169         * nss/getXXent_r.c: Likewise.
26170         * nss/nss_db/db-XXX.c: Likewise.
26171         * nss/nss_db/db-netgrp.c: Likewise.
26172         * nss/nss_db/nss_db.h: Likewise.
26173         * nss/nss_files/files-XXX.c: Likewise.
26174         * nss/nss_files/files-alias.c: Likewise.
26175         * nss/nsswitch.c: Likewise.
26176         * posix/regex_internal.h: Likewise.
26177         * posix/wordexp.c: Likewise.
26178         * pwd/fgetpwent.c: Likewise.
26179         * resolv/res_hconf.c: Likewise.
26180         * resolv/res_libc.c: Likewise.
26181         * shadow/fgetspent.c: Likewise.
26182         * shadow/lckpwdf.c: Likewise.
26183         * shadow/sgetspent.c: Likewise.
26184         * socket/opensock.c: Likewise.
26185         * stdio-common/reg-modifier.c: Likewise.
26186         * stdio-common/reg-printf.c: Likewise.
26187         * stdio-common/reg-type.c: Likewise.
26188         * stdio-common/vfprintf.c: Likewise.
26189         * stdio-common/vfscanf.c: Likewise.
26190         * stdlib/abort.c: Likewise.
26191         * stdlib/cxa_atexit.c: Likewise.
26192         * stdlib/fmtmsg.c: Likewise.
26193         * stdlib/random.c: Likewise.
26194         * stdlib/setenv.c: Likewise.
26195         * string/strsignal.c: Likewise.
26196         * sunrpc/auth_none.c: Likewise.
26197         * sunrpc/bindrsvprt.c: Likewise.
26198         * sunrpc/create_xid.c: Likewise.
26199         * sunrpc/key_call.c: Likewise.
26200         * sunrpc/rpc_thread.c: Likewise.
26201         * sysdeps/arm/backtrace.c: Likewise.
26202         * sysdeps/generic/ldsodefs.h: Likewise.
26203         * sysdeps/generic/stdio-lock.h: Likewise.
26204         * sysdeps/generic/unwind-dw2-fde.c: Likewise.
26205         * sysdeps/i386/backtrace.c: Likewise.
26206         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
26207         * sysdeps/m68k/backtrace.c: Likewise.
26208         * sysdeps/mach/hurd/cthreads.c: Likewise.
26209         * sysdeps/mach/hurd/dirstream.h: Likewise.
26210         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
26211         * sysdeps/nptl/malloc-machine.h: Likewise.
26212         * sysdeps/nptl/stdio-lock.h: Likewise.
26213         * sysdeps/posix/dirstream.h: Likewise.
26214         * sysdeps/posix/getaddrinfo.c: Likewise.
26215         * sysdeps/posix/system.c: Likewise.
26216         * sysdeps/pthread/aio_suspend.c: Likewise.
26217         * sysdeps/s390/s390-32/backtrace.c: Likewise.
26218         * sysdeps/s390/s390-64/backtrace.c: Likewise.
26219         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
26220         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
26221         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
26222         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
26223         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
26224         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
26225         * sysdeps/unix/sysv/linux/system.c: Likewise.
26226         * sysdeps/x86_64/backtrace.c: Likewise.
26227         * time/alt_digit.c: Likewise.
26228         * time/era.c: Likewise.
26229         * time/tzset.c: Likewise.
26230         * wcsmbs/wcsmbsload.c: Likewise.
26231         * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
26232         instead of <bits/libc-lock.h> in comment.
26234 2015-09-08  Andrew Bennett  <andrew.bennett@imgtec.com>
26236         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
26237         Only use .set mips2 if the current ISA is below mips2.
26238         * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
26239         Likewise.
26240         * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
26241         mips32r2 if the current ISA is below mips32r2.
26242         * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
26243         (TLS_IE): Updated to use the TLD_RDHWR macro.
26244         (TLS_LE): Likewise.
26245         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
26246         __ASSEMBLER__ condition.
26248 2015-09-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
26250         Fix parallel build of before-compile targets.
26252         * sysdeps/mach/Makefile ($(patsubst
26253         mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
26254         mach-before-compile target.
26255         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
26256         io fs process)): Move rule to dedicated hurd-before-compile target.
26258 2015-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
26260         Fix rules generating headers in hurd/ and mach/ when initial make call
26261         has subdir= explicitly set.
26263         * sysdeps/mach/Makefile ($(patsubst
26264         mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
26265         calling $(MAKE).
26266         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
26267         io fs process)): Force subdir to hurd when calling $(MAKE).
26268         ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
26269         subdir to mach when calling $(MAKE).
26271 2015-09-06  Manolis Ragkousis  <manolis837@gmail.com>
26273         Check sysheaders when looking for Mach and Hurd headers
26275         * sysdeps/mach/configure.ac: Add sysheaders check.
26276         * sysdeps/mach/configure: Regenerate.
26277         * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
26278         * sysdeps/mach/hurd/configure: Regenerate.
26280 2015-09-04  Roland McGrath  <roland@hack.frob.com>
26282         [BZ #18921]
26283         * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
26284         Fix inverted sense of test of 'o_directory_works' value.
26285         Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
26286         Bernhard Voelker <mail@bernhard-voelker.de>.
26288 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
26290         [BZ #14912]
26291         * bits/linkmap.h: Move to ...
26292         * sysdeps/generic/linkmap.h: ...here.
26293         * sysdeps/aarch64/bits/linkmap.h: Move to ...
26294         * sysdeps/aarch64/linkmap.h: ...here.
26295         * sysdeps/arm/bits/linkmap.h: Move to ...
26296         * sysdeps/arm/linkmap.h: ...here.
26297         * sysdeps/hppa/bits/linkmap.h: Move to ...
26298         * sysdeps/hppa/linkmap.h: ...here.
26299         * sysdeps/ia64/bits/linkmap.h: Move to ...
26300         * sysdeps/ia64/linkmap.h: ...here.
26301         * sysdeps/mips/bits/linkmap.h: Move to ...
26302         * sysdeps/mips/linkmap.h: ...here.
26303         * sysdeps/s390/bits/linkmap.h: Move to ...
26304         * sysdeps/s390/linkmap.h: ...here.
26305         * sysdeps/sh/bits/linkmap.h: Move to ...
26306         * sysdeps/sh/linkmap.h: ...here.
26307         * sysdeps/x86/bits/linkmap.h: Move to ...
26308         * sysdeps/x86/linkmap.h: ...here.
26309         * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
26311 2015-09-04  Andreas Schwab  <schwab@suse.de>
26313         [BZ #18635]
26314         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
26315         (__makecontext): Terminate FDE before return label.
26316         (__novec_makecontext): Likewise.
26318 2015-09-04  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
26320         * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
26321         first member of struct sv in syscall macro.
26323 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
26325         [BZ #14912]
26326         * bits/stdio-lock.h: Move to ...
26327         * sysdeps/generic/stdio-lock.h: ...here.
26328         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
26329         * sysdeps/nptl/bits/stdio-lock.h: Move to ...
26330         * sysdeps/nptl/stdio-lock.h: ...here.
26331         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
26332         * include/libio.h: Include <stdio-lock.h> instead of
26333         <bits/stdio-lock.h>.
26334         * sysdeps/nptl/fork.c: Likewise.
26335         * sysdeps/pthread/flockfile.c: Likewise.
26336         * sysdeps/pthread/ftrylockfile.c: Likewise.
26337         * sysdeps/pthread/funlockfile.c: Likewise.
26339         [BZ #14912]
26340         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
26341         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
26342         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
26343         <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
26344         * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
26345         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
26346         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
26348 2015-09-03  Roland McGrath  <roland@hack.frob.com>
26350         * elf/Makefile (test-xfail-tst-protected1a): New variable.
26351         (test-xfail-tst-protected1b): New variable.
26353 2015-09-03  Joseph Myers  <joseph@codesourcery.com>
26355         [BZ #14912]
26356         * bits/libc-tsd.h: Move to ...
26357         * sysdeps/generic/libc-tsd.h: ...here.
26358         (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
26359         * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
26360         * sysdeps/mach/hurd/libc-tsd.h: ...here.
26361         (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
26362         * include/ctype.h: Include <libc-tsd.h> instead of
26363         <bits/libc-tsd.h>.
26364         * include/rpc/rpc.h: Likewise.
26365         * locale/localeinfo.h: Likewise.
26366         * sunrpc/rpc_thread.c: Likewise.
26367         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
26368         * sysdeps/nptl/malloc-machine.h: Likewise.
26370         * Makefile (headers): Remove bits/libc-lock.h.
26371         * libio/Makefile (headers): Remove bits/stdio-lock.h.
26373         * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
26374         <bits/stdio-lock.h> and commented-out include of <comthread.h>.
26375         * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
26376         <bits/stdio-lock.h>.
26377         * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
26378         * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
26380 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
26382         [BZ #18757]
26383         * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
26384         * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
26385         BZ #18757.
26387 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
26389         * malloc/mtrace.pl: Filter out NULL entries.
26391 2015-09-01  Joseph Myers  <joseph@codesourcery.com>
26393         * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
26394         * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
26395         macro.
26397         * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
26398         (TCP_CC_INFO): Likewise.
26399         (TCP_SAVE_SYN): Likewise.
26400         (TCP_SAVED_SYN): Likewise.
26402 2015-08-31  Brett Neumeier <brett@neumeier.us>
26404         [BZ #18870]
26405         * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
26407 2015-08-31  Paul Eggert  <eggert@cs.ucla.edu>
26409         [BZ #18873]
26410         Fix broken overflow check in posix_fallocate
26411         * sysdeps/posix/posix_fallocate.c (posix_fallocate):
26412         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
26413         Fix parenthesization typo.
26415 2015-08-28  Mike Frysinger  <vapier@gentoo.org>
26417         [BZ #18887]
26418         * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
26419         tst-mntent-blank-passno.
26420         * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
26421         * misc/tst-mntent-blank-corrupt.c: New test.
26422         * misc/tst-mntent-blank-passno.c: New test ripped from ...
26423         * misc/tst-mntent.c (do_test): ... here.
26425 2015-08-29  Mike Frysinger  <vapier@gentoo.org>
26427         [BZ #4404]
26428         * po/de.po: Fix SIGALRM typo.
26430 2015-08-28  James Perkins  <james@loowit.net>
26432         * time/tst-strptime2.c (tests): Replace short list of test
26433         strings for strptime %z specifier with code which exhaustively
26434         tests every combination of sign and 0 to 5 digits. Tests for
26435         rejection of invalid strings.
26437 2015-08-28  James Perkins  <james@loowit.net>
26439         [BZ #16141]
26440         * time/strptime_l.c (__strptime_internal): Fix %z minutes
26441         calculation, removing incorrect decimal time rounding, so that
26442         all minute values result in a valid seconds value.
26443         * time/strptime_l.c (__strptime_internal): Extend %z time zone
26444         offset range limits to UTC-99:59 through UTC+99:59 to parse
26445         current and historical use cases.
26446         * time/tst-strptime2.c (tests): Modify and add tests for the
26447         strptime %z input field descriptor, specifically conversion of
26448         minutes to seconds and validating an offset range of -9959 to
26449         +9959.
26451 2015-08-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
26452             Dmitry V. Levin  <ldv@altlinux.org>
26454         [BZ #18877]
26455         * posix/Makefile (tests): Add tst-mmap-offset.
26456         * posix/tst-mmap.c: New file.
26457         * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
26458         offset calculation for negative values.
26460 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
26462         * sysdeps/i386/init-arch.h: New file.
26463         * sysdeps/i386/i586/init-arch.h: Likewise.
26464         * sysdeps/i386/i686/init-arch.h: Likewise.
26465         * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
26466         bit if CX8 is available.  Set bit_I686 bit if CMOV is available.
26467         * sysdeps/x86/cpu-features.h (bit_I586): New.
26468         (bit_I686): Likewise.
26469         (bit_CX8): Likewise.
26470         (bit_CMOV): Likewise.
26471         (index_CX8): Likewise.
26472         (index_CMOV): Likewise.
26473         (index_I586): Likewise.
26474         (index_I686): Likewise.
26475         (reg_CX8): Likewise.
26476         (reg_CMOV): Likewise.
26477         (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
26478         available at compile-time.
26479         (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
26480         available at compile-time.
26481         * sysdeps/x86/init-arch.h (USE_I586): New macro.
26482         (USE_I686): Likewise.
26484 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
26486         * sysdeps/i386/bcopy.S: New file.
26487         * sysdeps/i386/bzero.S: Likewise.
26488         * sysdeps/i386/memcpy.S: Likewise.
26489         * sysdeps/i386/memmove.S: Likewise.
26490         * sysdeps/i386/mempcpy.S: Likewise.
26491         * sysdeps/i386/memset.S: Likewise.
26492         * sysdeps/i386/bzero.c: Removed.
26493         * sysdeps/i386/memset.c: Likewise.
26494         * sysdeps/i386/i586/memcpy_chk.S: Likewise.
26495         * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
26496         * sysdeps/i386/i586/memset_chk.S: Likewise.
26497         * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
26498         * sysdeps/i386/memcpy_chk.S: Here.
26499         * sysdeps/i386/i686/memmove_chk.S: Moved to ...
26500         * sysdeps/i386/memmove_chk.S: Here.
26501         * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
26502         * sysdeps/i386/mempcpy_chk.S: Likewise.
26503         * sysdeps/i386/i686/memset_chk.S: Moved to ...
26504         * sysdeps/i386/memset_chk.S: Likewise.
26506 2015-08-27  Steve Ellcey  <sellcey@imgtec.com>
26508         * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
26509         Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
26510         file, move DIAG_POP_NEEDS_COMMENT to end of file.
26511         * soft-fp/fmadf4.c: Ditto.
26512         * soft-fp/fmatf4.c: Ditto.
26514 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
26516         * sysdeps/i386/i586/Implies: Removed.
26517         * sysdeps/i386/i686/Implies: Likewise.
26519 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
26521         * sysdeps/i386/i486/strlen.S: Moved to ...
26522         * sysdeps/i386/strlen.S: Here.
26524 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
26526         * sysdeps/i386/i486/strcat.S: Moved to ...
26527         * sysdeps/i386/strcat.S: Here.
26529 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
26531         * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
26532         * sysdeps/i386/pthread_spin_trylock.S: Here.
26533         * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
26534         * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
26536 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
26538         * sysdeps/i386/i486/string-inlines.c: Moved to ...
26539         * sysdeps/i386/string-inlines.c: Here.
26541 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
26543         * sysdeps/i386/i486/htonl.S: Moved ...
26544         * sysdeps/i386/htonl.S: here.
26546 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
26548         * sysdeps/i386/i486/bits/atomic.h: Moved to ...
26549         * sysdeps/i386/bits/atomic.h: Here.
26551 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
26553         * sysdeps/i386/i486/Versions: Removed.
26555 2015-08-27  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
26557         [BZ #2898]
26558         * misc/mktemp.c: Add mkdtemp to the link_warning message.
26559         Based on patch by Aurelien Jarno.
26561 2015-08-26  Stan Shebs  <stanshebs@google.com>
26563         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
26564         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
26566 2015-08-26  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
26568         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
26569         * sysdeps/powerpc/dl-procinfo.c:
26570         (_dl_powerpc_cap_flags): Added descriptor for this hwcap
26571         feature so it shows when LD_SHOW_AUXV=1.
26573 2015-08-26  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
26575         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
26576         (__arch_compare_and_exchange_val_32_acq): Remove and use common
26577         definition.  ISA 2.07B no longer requires full sync.
26579 2015-08-26  Mike Frysinger  <vapier@gentoo.org>
26581         [BZ #18863]
26582         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
26583         (si_call_addr): Define.
26584         (si_syscall): Define.
26585         (si_arch): Define.
26587 2015-08-26  H.J. Lu  <hongjiu.lu@intel.com>
26589         * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
26590         * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
26591         * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
26592         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
26593         (__memset_zero_constant_len_parameter): New.
26594         * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
26595         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
26596         (__memset_zero_constant_len_parameter): Don't define if
26597         __memset_chk or USE_AS_BZERO are defined.
26599         * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
26600         Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
26601         * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
26603         * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
26604         tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
26605         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
26606         tests-special, $(objpfx)tst-ld-sse-use.out): Here.  Update
26607         comments.
26608         * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
26609         -mno-mmx for $(all-rtld-routines).
26610         * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
26611         * sysdeps/i386/tst-ld-sse-use.sh: Here.  Replace x86-64 with
26612         i386.
26614 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
26616         * sysdeps/generic/unwind.h
26617         (_Unwind_Word): Use __mode__(__unwind_word__)
26618         instead of __mode__(__word__).
26619         (_Unwind_Sword): Likewise.
26621         * sysdeps/s390/s390-64/utf8-utf16-z9.c
26622         (MAX_NEEDED_INPUT): New define.
26623         (MAX_NEEDED_OUTPUT): New define.
26625         * NEWS: New item for IBM z13 string optimizations.
26627         * sysdeps/s390/multiarch/memrchr-c.c: New File.
26628         * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
26629         * sysdeps/s390/multiarch/memrchr.c: Likewise.
26630         * sysdeps/s390/multiarch/Makefile
26631         (sysdep_routines): Add memrchr functions.
26632         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
26633         (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
26635         * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
26636         * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
26637         * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
26638         * sysdeps/s390/multiarch/Makefile
26639         (sysdep_routines): Add wmemcmp functions.
26640         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
26641         (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
26642         * benchtests/bench-wmemcmp.c: New File.
26643         * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
26645         * sysdeps/s390/multiarch/wmemset-c.c: New File.
26646         * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
26647         * sysdeps/s390/multiarch/wmemset.c: Likewise.
26648         * sysdeps/s390/multiarch/Makefile
26649         (sysdep_routines): Add wmemset functions.
26650         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
26651         (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
26652         * wcsmbs/wmemset.c: Use WMEMSET if defined.
26653         * string/test-memset.c: Add wmemset support.
26654         * wcsmbs/test-wmemset.c: New File.
26655         * wcsmbs/Makefile (strop-tests): Add wmemset.
26656         * benchtests/bench-memset.c: Add wmemset support.
26657         * benchtests/bench-wmemset.c: New File.
26658         * benchtests/Makefile (wcsmbs-bench): Add wmemset.
26660         * sysdeps/s390/multiarch/memccpy-c.c: New File.
26661         * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
26662         * sysdeps/s390/multiarch/memccpy.c: Likewise.
26663         * sysdeps/s390/multiarch/Makefile
26664         (sysdep_routines): Add memccpy functions.
26665         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
26666         (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
26667         * string/memccpy.c: Use MEMCCPY if defined.
26669         * sysdeps/s390/multiarch/memchr-vx.S: New File.
26670         * sysdeps/s390/multiarch/memchr.c: Likewise.
26671         * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
26672         * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
26673         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
26674         * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
26675         * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
26676         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
26677         * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
26678         * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
26679         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
26680         and rawmemchr functions.
26681         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
26682         (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
26683         and wmemchr.
26684         * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
26685         * string/test-memchr.c: Add wmemchr support.
26686         * wcsmbs/test-wmemchr.c: New File.
26687         * wcsmbs/Makefile (strop-tests): Add wmemchr.
26688         * benchtests/bench-memchr.c: Add wmemchr support.
26689         * benchtests/bench-wmemchr.c: New File.
26690         * benchtests/Makefile (wcsmbs-bench): wmemchr.
26692         * sysdeps/s390/multiarch/strcspn-c.c: New File.
26693         * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
26694         * sysdeps/s390/multiarch/strcspn.c: Likewise.
26695         * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
26696         * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
26697         * sysdeps/s390/multiarch/wcscspn.c: Likewise.
26698         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
26699         wcscspn functions.
26700         * sysdeps/s390/multiarch/ifunc-impl-list.c
26701         (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
26702         * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
26703         * string/test-strcspn.c: Add wcscspn support.
26704         * wcsmbs/test-wcscspn.c: New File.
26705         * wcsmbs/Makefile (strop-tests): Add wcscspn.
26706         * benchtests/bench-strcspn.c: Add wcscspn support.
26707         * benchtests/bench-wcscspn.c: New File.
26708         * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
26710         * sysdeps/s390/multiarch/strpbrk-c.c: New File.
26711         * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
26712         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
26713         * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
26714         * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
26715         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
26716         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
26717         wcspbrk functions.
26718         * sysdeps/s390/multiarch/ifunc-impl-list.c
26719         (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
26720         * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
26721         * string/test-strpbrk.c: Add wcspbrk support.
26722         * wcsmbs/test-wcspbrk.c: New File.
26723         * wcsmbs/Makefile (strop-tests): Add wcspbrk.
26724         * benchtests/bench-strpbrk.c: Add wcspbrk support.
26725         * benchtests/bench-wcspbrk.c: New File.
26726         * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
26728         * sysdeps/s390/multiarch/strspn-c.c: New File.
26729         * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
26730         * sysdeps/s390/multiarch/strspn.c: Likewise.
26731         * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
26732         * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
26733         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
26734         * wcsmbs/wcsspn.c: Use WCSSPN if defined.
26735         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
26736         wcsspn functions.
26737         * sysdeps/s390/multiarch/ifunc-impl-list.c
26738         (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
26739         * string/test-strspn.c: Add wcsspn support.
26740         * wcsmbs/test-wcsspn.c: New File.
26741         * wcsmbs/Makefile (strop-tests): Add wcsspn.
26742         * benchtests/bench-strspn.c: Add wcsspn support.
26743         * benchtests/bench-wcsspn.c: New File.
26744         * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
26746         * sysdeps/s390/multiarch/strrchr-c.c: New File.
26747         * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
26748         * sysdeps/s390/multiarch/strrchr.c: Likewise.
26749         * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
26750         * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
26751         * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
26752         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
26753         wcsrchr functions.
26754         * sysdeps/s390/multiarch/ifunc-impl-list.c
26755         (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
26756         * benchtests/bench-wcsrchr.c: New File.
26757         * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
26759         * sysdeps/s390/multiarch/strchrnul-c.c: New File.
26760         * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
26761         * sysdeps/s390/multiarch/strchrnul.c: Likewise.
26762         * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
26763         * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
26764         * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
26765         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
26766         wcschrnul functions.
26767         * sysdeps/s390/multiarch/ifunc-impl-list.c
26768         (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
26769         * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
26770         * string/test-strchr.c: Add wcschrnul support.
26771         * wcsmbs/test-wcschrnul.c: New File.
26772         * wcsmbs/Makefile (strop-tests): Add wcschrnul.
26773         * benchtests/bench-strchr.c: Add wcschrnul support.
26774         * benchtests/bench-wcschrnul.c: New File.
26775         * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
26777         * sysdeps/s390/multiarch/strchr-c.c: New File.
26778         * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
26779         * sysdeps/s390/multiarch/strchr.c: Likewise.
26780         * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
26781         * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
26782         * sysdeps/s390/multiarch/wcschr.c: Likewise.
26783         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
26784         wcschr functions.
26785         * sysdeps/s390/multiarch/ifunc-impl-list.c
26786         (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
26787         * string/strchr.c (STRCHR): Define and use macro.
26788         * benchtests/bench-wcschr.c: New File.
26789         * benchtests/Makefile (wcsmbs-bench): Add wcschr.
26791         * sysdeps/s390/multiarch/strncmp-c.c: New File.
26792         * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
26793         * sysdeps/s390/multiarch/strncmp.c: Likewise.
26794         * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
26795         * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
26796         * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
26797         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
26798         wcsncmp functions.
26799         * sysdeps/s390/multiarch/ifunc-impl-list.c
26800         (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
26801         * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
26802         * benchtests/bench-strncmp.c: Add wcsncmp support.
26803         * benchtests/bench-wcsncmp.c: New File.
26804         * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
26806         * sysdeps/s390/multiarch/strcmp-vx.S: New File.
26807         * sysdeps/s390/multiarch/strcmp.c: Likewise.
26808         * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
26809         * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
26810         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
26811         * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
26812         * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
26813         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
26814         wcscmp functions.
26815         * sysdeps/s390/multiarch/ifunc-impl-list.c
26816         (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
26817         * string/strcmp.c (STRCMP): Define and use macro.
26818         * benchtests/bench-wcscmp.c: New File.
26819         * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
26820         * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
26821         instead of _HAVE_STRING_ARCH_memchr.
26823         * sysdeps/s390/multiarch/strncat-c.c: New File.
26824         * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
26825         * sysdeps/s390/multiarch/strncat.c: Likewise.
26826         * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
26827         * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
26828         * sysdeps/s390/multiarch/wcsncat.c: Likewise.
26829         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
26830         wcsncat functions.
26831         * sysdeps/s390/multiarch/ifunc-impl-list.c
26832         (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
26833         * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
26834         * string/test-strncat.c: Add wcsncat support.
26835         * wcsmbs/test-wcsncat.c: New File.
26836         * wcsmbs/Makefile (strop-tests): Add wcsncat.
26837         * benchtests/bench-strncat.c: Add wcsncat support.
26838         * benchtests/bench-wcsncat.c: New File.
26839         * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
26841         * sysdeps/s390/multiarch/strcat-c.c: New File.
26842         * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
26843         * sysdeps/s390/multiarch/strcat.c: Likewise.
26844         * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
26845         * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
26846         * sysdeps/s390/multiarch/wcscat.c: Likewise.
26847         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
26848         wcscat functions.
26849         * sysdeps/s390/multiarch/ifunc-impl-list.c
26850         (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
26851         * string/strcat.c (STRCAT): Define and use macro.
26852         * wcsmbs/wcscat.c: Use WCSCAT if defined.
26853         * string/test-strcat.c: Add wcscat support.
26854         * wcsmbs/test-wcscat.c: New File.
26855         * wcsmbs/Makefile (strop-tests): Add wcscat.
26856         * benchtests/bench-strcat.c: Add wcscat support.
26857         * benchtests/bench-wcscat.c: New File.
26858         * benchtests/Makefile (wcsmbs-bench): Add wcscat.
26860         * sysdeps/s390/multiarch/stpncpy-c.c: New File.
26861         * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
26862         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
26863         * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
26864         * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
26865         * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
26866         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
26867         wcpncpy functions.
26868         * sysdeps/s390/multiarch/ifunc-impl-list.c
26869         (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
26870         * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
26871         * string/test-stpncpy.c: Add wcpncpy support.
26872         * wcsmbs/test-wcpncpy.c: New File.
26873         * wcsmbs/Makefile (strop-tests): Add wcpncpy.
26874         * benchtests/bench-stpncpy.c: Add wcpncpy support.
26875         * benchtests/bench-wcpncpy.c: New File.
26876         * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
26878         * sysdeps/s390/multiarch/strncpy-vx.S: New File.
26879         * sysdeps/s390/multiarch/strncpy.c: Likewise.
26880         * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
26881         * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
26882         * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
26883         * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
26884         * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
26885         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
26886         wcsncpy functions.
26887         * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
26888         * sysdeps/s390/multiarch/ifunc-impl-list.c
26889         (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
26890         * string/test-strncpy.c: Add wcsncpy support.
26891         * wcsmbs/test-wcsncpy.c: New File.
26892         * wcsmbs/Makefile (strop-tests): Add wcsncpy.
26893         * benchtests/bench-strncpy.c: Add wcsncpy support.
26894         * benchtests/bench-wcsncpy.c: New File.
26895         * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
26897         * sysdeps/s390/multiarch/stpcpy-c.c: New File.
26898         * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
26899         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
26900         * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
26901         * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
26902         * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
26903         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
26904         wcpcpy functions.
26905         * string/stpcpy.c: Use STPCPY if defined.
26906         * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
26907         * sysdeps/s390/multiarch/ifunc-impl-list.c
26908         (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
26909         * string/test-stpcpy.c: Add wcpcpy support.
26910         * wcsmbs/test-wcpcpy.c: New File.
26911         * wcsmbs/Makefile (strop-tests): Add wcpcpy.
26912         * benchtests/bench-stpcpy.c: Add wcpcpy support.
26913         * benchtests/bench-wcpcpy.c: New File.
26914         * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
26916         * sysdeps/s390/multiarch/strcpy-vx.S: New File.
26917         * sysdeps/s390/multiarch/strcpy.c: Likewise.
26918         * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
26919         * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
26920         * sysdeps/s390/multiarch/wcscpy.c: Likewise.
26921         * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
26922         * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
26923         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
26924         wcscpy functions.
26925         * sysdeps/s390/multiarch/ifunc-impl-list.c
26926         (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
26927         * benchtests/bench-wcscpy.c: New File.
26928         * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
26930         * sysdeps/s390/multiarch/strnlen-c.c: New File.
26931         * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
26932         * sysdeps/s390/multiarch/strnlen.c: Likewise.
26933         * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
26934         * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
26935         * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
26936         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
26937         wcsnlen functions.
26938         * sysdeps/s390/multiarch/ifunc-impl-list.c
26939         (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
26940         * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
26941         * string/test-strnlen.c: Add wcsnlen support.
26942         * wcsmbs/test-wcsnlen.c: New File.
26943         * wcsmbs/Makefile (strop-tests): Add wcsnlen.
26944         * benchtests/bench-strnlen.c: Add wcsnlen support.
26945         * benchtests/bench-wcsnlen.c: New File.
26946         * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
26948         * sysdeps/s390/multiarch/Makefile: New File.
26949         * sysdeps/s390/multiarch/strlen-c.c: Likewise.
26950         * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
26951         * sysdeps/s390/multiarch/strlen.c: Likewise.
26952         * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
26953         * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
26954         * sysdeps/s390/multiarch/wcslen.c: Likewise.
26955         * string/strlen.c (STRLEN): Define and use macro.
26956         * sysdeps/s390/multiarch/ifunc-impl-list.c
26957         (IFUNC_VX_IMPL): New macro function.
26958         (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
26959         * benchtests/Makefile (wcsmbs-bench): New variable.
26960         (string-bench-all): Added wcsmbs-bench.
26961         * benchtests/bench-wcslen.c: New File.
26963         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
26964         s390_vx_libc_ifunc2): New macro function.
26966         * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
26967         * sysdeps/s390/configure.ac: Add test for S390 vector instruction
26968         assembler support.
26969         * sysdeps/s390/configure: Regenerated.
26971         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
26972         * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
26974         * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
26975         * sysdeps/s390/dl-procinfo.h: Add vector capability.
26976         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
26978         * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
26979         Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
26980         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
26981         * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
26982         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
26983         (memcmp, bcmp): Use __memcmp_default as alias source.
26984         * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
26985         * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
26986         Rename to __memcmp_default.
26987         * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
26988         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
26989         (memcpy): Use __memcpy_default as alias source.
26990         * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
26991         * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
26992         Rename to __memcpy_default.
26993         * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
26994         * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
26995         (memset): Use __memset_default as alias source.
26996         * sysdeps/s390/s390-32/multiarch/memset.c: New File.
26997         * sysdeps/s390/s390-32/memset.S (__memset_g5):
26998         Rename to __memset_default.
26999         * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
27000         Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
27001         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
27002         * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
27003         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
27004         (memcmp, bcmp): Use __memcmp_default as alias source.
27005         * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
27006         * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
27007         Rename to __memcmp_default.
27008         * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
27009         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
27010         (memcpy): Use __memcpy_default as alias source.
27011         * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
27012         * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
27013         Rename to __memcpy_default.
27014         * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
27015         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
27016         (memset): Use __memset_default as alias source.
27017         * sysdeps/s390/s390-64/multiarch/memset.c: New File.
27018         * sysdeps/s390/s390-64/memset.S (__memset_z900):
27019         Rename to __memset_default.
27020         * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
27021         * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
27023         [BZ #18610]
27024         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
27025         __ieee_instruction_pointer to __unused.
27026         * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
27027         __ieee_instruction_pointer.
27028         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
27029         * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
27030         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
27031         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
27032         * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
27033         Mark dxc-field as reserved.
27035 2015-08-25  Roland McGrath  <roland@hack.frob.com>
27037         * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
27038         if the weak reference is not null.
27040 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
27042         * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
27044         [BZ #11214]
27045         * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
27047 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
27049         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
27050         * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
27051         * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
27052         * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
27053         * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
27054         * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
27055         * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
27056         * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
27057         * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
27058         * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
27059         * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
27060         * sysdeps/unix/sysv/linux/send.c: Call direct system call.
27061         * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
27062         * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
27063         * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
27064         * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
27065         * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
27066         * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
27068 2015-08-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
27070         * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
27071         register other than r0 for tabort, it has special meaning.
27072         * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise.
27073         * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
27074         transaction before starting syscall.
27076 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
27078         * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
27080 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
27082         * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
27084         * sysdeps/x86_64/rtld-memcmp.c: Removed.
27085         * sysdeps/x86_64/rtld-memset.S: Likewise.
27086         * sysdeps/x86_64/rtld-strchr.S: Likewise.
27087         * sysdeps/x86_64/rtld-strlen.S: Likewise.
27088         * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
27089         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
27091         * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
27093 2015-08-25  Ondřej Bílka  <neleai@seznam.cz>
27095         * debug/strcpy_chk.c: Improve performance.
27096         * debug/stpcpy_chk.c: Likewise.
27097         * sysdeps/x86_64/strcpy_chk.S: Remove.
27098         * sysdeps/x86_64/stpcpy_chk.S: Remove.
27100         [BZ #18240]
27101         * misc/hsearch_r.c (__hcreate_r): Handle overflow.
27103 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
27105         [BZ #15128]
27106         * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
27107         ifuncmain8.
27108         (modules-names): Add ifuncmod8.
27109         ($(objpfx)ifuncmain8): New rule.
27110         * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
27111         <cpuid.h>.
27112         (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
27113         _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
27114         _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
27115         _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
27116         * sysdeps/x86_64/dl-trampoline.S: Rewrite.
27117         * sysdeps/x86_64/dl-trampoline.h: Likewise.
27118         * sysdeps/x86_64/ifuncmain8.c: New file.
27119         * sysdeps/x86_64/ifuncmod8.c: Likewise.
27120         * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
27121         Removed.
27122         * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
27123         (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
27124         Change rtld_savespace_sse to __glibc_unused2.
27125         (RTLD_CHECK_FOREIGN_CALL): Removed.
27126         (RTLD_ENABLE_FOREIGN_CALL): Likewise.
27127         (RTLD_PREPARE_FOREIGN_CALL): Likewise.
27128         (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
27130 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
27132         * sysdeps/aarch64/bzero.S (__bzero): Remove.
27134 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
27136         * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
27137         Unconditionally set __fpcr to avoid uninialized warning.
27138         (libc_feholdsetround_noex_aarch64_ctx): Likewise.
27140 2015-08-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
27142         * malloc/arena.c (arena_get_retry): Don't use main_arena if it
27143         is corrupt.
27145         * malloc/arena.c (arena_get2): Drop unused argument.
27146         (arena_lock): Adjust.
27147         (arena_get_retry): Likewise.
27149 2015-08-24  Andreas Schwab  <schwab@suse.de>
27151         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
27152         Don't define.
27153         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
27154         (__ASSUME_IPC64): Don't undef.
27155         * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
27156         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
27157         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
27158         * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
27159         * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
27160         * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
27161         * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
27162         * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
27163         * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
27164         * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
27165         * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
27166         * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
27167         * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
27168         * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
27169         * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
27170         * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
27171         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
27172         * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
27173         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
27174         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
27175         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
27177 2015-08-21  Mike Frysinger  <vapier@gentoo.org>
27179         * manual/Makefile (install): Only build manual when perl is available.
27181 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
27183         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
27184         '#undef memcpy' by '#undef memchr'.
27186 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
27188         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
27189         memchr not point to the internal __GI_memchr implementation.
27191 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
27193         * timezone/Makefile (CFLAGS-zdump.c): Remove
27194         -Wno-strict-prototypes.
27195         (CFLAGS-zic.c): Likewise.
27196         (CFLAGS-ialloc.c): Likewise.
27197         (CFLAGS-scheck.c): Likewise.
27199         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
27200         -Wno-error=undef.
27202 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
27204         * i386/i686/multiarch/strcasestr-c.c: Removed.
27205         * x86_64/multiarch/strcasestr.c: Likewise.
27206         * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
27207         Remove strcasestr.
27209 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
27211         * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
27213         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
27214         variables for high and low parts before possibly modifying them.
27216 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
27218         * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
27219         * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
27220         * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
27221         of "multiarch/init-arch.h".
27222         * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
27223         * sysdeps/x86/init-arch.h: This.
27225 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
27227         * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
27228         * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
27230 2015-08-20  Ondřej Bílka  <neleai@seznam.cz>
27232         [BZ #17787]
27233         * manual/macros.texi: Add twoexp macro.
27234         * manual/filesys.texi: Fix exponents.
27235         * manual/llio.texi: Likewise.
27236         * manual/stdio.texi: Likewise.
27238 2015-08-20  Florian Weimer  <fweimer@redhat.com>
27240         * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
27241         incorrect use.
27243 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
27245         [BZ #18370]
27246         * math/s_csqrt.c (__csqrt): Force underflow exception for results
27247         whose real or imaginary part has small absolute value.
27248         * math/s_csqrtf.c (__csqrtf): Likewise.
27249         * math/s_csqrtl.c (__csqrtl): Likewise.
27250         * math/auto-libm-test-in: Add more tests of csqrt.
27251         * math/auto-libm-test-out: Regenerated.
27252         * sysdeps/i386/fpu/libm-test-ulps: Update.
27254 2015-08-19  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
27256         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
27257         __ppc_set_ppr_very_low): New functions.
27258         * manual/platform.texi: Add documentation about
27259         __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
27261 2015-08-19  Wilco Dijkstra  <wdijkstr@arm.com>
27263         * string/stpncpy.c (stpncpy): Improve performance using
27264         __strnlen/memcpy/memset.
27266 2015-08-19  Andrew Senkevich  <andrew.senkevich@intel.com>
27268         [BZ #18796]
27269         * scripts/test-installation.pl: Don't add -lmvec to build options if
27270         libmvec wasn't built.
27272 2015-08-19   Petar Jovanovic  <petar.jovanovic@rt-rk.com>
27274         [BZ #14341]
27275         * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
27276         case when there is a gap between DT_REL and DT_JMPREL sections.
27277         * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
27278         (LDFLAGS-tst-split-dynreloc): New.
27279         (tst-split-dynreloc-ENV): Likewise.
27280         * sysdeps/x86_64/tst-split-dynreloc.c: New file.
27281         * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
27283 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
27285         [BZ #18822]
27286         * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
27287         attribute_hidden.
27288         (__xstat64_conv): Likewise.
27289         (__xstat32_conv): Likewise.
27291 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
27293         [BZ #18822]
27294         * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
27295         Don't load %ebx when calling __setcontext.  Call __setcontext
27296         with HIDDEN_JUMPTARGET.
27297         * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
27298         libc_hidden_def.
27300 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
27302         * sysdeps/i386/i686/Makefile
27303         [$(subdir) == string] (sysdep_routines): Moved to ...
27304         * sysdeps/i386/Makefile: Here.
27305         * sysdeps/i386/i686/cacheinfo.c: Moved to ...
27306         * sysdeps/i386/cacheinfo.c: Here.
27307         * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
27308         * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
27309         * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
27310         * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
27312 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
27314         * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
27315         __i586__ is defined.
27316         (HAS_I686): Defined to 1 if __i686__ is defined.
27318 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
27320         * elf/Makefile [$(have-z-execstack) = yes]
27321         (CPPFLAGS-tst-execstack.c): New variable.
27323         * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
27324         conditional to [defined UTMPX || _HAVE_UT_TYPE].
27325         [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
27326         UTMPX || _HAVE_UT_TV].
27327         [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
27328         UTMPX || _HAVE_UT_TV - 0].
27330 2015-08-18  Joseph Myers  <joseph@codesourcery.com>
27332         * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
27333         conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
27334         * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
27336 2015-08-18  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
27338         * sysdeps/powerpc/dl-procinfo.c:
27339         (_dl_powerpc_cap_flags): Added missing strings for some
27340         hwcap features.
27341         * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
27343 2015-08-18  Paul Eggert  <eggert@cs.ucla.edu>
27345         Port the 0x7efe...feff pattern to GCC 6.
27346         See Steve Ellcey's bug report in:
27347         https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
27348         * string/memrchr.c (MEMRCHR):
27349         * string/rawmemchr.c (RAWMEMCHR):
27350         * string/strchr.c (strchr):
27351         * string/strchrnul.c (STRCHRNUL):
27352         Rewrite code to avoid issues with signed shift overflow.
27354 2015-08-18  H.J. Lu  <hongjiu.lu@intel.com>
27356         * sysdeps/x86/cpu-features.c (init_cpu_features): Check
27357         whether cpuid is available only if HAS_CPUID is 0.
27358         * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
27359         (HAS_I586): Likewise.
27360         (HAS_I686): Likewise.
27362 2015-08-18  Zack Weinberg  <zackw@panix.com>
27364         * misc/Versions (libc): Add GLIBC_2.23.
27366 2015-08-18  Alan Modra  <amodra@gmail.com>
27368         [BZ #18421]
27369         * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
27370         .Lp__global.
27371         (_start): Load %dp via .Lp__global.
27372         [!SHARED]: Use .section .rodata.
27374 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
27376         * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
27377         * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
27379 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
27381         * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
27382         * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
27384 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
27386         * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
27387         * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
27389 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
27391         * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
27392         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
27394 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
27396         * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
27397         * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
27399 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
27401         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
27402         SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
27404 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
27406         * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
27408 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
27410         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
27411         kernel-features.h include.  Delete __ASSUME_LWS_CAS checks.
27412         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
27413         (__ASSUME_LWS_CAS): Delete.
27415 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
27417         * sysdeps/hppa/configure.ac: Delete binutils tls checks.
27418         * sysdeps/hppa/configure: Regenerated.
27419         * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
27420         * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
27421         * sysdeps/hppa/nptl/tls.h: Likewise.
27423 2015-08-17  Joseph Myers  <joseph@codesourcery.com>
27425         [BZ #18823]
27426         * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
27427         for scaling up small arguments.
27428         * math/s_csqrtf.c (__csqrtf): Likewise.
27429         * math/s_csqrtl.c (__csqrtl): Likewise.
27430         * math/auto-libm-test-in: Add more tests of csqrt.
27431         * math/auto-libm-test-out: Regenerated.
27433 2015-08-17  Andreas Schwab  <schwab@suse.de>
27435         * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
27436         version set GLIBC_2.19.
27438 2015-08-16  Zack Weinberg  <zackw@panix.com>
27440         [BZ #18681]
27441         * misc/regexp.h: This interface is no longer supported.
27442         Remove all contents, leaving only an #error directive.
27443         * misc/regexp.c (loc1, loc2, locs, step, advance):
27444         Demote to compatibility symbols.
27446 2015-08-15  Paul Pluzhnikov  <ppluzhnikov@google.com>
27448         [BZ #18084]
27449         * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
27450         * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
27451         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
27452         * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
27453         * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
27454         * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
27455         * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
27456         * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
27457         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
27459 2015-08-15  Zack Weinberg  <zackw@panix.com>
27461         [BZ #18795]
27462         * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
27463         buffer length is known to be too large, not if it's known to be
27464         small enough.
27465         * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
27466         overflow at runtime, involving a length parameter, twice: once
27467         with a compile-time constant length parameter, once without.
27469 2015-08-14  Joseph Myers  <joseph@codesourcery.com>
27471         [BZ #18824]
27472         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
27473         scaling x * y up instead of down.
27474         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
27475         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27476         * math/auto-libm-test-in: Add more tests of fma.
27477         * math/auto-libm-test-out: Regenerated.
27479 2015-08-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
27481         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
27483 2015-08-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
27485         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
27486         unnecessary movq.
27487         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
27488         Likewise.
27490 2015-08-13  Joseph Myers  <joseph@codesourcery.com>
27492         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
27493         asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
27494         exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
27495         and tgamma.
27496         * math/auto-libm-test-out: Regenerated.
27497         * sysdeps/i386/fpu/libm-test-ulps: Update.
27498         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27500         [BZ #16520]
27501         * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
27502         (__tanh): Force underflow exception for arguments with small
27503         absolute value.
27504         * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
27505         (__tanhf): Force underflow exception for arguments with small
27506         absolute value.
27507         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
27508         (__tanhl): Force underflow exception for arguments with small
27509         absolute value.
27510         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
27511         (__tanhl): Force underflow exception for arguments with small
27512         absolute value.
27513         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
27514         (__tanhl): Force underflow exception for arguments with small
27515         absolute value.
27516         * math/auto-libm-test-in: Add more tests of tanh.
27517         * math/auto-libm-test-out: Regenerated.
27518         * sysdeps/i386/fpu/libm-test-ulps: Update.
27520 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
27522         * sysdeps/x86/cpu-features.c (init_cpu_features): Call
27523         __get_cpuid_max if not compiling for i586, i686 nor x86-64.
27525 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
27527         * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
27528         <cpuid.h>.
27530 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
27532         * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
27533         Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
27535 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
27537         * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
27538         Remove $(objpfx)init-arch.o.
27539         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
27540         init-arch.
27541         * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
27542         (INIT_ARCH_EXT): Defined as empty.
27543         (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
27544         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
27545         __init_cpu_features call.  Replace HAS_XXX with
27546         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
27547         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
27548         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
27549         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
27550         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
27551         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
27552         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
27553         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
27554         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
27555         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
27556         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
27557         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
27558         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
27559         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
27560         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
27561         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
27562         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
27563         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
27564         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
27565         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
27566         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
27567         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
27568         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
27569         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
27570         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
27571         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
27572         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
27573         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
27574         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
27575         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
27576         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
27577         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
27578         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
27579         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
27580         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
27581         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
27583 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
27585         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
27586         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
27587         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
27588         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
27589         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
27590         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
27591         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
27592         * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
27593         * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
27594         * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
27595         call.  Merge SHARED and !SHARED.  Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
27596         Use LOAD_FUNC_GOT_EAX to load function address.  Replace HAS_XXX
27597         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
27598         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
27599         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
27600         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
27601         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
27602         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
27603         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
27604         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
27605         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
27606         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
27607         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
27608         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
27609         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
27610         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
27611         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
27612         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
27613         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
27614         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
27615         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
27616         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
27617         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
27618         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
27619         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
27620         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
27621         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
27622         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
27623         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
27624         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
27625         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
27626         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
27627         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
27629 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
27631         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
27632         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
27633         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
27634         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
27635         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
27636         * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
27637         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
27638         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
27639         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
27640         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
27641         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
27642         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
27643         LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
27644         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
27645         * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
27646         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
27647         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
27648         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
27649         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
27650         * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
27651         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
27652         * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
27653         * sysdeps/x86_64/multiarch/strstr.c: Likewise.
27654         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
27655         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
27656         * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
27657         * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
27658         call.  Add LOAD_RTLD_GLOBAL_RO_RDX.  Replace HAS_XXX with
27659         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
27660         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
27661         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
27662         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
27663         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
27664         * sysdeps/x86_64/multiarch/memset.S: Likewise.
27665         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
27666         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
27667         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
27668         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
27669         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
27670         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
27671         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
27672         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
27673         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
27675 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
27677         * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
27678         (dl_platform_init): Call init_cpu_features.
27679         * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
27680         * sysdeps/i386/i686/cacheinfo.c
27681         (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
27682         * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
27683         * sysdeps/i386/i686/multiarch/Versions: Removed.
27684         * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
27685         Removed.
27686         * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
27687         * sysdeps/unix/sysv/linux/x86/Makefile
27688         (libpthread-sysdep_routines): Remove init-arch.
27689         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
27690         <sysdeps/x86_64/dl-procinfo.c> instead of
27691         sysdeps/generic/dl-procinfo.c>.
27692         * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
27693         Add cpu-features-offsets.sym and rtld-global-offsets.sym.
27694         [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
27695         [$(subdir) == elf] (tests): Add tst-get-cpu-features.
27696         [$(subdir) == elf] (tests-static): Add
27697         tst-get-cpu-features-static.
27698         * sysdeps/x86/Versions: New file.
27699         * sysdeps/x86/cpu-features-offsets.sym: Likewise.
27700         * sysdeps/x86/cpu-features.c: Likewise.
27701         * sysdeps/x86/cpu-features.h: Likewise.
27702         * sysdeps/x86/dl-get-cpu-features.c: Likewise.
27703         * sysdeps/x86/libc-start.c: Likewise.
27704         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
27705         * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
27706         * sysdeps/x86/tst-get-cpu-features.c: Likewise.
27707         * sysdeps/x86_64/dl-procinfo.c: Likewise.
27708         * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
27709         Assume USE_MULTIARCH is defined and don't check it.
27710         (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
27711         (is_amd): Likewise.
27712         (max_cpuid): Likewise.
27713         (intel_check_word): Likewise.
27714         (__cache_sysconf): Don't call __init_cpu_features.
27715         (__x86_preferred_memory_instruction): Removed.
27716         (init_cacheinfo): Don't call __init_cpu_features. Replace
27717         __cpu_features with GLRO(dl_x86_cpu_features).
27718         * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
27719         (dl_platform_init): Call init_cpu_features.
27720         * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
27721         * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
27722         * sysdeps/x86_64/multiarch/Versions: Removed.
27723         * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
27724         * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
27725         * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
27726         Removed.
27727         * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
27729 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
27731         [BZ #18820]
27732         * libio/Makefile (test-fmemopen-mem): New test.
27733         * libio/test-fmemopen.c (do_bz18820): New test.
27734         * libio/fmemopen.c (__fmemopen): Fix memory leak.
27735         * libio/oldfmemopen.c (__old_fmemopen): Likewise.
27737 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
27739         [BZ #16734]
27740         * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
27741         (FREE_BUF): Delete.
27742         * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
27743         * libio/genops.c (_IO_setb): Use malloc and free directly.
27744         (_IO_default_doallocate, _IO_default_finish): Likewise.
27745         ( _IO_unbuffer_all): Likewise.
27746         ( libc_freeres_fn): Likewise.
27747         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
27748         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
27749         * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
27750         (_IO_wdefault_doallocate): Likewise.
27752 2015-08-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
27754         [BZ #18086]
27755         * sysdeps/posix/nice.c (nice): Restore old errno.
27756         * posix/tst-nice.c (do_test): Add test for BZ #18086.
27758 2015-08-10  Ondrej Bilka  <neleai@seznam.cz>
27760         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
27762 2015-08-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
27764         * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
27765         __bcopy and add a weak_alias to bcopy.
27766         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
27767         for static build.
27769         * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
27770         cleanup macro usage.
27771         * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
27772         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
27773         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
27774         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
27775         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
27776         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
27777         * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
27778         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
27779         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
27780         * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
27781         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
27782         [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
27783         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
27784         [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
27785         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
27786         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
27787         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
27788         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
27789         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
27791         * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
27792         libc_hidden_def.
27793         (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
27795         * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
27796         (sysdep_routines): Add strstr-ppc64.
27797         * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
27799 2015-08-10  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
27801         [BZ #18778]
27802         * elf/Makefile (tests): Add Add tst-nodelete2.
27803         (modules-names): Add tst-nodelete2mod.
27804         (tst-nodelete2mod.so-no-z-defs): New.
27805         ($(objpfx)tst-nodelete2): Likewise.
27806         ($(objpfx)tst-nodelete2.out): Likewise.
27807         (LDFLAGS-tst-nodelete2): Likewise.
27808         * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
27809         out of loop through all loaded libraries.
27810         * elf/tst-nodelete2.c: New file.
27811         * elf/tst-nodelete2mod.c: Likewise.
27812         * elf/tst-znodelete-zlib.cc: Delete.
27814 2015-08-11  Andreas Schwab  <schwab@suse.de>
27816         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
27817         * sysdeps/unix/sysv/linux/wordsize-64/openat.c
27818         (__openat64_nocancel): Likewise.
27820 2015-08-11  Joseph Myers  <joseph@codesourcery.com>
27822         * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
27823         atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
27824         expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
27825         * math/auto-libm-test-out: Regenerated.
27826         * sysdeps/i386/fpu/libm-test-ulps: Update.
27827         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27829 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
27831         [BZ #18790]
27832         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
27833         threshold for returning +/- 1.
27834         * math/auto-libm-test-in: Add more tests of tanh.
27835         * math/auto-libm-test-out: Regenerated.
27836         * sysdeps/i386/fpu/libm-test-ulps: Update.
27838 2015-08-10  Andreas Schwab  <schwab@suse.de>
27840         [BZ #18781]
27841         * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
27842         MORE_OFLAGS to oflag.
27843         * io/test-lfs.c (do_test): Test openat64.
27845 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
27847         [BZ #18789]
27848         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
27849         smaller threshold for returning the argument.
27850         * math/auto-libm-test-in: Add more tests of sinh.
27851         * math/auto-libm-test-out: Regenerated.
27852         * sysdeps/i386/fpu/libm-test-ulps: Update.
27854 2015-08-09  H.J. Lu  <hongjiu.lu@intel.com>
27856         [BZ #18674]
27857         * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
27858         break.
27860 2015-08-09  Andreas Schwab  <schwab@linux-m68k.org>
27862         * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
27863         (generated): Don't add $(addprefix z.,$(tzfiles)).
27865 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
27867         * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
27868         * scripts/sysd-rules.awk: Likewise.
27870 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
27872         * iconvdata/tst-tables.sh: Change echo -n to printf.
27873         * nss/db-Makefile: Likewise.
27874         * posix/tst-getconf.sh: Likewise.
27875         * stdio-common/tst-unbputc.sh: Likewise.
27877 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
27879         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
27880         MADV_*_PAGES defines behind this feature check.
27882 2015-08-09  John David Anglin  <danglin@gcc.gnu.org>
27884         [BZ #18480]
27885         * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
27886         LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
27887         Define.
27888         (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
27889         LOAD_REGS_5, LOAD_REGS_6): Update.
27890         (INTERNAL_SYSCALL): Update using new LOAD defines.
27891         (INTERNAL_SYSCALL_NCS): Likewise.
27892         * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
27894 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
27896         [BZ #16734]
27897         * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
27899 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
27901         [BZ #17905]
27902         * catgets/Makefile (tst-catgets-mem): New test.
27903         * catgets/catgets.c (catopen): Don't use unbounded alloca.
27904         * catgets/open_catalog.c (__open_catalog): Likewise.
27905         * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
27907 2015-08-08  John David Anglin  <danglin@gcc.gnu.org>
27909         [BZ #18787]
27910         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
27911         clobber registers.
27912         (atomic_compare_and_exchange_val_acq): Use register asms to assign
27913         operand registers.  Use register %r20 for EAGAIN and EDEADLOCK checks.
27914         Cast return to __typeof (oldval).
27916 2015-08-08  Mike Frysinger  <vapier@gentoo.org>
27918         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
27919         in _LINUX_MICROBLAZE_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h
27920         and delete sys/syscall.h include.
27922 2015-08-07  Joseph Myers  <joseph@codesourcery.com>
27924         [BZ #16517]
27925         * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
27926         (tan): Force underflow exception for arguments with small absolute
27927         value.
27928         * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
27929         (__kernel_tanf): Force underflow exception for arguments with
27930         small absolute value.
27931         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
27932         (__kernel_tanl): Force underflow exception for arguments with
27933         small absolute value.
27934         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
27935         (__kernel_tanl): Force underflow exception for arguments with
27936         small absolute value.
27937         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
27938         (__kernel_tanl): Force underflow exception for arguments with
27939         small absolute value.
27940         * math/auto-libm-test-in: Add more tests of tan.
27941         * math/auto-libm-test-out: Regenerated.
27943 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
27945         Fix sysdeps/i386/fpu/s_scalbn.S build
27947         * math/Versions (libc: GLIBC_2_22): New (empty) version set.
27949 2015-08-07  Mike Frysinger  <vapier@gentoo.org>
27951         * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
27953 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
27955         Fix gcrt0.o compilation
27957         When static-start-installed-name is different from
27958         start-installed-name, we must not use the shared objects.
27960         * csu/Makefile
27961         (extra-objs): Add gmon-start.o when building shared library and
27962         $(static-start-installed-name) is different from
27963         $(start-installed-name).
27964         $(objpfx)g$(static-start-installed-name): When building shared
27965         library and $(static-start-installed-name) is different from
27966         $(static-start-installed-name), revert to non-shared rule,
27967         i.e. using $(objpfx)% and gmon-start.o.
27969 2015-08-06  Joseph Myers  <joseph@codesourcery.com>
27971         [BZ #16519]
27972         * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
27973         (__ieee754_sinh): Force underflow exception for arguments with
27974         small absolute value.
27975         * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
27976         (__ieee754_sinhf): Force underflow exception for arguments with
27977         small absolute value.
27978         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
27979         (__ieee754_sinhl): Force underflow exception for arguments with
27980         small absolute value.
27981         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
27982         (__ieee754_sinhl): Force underflow exception for arguments with
27983         small absolute value.
27984         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
27985         (__ieee754_sinhl): Force underflow exception for arguments with
27986         small absolute value.
27987         * math/auto-libm-test-in: Add more tests of sinh.
27988         * math/auto-libm-test-out: Regenerated.
27989         * sysdeps/i386/fpu/libm-test-ulps: Update.
27991 2015-08-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
27993         * libio/oldfileops.c: Include unistd.h.
27995 2015-08-06  Mike Frysinger  <vapier@gentoo.org>
27997         * stdlib/isomac.c: Include ctype.h.
27999 2015-08-06  Arjun Shankar  <arjun.is@lostca.se>
28001         * dirent/tst-seekdir.c (main): Converted to ...
28002         (do_test): ... this.
28003         (TEST_FUNCTION): New macro.
28004         Include test-skeleton.c.
28005         * elf/tst-dlmodcount.c (main): Converted to ...
28006         (do_test): ... this.
28007         (TEST_FUNCTION): New macro.
28008         Include test-skeleton.c.
28009         * elf/tst-order-main.c (main): Converted to ...
28010         (do_test): ... this.
28011         (TEST_FUNCTION): New macro.
28012         Include test-skeleton.c.
28013         * elf/tst-pie2.c (main): Converted to ...
28014         (do_test): ... this.
28015         (TEST_FUNCTION): New macro.
28016         Include test-skeleton.c.
28017         * inet/tst-ether_aton.c (main): Converted to ...
28018         (do_test): ... this.
28019         (TEST_FUNCTION): New macro.
28020         Include test-skeleton.c.
28021         * misc/tst-mntent.c (main): Converted to ...
28022         (do_test): ... this.
28023         (TEST_FUNCTION): New macro.
28024         Include test-skeleton.c.
28025         * misc/tst-tsearch.c (main): Converted to ...
28026         (do_test): ... this.
28027         (TEST_FUNCTION): New macro.
28028         Include test-skeleton.c.
28029         * posix/tst-regexloc.c (main): Converted to ...
28030         (do_test): ... this.
28031         (TEST_FUNCTION): New macro.
28032         Include test-skeleton.c.
28033         * resolv/tst-aton.c (main): Converted to ...
28034         (do_test): ... this.
28035         (TEST_FUNCTION): New macro.
28036         Include test-skeleton.c.
28037         * stdio-common/test-fwrite.c (main): Converted to ...
28038         (do_test): ... this.
28039         (TEST_FUNCTION): New macro.
28040         Include test-skeleton.c.
28041         * stdio-common/tst-ferror.c (main): Converted to ...
28042         (do_test): ... this.
28043         (TEST_FUNCTION): New macro.
28044         Include test-skeleton.c.
28045         * stdio-common/tst-printf.c (main): Converted to ...
28046         (do_test): ... this.
28047         (TEST_FUNCTION): New macro.
28048         Include test-skeleton.c.
28049         * stdio-common/tst-printfsz.c (main): Converted to ...
28050         (do_test): ... this.
28051         (TEST_FUNCTION): New macro.
28052         Include test-skeleton.c.
28053         * stdlib/tst-strtod.c (main): Converted to ...
28054         (do_test): ... this.
28055         (TEST_FUNCTION): New macro.
28056         Include test-skeleton.c.
28057         * string/tst-strlen.c (main): Converted to ...
28058         (do_test): ... this.
28059         (TEST_FUNCTION): New macro.
28060         Include test-skeleton.c.
28061         * string/tst-svc.c (main): Converted to ...
28062         (do_test): ... this.
28063         (TEST_FUNCTION): New macro.
28064         Include test-skeleton.c.
28065         * time/tst-strptime.c (main): Converted to ...
28066         (do_test): ... this.
28067         (TEST_FUNCTION): New macro.
28068         Include test-skeleton.c.
28069         * timezone/tst-timezone.c (main): Converted to ...
28070         (do_test): ... this.
28071         (TEST_FUNCTION): New macro.
28072         Include test-skeleton.c.
28074 2015-08-05  Zack Weinberg  <zackw@panix.com>
28076         * misc/regexp.h: Update comments.
28078 2015-08-05  Andreas Schwab  <schwab@linux-m68k.org>
28080         [BZ #18635]
28081         * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
28082         before return label.
28084 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
28086         [BZ #18661]
28087         * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
28088         when calling __errno_location.
28089         * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
28090         * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
28092 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
28094         [BZ #18661]
28095         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
28096         (__lll_timedwait_tid): Align stack to 16 bytes when calling
28097         __gettimeofday.
28099 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
28101         [BZ #18661]
28102         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
28103         (__start_context): Don't use pop to restore %rdi so that stack
28104         is aligned to 16 bytes when calling __setcontext.
28106 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
28108         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
28109         only for libc.
28110         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
28112 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
28114         * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
28115         (__mempcpy): Likewise.  (__mempcpy_inline): New inline function.
28116         * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
28118 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
28120         * string/memccpy.c (memccpy):
28121         Improve performance by using memchr/memcpy/__mempcpy.
28123 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
28125         * string/strncpy.c (strncpy):
28126         Improve performance by using __strnlen/memcpy.
28128 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
28130         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
28131         Optimize to avoid an unnecessary FPCR read.
28133 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
28135         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
28136         Optimize to reduce FPCR/FPSR accesses.
28138 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
28140         * locale/loadarchive.c (_nl_archive_subfreeres): Also check
28141         dead->data[category] != NULL.
28143 2015-08-05  Joseph Myers  <joseph@codesourcery.com>
28145         [BZ #18647]
28146         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
28147         and |x| close to 1, use absolute value of x when computing log.
28148         * math/auto-libm-test-in: Add more tests of pow.
28149         * math/auto-libm-test-out: Regenerated.
28151 2015-08-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
28153         * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
28154         * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
28155         * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
28157 2015-08-05  Marko Myllynen  <myllynen@redhat.com>
28159         [BZ #18525]
28160         * locales/km_KH: Remove timezone definition.
28161         * locales/lo_LA: Likewise.
28162         * locales/my_MM: Likewise.
28163         * locales/nan_TW@latin: Likewise.
28164         * locales/th_TH: Likewise.
28165         * locales/uk_UA: Likewise.
28167 2015-08-05  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
28169         [BZ #18265]
28170         * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
28171         (wcsncat): Likewise.
28172         (wcscmp): Likewise.
28173         (wcsncmp): Likewise.
28175 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
28177         * test-skeleton.c (usage): New function.
28178         (main): Call usage when opt is '?'.
28180 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
28182         * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
28183         before first use.
28185 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
28187         * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
28188         bottom and under _STACK_GROWS_DOWN.  Move the stacktop assignment
28189         in there too.
28191 2015-08-05  Carlos O'Donell  <carlos@systemhalted.org>
28193         * version.h (RELEASE): Set to "development".
28194         (VERSION): Set to "2.22.90"
28196         * version.h (RELEASE): Set to "stable".
28197         (VERSION): Set to "2.22"
28198         * include/features.h (__GLIBC_MINOR__): Set to 22.
28200 2015-08-04  Chris Metcalf  <cmetcalf@ezchip.com>
28202         * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
28203         Restructure macro to avoid "value computed is not used" warning.
28204         (atomic_compare_and_exchange_val_acq): Likewise.
28206 2015-08-04  Andreas Schwab  <schwab@suse.de>
28208         [BZ #18635]
28209         * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
28210         ret.
28211         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
28213 2015-08-01  Carlos O'Donell  <carlos@redhat.com>
28215         * po/pl.po: Updated translation.
28216         * po/uk.po: Likewise.
28217         * po/fi.po: Likewise.
28218         * po/ko.po: Likewise.
28219         * po/ru.po: Likewise.
28220         * po/vi.po: Likewise.
28222 2015-07-31  Zack Weinberg  <zackw@panix.com>
28224         [BZ #18681]
28225         * regexp.h: Add unconditional #warning stating that this header
28226         will be removed soon.  Revise banner comment to match.
28227         (compile): Consistently use ERROR instead of RETURN to report
28228         errors (partial fix for BZ #18681).
28229         * regexp.c: Don't include regexp.h. Remove some unnecessary
28230         declarations.
28232 2015-07-31  Carlos O'Donell  <carlos@redhat.com>
28234         * po/libc.pot: Regenerated.
28236 2015-07-30  Andrew Senkevich  <andrew.senkevich@intel.com>
28238         [BZ #18740]
28239         * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
28240         float-vlen4-arch-ext-cflags): Removed.
28241         * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
28242         CFLAGS-test-float-vlen4-wrappers.c): Likewise.
28244 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
28246         [BZ #14113]
28247         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
28248         aligned to __aligned__.
28249         (pthread_cond_t, pthread_rwlock_t): Likewise.
28251 2015-07-30  Torvald Riegel  <triegel@redhat.com>
28253         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
28255 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
28257         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
28258         (struct sigaction): Change sa_flags from a long to an int, and add
28259         __glibc_reserved0 before it for padding when __WORDSIZE is 64.
28261 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
28263         * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
28264         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
28265         sysdeps/generic/sysdep.h include.
28266         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
28267         _LINUX_HPPA_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h and
28268         sysdeps/hppa/sysdep.h.
28269         (ENTRY, PSEUDO): Undefine before defining.
28271 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
28273         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
28274         from scratch to use INTERNAL_SYSCALL.
28276 2015-07-29  H.J. Lu  <hongjiu.lu@intel.com>
28278         [BZ #18078]
28279         * scripts/check-localplt.awk: Support alternate relocations.
28280         * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
28281         sections.
28282         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
28283         malloc entries with + REL R_386_GLOB_DAT.
28284         * sysdeps/x86_64/localplt.data: New file.
28286 2015-07-29  Andrew Senkevich  <andrew.senkevich@intel.com>
28288         [BZ #18731]
28289         * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
28290         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
28291         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
28293 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
28295         * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
28297 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
28299         * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
28300         directly in terms of __sync_fetch_and_add and delete (int) cast.
28302 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
28304         * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
28305         the -D_ASM_IA64_CURRENT_H flag.
28307 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
28309         [BZ #18641]
28310         * pwd/pwd.h (putpwent): Delete __nonnull markings.
28312 2015-07-27  Andreas Schwab  <schwab@suse.de>
28314         * conform/conformtest.pl (checknamespace): Filter out string
28315         literals while tokenizing.
28317 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
28319         * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
28320         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
28321         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
28323 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
28325         * nptl/tst-join7mod.c: Add #include <string.h>.
28327 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
28329         * sysdeps/nios2/libm-test-ulps: Update.
28331 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
28333         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
28334         Fix order of arguments to the rt_sigprocmask syscall.
28335         * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
28336         Likewise.
28338 2015-07-24  Roland McGrath  <roland@hack.frob.com>
28340         * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
28342 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
28344         [BZ #18457]
28345         * nptl/Makefile (tests): New test case tst-join7.
28346         (modules-names): New test case module tst-join7mod.
28347         * nptl/tst-join7.c: New file.
28348         * nptl/tst-join7mod.c: New file.
28349         * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
28350         all translation units in libc.so, libpthread.so and rtld.
28352 2015-07-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
28354         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28356 2015-07-24  Andrew Senkevich  <andrew.senkevich@intel.com>
28358         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
28359         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
28360         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
28361         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
28362         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
28363         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
28364         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
28365         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
28366         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
28367         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
28368         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
28369         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
28370         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
28371         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
28372         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
28373         implementation.
28375 2015-07-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
28377         [BZ #17711]
28378         * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
28379         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
28380         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
28381         * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
28382         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
28383         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
28385 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
28387         * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
28388         instead of just saying load lock in the comments.
28390 2015-07-23  Roland McGrath  <roland@hack.frob.com>
28392         * sysdeps/unix/Subdirs: Moved ...
28393         * sysdeps/posix/Subdirs: ... here.
28394         * login/pty.h (struct termios, struct winsize): Add forward decls.
28395         * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
28396         * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
28397         * sysdeps/arm/nacl/libc.abilist: Updated.
28398         * sysdeps/nacl/libutil.abilist: New file.
28400         * bits/signum.h: Update comments to mention 1003.1-2013 too.
28401         (SIGWINCH): New macro.
28403         * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
28404         * sysdeps/arm/nacl/libc.abilist: Add it.
28406 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
28408         * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
28410 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
28412         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
28413         Swap __glibc_reserved0 and sa_flags order.
28415 2015-07-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
28417         [BZ #18657]
28418         * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
28419         are pending TLS destructor calls.
28420         * include/link.h (struct link_map): Add concurrency note for
28421         L_TLS_DTOR_COUNT.
28422         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
28423         Don't touch the link map flag.  Atomically increment
28424         l_tls_dtor_count.
28425         (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
28426         Avoid taking the load lock and don't touch the link map flag.
28427         * stdlib/tst-tls-atexit-nodelete.c: New test case.
28428         * stdlib/Makefile (tests): Use it.
28429         * stdlib/tst-tls-atexit.c (do_test): dlopen
28430         tst-tls-atexit-lib.so again before dlclose.  Add conditionals
28431         to allow tst-tls-atexit-nodelete test case to use it.
28433 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
28435         * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
28436         to bits/types.h.
28437         (msgqnum_t): New typedef.
28438         (msglen_t): Likewise.
28439         (struct msqid_ds): Update comment.  Change msg_qnum type to msgqnum_t
28440         and msg_qbytes type to msglen_t.
28442 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
28444         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
28445         pad0 to __glibc_reserved0.
28446         (struct stat64): Likewise.
28448 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
28450         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
28451         Change sa_flags from a long to an int and add __glibc_reserved0 before
28452         it for padding.
28454 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
28456         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
28457         anonymous by deleting "siginfo" name.
28459 2015-07-21  Roland McGrath  <roland@hack.frob.com>
28461         * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
28462         * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
28463         rather than __nacl_irt_filename.
28464         * sysdeps/nacl/xstat.c (__xstat): Likewise.
28466         * NEWS: New item for arm-nacl port.
28467         * sysdeps/arm/nacl/libc.abilist: New file.
28468         * sysdeps/nacl/ld.abilist: New file.
28469         * sysdeps/nacl/libBrokenLocale.abilist: New file.
28470         * sysdeps/nacl/libanl.abilist: New file.
28471         * sysdeps/nacl/libcrypt.abilist: New file.
28472         * sysdeps/nacl/libdl.abilist: New file.
28473         * sysdeps/nacl/libm.abilist: New file.
28474         * sysdeps/nacl/libpthread.abilist: New file.
28475         * sysdeps/nacl/libresolv.abilist: New file.
28476         * sysdeps/nacl/librt.abilist: New file.
28478 2015-07-21  Chris Metcalf  <cmetcalf@ezchip.com>
28480         * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
28481         __startcontext to initialize the new context.
28482         * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
28483         up CFI directive to forbid further backtracing.
28485 2015-07-21  Marko Myllynen  <myllynen@redhat.com>
28487         * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
28488         reference.
28489         * charmaps/ANSI_X3.4-1968: Likewise.
28490         * charmaps/BS_4730: Likewise.
28491         * charmaps/BS_VIEWDATA: Likewise.
28492         * charmaps/CP1250: Likewise.
28493         * charmaps/CP1251: Likewise.
28494         * charmaps/CP1252: Likewise.
28495         * charmaps/CP1253: Likewise.
28496         * charmaps/CP1254: Likewise.
28497         * charmaps/CP1255: Likewise.
28498         * charmaps/CP1256: Likewise.
28499         * charmaps/CSN_369103: Likewise.
28500         * charmaps/EBCDIC-DK-NO: Likewise.
28501         * charmaps/GB_1988-80: Likewise.
28502         * charmaps/GREEK-CCITT: Likewise.
28503         * charmaps/GREEK7: Likewise.
28504         * charmaps/INIS-8: Likewise.
28505         * charmaps/ISIRI-3342: Likewise.
28506         * charmaps/ISO_2033-1983: Likewise.
28507         * charmaps/ISO_5427-EXT: Likewise.
28508         * locales/POSIX: Likewise.
28509         * locales/ar_SA: Likewise.
28510         * locales/be_BY: Likewise.
28511         * locales/be_BY@latin: Likewise.
28512         * locales/ca_ES: Likewise.
28513         * locales/cs_CZ: Likewise.
28514         * locales/da_DK: Likewise.
28515         * locales/de_BE: Likewise.
28516         * locales/de_CH: Likewise.
28517         * locales/de_LU: Likewise.
28518         * locales/en_AU: Likewise.
28519         * locales/en_BW: Likewise.
28520         * locales/en_CA: Likewise.
28521         * locales/en_DK: Likewise.
28522         * locales/en_GB: Likewise.
28523         * locales/en_IE: Likewise.
28524         * locales/en_NZ: Likewise.
28525         * locales/en_ZA: Likewise.
28526         * locales/en_ZW: Likewise.
28527         * locales/es_AR: Likewise.
28528         * locales/es_BO: Likewise.
28529         * locales/es_CL: Likewise.
28530         * locales/es_CO: Likewise.
28531         * locales/es_DO: Likewise.
28532         * locales/es_EC: Likewise.
28533         * locales/es_ES: Likewise.
28534         * locales/es_HN: Likewise.
28535         * locales/es_MX: Likewise.
28536         * locales/es_PA: Likewise.
28537         * locales/es_PE: Likewise.
28538         * locales/es_PY: Likewise.
28539         * locales/es_SV: Likewise.
28540         * locales/es_US: Likewise.
28541         * locales/es_UY: Likewise.
28542         * locales/es_VE: Likewise.
28543         * locales/et_EE: Likewise.
28544         * locales/fa_IR: Likewise.
28545         * locales/fo_FO: Likewise.
28546         * locales/fr_CA: Likewise.
28547         * locales/fr_CH: Likewise.
28548         * locales/gv_GB: Likewise.
28549         * locales/he_IL: Likewise.
28550         * locales/hr_HR: Likewise.
28551         * locales/id_ID: Likewise.
28552         * locales/is_IS: Likewise.
28553         * locales/it_CH: Likewise.
28554         * locales/iw_IL: Likewise.
28555         * locales/kl_GL: Likewise.
28556         * locales/ko_KR: Likewise.
28557         * locales/kw_GB: Likewise.
28558         * locales/lg_UG: Likewise.
28559         * locales/lt_LT: Likewise.
28560         * locales/lv_LV: Likewise.
28561         * locales/mi_NZ: Likewise.
28562         * locales/nhn_MX: Likewise.
28563         * locales/nl_BE: Likewise.
28564         * locales/pl_PL: Likewise.
28565         * locales/sk_SK: Likewise.
28566         * locales/sl_SI: Likewise.
28567         * locales/sv_FI: Likewise.
28568         * locales/tl_PH: Likewise.
28569         * locales/tr_TR: Likewise.
28570         * locales/vi_VN: Likewise.
28572 2015-07-21  Khem Raj  <raj.khem@gmail.com>
28574         [BZ #17475]
28575         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
28576         of tu_IN and bh_IN.
28578 2015-07-21  Mike Frysinger  <vapier@gentoo.org>
28580         [BZ #18694]
28581         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
28582         bits/wordsize.h.
28583         (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
28585 2015-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
28587         * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
28588         * stdlib/tst-tls-atexit.c: (is_loaded): New function.
28589         (spawn_thread): New function.
28590         (load): Rename to reg_dtor_and_close.  Move dlopen to...
28591         (do_test): ... here.  Use IS_LOADED to test for its
28592         availability.
28594 2015-07-21  Andreas Schwab  <schwab@linux-m68k.org>
28596         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
28598 2015-07-20  H.J. Lu  <hongjiu.lu@intel.com>
28600         [BZ #18696]
28601         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
28602         si_addr_bnd.
28603         (si_lower): New.
28604         (si_upper): Likewise.
28606 2015-07-16  David S. Miller  <davem@davemloft.net>
28608         * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
28610 2015-07-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
28612         * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
28613         buffer.
28614         * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
28615         fail output information.
28617 2015-07-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
28619         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
28620         and strstr-ppc64..
28621         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
28622         * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
28623         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
28624         * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
28625         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
28627 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
28629         * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
28630         * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
28631         * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
28632         * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
28634 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
28636         * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
28637         * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
28638         rtld_hidden_proto.
28639         * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
28641 2015-07-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
28643         * tst-nodelete-opened.c (do_test): Add comment to clarify how
28644         the test can fail.
28646         * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
28648         [BZ #18676]
28649         * elf/tst-nodelete-opened.c: New test case.
28650         * elf/tst-nodelete-opened-lib.c: New test case module.
28651         * elf/Makefile (tests, modules-names): Use them.
28652         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
28653         early.
28655 2015-07-15  David S. Miller  <davem@davemloft.net>
28657         * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
28658         futex-intenal.h
28659         * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
28660         * sysdeps/sparc/sparc64/Makefile: Likewise.
28661         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
28662         Remove space from macro define.
28663         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
28665 2015-07-15  Pravin Satpute  <psatpute@redhat.com>
28667         [BZ #17475]
28668         * locale/iso-639.def: Update Bhili and Tulu language codes as
28669         per iso639-3.
28671 2015-07-15  Arjun Shankar  <arjun.is@lostca.se>
28673         * elf/tst-leaks1.c (main): Converted to ...
28674         (do_test): ... this.
28675         (TEST_FUNCTION): New macro.
28676         Include test-skeleton.c.
28677         * localedata/tst-langinfo.c (main): Converted to ...
28678         (do_test): ... this.
28679         (TEST_FUNCTION): New macro.
28680         Include test-skeleton.c.
28681         * math/test-fpucw.c (main): Converted to ...
28682         (do_test): ... this.
28683         (TEST_FUNCTION): New macro.
28684         Include test-skeleton.c.
28685         * math/test-tgmath.c (main): Converted to ...
28686         (do_test): ... this.
28687         (TEST_FUNCTION): New macro.
28688         Include test-skeleton.c.
28689         * math/test-tgmath2.c (main): Converted to ...
28690         (do_test): ... this.
28691         (TEST_FUNCTION): New macro.
28692         Include test-skeleton.c.
28693         * setjmp/tst-setjmp.c (main): Converted to ...
28694         (do_test): ... this.
28695         (TEST_FUNCTION): New macro.
28696         Include test-skeleton.c.
28697         * stdio-common/tst-sscanf.c (main): Converted to ...
28698         (do_test): ... this.
28699         (TEST_FUNCTION): New macro.
28700         Include test-skeleton.c.
28701         * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
28702         (do_test): ... this.
28703         (TEST_FUNCTION): New macro.
28704         Include test-skeleton.c.
28706         * elf/tst-audit9.c (main): Converted to ...
28707         (do_test): ... this.
28708         (TEST_FUNCTION): New macro.
28709         Include test-skeleton.c.
28711 2015-07-15  Mike Frysinger  <vapier@gentoo.org>
28713         * timezone/tst-tzset.c (TIMEOUT): Define to 5.
28715 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
28717         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
28718         New variable.
28720 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
28722         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
28724 2015-07-14  Roland McGrath  <roland@hack.frob.com>
28726         * sysdeps/generic/dl-fileid.h: New file.
28727         * sysdeps/posix/dl-fileid.h: New file.
28728         * sysdeps/nacl/dl-fileid.h: New file.
28729         * include/link.h: Include <dl-fileid.h>.
28730         (struct link_map): Replace l_dev and l_ino with l_file_id.
28731         * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
28732         than __fxstat64.  Use _dl_file_id_match_p rather than comparing l_dev
28733         and l_ino directly.  Initialize l_file_id rather than l_dev and l_ino.
28735 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
28737         * stdlib/tst-tls-atexit.c (do_test): Fix typo.
28739 2015-07-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
28741         * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
28742         Add iff $CXX is set.
28743         [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
28744         Likewise.
28745         (tst-nodelete-zmodiff): Likewise.
28746         * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
28748 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
28750         * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
28752 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
28754         * sysdeps/aarch64/fpu/math_private.h
28755         (define math_opt_barrier): Add AArch64 version.
28756         (math_force_eval): Likewise.
28758 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
28760         * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
28762 2015-07-11  H.J. Lu  <hongjiu.lu@intel.com>
28764         * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
28765         %ld with %jd and cast to intmax_t.
28766         (do_test_length_zero): Likewise.
28768 2015-07-10  Roland McGrath  <roland@hack.frob.com>
28770         * sysdeps/nacl/pthread_condattr_setclock.c: New file.
28772 2015-07-10  Chris Metcalf  <cmetcalf@ezchip.com>
28774         * sysdeps/tile/libm-test-ulps: Regenerated.
28776         * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
28777         Comment out the whole function, not just its body.
28779 2015-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
28781         * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
28782         locks.
28784         * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
28786 2015-07-10  Torvald Riegel  <triegel@redhat.com>
28788         * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
28789         (sem_assume_only_signals_cause_futex_EINTR): Remove.
28791 2015-07-10  Torvald Riegel  <triegel@redhat.com>
28793         * sysdeps/nptl/futex-internal.h: New file.
28794         * sysdeps/nacl/futex-internal.h: New file.
28795         * sysdeps/unix/sysv/linux/futex-internal.h: New file.
28796         * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
28797         error checking.
28798         (setxid_unmark_thread): Likewise.
28799         (__nptl_setxid): Likewise.
28800         (__wait_lookup_done): Likewise.
28801         * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
28802         * nptl/nptl-init.c (sighandler_setxid): Likewise.
28803         * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
28804         * nptl/pthread_once.c (clear_once_control): Likewise.
28805         (__pthread_once_slow): Likewise.
28806         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
28807         * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
28808         * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
28809         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
28810         * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
28811         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
28812         Likewise.
28813         (__pthread_rwlock_rdlock): Likewise.
28814         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
28815         Likewise.
28816         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
28817         Likewise.
28818         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
28819         Likewise.
28820         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
28821         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
28822         Likewise.
28823         * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
28824         __ASSUME_PRIVATE_FUTEX check.
28825         * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
28826         Check that shared futexes are supported.
28827         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
28828         wrappers with error checking.
28829         * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
28830         remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
28831         * nptl/pthread_barrierattr_setpshared.c
28832         (pthread_barrierattr_setpshared): Check that shared futexes are
28833         supported.
28834         * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
28835         Likewise.
28836         * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
28837         Likewise.
28838         * nptl/sem_init.c (futex_private_if_supported): Remove.
28839         (__new_sem_init): Adapt and check that shared futexes are supported.
28840         * nptl/sem_open.c (sem_open): Likewise.
28841         * nptl/sem_post.c (futex_wake): Remove.
28842         * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
28843         (do_futex_wait): Use futex wrappers with error checking.
28844         * nptl/sem_wait.c: Include lowlevellock.h.
28845         * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
28846         Use futex_supports_pshared.
28847         * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
28848         Use futex wrappers with error checking.
28849         * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
28850         Likewise.
28851         * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
28852         * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
28853         * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
28854         * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
28855         (futex_wake): Likewise.
28856         (sem_assume_only_signals_cause_futex_EINTR): Likewise.
28857         (do_futex_wait): Use futex wrappers with error checking.
28858         (__new_sem_wait_slow): Update EINTR handling.
28859         * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
28861 2015-07-09  Martin Sebor  <msebor@redhat.com>
28863         [BZ #18435]
28864         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
28865         Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
28866         * nptl/Makefile (test-xfail-tst-once5): Define.
28868 2015-07-09  Roland McGrath  <roland@hack.frob.com>
28870         * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
28871         * elf/dl-minimal.c: For readability, reorder some definitions and
28872         introduce more page breaks.  Include <stdio.h>.
28873         (__libc_fatal): New function.
28875         * include/unistd.h: Add rtld_hidden_proto for _exit.
28876         * posix/_exit.c: Add rtld_hidden_def.
28877         * sysdeps/mach/hurd/_exit.c: Likewise.
28878         * sysdeps/nacl/_exit.c: Likewise.
28879         * sysdeps/unix/sysv/linux/_exit.c: Likewise.
28880         * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
28882 2015-07-09  H.J. Lu  <hongjiu.lu@intel.com>
28884         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
28885         bndmov encoding with zero displacement.
28887 2015-07-09  Igor Zamyatin  <igor.zamyatin@intel.com>
28888             H.J. Lu  <hongjiu.lu@intel.com>
28890         [BZ #18134]
28891         * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
28892         * sysdeps/i386/configure: Regenerated.
28893         * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
28894         (_dl_runtime_profile): Save and restore Intel MPX return bound
28895         registers when calling _dl_call_pltexit.  Add
28896         PRESERVE_BND_REGS_PREFIX before return.
28897         * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
28898         (LRV_BND1_OFFSET): Likewise.
28899         * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
28900         lrv_bnd1.
28901         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
28902         typo in bndmov encoding.
28903         * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
28904         Intel MPX bound registers.  Add PRESERVE_BND_REGS_PREFIX before
28905         branch instructions to preserve bounds.
28907 2015-07-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
28909         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
28910         [GLIBC_2.22]: Add fmemopen.
28912 2015-07-09  Samuel Thibault  <samuel.thibault@ens-lyon.org>
28914         * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
28915         returns an error, also try to use host port from __mach_host_self for
28916         the __vm_wire call.
28917         * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
28919 2015-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
28921         [BZ #18400]
28922         [BZ #18648]
28923         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
28924         Fix pr_uid and pr_gid members.
28925         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
28926         definition to elf_greg_t.
28928 2015-07-08  Roland McGrath  <roland@hack.frob.com>
28930         [BZ #18383]
28931         * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
28932         Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
28933         * sysdeps/arm/configure: Regenerated.
28934         * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
28935         (test-xfail-tst-tlsalign-static): Variable removed.
28937         * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
28938         * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
28939         rather than explicit 'ln -s'.
28941         * resolv/rpc/netdb.h: New file.
28942         * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
28944 2015-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
28946         * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
28947         length buffers.
28948         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
28949         test-skeleton.c.
28951         [BZ #6544]
28952         [BZ #11216]
28953         [BZ #12836]
28954         [BZ #13151]
28955         [BZ #13152]
28956         [BZ #14292]
28957         * include/stdio.h (fmemopen): Remove hidden prototype.
28958         (__fmemopen): Add new hidden prototype.
28959         * libio/Makefile: Add oldfmemopen object.
28960         * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
28961         * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
28962         compliance.
28963         * libio/oldfmemopen.c: New file: old fmemopen implementation for
28964         symbol compatibility.
28965         * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
28966         * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
28967         fmemopen.
28968         * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
28969         on append and read mode.
28970         * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
28971         fmemopen.
28972         * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
28973         * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
28974         * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
28975         * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
28976         Likewise.
28977         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
28978         [GLIBC_2.22]: Likewise.
28979         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
28980         Likewise.
28981         * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
28982         Likewise.
28983         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
28984         [GLIBC_2.22]: Likewise.
28985         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
28986         [GLIBC_2.22]: Likewise.
28987         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
28988         [GLIBC_2.22]: Likewise.
28989         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
28990         [GLIBC_2.22]: Likewise.
28991         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
28992         [GLIBC_2.22]: Likewise.
28993         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
28994         [GLIBC_2.22]: Likewise.
28995         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
28996         [GLIBC_2.22]: Likewise.
28997         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
28998         Likewise.
28999         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
29000         Likewise.
29001         * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
29002         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
29003         [GLIBC_2.22]: Likewise.
29004         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
29005         [GLIBC_2.22]: Likewise.
29006         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
29007         [GLIBC_2.22]: Likewise.
29008         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
29009         [GLIBC_2.22]: Likewise.
29010         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
29011         Likewise.
29012         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
29013         Likewise.
29014         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
29015         Likewise.
29016         * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
29017         * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
29019 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
29021         [BZ #18643]
29022         * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
29023         IPV6_PATHMTU, and IPV6_DONTFRAG.
29025 2015-07-08  Feng Gao  <gfree.wind@gmail.com>
29027         * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
29028         and _IO_UNBUFFERED.
29029         * libio/oldfileops.c: Likewise.
29030         * libio/wfileops.c: Likewise.
29032 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
29034         * nscd/selinux.c: Delete selinux/flask.h include.
29036 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
29038         [BZ #18641]
29039         * pwd/pwd.h (fgetpwent): Add __nonnull markings.
29040         (putpwent): Likewise.
29041         (getpwnam): Likewise.
29042         (getpwent_r): Likewise.
29043         (getpwuid_r): Likewise.
29044         (getpwnam_r): Likewise.
29045         (fgetpwent_r): Likewise.
29047 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
29049         [BZ #18557]
29050         * inet/rcmd.c (__validuser2_sa): Check user first to
29051         short-circuit host check.
29053 2015-07-07  Pavel Kopyl  <p.kopyl@samsung.com>
29054             Mikhail Ilin  <m.ilin@samsung.com>
29056         [BZ #17833]
29057         * elf/Makefile (tests): Add tst-nodelete.
29058         (modules-names): Add tst-nodelete-uniquemod.
29059         (tst-nodelete-uniquemod.so-no-z-defs): New.
29060         (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
29061         (tst-nodelete-zmod.so-no-z-defs): Likewise.
29062         ($(objpfx)tst-nodelete): Likewise.
29063         ($(objpfx)tst-nodelete.out): Likewise.
29064         (LDFLAGS-tst-nodelete): Likewise.
29065         (LDFLAGS-tst-nodelete-zmod.so): Likewise.
29066         * elf/dl-close.c (_dl_close_worker): Add a parameter to
29067         implement forced object deletion.
29068         (_dl_close): Pass false to _dl_close_worker.
29069         * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
29070         * elf/tst-nodelete.cc: New file.
29071         * elf/tst-nodeletelib.cc: Likewise.
29072         * elf/tst-znodeletelib.cc: Likewise.
29073         * include/dlfcn.h (_dl_close_worker): Add a new parameter.
29075 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
29077         [BZ #18508]
29078         * stdlib/Makefile ($(objpfx)tst-makecontext3):
29079         Depend on $(libdl).
29080         * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
29081         is not called infinitely times.
29082         (backtrace_helper): New function.
29083         (trace_arg): New struct.
29084         (st1): Enlarge stack size.
29085         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
29086         (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
29087         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
29088         Likewise.
29090 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
29092         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
29094 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
29096         * sysdeps/unix/sysv/linux/s390/bits/sem.h:
29097         Include sys/types.h instead of bits/types.h.
29098         Remove inclusion of bits/wordsize.h.
29100 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
29102         * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
29103         * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
29104         * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
29105         * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
29106         * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
29107         * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
29109 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
29111         * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
29112         link-defines.sym.
29113         * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
29114         (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
29115         LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
29116         and LR_SIZE.
29117         * sysdeps/i386/link-defines.sym: New file.
29119 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
29121         * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
29122         (modules-names): Add tst-auditmod3a tst-auditmod3b.
29123         ($(objpfx)tst-audit3): New rule.
29124         ($(objpfx)tst-audit3.out): Likewise.
29125         * sysdeps/i386/tst-audit3.c: New file.
29126         * sysdeps/i386/tst-audit3.h: Likewise.
29127         * sysdeps/i386/tst-auditmod3a.c: Likewise.
29128         * sysdeps/i386/tst-auditmod3b.c: Likewise.
29130 2015-07-07  Torvald Riegel  <triegel@redhat.com>
29132         [BZ #18633]
29133         * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
29134         pointer in C code.
29135         (__strcat_c): Likewise.
29136         (__strcat_g): Likewise.
29138 2015-07-07  Cyril Hrubis <chrubis@suse.cz>
29140         [BZ #18592]
29141         * misc/sbrk.c: Set errno to ENOMEM on overflow.
29143 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
29145         * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
29146         New function.  (__ieee754_sqrtf): New function.
29147         * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
29148         New function.
29149         * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
29150         New function.
29152 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
29154         * sysdeps/ieee754/support.c: Remove unused file.
29156 2015-07-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
29158         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
29159         registers instead of d ones so the layout is kernel abi compatible.
29160         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
29161         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
29162         Likewise.
29164 2015-07-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
29166         * sysdeps/aarch64/libm-test-ulps: Regenerated.
29168 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
29170         [BZ #18619]
29171         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
29172         and return argument in case of subnormal argument.
29174 2015-07-01  Martin Sebor  <msebor@redhat.com>
29176         [BZ #18435]
29177         * nptl/Makefile: Add tst-once5.cc.
29178         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
29179         Remove macro redefinitions.
29180         * nptl/tst-once5.cc: New test.
29182 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
29184         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
29186         * sysdeps/arm/libm-test-ulps: Regenerated.
29188         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
29189         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
29191 2015-06-30  Torvald Riegel  <triegel@redhat.com>
29193         * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
29194         lll_lock_wait_private and lll_futex_wake probes.
29196         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
29197         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
29198         Likewise.
29199         * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
29200         atomic_spin_nop.
29201         * sysdeps/x86_64/bits/atomic.h: Likewise.
29202         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
29203         to atomic_spin_nop and move ...
29204         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
29205         ... here and ...
29206         * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
29207         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
29208         atomic_spin_nop instead of BUSY_WAIT_NOP.
29209         * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
29210         Likewise.
29211         * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
29212         * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
29213         (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
29214         * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
29215         instead of atomic_delay.
29217 2015-06-29  Joseph Myers  <joseph@codesourcery.com>
29219         [BZ #18613]
29220         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
29221         X_ADJ not X when adjusting exponent.
29222         (__ieee754_gamma_r): Do intermediate computations in
29223         round-to-nearest then adjust overflowing and underflowing results
29224         as needed.
29225         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
29226         of X_ADJ not X when adjusting exponent.
29227         (__ieee754_gammaf_r): Do intermediate computations in
29228         round-to-nearest then adjust overflowing and underflowing results
29229         as needed.
29230         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
29231         log of X_ADJ not X when adjusting exponent.
29232         (__ieee754_gammal_r): Do intermediate computations in
29233         round-to-nearest then adjust overflowing and underflowing results
29234         as needed.  Use 1.0L not 1.0f as numerator of division.
29235         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
29236         log of X_ADJ not X when adjusting exponent.
29237         (__ieee754_gammal_r): Do intermediate computations in
29238         round-to-nearest then adjust overflowing and underflowing results
29239         as needed.  Use 1.0L not 1.0f as numerator of division.
29240         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
29241         of X_ADJ not X when adjusting exponent.
29242         (__ieee754_gammal_r): Do intermediate computations in
29243         round-to-nearest then adjust overflowing and underflowing results
29244         as needed.  Use 1.0L not 1.0f as numerator of division.
29245         * math/libm-test.inc (tgamma_test_data): Remove one test.  Moved
29246         to auto-libm-test-in.
29247         (tgamma_test): Use ALL_RM_TEST.
29248         * math/auto-libm-test-in: Add one test of tgamma.  Mark some other
29249         tests of tgamma with spurious-overflow.
29250         * math/auto-libm-test-out: Regenerated.
29251         * math/gen-libm-have-vector-test.sh: Do not check for START.
29252         * sysdeps/i386/fpu/libm-test-ulps: Update.
29253         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29255         [BZ #18612]
29256         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
29257         arguments, just return 0.5 times the argument, with underflow
29258         forced as needed.
29259         * math/auto-libm-test-in: Add more tests of j1.
29260         * math/auto-libm-test-out: Regenerated.
29262         [BZ #16559]
29263         * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
29264         (__ieee754_j1): Force underflow exception for small results.
29265         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
29266         * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
29267         (__ieee754_j1f): Force underflow exception for small results.
29268         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
29269         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
29270         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
29271         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
29272         (__ieee754_j1l): Force underflow exception for small results.
29273         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
29274         * math/auto-libm-test-in: Add more tests of j1 and jn.
29275         * math/auto-libm-test-out: Regenerated.
29277         * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
29278         * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
29279         (PF_MPLS): Likewise.
29280         (AF_IB): Likewise.
29281         (AF_MPLS): Likewise.
29282         * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
29283         value and macro.
29284         (MS_RMT_MASK): Include MS_LAZYTIME.
29286 2015-06-26  Mel Gorman  <mgorman@suse.de>
29288         [BZ #18502]
29289         * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
29290         already minimal.
29292 2015-06-26  Matthew Fortune  <matthew.fortune@imgtec.com>
29294         * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
29295         (DT_MIPS_NUM): Update.
29296         * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
29297         DT_MIPS_RLD_MAP_REL.
29299 2015-06-25  Joseph Myers  <joseph@codesourcery.com>
29301         [BZ #16559]
29302         [BZ #18602]
29303         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
29304         round-to-nearest internally then recompute results that
29305         underflowed to zero in the original rounding mode.
29306         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
29307         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
29308         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
29309         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
29310         * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
29311         * sysdeps/i386/fpu/libm-test-ulps: Update.
29312         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29314 2015-06-25  Andrew Senkevich  <andrew.senkevich@intel.com>
29316         * NEWS: Fixed description of link with vector math library.
29318 2015-06-25  Andreas Schwab  <schwab@suse.de>
29320         [BZ #18549]
29321         * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
29322         * libio/test-fmemopen.c (do_test): Add test for it.
29324 2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
29326         [BZ #17841]
29327         * Makeconfig (no-pie-ldflag): New.
29328         (+link): Set to $(+link-pie) if default to PIE.
29329         (+link-tests): Set to $(+link-pie-tests) if default to PIE.
29330         * config.make.in (build-pie-default): New.
29331         * configure.ac (libc_cv_pie_default): New.  Set to yes if -fPIE
29332         is default.  AC_SUBST.
29333         * configure: Regenerated.
29334         * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
29336 2015-06-24  Roland McGrath  <roland@hack.frob.com>
29338         * nptl/descr.h (struct pthread): Change type of field setxid_futex
29339         to 'unsigned int'.
29341         * resolv/gai_misc.h (struct waitlist): Change type of field
29342         counterp to 'volatile unsigned int *'.
29343         * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
29344         FUTEXADDR and OLDVAL.
29345         * resolv/getaddrinfo_a.c (getaddrinfo_a):
29346         Give local variable TOTAL type 'volatile unsigned int'.
29347         (struct async_waitlist): Change type of field counter to 'unsigned int'.
29348         * resolv/gai_suspend.c (gai_suspend):
29349         Give local variable CNTR type 'unsigned int'.
29351         * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
29352         counterp to 'volatile unsigned int *'.
29353         * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
29354         (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
29355         (aio_suspend): Give local variable CNTR type 'unsigned int'.
29356         * sysdeps/pthread/lio_listio.c (lio_listio_internal):
29357         Give local variable TOTAL type 'volatile unsigned int'.
29358         (struct async_waitlist): Change type of field counter to 'unsigned int'.
29360 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
29362         [BZ #18383]
29363         * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
29364         TCB_OFFSET to MAX_ALIGN, not just TCBALIGN.  Add comment.
29365         * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
29366         comment for i386/x86-64.
29367         (test-xfail-tst-tlsalign-extern-static): Removed.
29369 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
29371         * math/test-double.h: New file.
29372         * math/test-float.h: Likewise.
29373         * math/test-ldouble.h: Likewise.
29374         * math/test-math-inline.h: Likewise.
29375         * math/test-math-no-inline.h: Likewise.
29376         * math/test-math-scalar.h: Likewise.
29377         * math/test-math-vector.h: Likewise.
29378         * math/test-vec-loop.h: Remove file.  Contents moved into
29379         test-math-vector.h.
29380         * math/libm-test.inc (MATHCONST): Do not document macro.
29381         * math/test-double.c: Include test-double.h, test-math-no-inline.h
29382         and test-math-scalar.h.
29383         (FUNC): Remove macro.
29384         (FUNC_TEST): Likewise.
29385         (FLOAT): Likewise.
29386         (MATHCONST): Likewise.
29387         (PRINTF_EXPR): Likewise.
29388         (PRINTF_XEXPR): Likewise.
29389         (PRINTF_NEXPR): Likewise.
29390         (TEST_DOUBLE): Likewise.
29391         (TEST_MATHVEC): Likewise.
29392         (__NO_MATH_INLINES): Likewise.
29393         * math/test-float.c: Include test-float.h, test-math-no-inline.h
29394         and test-math-scalar.h.
29395         (FUNC): Remove macro.
29396         (FUNC_TEST): Likewise.
29397         (FLOAT): Likewise.
29398         (MATHCONST): Likewise.
29399         (PRINTF_EXPR): Likewise.
29400         (PRINTF_XEXPR): Likewise.
29401         (PRINTF_NEXPR): Likewise.
29402         (TEST_FLOAT): Likewise.
29403         (TEST_MATHVEC): Likewise.
29404         (__NO_MATH_INLINES): Likewise.
29405         * math/test-idouble.c: Include test-double.h, test-math-inline.h
29406         and test-math-scalar.h.
29407         (FUNC): Remove macro.
29408         (FUNC_TEST): Likewise.
29409         (FLOAT): Likewise.
29410         (MATHCONST): Likewise.
29411         (PRINTF_EXPR): Likewise.
29412         (PRINTF_XEXPR): Likewise.
29413         (PRINTF_NEXPR): Likewise.
29414         (TEST_DOUBLE): Likewise.
29415         (TEST_MATHVEC): Likewise.
29416         (TEST_INLINE): Likewise.
29417         (__NO_MATH_INLINES): Likewise.
29418         * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
29419         test-math-scalar.h.
29420         (FUNC): Remove macro.
29421         (FUNC_TEST): Likewise.
29422         (FLOAT): Likewise.
29423         (MATHCONST): Likewise.
29424         (PRINTF_EXPR): Likewise.
29425         (PRINTF_XEXPR): Likewise.
29426         (PRINTF_NEXPR): Likewise.
29427         (TEST_FLOAT): Likewise.
29428         (TEST_MATHVEC): Likewise.
29429         (TEST_INLINE): Likewise.
29430         (__NO_MATH_INLINES): Likewise.
29431         * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
29432         and test-math-scalar.h.
29433         (FUNC): Remove macro.
29434         (FUNC_TEST): Likewise.
29435         (FLOAT): Likewise.
29436         (MATHCONST): Likewise.
29437         (PRINTF_EXPR): Likewise.
29438         (PRINTF_XEXPR): Likewise.
29439         (PRINTF_NEXPR): Likewise.
29440         (TEST_LDOUBLE): Likewise.
29441         (TEST_MATHVEC): Likewise.
29442         (TEST_INLINE): Likewise.
29443         (__NO_MATH_INLINES): Likewise.
29444         * math/test-ldouble.c: Include test-ldouble.h,
29445         test-math-no-inline.h and test-math-scalar.h.
29446         (FUNC): Remove macro.
29447         (FUNC_TEST): Likewise.
29448         (FLOAT): Likewise.
29449         (MATHCONST): Likewise.
29450         (PRINTF_EXPR): Likewise.
29451         (PRINTF_XEXPR): Likewise.
29452         (PRINTF_NEXPR): Likewise.
29453         (TEST_LDOUBLE): Likewise.
29454         (TEST_MATHVEC): Likewise.
29455         (__NO_MATH_INLINES): Likewise.
29456         * math/test-double-vlen2.h: Include test-double.h,
29457         test-math-no-inline.h and test-math-vector.h.
29458         (FLOAT): Remove macro.
29459         (FUNC): Likewise.
29460         (MATHCONST): Likewise.
29461         (PRINTF_EXPR): Likewise.
29462         (PRINTF_XEXPR): Likewise.
29463         (PRINTF_NEXPR): Likewise.
29464         (TEST_DOUBLE): Likewise.
29465         (TEST_MATHVEC): Likewise.
29466         (__NO_MATH_INLINES): Likewise.
29467         (CNCT): Likewise.
29468         (CONCAT): Likewise.
29469         (WRAPPER_NAME): Likewise.
29470         (WRAPPER_DECL): Likewise.
29471         (WRAPPER_DECL_ff): Likewise.
29472         (WRAPPER_DECL_fFF): Likewise.
29473         (VECTOR_WRAPPER): Likewise.
29474         (VECTOR_WRAPPER_ff): Likewise.
29475         (VECTOR_WRAPPER_fFF): Likewise.
29476         (VEC_LEN): New macro.
29477         * math/test-double-vlen4.h: Include test-double.h,
29478         test-math-no-inline.h and test-math-vector.h.
29479         (FLOAT): Remove macro.
29480         (FUNC): 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         (__NO_MATH_INLINES): Likewise.
29488         (CNCT): Likewise.
29489         (CONCAT): Likewise.
29490         (WRAPPER_NAME): Likewise.
29491         (WRAPPER_DECL): Likewise.
29492         (WRAPPER_DECL_ff): Likewise.
29493         (WRAPPER_DECL_fFF): Likewise.
29494         (VECTOR_WRAPPER): Likewise.
29495         (VECTOR_WRAPPER_ff): Likewise.
29496         (VECTOR_WRAPPER_fFF): Likewise.
29497         (VEC_LEN): New macro.
29498         * math/test-double-vlen8.h: Include test-double.h,
29499         test-math-no-inline.h and test-math-vector.h.
29500         (FLOAT): Remove macro.
29501         (FUNC): Likewise.
29502         (MATHCONST): Likewise.
29503         (PRINTF_EXPR): Likewise.
29504         (PRINTF_XEXPR): Likewise.
29505         (PRINTF_NEXPR): Likewise.
29506         (TEST_DOUBLE): Likewise.
29507         (TEST_MATHVEC): Likewise.
29508         (__NO_MATH_INLINES): Likewise.
29509         (CNCT): Likewise.
29510         (CONCAT): Likewise.
29511         (WRAPPER_NAME): Likewise.
29512         (WRAPPER_DECL): Likewise.
29513         (WRAPPER_DECL_ff): Likewise.
29514         (WRAPPER_DECL_fFF): Likewise.
29515         (VECTOR_WRAPPER): Likewise.
29516         (VECTOR_WRAPPER_ff): Likewise.
29517         (VECTOR_WRAPPER_fFF): Likewise.
29518         (VEC_LEN): New macro.
29519         * math/test-float-vlen4.h: Include test-float.h,
29520         test-math-no-inline.h and test-math-vector.h.
29521         (FLOAT): Remove macro.
29522         (FUNC): Likewise.
29523         (MATHCONST): Likewise.
29524         (PRINTF_EXPR): Likewise.
29525         (PRINTF_XEXPR): Likewise.
29526         (PRINTF_NEXPR): Likewise.
29527         (TEST_FLOAT): Likewise.
29528         (TEST_MATHVEC): Likewise.
29529         (__NO_MATH_INLINES): Likewise.
29530         (CNCT): Likewise.
29531         (CONCAT): Likewise.
29532         (WRAPPER_NAME): Likewise.
29533         (WRAPPER_DECL): Likewise.
29534         (WRAPPER_DECL_ff): Likewise.
29535         (WRAPPER_DECL_fFF): Likewise.
29536         (VECTOR_WRAPPER): Likewise.
29537         (VECTOR_WRAPPER_ff): Likewise.
29538         (VECTOR_WRAPPER_fFF): Likewise.
29539         (VEC_LEN): New macro.
29540         * math/test-float-vlen8.h: Include test-float.h,
29541         test-math-no-inline.h and test-math-vector.h.
29542         (FLOAT): Remove macro.
29543         (FUNC): Likewise.
29544         (MATHCONST): Likewise.
29545         (PRINTF_EXPR): Likewise.
29546         (PRINTF_XEXPR): Likewise.
29547         (PRINTF_NEXPR): Likewise.
29548         (TEST_FLOAT): Likewise.
29549         (TEST_MATHVEC): Likewise.
29550         (__NO_MATH_INLINES): Likewise.
29551         (CNCT): Likewise.
29552         (CONCAT): Likewise.
29553         (WRAPPER_NAME): Likewise.
29554         (WRAPPER_DECL): Likewise.
29555         (WRAPPER_DECL_ff): Likewise.
29556         (WRAPPER_DECL_fFF): Likewise.
29557         (VECTOR_WRAPPER): Likewise.
29558         (VECTOR_WRAPPER_ff): Likewise.
29559         (VECTOR_WRAPPER_fFF): Likewise.
29560         (VEC_LEN): New macro.
29561         * math/test-float-vlen16.h: Include test-float.h,
29562         test-math-no-inline.h and test-math-vector.h.
29563         (FLOAT): Remove macro.
29564         (FUNC): Likewise.
29565         (MATHCONST): Likewise.
29566         (PRINTF_EXPR): Likewise.
29567         (PRINTF_XEXPR): Likewise.
29568         (PRINTF_NEXPR): Likewise.
29569         (TEST_FLOAT): Likewise.
29570         (TEST_MATHVEC): Likewise.
29571         (__NO_MATH_INLINES): Likewise.
29572         (CNCT): Likewise.
29573         (CONCAT): Likewise.
29574         (WRAPPER_NAME): Likewise.
29575         (WRAPPER_DECL): Likewise.
29576         (WRAPPER_DECL_ff): Likewise.
29577         (WRAPPER_DECL_fFF): Likewise.
29578         (VECTOR_WRAPPER): Likewise.
29579         (VECTOR_WRAPPER_ff): Likewise.
29580         (VECTOR_WRAPPER_fFF): Likewise.
29581         (VEC_LEN): New macro.
29582         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
29583         test-vec-loop.h.
29584         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
29585         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
29586         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
29587         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
29588         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
29589         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
29590         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
29592 2015-06-24  Roland McGrath  <roland@hack.frob.com>
29594         * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
29595         (__getlogin_r): ... this.
29597 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
29599         [BZ #18594]
29600         * math/s_ccosh.c (__ccosh): Compare with least normal value
29601         instead of comparing class with FP_SUBNORMAL.
29602         * math/s_ccoshf.c (__ccoshf): Likewise.
29603         * math/s_ccoshl.c (__ccoshl): Likewise.
29604         * math/s_cexp.c (__cexp): Likewise.
29605         * math/s_cexpf.c (__cexpf): Likewise.
29606         * math/s_cexpl.c (__cexpl): Likewise.
29607         * math/s_csin.c (__csin): Likewise.
29608         * math/s_csinf.c (__csinf): Likewise.
29609         * math/s_csinh.c (__csinh): Likewise.
29610         * math/s_csinhf.c (__csinhf): Likewise.
29611         * math/s_csinhl.c (__csinhl): Likewise.
29612         * math/s_csinl.c (__csinl): Likewise.
29613         * math/s_ctan.c (__ctan): Likewise.
29614         * math/s_ctanf.c (__ctanf): Likewise.
29615         * math/s_ctanh.c (__ctanh): Likewise.
29616         * math/s_ctanhf.c (__ctanhf): Likewise.
29617         * math/s_ctanhl.c (__ctanhl): Likewise.
29618         * math/s_ctanl.c (__ctanl): Likewise.
29619         * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
29620         csin, csinh, ctan and ctanh.
29621         * math/auto-libm-test-out: Regenerated.
29622         * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
29623         * sysdeps/i386/fpu/libm-test-ulps: Update.
29624         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29626 2015-06-24  Roland McGrath  <roland@hack.frob.com>
29628         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
29629         return value is wrong, print the expected value too.
29631 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
29633         [BZ #18585]
29634         * elf/readlib.c (is_gdb_python_file): New.
29635         (process_file): Don't issue errors on filenames with -gdb.py
29636         suffix.
29638 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
29640         * math/auto-libm-test-in: Add more tests of csin and csinh.
29641         * math/auto-libm-test-out: Regenerated.
29642         * math/libm-test.inc (csin_test_data): Remove tests moved to
29643         auto-libm-test-in.
29644         (csinh_test_data): Likewise.
29646         [BZ #18593]
29647         * math/s_csin.c (__csin): Negate before rather than after possibly
29648         overflowing multiplication.
29649         * math/s_csinf.c (__csinf): Likewise.
29650         * math/s_csinh.c (__csinh): Likewise.
29651         * math/s_csinhf.c (__csinhf): Likewise.
29652         * math/s_csinhl.c (__csinhl): Likewise.
29653         * math/s_csinl.c (__csinl): Likewise.
29654         * math/auto-libm-test-in: Add some tests of csin and csinh.
29655         * math/auto-libm-test-out: Regenerated.
29656         * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
29657         (csinh_test_data): Likewise.
29658         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29660         [BZ #18586]
29661         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
29662         underflow exception for small results.
29664 2015-06-24  Andrew Senkevich  <andrew.senkevich@intel.com>
29666         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
29667         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
29668         variable and included header.
29669         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
29670         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
29671         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
29672         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
29673         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
29674         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
29675         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
29676         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
29677         * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
29678         * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
29679         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
29680         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
29681         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
29682         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
29683         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
29684         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
29686 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
29688         [BZ #16526]
29689         [BZ #16538]
29690         * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
29691         (__sin): Force underflow exception for arguments with small
29692         absolute value.
29693         * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
29694         (__kernel_sinf): Force underflow exception for arguments with
29695         small absolute value.
29696         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
29697         (__kernel_sincosl): Force underflow exception for arguments with
29698         small absolute value.
29699         * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
29700         (__kernel_sinl): Force underflow exception for arguments with
29701         small absolute value.
29702         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
29703         (__kernel_sincosl): Force underflow exception for arguments with
29704         small absolute value.
29705         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
29706         (__kernel_sinl): Force underflow exception for arguments with
29707         small absolute value.
29708         * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
29709         (__kernel_sinl): Force underflow exception for arguments with
29710         small absolute value.
29711         * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
29712         (__kernel_sinf): Force underflow exception for arguments with
29713         small absolute value.
29714         * math/auto-libm-test-in: Add more tests of sin and sincos.
29715         * math/auto-libm-test-out: Regenerated.
29717         [BZ #18245]
29718         [BZ #18583]
29719         * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
29720         (__kernel_standard_l): Use feholdexcept and fesetenv around
29721         conversion to double instead of special-casing overflow and
29722         underflow.
29723         * math/libm-test.inc (fmod_test_data): Add more tests.
29724         (remainder_test_data): Likewise.
29725         (sqrt_test_data): Likewise.
29727 2015-06-23  Torvald Riegel  <triegel@redhat.com>
29729         [BZ #17403]
29730         * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
29731         atomic_read_barrier, atomic_write_barrier): Define.
29732         * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
29733         atomic_read_barrier, atomic_write_barrier): Define.
29735 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
29737         * math/Makefile [$(PERL) != no]
29738         ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
29739         dependency on libm-test.stmp below the inclusion of Rules.
29741 2015-06-23  Andrew Senkevich  <andrew.senkevich@intel.com>
29743         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
29744         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
29745         and included header.
29746         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
29747         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
29748         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
29749         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
29750         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
29751         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
29752         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
29753         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
29754         * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
29755         * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
29756         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
29757         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
29758         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
29759         * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
29760         * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
29761         * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
29762         * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
29763         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
29764         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
29766 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
29768         [BZ #18371]
29769         * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
29770         intermediate but not final result might underflow.
29771         * math/s_csqrtf.c (__csqrtf): Likewise.
29772         * math/s_csqrtl.c (__csqrtl): Likewise.
29773         * math/auto-libm-test-in: Add more tests of csqrt.
29774         * math/auto-libm-test-out: Regenerated.
29775         * sysdeps/i386/fpu/libm-test-ulps: Update.
29777         [BZ #18219]
29778         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
29779         threshold on absolute value of exponent for which scaling is used.
29780         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
29781         * math/auto-libm-test-in: Add more tests of exp2.
29782         * math/auto-libm-test-out: Regenerated.
29784 2015-06-23  Dmitry V. Levin  <ldv@altlinux.org>
29786         [BZ #17977]
29787         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
29788         when initializing interface list, based on the bug analysis
29789         and the patch proposed by Eric Newton.
29790         * resolv/tst-res_hconf_reorder.c: New test.
29791         * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
29792         tst-res_hconf_reorder.
29793         ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
29794         and $(shared-thread-library).
29795         (tst-res_hconf_reorder-ENV): New variable.
29797         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
29798         in comment.
29800 2015-06-22  Joseph Myers  <joseph@codesourcery.com>
29802         [BZ #16353]
29803         * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
29804         (__expm1): Force underflow exception for arguments with small
29805         absolute value.
29806         * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
29807         (__expm1f): Force underflow exception for arguments with small
29808         absolute value.
29809         * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
29810         (__expm1): Force underflow exception for arguments with small
29811         absolute value.
29812         * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
29813         (__expm1f): Force underflow exception for arguments with small
29814         absolute value.
29815         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
29816         Check for small arguments before calling __expm1.
29817         * math/auto-libm-test-in: Do not mark underflow exceptions as
29818         possibly missing for bug 16353.
29819         * math/auto-libm-test-out: Regenerated.
29821 2015-06-22  Andreas Schwab  <schwab@suse.de>
29823         [BZ #18513]
29824         * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
29825         PTR queries.
29827 2015-06-22  Leonhard Holz  <leonhard.holz@web.de>
29829         * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
29831         * string/strcoll_l.c: Remove unused struct element idxnow.
29833 2015-06-21  Joseph Myers  <joseph@codesourcery.com>
29835         [BZ #18569]
29836         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
29837         underflow and return argument in case of subnormal argument.
29838         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
29839         Likewise.
29840         * math/auto-libm-test-in: Add more tests of expm1.
29841         * math/auto-libm-test-out: Regenerated.
29843         [BZ #16361]
29844         * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
29845         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
29846         tiny results.
29847         * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
29848         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
29849         tiny results.
29850         * math/auto-libm-test-in: Add more tests of exp and exp10.  Do not
29851         mark underflow exceptions as possibly missing for bug 16361.
29852         * math/auto-libm-test-out: Regenerated.
29854 2015-06-19  Joseph Myers  <joseph@codesourcery.com>
29856         * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
29857         * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
29858         Remove variable.
29859         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
29860         (test-xfail-XOPEN2K8/utmpx.h/conform).
29862         * conform/conformtest.pl ($xerrors): New variable.
29863         (note_error): New function.
29864         (compiletest): New argument $xfail.  Use not_error.
29865         (runtest): Likewise.
29866         (top level): Handle xfail- lines.  Update calls to compiletest and
29867         runtest.  Handle xfail- and optional- in headers listed with
29868         allow-header.
29869         * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
29870         (O_EXEC): Likewise.
29871         (O_SEARCH): Likewise.
29872         * conform/data/stropts.h-data (ioctl): Likewise.
29873         * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
29874         * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
29875         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
29876         (msghdr.msg_controllen): Likewise.
29877         (cmsghdr.cmsg_len): Likewise.
29878         * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
29879         * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
29880         variable.
29881         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
29882         (test-xfail-XPG4/stropts.h/conform): Likewise.
29883         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
29884         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
29885         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
29886         (test-xfail-UNIX98/stropts.h/conform): Likewise.
29887         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
29888         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
29889         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
29890         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
29891         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
29892         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
29893         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
29894         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
29895         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
29896         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
29897         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
29898         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
29899         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
29900         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
29901         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
29903 2015-06-19  Andrew Senkevich  <andrew.senkevich@intel.com>
29905         * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
29906         __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
29907         definitions for proper unfolding of __MATHDECL_VEC.
29909 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
29911         * benchtests/bench-strcoll.c:
29912         Include string.h.
29913         (main): Remove unused variable res.
29915 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
29917         * timezone/Makefile (%/UTC %/Universal):
29918         Generate test-result files for UTC and Universal.
29920 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
29922         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
29924 2015-06-18  Joseph Myers  <joseph@codesourcery.com>
29926         [BZ #16350]
29927         * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
29928         for arguments with small absolute value.
29929         * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
29930         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
29931         * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
29932         (__asinh): Force underflow exception for arguments with small
29933         absolute value.
29934         * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
29935         (__asinhf): Force underflow exception for arguments with small
29936         absolute value.
29937         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
29938         (__asinhl): Force underflow exception for arguments with small
29939         absolute value.
29940         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
29941         (__asinhl): Force underflow exception for arguments with small
29942         absolute value.
29943         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
29944         (__asinhl): Force underflow exception for arguments with small
29945         absolute value.
29946         * math/auto-libm-test-in: Do not mark underflow exceptions as
29947         possibly missing for bug 16350.
29948         * math/auto-libm-test-out: Regenerated.
29950         * include/bits/ipc.h: Remove file.
29951         * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
29952         variable.
29953         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
29954         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
29955         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
29956         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
29957         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
29958         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
29959         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
29960         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
29961         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
29963         * math/auto-libm-test-in: Remove spurious underflow allowance for
29964         tests of cexp.
29965         * math/auto-libm-test-out: Regenerated.
29967         [BZ #18558]
29968         * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
29969         unconditional definition.
29970         (MCAST_BLOCK_SOURCE): Likewise.
29971         (MCAST_UNBLOCK_SOURCE): Likewise.
29972         (MCAST_LEAVE_GROUP): Likewise.
29973         (MCAST_JOIN_SOURCE_GROUP): Likewise.
29974         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
29975         (MCAST_MSFILTER): Likewise.
29976         * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
29977         Remove variable.
29978         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
29979         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
29980         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
29981         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
29982         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
29984 2015-06-18  Andrew Senkevich  <andrew.senkevich@intel.com>
29986         * NEWS: Mention addition of x86_64 vector sincosf.
29987         * math/test-float-vlen16.h: Added wrapper for sincosf tests.
29988         * math/test-float-vlen4.h: Likewise.
29989         * math/test-float-vlen8.h: Likewise.
29990         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
29991         * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
29992         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
29993         * sysdeps/x86_64/fpu/Versions: New versions added.
29994         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
29995         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
29996         Added build of SSE, AVX2 and AVX512 IFUNC versions.
29997         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
29998         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
29999         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
30000         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
30001         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
30002         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
30003         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
30004         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
30005         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
30006         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
30007         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
30008         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
30009         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
30010         * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
30011         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
30012         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
30013         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
30014         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
30015         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
30016         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
30017         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
30019         * NEWS: Mention addition of x86_64 vector sincos.
30020         * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
30021         * math/math.h (__MATHDECL_VEC): New macro.
30022         * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
30023         * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
30024         declaration under condition.
30025         * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
30026         * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
30027         TEST_VEC_LOOP change.
30028         * math/test-double-vlen4.h: Likewise.
30029         * math/test-double-vlen8.h: Likewise.
30030         * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
30031         * math/test-float-vlen4.h: Likewise.
30032         * math/test-float-vlen8.h: Likewise.
30033         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
30034         * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
30035         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
30036         * sysdeps/x86_64/fpu/Versions: New versions added.
30037         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
30038         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
30039         Added build of SSE, AVX2 and AVX512 IFUNC versions.
30040         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
30041         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
30042         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
30043         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
30044         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
30045         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
30046         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
30047         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
30048         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
30049         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
30050         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
30051         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
30052         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
30053         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
30054         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
30055         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
30056         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
30057         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
30058         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
30059         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
30060         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
30062         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
30063         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
30064         redirections for powf.
30065         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
30066         * sysdeps/x86_64/fpu/Versions: New versions added.
30067         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
30068         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
30069         Added build of SSE, AVX2 and AVX512 IFUNC versions.
30070         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
30071         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
30072         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
30073         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
30074         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
30075         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
30076         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
30077         * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
30078         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
30079         * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
30080         * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
30081         * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
30082         * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
30083         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
30084         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
30085         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
30086         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
30087         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
30088         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
30089         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
30090         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
30091         * math/test-float-vlen16.h: Fixed 2 argument macro.
30092         * math/test-float-vlen4.h: Likewise.
30093         * math/test-float-vlen8.h: Likewise.
30094         * NEWS: Mention addition of x86_64 vector powf.
30096 2015-06-17  Joseph Myers  <joseph@codesourcery.com>
30098         * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
30099         and redefine.
30100         * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
30101         and redefine.
30102         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
30103         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
30104         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
30106         [BZ #18553]
30107         * resource/getpriority.c (getpriority): Rename to __getpriority
30108         and define as weak alias of __getpriority.
30109         * resource/setpriority.c (setpriority): Rename to __setpriority
30110         and define as weak alias of __setpriority.
30111         * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
30112         __getpriority and define as weak alias of __getpriority.
30113         * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
30114         __setpriority and define as weak alias of __setpriority.
30115         * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
30116         strong name.
30117         (setpriority): Use __setpriority as strong name.
30118         * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
30119         __getpriority and define as weak alias of __getpriority.
30120         * include/sys/resource.h (__getpriority): Declare.  Use
30121         libc_hidden_proto.
30122         (__setpriority): Likewise.
30123         (getpriority): Don't use libc_hidden_proto.
30124         (setpriority): Likewise.
30125         * sysdeps/posix/nice.c (nice): Call __getpriority instead of
30126         getpriority.  Call __setpriority instead of setpriority.
30127         * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
30128         Remove variable.
30130         [BZ #18547]
30131         * misc/getttyent.c (getttynam): Rename to __getttynam and define
30132         as weak alias of __getttynam.  Use prototype function definition.
30133         Call __setttyent, __getttyent and __endttyent instead of
30134         setttyent, getttyent and endttyent.
30135         (getttyent): Rename to __getttyent and define as weak alias of
30136         __getttyent.  Call __setttyent instead of setttyent.  Call
30137         __fgets_unlocked instead of fgets_unlocked.
30138         (setttyent): Rename to __setttyent and define as weak alias of
30139         __setttyent.
30140         (endttyent): Rename to __endttyent and define as weak alias of
30141         __endttyent.
30142         * include/ttyent.h (__getttyent): Declare.  Use libc_hidden_proto.
30143         (__setttyent): Likewise.
30144         (__endttyent): Likewise.
30145         (getttyent): Don't use libc_hidden_proto.
30146         (setttyent): Likewise.
30147         (endttyent): Likewise.
30148         * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
30149         __endttyent instead of setttyent, getttyent and endttyent.
30150         * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
30151         Remove variable.
30153         [BZ #18546]
30154         * socket/recv.c (__recv): Use libc_hidden_def.
30155         * socket/socket.c (__socket): Likewise.
30156         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
30157         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
30158         * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
30159         * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
30160         * sysdeps/unix/sysv/linux/socket.c (__socket): Use
30161         libc_hidden_def.
30162         * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
30163         libc_hidden_weak.
30164         * include/sys/socket.h (__socket): Do not use attribute_hidden.
30165         Use libc_hidden_proto.
30166         (__recv): Likewise.
30167         * socket/Versions (libc): Export __recv and __socket at version
30168         GLIBC_PRIVATE.
30169         * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
30170         instead of recv.
30171         (init_mq_netlink): Call __socket instead of socket.
30172         * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
30173         Remove variable.
30175         [BZ #18545]
30176         * rt/mq_timedreceive.c (mq_timedreceive): Rename to
30177         __mq_timedreceive and define as alias of __mq_timedreceive.  Use
30178         hidden_weak.
30179         * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
30180         define as alias of __mq_timedsend.  Use hidden_weak.
30181         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
30182         __mq_timedsend as strong name.
30183         (mq_timedreceive): Use __mq_timedreceive as strong name.
30184         * include/mqueue.h (__mq_timedsend): Declare.  Use hidden_proto.
30185         (__mq_timedreceive): Likewise.
30186         * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
30187         __mq_timedreceive instead of mq_timedreceive.
30188         * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
30189         instead of mq_timedsend.
30190         * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
30191         Remove variable.
30193         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
30194         hidden_def and hidden_weak instead of libc_hidden_def and
30195         libc_hidden_weak.
30196         (top level): Refer to hidden_def in comment.
30197         * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
30198         macro.  Use it instead of libc_hidden_def.
30199         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
30200         specify __GI_* name explicitly.
30201         (mq_timedreceive): Likewise.
30202         (mq_setattr): Likewise.
30204         [BZ #18544]
30205         * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
30206         __pthread_barrier_init and define as weak alias of
30207         __pthread_barrier_init.
30208         * sysdeps/sparc/nptl/pthread_barrier_init.c
30209         (pthread_barrier_init): Likewise.
30210         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
30211         __pthread_barrier_wait and define as weak alias of
30212         __pthread_barrier_wait.
30213         * sysdeps/sparc/nptl/pthread_barrier_wait.c
30214         (pthread_barrier_wait): Likewise.
30215         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
30216         (pthread_barrier_wait): Likewise.
30217         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
30218         (pthread_barrier_wait): Likewise.
30219         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
30220         (pthread_barrier_wait): Likewise.
30221         * nptl/Versions (libpthread): Export __pthread_barrier_init and
30222         __pthread_barrier_wait at version GLIBC_PRIVATE.
30223         * include/pthread.h (__pthread_barrier_init): Declare.
30224         (__pthread_barrier_wait): Likewise.
30225         * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
30226         Call __pthread_barrier_wait instead of pthread_barrier_wait.
30227         (helper_thread): Likewise.
30228         (init_mq_netlink): Call __pthread_barrier_init instead of
30229         pthread_barrier_init.
30231         [BZ #18542]
30232         * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
30233         (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
30234         * include/wchar.h (__vswscanf): Declare.  Use libc_hidden_proto.
30235         * libio/swscanf.c (__swscanf): Call __vswscanf instead of
30236         vswscanf.
30237         * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
30238         Remove variable.
30240         [BZ #18540]
30241         * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
30242         strong alias of _IO_fflush.  Use libc_hidden_def.
30243         * libio/iofflush_u.c (fflush_unlocked): Rename to
30244         __fflush_unlocked and define as weak alias of __fflush_unlocked.
30245         Use libc_hidden_weak.
30246         * include/stdio.h (__fflush_unlocked): Declare.  Use
30247         libc_hidden_proto.
30248         * misc/getpass.c (getpass): Call __fflush_unlocked instead of
30249         fflush_unlocked.
30250         * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
30251         Remove variable.
30253         [BZ #18539]
30254         * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
30255         define as weak alias of __addseverity.
30256         * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
30257         Remove variable.
30258         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
30259         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
30260         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
30262         [BZ #18536]
30263         * misc/tsearch.c (__tsearch): Use libc_hidden_def.
30264         (__tfind): Likewise.
30265         (__tdelete): Likewise.
30266         (__twalk): Likewise.
30267         * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
30268         __twalk to GLIBC_PRIVATE.
30269         * include/search.h (__tsearch): Use libc_hidden_proto.
30270         (__tfind): Likewise.
30271         (__tdelete): Likewise.
30272         (__twalk): Likewise.
30273         * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
30274         Call __tdelete instead of tdelete.
30275         * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
30276         tfind.  Call __tsearch instead of tsearch.
30277         * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
30278         * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
30279         Remove variable.
30280         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
30282         [BZ #18534]
30283         * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
30284         (dprintf): Define as a weak alias of __dprintf, not a strong
30285         alias.
30286         * include/stdio.h (__dprintf): Declare.  Use libc_hidden_proto.
30287         * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
30288         dprintf.
30289         * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
30290         Remove variable.
30291         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
30292         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
30294         [BZ #18533]
30295         * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
30296         not a strong alias.
30297         * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
30298         Remove variable.
30300         [BZ #18532]
30301         * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
30302         define as weak alias of __in6addr_any.  Use libc_hidden_data_weak.
30303         (in6addr_loopback): Rename to __in6addr_loopback and define as
30304         weak alias of __in6addr_loopback.  Use libc_hidden_data_weak.
30305         * include/netinet/in.h (__in6addr_loopback): Declare.  Use
30306         libc_hidden_proto.
30307         (__in6addr_any): Likewise.
30308         * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
30309         in6addr_any.
30310         * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
30311         variable.
30312         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
30314 2015-06-17  Andrew Senkevich  <andrew.senkevich@intel.com>
30316         * bits/libm-simd-decl-stubs.h: Added stubs for pow.
30317         * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
30318         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
30319         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
30320         redirections for pow.
30321         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
30322         * sysdeps/x86_64/fpu/Versions: New versions added.
30323         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
30324         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
30325         build of SSE, AVX2 and AVX512 IFUNC versions.
30326         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
30327         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
30328         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
30329         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
30330         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
30331         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
30332         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
30333         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
30334         * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
30335         * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
30336         * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
30337         * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
30338         * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
30339         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
30340         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
30341         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
30342         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
30343         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
30344         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
30345         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
30346         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
30347         * NEWS: Mention addition of x86_64 vector pow.
30349         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
30350         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
30351         redirections for expf.
30352         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
30353         * sysdeps/x86_64/fpu/Versions: New versions added.
30354         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
30355         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
30356         build of SSE, AVX2 and AVX512 IFUNC versions.
30357         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
30358         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
30359         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
30360         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
30361         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
30362         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
30363         * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
30364         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
30365         * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
30366         * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
30367         * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
30368         * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
30369         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
30370         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
30371         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
30372         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
30373         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
30374         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
30375         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
30376         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
30377         * NEWS: Mention addition of x86_64 vector expf.
30379         * bits/libm-simd-decl-stubs.h: Added stubs for exp.
30380         * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
30381         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
30382         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
30383         redirections for exp.
30384         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
30385         * sysdeps/x86_64/fpu/Versions: New versions added.
30386         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
30387         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
30388         build of SSE, AVX2 and AVX512 IFUNC versions.
30389         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
30390         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
30391         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
30392         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
30393         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
30394         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
30395         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
30396         * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
30397         * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
30398         * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
30399         * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
30400         * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
30401         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
30402         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
30403         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
30404         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
30405         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
30406         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
30407         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
30408         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
30409         * NEWS: Mention addition of x86_64 vector exp.
30411         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
30412         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
30413         redirections for logf.
30414         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
30415         * sysdeps/x86_64/fpu/Versions: New versions added.
30416         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
30417         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
30418         build of SSE, AVX2 and AVX512 IFUNC versions.
30419         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
30420         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
30421         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
30422         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
30423         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
30424         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
30425         * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
30426         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
30427         * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
30428         * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
30429         * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
30430         * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
30431         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
30432         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
30433         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
30434         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
30435         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
30436         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
30437         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
30438         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
30439         * NEWS: Mention addition of x86_64 vector logf.
30441         * bits/libm-simd-decl-stubs.h: Added stubs for log.
30442         * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
30443         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
30444         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
30445         redirections for log.
30446         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
30447         * sysdeps/x86_64/fpu/Versions: New versions added.
30448         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
30449         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
30450         build of SSE, AVX2 and AVX512 IFUNC versions.
30451         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
30452         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
30453         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
30454         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
30455         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
30456         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
30457         * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
30458         * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
30459         * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
30460         * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
30461         * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
30462         * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
30463         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
30464         test.
30465         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
30466         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
30467         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
30468         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
30469         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
30470         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
30471         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
30472         * NEWS: Mention addition of x86_64 vector log.
30474 2015-06-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
30476         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
30477         cfi_adjust_cfa_offset argument.
30478         (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
30479         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
30481         [BZ #18034]
30482         * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
30483         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
30484         (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
30485         ordering using ldar.
30486         (_dl_tlsdesc_dynamic): Likewise.
30487         (_dl_tlsdesc_return_lazy): Likewise.
30488         * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
30489         relaxed atomics instead of volatile and synchronize with release store.
30490         (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
30491         volatile.
30492         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
30494 2015-06-15  Andrew Senkevich  <andrew.senkevich@intel.com>
30496         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
30497         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
30498         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
30499         * sysdeps/x86_64/fpu/Versions: New versions added.
30500         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
30501         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
30502         build of SSE, AVX2 and AVX512 IFUNC versions.
30503         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
30504         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
30505         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
30506         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
30507         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
30508         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
30509         * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
30510         * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
30511         * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
30512         * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
30513         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
30514         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
30515         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
30516         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
30517         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
30518         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
30519         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
30520         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
30521         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
30522         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
30523         * NEWS: Mention addition of x86_64 vector sinf.
30525 2015-06-14  Joseph Myers  <joseph@codesourcery.com>
30527         * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
30528         and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
30529         * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
30530         Remove variable.
30531         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
30532         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
30534 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
30536         [BZ #18530]
30537         * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
30538         strong alias of _IO_fputs.  Use libc_hidden_def.
30539         * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
30540         and define as weak alias of __fputs_unlocked.  Use
30541         libc_hidden_weak.
30542         * include/stdio.h (__fputs_unlocked): Declare.  Use
30543         libc_hidden_proto.
30544         * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
30545         fputs_unlocked.
30547         [BZ #18529]
30548         * resolv/netdb.h [__USE_POSIX]: Change condition to
30549         [__USE_XOPEN2K].
30550         * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
30551         not expect.
30552         [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
30553         [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
30554         [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
30555         [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
30556         [XPG4 || UNIX98] (AI_ALL): Likewise.
30557         [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
30558         [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
30559         [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
30560         [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
30561         [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
30562         [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
30563         [XPG4 || UNIX98] (NI_DGRAM): Likewise.
30564         [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
30565         [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
30566         [XPG4 || UNIX98] (EAI_FAIL): Likewise.
30567         [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
30568         [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
30569         [XPG4 || UNIX98] (EAI_NONAME): Likewise.
30570         [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
30571         [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
30572         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
30573         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
30574         [XPG4 || UNIX98] (freeaddrinfo): Likewise.
30575         [XPG4 || UNIX98] (gai_strerror): Likewise.
30576         [XPG4 || UNIX98] (getaddrinfo): Likewise.
30577         [XPG4 || UNIX98] (getnameinfo): Likewise.
30579         [BZ #18528]
30580         * grp/grp.h (endgrent): Condition on [__USE_MISC ||
30581         __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
30582         __USE_XOPEN2K8].
30583         (getgrent): Likewise.
30584         * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
30585         expect.
30586         [XPG3 || POSIX2008] (endgrent): Likewise.
30587         [XPG3] (setgrent): Likewise.
30588         * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
30589         variable.
30590         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
30592         [BZ #18527]
30593         * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
30594         define as weak alias of __getlogin_r.  Use libc_hidden_weak.
30595         * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
30596         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
30597         * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
30598         * include/unistd.h (__getlogin_r): Declare.  Use
30599         libc_hidden_proto.
30600         * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
30601         * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
30602         variable.
30603         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
30604         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
30605         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
30607 2015-06-12  Martin Sebor  <msebor@redhat.com>
30609         [BZ #18512]
30610         * Makerules (check-install-supported): New target.
30611         (install): Add check-install-supported as a dependency.
30612         * manual/install.texi (Installing the C Library): Document
30613         that overriding prefix and exec_prefix is not supported.
30614         Mention DESTDIR.
30615         * INSTALL: Regenerate from the above.
30617 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
30619         [BZ #18519]
30620         * posix/Versions (libc): Export __libc_pread at version
30621         GLIBC_PRIVATE.
30622         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
30623         instead of pread.
30624         * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
30625         variable.
30627         [BZ #18522]
30628         * misc/efgcvt_r.c
30629         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
30630         (cvt_symbol): Use weak_alias instead of strong_alias.
30631         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
30632         * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
30633         Remove variable.
30634         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
30635         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
30637         [BZ #18520]
30638         * inet/herrno.c (h_errno): Rename to __h_errno.
30639         (__libc_h_errno): Define as alias of __h_errno not h_errno.
30640         * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
30641         to __h_errno instead of h_errno.
30642         * nptl/herrno.c (h_errno): Rename to __h_errno.
30643         (__h_errno_location): Refer to __h_errno not h_errno.
30644         * resolv/Versions (h_errno): Rename to __h_errno.
30645         * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
30646         Remove variable.
30647         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
30649 2015-06-11  Andrew Senkevich  <andrew.senkevich@intel.com>
30651         * configure.ac: More strict check for AVX512 assembler support.
30652         * configure: Regenerated.
30654         * bits/libm-simd-decl-stubs.h: Added stubs for sin.
30655         * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
30656         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
30657         * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
30658         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
30659         * sysdeps/x86_64/fpu/Versions: New versions added.
30660         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
30661         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
30662         Added build of SSE, AVX2 and AVX512 IFUNC versions.
30663         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
30664         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
30665         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
30666         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
30667         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
30668         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
30669         * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
30670         * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
30671         * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
30672         * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
30673         * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
30674         * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
30675         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
30676         test.
30677         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
30678         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
30679         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
30680         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
30681         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
30682         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
30683         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
30684         * NEWS: Mention addition of x86_64 vector sin.
30686 2015-06-11  Florian Weimer  <fweimer@redhat.com>
30688         * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
30689         comment.
30691 2015-06-10  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
30693         [BZ #18479]
30694         * nptl/pt-interp.c: New file.
30695         * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
30696         Add pt-interp.
30697         [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
30698         $(common-objpfx)runtime-linker.h.
30700 2015-06-10  Dmitry V. Levin  <ldv@altlinux.org>
30702         * Makeconfig (+interp): Remove unused variable.
30703         * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
30704         only.  Depend on $(common-objpfx)runtime-linker.h instead of
30705         $(elf-objpfx)runtime-linker.h.
30706         ($(elf-objpfx)runtime-linker.h): Rename to
30707         $(common-objpfx)runtime-linker.h and move ...
30708         * Makerules [$(build-shared) = yes]: ... here.
30709         * elf/interp.c: Include <runtime-linker.h> instead of
30710         <elf/runtime-linker.h>.
30712 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
30714         * sysdeps/unix/sysv/linux/i386/gettimeofday.c
30715         (__gettimeofday_syscall): Remove vsyscall fallback.
30716         * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
30717         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
30718         Add syscall fallback function.
30719         (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
30720         if vDSO is not present.
30721         * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
30722         fallback function.
30723         (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
30724         present.
30725         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
30726         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
30728 2015-06-09  Joseph Myers  <joseph@codesourcery.com>
30730         [BZ #18497]
30731         * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
30732         of wcscmp.
30733         (wcscmp): Define as weak alias of WCSCMP.
30734         * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
30735         wcscoll.
30736         (USE_HIDDEN_DEF): Define.
30737         [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
30738         __wcscoll.  Don't use libc_hidden_weak.
30739         * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
30740         wcscmp.
30741         * sysdeps/i386/i686/multiarch/wcscmp-c.c
30742         [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
30743         __GI_wcscmp.
30744         (weak_alias): Undefine and redefine.
30745         * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
30746         __wcscmp and define as weak alias of __wcscmp.
30747         * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
30748         * include/wchar.h (__wcscmp): Declare.  Use libc_hidden_proto.
30749         (__wcscoll): Likewise.
30750         (wcscmp): Don't use libc_hidden_proto.
30751         (wcscoll): Likewise.
30752         * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
30753         wcscoll.
30754         * posix/regexec.c (check_node_accept_bytes): Likewise.
30755         * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
30756         variable.
30757         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
30758         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
30760         [BZ #18507]
30761         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
30762         __fstatvfs and define as weak alias of __fstatvfs.  Use
30763         libc_hidden_weak.
30764         * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
30765         and define as weak alias of __statvfs.  Use libc_hidden_weak.
30766         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
30767         Define as alias of __fstatvfs, not fstatvfs.
30768         (fstatvfs64): Likewise.
30769         * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
30770         Define as alias of __statvfs, not statvfs.
30771         (statvfs64): Likewise.
30772         * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
30773         Remove variable.
30775 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
30777         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
30778         (HAVE_GETCPU_VSYSCALL): Define.
30779         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
30780         (HAVE_GETCPU_VSYSCALL): Likewise.
30781         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
30782         * sysdeps/unix/sysv/linux/sched_getcpu.c
30783         (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
30784         (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
30785         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
30786         prototype.
30787         * sysdeps/unix/sysv/linux/x86_64/init-first.c
30788         (__vdso_platform_setup): Remove vsyscall getcpu fallback.
30789         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
30790         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
30791         Define.
30792         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
30793         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
30794         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
30795         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
30797 2015-06-09  Andrew Senkevich  <andrew.senkevich@intel.com>
30799         * sysdeps/x86_64/fpu/Makefile: New file.
30800         * sysdeps/x86_64/fpu/Versions: New file.
30801         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
30802         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
30803         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
30804         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
30805         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
30806         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
30807         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
30808         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
30809         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
30810         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
30811         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
30812         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
30813         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
30814         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
30815         Added build of SSE, AVX2 and AVX512 IFUNC versions.
30816         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
30817         * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
30818         * sysdeps/x86_64/configure.ac: Options for libmvec build.
30819         * sysdeps/x86_64/configure: Regenerated.
30820         * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
30821         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
30822         * manual/install.texi (Configuring and compiling): Document
30823         --disable-mathvec.
30824         * INSTALL: Regenerated.
30825         * NEWS: Mention addition of libmvec and x86_64 vector cos.
30827         * math/Makefile: Added rules for vector tests.
30828         * math/gen-libm-have-vector-test.sh: Added generation of wrapper
30829         declaration under condition.
30830         * math/test-double-vlen2.h: New file.
30831         * math/test-double-vlen4.h: New file.
30832         * math/test-double-vlen8.h: New file.
30833         * math/test-vec-loop.h: Added initialization macro.
30834         * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
30835         * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
30836         * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
30837         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
30838         * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
30839         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
30840         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
30841         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
30842         * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
30843         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
30844         * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
30846         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
30847         * sysdeps/x86_64/fpu/Versions: New versions added.
30848         * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
30849         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
30850         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
30851         * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
30852         * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
30853         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
30854         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
30855         * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
30856         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
30857         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
30858         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
30859         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
30860         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
30861         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
30862         Added build of SSE, AVX2 and AVX512 IFUNC versions.
30863         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
30864         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
30865         * NEWS: Mention addition of x86_64 vector cosf.
30867         * math/Makefile: Added CFLAGS for new tests.
30868         * math/test-float-vlen16.h: New file.
30869         * math/test-float-vlen4.h: New file.
30870         * math/test-float-vlen8.h: New file.
30871         * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
30872         * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
30873         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
30874         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
30875         * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
30876         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
30877         * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
30878         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
30879         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
30880         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
30881         * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
30883 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
30885         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
30886         * locale/programs/ld-ctype.c: Likewise.
30888 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
30890         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
30891         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
30892         bit_ZMM16_31_state): New macro.
30893         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30894         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
30896 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
30898         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
30900 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
30902         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
30904 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
30906         [BZ #18498]
30907         * libio/memstream.c (open_memstream): Rename to __open_memstream
30908         and define as weak alias of __open_memstream.
30909         * include/stdio.h (__open_memstream): Declare.  Use
30910         libc_hidden_proto.
30911         (open_memstream): Don't use libc_hidden_proto.
30912         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
30913         open_memstream.
30914         * posix/getopt.c (_getopt_internal_r): Likewise.
30915         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
30916         variable.
30917         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
30918         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
30919         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
30921         [BZ #18496]
30922         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
30923         instead of wcrtomb.
30925         [BZ #18483]
30926         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
30927         [__USE_XOPEN2K8].  Remove redundant #endif.
30928         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
30929         Remove redundant #if.
30930         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
30931         Remove variable.
30932         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
30933         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
30935         [BZ #18495]
30936         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
30937         (__iswlower): Likewise.
30938         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
30939         (__iswlower): Likewise.
30940         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
30941         instead of towlower.
30942         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
30943         instead of iswlower.  Call __towupper instead of towupper.
30944         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
30945         instead of iswalnum.
30947 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
30949         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
30950         errors to stderr.
30952 2015-06-05  Florian Weimer  <fweimer@redhat.com>
30954         [BZ #15661]
30955         [BZ #17322]
30956         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
30957         Check for overflow properly.  Check for O_APPEND.  Ignore large
30958         file system block sizes.  Add comments about problems.
30959         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
30960         * manual/filesys.texi (Storage Allocation): New node.
30962 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
30964         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
30965         cancellable syscalls.
30966         (SYS_ify): Add guard to no redefine it.
30967         (INLINE_SYSCALL): Likewise.
30968         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
30969         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
30970         SYSCALL_CANCEL instead.
30971         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
30972         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
30973         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
30974         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
30975         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
30976         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
30977         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
30978         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
30979         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
30980         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
30981         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
30982         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
30983         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
30984         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
30985         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
30986         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
30987         Likewise.
30988         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
30989         (__libc_pread64): Likewise.
30990         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
30991         (__libc_preadv): Likewise.
30992         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
30993         (__libc_readv64): Likewise.
30994         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
30995         (__libc_pwrite): Likewise.
30996         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
30997         (__libc_pwrite64): Likewise.
30998         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
30999         (__libc_pwritev): Likewise.
31000         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
31001         (__libc_pwritev64): Likewise.
31002         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
31003         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
31004         (sync_file_range): Likewise.
31005         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
31006         Likewise.
31007         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
31008         Likewise.
31009         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
31010         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
31011         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
31012         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
31013         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
31014         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
31015         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
31016         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
31017         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
31018         Likewise.
31019         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
31020         (__libc_read64): Likewise.
31021         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
31022         Likewise.
31023         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
31024         Likewise.
31025         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
31026         Likewise.
31027         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
31028         Likewise.
31029         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
31030         (__libc_pread64): Likewise.
31031         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
31032         Likewise.
31033         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
31034         (__libc_pwrite64): Likewise.
31035         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
31036         (sync_file_range): Likewise.
31037         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
31038         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
31039         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
31040         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
31041         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
31042         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
31043         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
31044         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
31045         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
31046         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
31047         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
31048         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
31049         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
31050         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
31051         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
31052         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
31053         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
31054         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
31055         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
31056         Likewise.
31057         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
31058         Likewise.
31059         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
31060         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
31061         Likewise.
31062         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
31063         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
31064         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
31065         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
31066         Likewise.
31067         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
31068         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
31069         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
31070         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
31071         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
31073 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
31075         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
31076         Include dl-vdso.
31077         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
31078         Use VDSO routines for gettimeofday, clock_gettime if
31079         available.
31080         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
31081         Declare VDSO symbols.
31082         * sysdeps/unix/sysv/linux/arm/sysdep.h:
31083         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
31084         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
31085         * sysdeps/unix/sysv/linux/arm/Versions: Add
31086         __vdso_clock_gettime.
31088 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
31090         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
31091         be an inline implementation regardless of library is built within.
31092         (open_not_cancel_2): Likewise.
31093         (__read_nocancel): Likewise.
31094         (__write_nocancel): Likewise.
31095         (openat_not_cancel): Likewise.
31096         (openat_not_cancel_3): Likewise.
31097         (openat64_not_cancel): Likewise.
31098         (openat64_not_cancel_3): Likewise.
31099         (__close_nocancel): Likewise.
31100         (pause_not_cancel): Likewise.
31101         (nanosleep_not_cancel): Likewise.
31102         (sigsuspend_not_cancel): Likewise.
31104 2015-06-04  Torvald Riegel  <triegel@redhat.com>
31106         [BZ #14958]
31107         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
31108         wake-up.
31109         (__pthread_rwlock_rdlock_slow): Likewise.
31110         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
31111         Likewise.
31112         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
31113         Likewise.
31114         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
31115         * nptl/tst-rwlock16.c: New file.
31116         * nptl/Makefile (tests): Add new test.
31118 2015-06-04  Torvald Riegel  <triegel@redhat.com>
31120         [BZ #18324]
31121         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
31122         missing wake-up of readers.
31123         * nptl/tst-rwlock15.c: New file.
31124         * nptl/Makefile (tests): Add new test.
31126 2015-06-03  Roland McGrath  <roland@hack.frob.com>
31128         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
31129         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
31130         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
31131         and __nacl_supply_interface_rtld.
31132         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
31133         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
31134         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
31135         Add __nacl_supply_interface_rtld.
31136         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
31138 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
31140         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
31141         isfinite.
31142         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
31143         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
31145 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
31147         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
31148         __signbit* with standard C99 macros.
31149         * math/e_exp10l.c: Likewise.
31150         * math/e_exp2l.c: Likewise.
31151         * math/e_scalb.c: Likewise.
31152         * math/e_scalbf.c: Likewise.
31153         * math/e_scalbl.c: Likewise.
31154         * math/s_ldexp.c: Likewise.
31155         * math/s_ldexpf.c: Likewise.
31156         * math/s_ldexpl.c: Likewise.
31157         * math/w_atan2.c: Likewise.
31158         * math/w_atan2f.c: Likewise.
31159         * math/w_atan2l.c: Likewise.
31160         * math/w_cosh.c: Likewise.
31161         * math/w_coshf.c: Likewise.
31162         * math/w_coshl.c: Likewise.
31163         * math/w_exp10.c: Likewise.
31164         * math/w_exp10f.c: Likewise.
31165         * math/w_exp10l.c: Likewise.
31166         * math/w_exp2.c: Likewise.
31167         * math/w_exp2f.c: Likewise.
31168         * math/w_exp2l.c: Likewise.
31169         * math/w_fmod.c: Likewise.
31170         * math/w_fmodf.c: Likewise.
31171         * math/w_fmodl.c: Likewise.
31172         * math/w_hypot.c: Likewise.
31173         * math/w_hypotf.c: Likewise.
31174         * math/w_hypotl.c: Likewise.
31175         * math/w_jnl.c: Likewise.
31176         * math/w_lgamma.c: Likewise.
31177         * math/w_lgamma_r.c: Likewise.
31178         * math/w_lgammaf.c: Likewise.
31179         * math/w_lgammaf_r.c: Likewise.
31180         * math/w_lgammal.c: Likewise.
31181         * math/w_lgammal_r.c: Likewise.
31182         * math/w_pow.c: Likewise.
31183         * math/w_powf.c: Likewise.
31184         * math/w_powl.c: Likewise.
31185         * math/w_remainder.c: Likewise.
31186         * math/w_remainderf.c: Likewise.
31187         * math/w_remainderl.c: Likewise.
31188         * math/w_scalb.c: Likewise.
31189         * math/w_scalbf.c: Likewise.
31190         * math/w_scalbl.c: Likewise.
31191         * math/w_scalbln.c: Likewise.
31192         * math/w_scalblnf.c: Likewise.
31193         * math/w_scalblnl.c: Likewise.
31194         * math/w_sinh.c: Likewise.
31195         * math/w_sinhf.c: Likewise.
31196         * math/w_sinhl.c: Likewise.
31197         * math/w_tgamma.c: Likewise.
31198         * math/w_tgammaf.c: Likewise.
31199         * math/w_tgammal.c: Likewise.
31200         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
31201         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
31202         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
31203         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
31204         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
31205         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
31206         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
31207         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
31208         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
31209         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
31210         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
31211         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
31212         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
31213         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
31214         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
31215         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
31216         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
31217         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
31218         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
31219         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
31220         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
31221         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
31222         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
31223         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
31224         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
31225         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
31226         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
31227         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
31228         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
31229         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
31230         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
31231         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
31232         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
31233         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
31234         * stdio-common/printf_fp.c: Likewise.
31235         * stdio-common/printf_fphex.c: Likewise.
31236         * stdio-common/printf_size.c: Likewise.
31238 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
31240         [BZ #18470]
31241         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
31242         strnlen.
31243         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
31244         Remove variable.
31245         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
31246         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
31247         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
31248         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
31249         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
31250         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
31251         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
31252         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
31253         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
31254         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
31256         [BZ #18468]
31257         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
31258         weak alias of __wmemchr.  Use libc_hidden_weak.
31259         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
31260         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
31261         instead of wmemchr.
31263 2015-06-02  Roland McGrath  <roland@hack.frob.com>
31265         [BZ #18383]
31266         * elf/tst-tlsalign-extern.c: New file.
31267         * elf/tst-tlsalign-extern-static.c: New file.
31268         * elf/tst-tlsalign-vars.c: New file.
31269         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
31270         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
31271         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
31272         ($(objpfx)tst-tlsalign-extern-static): Likewise.
31273         (test-xfail-tst-tlsalign-extern-static): New variable.
31275 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
31277         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
31278         Use variable name _sc_err instead of err.
31279         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
31280         instead of ret.
31281         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
31282         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
31283         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
31284         (INLINE_SYSCALL): Likewise.
31286         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
31287         * include/string.h (__strnlen): Use libc_hidden_proto.
31288         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
31289         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
31290         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
31291         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
31292         (libc_hidden_def): Undefine and redefine.
31293         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
31294         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
31295         __GI_strnlen.
31296         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
31297         libc_hidden_def.
31298         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
31300         [BZ #18469]
31301         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
31302         weak alias of __towlower.  Use libc_hidden_weak.
31303         (towupper): Rename to __towupper and define as weak alias of
31304         __towupper.  Use libc_hidden_weak.
31305         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
31306         (__towupper): Likewise.
31307         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
31308         __towlower instead of towlower.
31310 2015-06-02  Roland McGrath  <roland@hack.frob.com>
31312         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
31313         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
31315 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
31317         * sysdeps/aarch64/libm-test-ulps: Update.
31319 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
31321         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
31322         Define.
31323         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
31324         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
31325         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
31326         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
31327         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
31328         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
31329         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
31331 2015-06-01  Martin Sebor  <msebor@redhat.com>
31333         [BZ #18116]
31334         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
31335         (__setcontext): Use extended four-operand version of mtsf whenever
31336         possible.
31337         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
31338         (__novec_swapcontext): Likewise.
31340 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
31342         * benchtests/scripts/compare_bench.py: New file.
31343         * benchtests/scripts/import_bench.py (mean): New function.
31344         (split_list): Likewise.
31345         (do_for_all_timings): Likewise.
31346         (compress_timings): Likewise.
31348         * benchtests/scripts/import_bench.py: New file.
31349         * benchtests/scripts/validate_benchout.py: Import import_bench
31350         instead of jsonschema.
31351         (validate_bench): Remove function.
31352         (main): Use import_bench.
31354 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
31356         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
31357         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
31359 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
31361         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31363 2015-05-28  Roland McGrath  <roland@hack.frob.com>
31365         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
31366         set THREAD_SELF->tid to a magic value and futex-wake it.
31367         Pass its address to the thread_exit system call.
31368         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
31369         bit is clear.
31370         * sysdeps/nacl/lowlevellock.h: New file.
31371         * sysdeps/nacl/lll_timedwait_tid.c: New file.
31373         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
31374         Add TIMEOUT to current time, don't subtract it.
31376 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
31378         [BZ #2981]
31379         [BZ #18422]
31380         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
31381         ($(objpfx)tst-audit2.out): Also depend on
31382         $(objpfx)tst-auditmod9b.so.
31383         * elf/tst-audit2.c: Include <dlfcn.h>.
31384         (calloc_called): New.
31385         (calloc): Allow to be called more than once.
31386         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
31388 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
31390         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
31391         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
31393 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
31395         * stdlib/monetary.h: Fix comment.
31397 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
31399         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
31400         Avoid using variables in #defines that might cause shadowing.
31401         (INTERNAL_VSYSCALL_CALL): Likewise.
31403 2015-05-26  Roland McGrath  <roland@hack.frob.com>
31405         * sysdeps/nacl/lll_timedlock_wait.c: New file.
31407         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
31408         * nptl/lll_timedlock_wait.c: ... to this new file.
31409         * nptl/Makefile (libpthread-routines): Add it.
31410         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
31411         * nptl/lll_timedwait_tid.c: ... to this new file.
31412         * nptl/Makefile (libpthread-routines): Add it.
31413         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
31414         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
31415         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
31416         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
31417         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
31418         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
31419         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
31420         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
31421         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
31422         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
31424 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
31426         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
31427         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
31428         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
31429         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
31430         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
31431         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
31432         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
31433         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
31434         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
31435         * sysdeps/unix/sysv/linux/tile/sysdep.h
31436         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
31437         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
31438         using vDSO syscall macro.
31440 2015-05-26  Andriy Rysin  <arysin@gmail.com>
31442         [BZ #17293]
31443         * uk_UA: Fix sorting order for Ukrainian locale
31445 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
31447         * stdlib/monetary.h: Fix comment.
31449 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
31451         [BZ #18234]
31452         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
31453         st_mtim and st_ctim members.
31454         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
31455         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
31456         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
31457         (struct stat64): Likewise.
31458         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
31459         (struct stat64): Likewise.
31460         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
31461         (struct stat64): Likewise.
31463 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
31465         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
31466         Define and include sysdep-vdso.h.
31467         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
31468         Likewise.
31469         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
31470         Likewise.
31471         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
31472         Define with VDSO_SYMBOL and use PTR_MANGLE.
31473         (__vdso_clock_gettime): Likewise.
31474         (__vdso_clock_getres): Likewise.
31475         (_libc_vdso_platform_setup): Likewise.
31476         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
31477         Likewise.
31478         (_libc_vdso_platform_setup): Likewise.
31479         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
31480         Likewise.
31481         (__vdso_clock_gettime): Likewise.
31482         (__vdso_clock_getres): Likewise.
31483         (__vdso_get_tbfreq): Likewise.
31484         (__vdso_getcpu): Likewise.
31485         (__vdso_time): Likewise.
31486         (__vdso_sigtramp_rt64): Likewise.
31487         (__vdso_signtramp32): Likewise.
31488         (__vdso_sigtramp_rt32): Likewise.
31489         (_libc_vdso_platform_setup): Likewise.
31490         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
31491         Likewise.
31492         (__vdso_clock_gettime): Likewise.
31493         (__vdso_clock_getres): Likewise.
31494         (_libc_vdso_platform_setup): Likewise.
31495         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
31496         Likewise.
31497         (__vdso_clock_gettime): Likewise.
31498         (_libc_vdso_platform_setup): Likewise.
31499         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
31500         Likewise.
31501         (__vdso_getcpu): Likewise.
31502         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
31503         Use VDSO_SYMBOL macro to define.
31504         (__vdso_clock_gettime): Likewise.
31505         (__vdso_clock_getres): Likewise.
31506         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
31507         Likewise.
31508         (__vdso_clock_gettime): Likewise.
31509         (__vdso_clock_getres): Likewise.
31510         (__vdso_get_tbfreq): Likewise.
31511         (__vdso_getcpu): Likewise.
31512         (__vdso_time): Likewise.
31513         (__vdso_sigtramp_rt64): Likewise.
31514         (__vdso_signtramp32): Likewise.
31515         (__vdso_sigtramp_rt32): Likewise.
31516         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
31517         Likewise.
31518         (__vdso_clock_gettime): Likewise.
31519         (__vdso_clock_getres): Likewise.
31520         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
31521         Likewise.
31522         (__vdso_clock_gettime): Likewise.
31523         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
31524         Likewise.
31525         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
31526         macro.
31527         (INTERNAL_VSYSCALL): Likewise.
31528         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
31529         Remove macro.
31530         (INTERNAL_VSYSCALL): Likewise.
31531         (INTERNAL_VSYSCALL_NCS): Likewise.
31532         (INTERNAL_VSYSCALL_CALL): New macro.
31533         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
31534         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
31535         Likewise.
31536         (INTERNAL_VSYSCALL): Likewise.
31537         (INTERNAL_VSYSCALL_NCS): Likewise.
31538         (INTERNAL_VSYSCALL_CALL): New macro.
31539         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
31540         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
31541         (INLINE_VSYSCALL): Remove macro.
31542         (INTERNAL_VSYSCALL): Remove macro.
31543         (INTERNAL_VSYSCALL_NCS): Remove macro.
31544         (INTERNAL_VSYSCALL_CALL): New macro.
31545         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
31546         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
31547         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
31548         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
31549         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
31550         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
31551         (INLINE_VSYSCALL): Remove macro.
31552         (INTERNAL_VSYSCALL): Likewise.
31553         (INTERNAL_VSYSCALL_NCS): Likewise.
31554         (INTERNAL_VSYSCALL_CALL): New macro.
31555         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
31556         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
31557         PTR_DEMANGLE on vDSO pointer.
31558         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
31559         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
31560         macro.
31561         (INTERNAL_SYSCALL): Likewise.
31562         (INTERNAL_VSYSCALL_NCS): Remove macro.
31563         (INTERNAL_VSYSCALL_CALL): New macro.
31564         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
31565         Remove macro.
31566         (INTERNAL_VSYSCALL): Likewise.
31567         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
31568         sysdep-vdso.h instead of libc-vdso.h.
31569         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
31570         definition.
31571         (INLINE_VSYSCALL): Likewise.
31572         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
31573         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
31574         definition.
31575         (INLINE_VSYSCALL): Likewise.
31576         (INTERNAL_VSYSCALL): Likewise.
31577         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
31578         * sysdeps/unix/sysv/linux/timespec_get.c
31579         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
31580         (timespec_get): Use ANSI prototype.
31581         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
31582         and definition for Linux.
31584 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
31586         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
31587         * include/libc-symbols.h: libmvec_hidden_* macro series added.
31589 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
31591         [BZ #2981]
31592         [BZ #18410]
31593         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
31594         for missing DT_PLTRELSZ.
31596 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
31598         Remove obsolete aliases that broke 'locale -a'
31599         [BZ #18412]
31600         * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
31601         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
31602         breaking some applications that use 'locale -a' output.
31603         Change the encoding of this file from Latin-1 to ASCII to avoid
31604         other potential problems with people grepping this file.
31606 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
31608         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
31609         -fasynchronous-unwind-tables.
31610         (CFLAGS-sendto.c): Likewise.
31611         (CFLAGS-sendmsg.c): Likewise.
31612         (CFLAGS-connect.c): Likewise.
31613         (CFLAGS-recvmsg.c): Likewise.
31614         (CFLAGS-recvfrom.c): Likewise.
31615         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
31616         (SOCKETCALL): New macro: non-cancellable socketcall.
31617         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
31618         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
31619         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
31620         * sysdeps/unix/sysv/linux/accept.c: New file.
31621         * sysdeps/unix/sysv/linux/bind.c: Likewise.
31622         * sysdeps/unix/sysv/linux/connect.c: Likewise.
31623         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
31624         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
31625         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
31626         * sysdeps/unix/sysv/linux/listen.c: Likewise.
31627         * sysdeps/unix/sysv/linux/recv.c: Likewise.
31628         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
31629         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
31630         * sysdeps/unix/sysv/linux/send.c: Likewise.
31631         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
31632         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
31633         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
31634         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
31635         * sysdeps/unix/sysv/linux/socket.c: Likewise.
31636         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
31637         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
31638         prototype.
31639         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
31640         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
31641         instead of __internal_xxx function.
31642         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
31643         prototype.
31644         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
31645         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
31646         instead of __internal_xxx function.
31647         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
31648         prototype.
31649         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
31650         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
31651         instead of __internal_xxx function.
31652         * sysdeps/unix/sysv/linux/accept.S: Remove file.
31653         * sysdeps/unix/sysv/linux/bind.S: Likewise.
31654         * sysdeps/unix/sysv/linux/connect.S: Likewise.
31655         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
31656         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
31657         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
31658         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
31659         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
31660         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
31661         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
31662         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
31663         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
31664         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
31665         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
31666         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
31667         * sysdeps/unix/sysv/linux/listen.S: Likewise.
31668         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
31669         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
31670         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
31671         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
31672         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
31673         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
31674         * sysdeps/unix/sysv/linux/recv.S: Likewise.
31675         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
31676         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
31677         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
31678         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
31679         * sysdeps/unix/sysv/linux/send.S: Likewise.
31680         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
31681         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
31682         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
31683         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
31684         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
31685         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
31686         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
31687         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
31688         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
31689         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
31690         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
31691         socketcall is implemented in GLIBC.
31693 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
31695         * soft-fp/fmadf4.c: Include <libc-internal.h>.
31696         (__fma): Ignore uninitialized warnings around packing.
31697         * soft-fp/fmasf4.c: Include <libc-internal.h>.
31698         (__fmaf): Ignore uninitialized warnings around packing.
31699         * soft-fp/fmatf4.c: Include <libc-internal.h>.
31700         (__fmal): Ignore uninitialized warnings around packing.
31702         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
31703         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
31704         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
31705         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
31707         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
31708         switch statement into default case.
31709         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
31711         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
31712         a conditional in forcing "inexact".
31713         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
31714         Likewise.
31716 2015-05-22  Roland McGrath  <roland@hack.frob.com>
31718         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
31719         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
31720         for each INTERNAL_SYSCALL use.
31722 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
31724         [BZ #438]
31725         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
31726         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
31727         variable.
31729         [BZ #18444]
31730         * string/basename.c (basename): Rename to __basename and define as
31731         weak alias of __basename.  Use libc_hidden_weak.
31732         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
31733         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
31734         __basename instead of basename.
31735         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
31736         Remove variable.
31737         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
31739 2015-05-18  Florian Weimer  <fweimer@redhat.com>
31741         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
31742         (_IO_JUMPS_FILE_plus): New.
31743         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
31744         _IO_CAST_FIELD_ACCESS.
31745         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
31746         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
31747         * libio/freopen.c (freopen): Likewise.
31748         * libio/freopen64.c (freopen64): Likewise.
31749         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
31750         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
31751         * libio/iofwide.c (_IO_fwide): Likewise.
31752         * libio/memstream.c (open_memstream): Likewise.
31753         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
31754         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
31755         * libio/oldiopopen.c (_IO_old_popen): Likewise.
31757 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
31759         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
31760         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
31761         NADJ.
31762         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
31763         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
31764         NADJ.
31765         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
31766         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
31767         NADJ.
31769         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
31770         (p == 4) case.
31772         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
31773         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
31774         Remove variable.
31775         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
31776         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
31777         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
31779 2015-05-21  Florian Weimer  <fweimer@redhat.com>
31781         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
31782         Adjust jump table label generation macros.
31784 2015-05-21  Florian Weimer  <fweimer@redhat.com>
31786         * stdio-common/vfprintf.c (vfprintf): Move local variables
31787         args_malloced, specs, specs_malloced, and the code after
31788         do_positional to the printf_positional function.
31789         (printf_positional): New function.
31791 2015-05-21  Florian Weimer  <fweimer@redhat.com>
31793         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
31794         function.
31795         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
31796         STEP4_TABLE, process_arg): Move macro definitions
31797         out of the vfprintf function.  (Cosmetic change only.)
31799 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
31801         * benchtests/Makefile (stdio-common-bench): Define.
31802         (benchset): Add stdio-common-bench.
31803         * sprintf-inputs: New file.
31804         * sprintf-source.c: New file.
31806 2015-05-21  Andreas Schwab  <schwab@suse.de>
31808         [BZ #13028]
31809         [BZ #17053]
31810         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
31811         of struct __res_state.
31812         * resolv/res_send.c (__libc_res_nsend): Likewise.
31813         (get_nsaddr): New function.
31814         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
31815         statp directly.
31817 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
31819         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
31820         -D_POSIX_C_SOURCE=199506L.
31822         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
31824         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
31825         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
31826         Do not mention otherwise.
31827         [POSIX] (_XOPEN_VERSION): Do not expect.
31828         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
31829         [POSIX] (_POSIX2_C_BIND): Likewise.
31830         [POSIX] (_POSIX2_VERSION): Likewise.
31831         [POSIX] (_XOPEN_XPG2): Likewise.
31832         [POSIX] (_XOPEN_XPG3): Likewise.
31833         [POSIX] (_XOPEN_XPG4): Likewise.
31834         [POSIX] (_XOPEN_UNIX): Likewise.
31835         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
31836         [POSIX] (_POSIX_BARRIERS): Likewise.
31837         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
31838         [POSIX] (_POSIX_CPUTIME): Likewise.
31839         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
31840         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
31841         [POSIX] (_POSIX_SHELL): Likewise.
31842         [POSIX] (_POSIX_SPAWN): Likewise.
31843         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
31844         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
31845         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
31846         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
31847         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
31848         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
31849         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
31850         [POSIX] (_XBS5_LP64_OFF64): Likewise.
31851         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
31852         [POSIX] (_POSIX_TIMEOUTS): Likewise.
31853         [POSIX] (_POSIX2_PBS): Likewise.
31854         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
31855         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
31856         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
31857         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
31858         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
31859         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
31860         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
31861         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
31862         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
31863         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
31864         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
31865         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
31866         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
31867         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
31868         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
31869         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
31870         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
31871         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
31872         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
31873         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
31874         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
31875         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
31876         [POSIX] (_SC_2_C_BIND): Likewise.
31877         [POSIX] (_SC_2_C_VERSION): Likewise.
31878         [POSIX] (_SC_2_PBS): Likewise.
31879         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
31880         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
31881         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
31882         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
31883         [POSIX] (_SC_2_PBS_TRACK): Likewise.
31884         [POSIX] (_SC_ATEXIT_MAX): Likewise.
31885         [POSIX] (_SC_BARRIERS): Likewise.
31886         [POSIX] (_SC_BASE): Likewise.
31887         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
31888         [POSIX] (_SC_DEVICE_IO): Likewise.
31889         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
31890         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
31891         [POSIX] (_SC_FD_MGMT): Likewise.
31892         [POSIX] (_SC_FIFO): Likewise.
31893         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
31894         [POSIX] (_SC_FILE_LOCKING): Likewise.
31895         [POSIX] (_SC_FILE_SYSTEM): Likewise.
31896         [POSIX] (_SC_IOV_MAX): Likewise.
31897         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
31898         [POSIX] (_SC_NETWORKING): Likewise.
31899         [POSIX] (_SC_PAGE_SIZE): Likewise.
31900         [POSIX] (_SC_PASS_MAX): Likewise.
31901         [POSIX] (_SC_PIPE): Likewise.
31902         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
31903         [POSIX] (_SC_REGEXP): Likewise.
31904         [POSIX] (_SC_SHELL): Likewise.
31905         [POSIX] (_SC_SIGNALS): Likewise.
31906         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
31907         [POSIX] (_SC_SPIN_LOCKS): Likewise.
31908         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
31909         [POSIX] (_SC_USER_GROUPS): Likewise.
31910         [POSIX] (_SC_USER_GROUPS_R): Likewise.
31911         [POSIX] (_SC_STREAMS): Likewise.
31912         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
31913         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
31914         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
31915         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
31916         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
31917         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
31918         [POSIX] (_PC_FILESIZEBITS): Likewise.
31919         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
31920         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
31921         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
31922         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
31923         [POSIX] (uid_t): Likewise.
31924         [POSIX] (gid_t): Likewise.
31925         [POSIX] (off_t): Likewise.
31926         [POSIX] (pid_t): Likewise.
31927         [POSIX] (cuserid): Allow.
31928         (_SC_2_CHAR_TERM): Require constant.
31929         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
31930         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
31931         variable.
31933 2015-05-20  Roland McGrath  <roland@hack.frob.com>
31935         * sysdeps/nacl/pthread-pids.h: New file.
31936         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
31937         (create_thread): Use __nacl_get_tid to initialize PD->tid.
31939         * nptl/pthread-pids.h: New file.
31940         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
31941         * nptl/nptl-init.c: Include <pthread-pids.h>.
31942         (__pthread_initialize_minimal_internal):
31943         Call __pthread_initialize_pids instead of set_tid_address syscall.
31945         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
31946         * sysdeps/posix/usleep.c: ... here.
31948 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
31950         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
31951         call_pselect6 object.
31952         [$(subdir) = io]: Remove call_sync_file_range object.
31953         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
31954         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
31955         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
31956         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
31958 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
31960         * math/s_cproj.c: Add include "math_private.h".
31961         * math/s_cprojf.c: Likewise.
31962         * math/s_cprojl.c: Likewise.
31964 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
31966         [BZ #18244]
31967         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
31968         high mantissa bit when testing whether P is a NaN.
31969         * math/libm-test.inc (remainder_test_data): Add more tests.
31970         (remquo_test_data): Likewise.
31972         [BZ #18049]
31973         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
31974         below -32, return the argument, with underflow if subnormal.
31975         * math/auto-libm-test-in: Add more tests of atanh.
31976         * math/auto-libm-test-out: Regenerated.
31978 2015-05-19  Roland McGrath  <roland@hack.frob.com>
31980         [BZ #18434]
31981         * nptl/tst-sem15.c: New file.
31982         * nptl/Makefile (tests): Add it.
31983         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
31984         s/<</>>/ to fix typo in EOVERFLOW check.
31985         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
31987 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
31989         * manual/strings.texi (envz_remove): Fix typo in safety
31990         annotations.
31992 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
31993             Steve Ellcey  <sellcey@imgtec.com>
31995         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
31996         in order to avoid strict alias warnings.
31997         (iruserok_af): Ditto for ra.
31999 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
32001         [BZ #17581]
32002         * malloc/hooks.c
32003         (magicbyte): Convert to a function and avoid returning 0x01.
32004         (mem2mem_check): Avoid using a length byte equal to the magic byte.
32005         (mem2chunk_check): Fix unsigned comparisons to zero.
32006         Hoist defs of sz and magic.
32008 2015-05-19  Richard Henderson  <rth@redhat.com>
32010         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
32012         * sysdeps/alpha/fpu/libm-test-ulps: Update.
32014 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
32016         [BZ #16159]
32017         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
32018         * malloc/arena.c (arena_lock): Check if arena is corrupt.
32019         (reused_arena): Find a non-corrupt arena.
32020         (heap_trim): Pass arena to unlink.
32021         * malloc/hooks.c (malloc_check_get_size): Pass arena to
32022         malloc_printerr.
32023         (top_check): Likewise.
32024         (free_check): Likewise.
32025         (realloc_check): Likewise.
32026         * malloc/malloc.c (malloc_printerr): Add arena argument.
32027         (unlink): Likewise.
32028         (munmap_chunk): Adjust.
32029         (ARENA_CORRUPTION_BIT): New macro.
32030         (arena_is_corrupt): Likewise.
32031         (set_arena_corrupt): Likewise.
32032         (sysmalloc): Use mmap if there are no usable arenas.
32033         (_int_malloc): Likewise.
32034         (__libc_malloc): Don't fail if arena_get returns NULL.
32035         (_mid_memalign): Likewise.
32036         (__libc_calloc): Likewise.
32037         (__libc_realloc): Adjust for additional argument to
32038         malloc_printerr.
32039         (_int_free): Likewise.
32040         (malloc_consolidate): Likewise.
32041         (_int_realloc): Likewise.
32042         (_int_memalign): Don't touch corrupt arenas.
32043         * malloc/tst-malloc-backtrace.c: New test case.
32045         * Makefile (summarize-tests): Fix return value on success.
32047         * manual/string.texi (Envz Functions): Add envz_remove.
32049 2015-05-18  Roland McGrath  <roland@hack.frob.com>
32051         * sysdeps/posix/opendir.c: Include <stdbool.h>.
32052         (invalid_name): New function, broken out of ...
32053         (__opendirat): ... here.  Call it.
32054         (need_isdir_precheck): New function, broken out of ...
32055         (__opendirat): ... here.  Call it.
32056         Use __fxstatat64, not __xstatat64.
32057         (opendir_oflags): New function, broken out of ...
32058         (__opendirat): ... here.  Call it.
32059         (opendir_tail): New function, broken out of ...
32060         (__opendirat): ... here.  Call it.
32061         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
32062         opendir_tail, rather than punting to __opendirat.
32063         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
32065 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
32067         * .gitignore: Ignore generated *.pyc.
32069 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
32071         * include/stdio.h: Define __need_wint_t.
32072         * test-skeleton.c: Avoid `for' loop initial declaration.
32073         * nptl/tst-initializers1.c: Use test-skeleton.c.
32075 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
32077         [BZ #18418]
32078         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
32080 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
32082         [BZ #16352]
32083         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
32084         (__ieee754_atanh): Force underflow exception for results with
32085         small absolute value.
32086         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
32087         (__ieee754_atanhf): Force underflow exception for results with
32088         small absolute value.
32089         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
32090         (__ieee754_atanh): Force underflow exception for results with
32091         small absolute value.
32092         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
32093         (__ieee754_atanhf): Force underflow exception for results with
32094         small absolute value.
32095         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
32096         (__ieee754_atanhl): Force underflow exception for results with
32097         small absolute value.
32098         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
32099         (__ieee754_atanhl): Force underflow exception for results with
32100         small absolute value.
32101         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
32102         (__ieee754_atanhl): Force underflow exception for results with
32103         small absolute value.
32104         * math/auto-libm-test-in: Do not allow missing underflow
32105         exceptions from atanh.
32106         * math/auto-libm-test-out: Regenerated.
32108         [BZ #18221]
32109         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
32110         2**-28 as threshold for returning x or +/- 1/x.
32111         * math/auto-libm-test-in: Add more tests of tan.
32112         * math/auto-libm-test-out: Regenerated.
32114         [BZ #18220]
32115         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
32116         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
32117         * math/auto-libm-test-in: Add another test of lgamma.
32118         * math/auto-libm-test-out: Regenerated.
32120 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
32122         * stdio-common/printf_fp.c (___printf_fp): Use abs.
32123         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
32124         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
32125         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
32126         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
32127         (ADD2A): Use fabs.  (SUB2A): Use fabs.
32128         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
32129         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
32130         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
32131         (log1): Use fabs.  (my_log2): Use fabs.
32132         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
32133         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
32134         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
32135         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
32136         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
32137         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
32138         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
32139         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
32140         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
32141         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
32142         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
32144 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
32146         [BZ #18217]
32147         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
32148         as threshold for returning 1 - x.
32149         * math/auto-libm-test-in: Add more tests of erfc.
32150         * math/auto-libm-test-out: Regenerated.
32152 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
32154         [BZ #18196]
32155         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
32156         threshold for large arguments.
32157         * math/auto-libm-test-in: Add another test of atan.
32158         * math/auto-libm-test-out: Regenerated.
32160         [BZ #16339]
32161         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
32162         (__log1p): Force underflow exception for results with small
32163         absolute value.
32164         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
32165         (__log1pf): Force underflow exception for results with small
32166         absolute value.
32167         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
32168         (__log1p): Force underflow exception for results with small
32169         absolute value.
32170         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
32171         (__log1pf): Force underflow exception for results with small
32172         absolute value.
32173         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
32174         (__log1pl): Force underflow exception for results with small
32175         absolute value.
32176         * math/auto-libm-test-in: Do not allow missing underflow
32177         exceptions from log1p.
32178         * math/auto-libm-test-out: Regenerated.
32180 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
32181             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
32183         [BZ #16704]
32184         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
32186 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
32188         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
32189         (libmvec): New variable.
32190         * configure.ac: Added option for mathvec build.
32191         * configure: Regenerated.
32192         * mathvec/Depend: New file.
32193         * mathvec/Makefile: New file.
32194         * shlib-versions: Added libmvec.
32195         * math/Makefile: Added rule for libm.so installation.
32197         * bits/math-vector.h: New file.
32198         * bits/libm-simd-decl-stubs.h: New header.
32199         * math/Makefile (headers): Added new header
32200         libm-simd-decl-stubs.h.
32201         * math/math.h (__MATHCALL_VEC): New macro.
32203         * math/gen-libm-have-vector-test.sh: Script generates series of macros
32204         for conditions in testing functions.
32205         * math/Makefile: Added call of libm-have-vector-test.sh.
32206         * math/libm-test.inc (HAVE_VECTOR): New macros.
32208         * math/libm-test.inc: START refactored.
32209         * math/test-double.c (TEST_MATHVEC): Add define.
32210         * math/test-float.c: Likewise.
32211         * math/test-idouble.c: Likewise.
32212         * math/test-ifloat.c: Likewise.
32213         * math/test-ildoubl.c: Likewise.
32214         * math/test-ldouble.c: Likewise.
32215         * sysdeps/generic/math-tests-arch.h
32216         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
32217         architecture check.
32219         * math/test-double.c (FUNC_TEST): New macro.
32220         * math/test-float.c: Likewise.
32221         * math/test-idouble.c: Likewise.
32222         * math/test-ifloat.c: Likewise.
32223         * math/test-ildoubl.c: Likewise.
32224         * math/test-ldouble.c: Likewise.
32225         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
32227 2015-05-13  Roland McGrath  <roland@hack.frob.com>
32229         * sysdeps/nacl/fdopendir.c: New file.
32231         * dirent/scandir-tail.c: New file.
32232         * dirent/scandir64-tail.c: New file.
32233         * dirent/Makefile (routines): Add them.
32234         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
32235         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
32236         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
32237         [!SCANDIR] (SCANDIR_TAIL): New macro.
32238         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
32239         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
32240         (SCANDIRAT): Macro removed.
32241         (SCANDIR_TAIL): New macro.
32242         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
32243         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
32244         (SCANDIRAT): Just call __opendirat and __scandir_tail.
32245         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
32246         (READDIR): Macro removed.
32247         (SCANDIR_TAIL): New macro.
32248         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
32249         (SCANDIR_TAIL): New macro.
32251         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
32252         * dirent/scandir-cancel.c: ... to this new file.
32253         * dirent/Makefile (routines): Add it.
32254         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
32255         * sysdeps/unix/sysv/linux/i386/scandir64.c
32256         (SKIP_SCANDIR_CANCEL): Macro removed.
32257         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
32259         * dirent/tst-scandir.c: New file.
32260         * dirent/tst-scandir64.c: New file.
32261         * dirent/Makefile (tests): Add them.
32263 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
32265         [BZ #18409]
32266         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
32268 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
32270         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
32271         list.
32273 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
32275         * benchtests/bench-strcoll.c: New benchmark.
32276         * benchtests/Makefile: Generate locales and run benchmark.
32277         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
32278         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
32279         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
32280         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
32281         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
32282         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
32283         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
32284         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
32285         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
32286         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
32287         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
32288         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
32289         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
32290         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
32291         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
32292         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
32293         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
32294         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
32295         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
32296         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
32297         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
32298         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
32299         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
32300         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
32302 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
32304         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
32305         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
32307 2015-05-12  Roland McGrath  <roland@hack.frob.com>
32309         * posix/uname-values.h: New file.
32310         * posix/uname.c: Include that instead of <config-name.h>.
32311         * sysdeps/nacl/uname-values.h: New file.
32312         * sysdeps/arm/nacl/uname-values.h: New file.
32314 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
32316         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
32317         splitting into fields.
32319 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
32321         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
32322         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
32323         * locale/localeinfo.h: Add enum collation_encoding_type.
32324         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
32325         * programs/ld-collate.c (collate_output): Add encoding type info.
32326         * string/strcoll_l.c (STRDIFF): New function.
32327         * (STRCOLL): Use STRDIFF to skip over equal prefix.
32328         * wcsmbs/wcscoll_l.c: Define STRDIFF.
32330 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
32332         [BZ #18397]
32333         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
32334         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
32335         <fpu_control.h> instead of <math/fpu_control.c>.
32336         * sysdeps/mips/mips32/fpu/Makefile: New file.
32338 2015-05-11  Andreas Schwab  <schwab@suse.de>
32340         [BZ #18007]
32341         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
32342         nss_endgrent.
32343         (_nss_compat_endgrent): Call nss_endgrent.
32344         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
32345         nss_endpwent.
32346         (_nss_compat_endpwent): Call nss_endpwent.
32347         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
32348         needent, call nss_setspent only if non-zero.
32349         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
32350         (internal_endspent): Don't call nss_endspent.
32351         (_nss_compat_endspent): Call nss_endspent.
32352         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
32353         Remove.  All uses removed.
32354         (internal_setent): Remove parameter stayopen, add parameter
32355         stream.  Use it instead of global variable.
32356         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
32357         (internal_endent, internal_getent): Add parameter stream.  Use it
32358         instead of global variable.
32359         (CONCAT(_nss_files_end,ENTNAME))
32360         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
32361         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
32362         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
32363         uses removed.
32364         (internal_setent, internal_endent): Add parameter stream.  Use it
32365         instead of global variable.
32366         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
32367         stream.
32368         (get_next_alias): Add parameter stream.
32369         (_nss_files_getaliasent_r): Pass global stream.
32370         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
32371         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
32372         (_nss_files_gethostbyname4_r): Pass local stream to
32373         internal_setent, internal_getent and internal_endent.  Remove
32374         locking.
32376 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
32378         * tst-strfmon1.c (tests): Update expected currency symbol.
32380 2015-05-08  Roland McGrath  <roland@hack.frob.com>
32382         * sysdeps/nacl/gethostname.c: New file.
32384 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
32386         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
32387         and sinh.
32388         * math/auto-libm-test-out: Regenerated.
32389         * sysdeps/i386/fpu/libm-test-ulps: Update.
32390         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32392 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
32394         [BZ #18125]
32395         * stdlib/tst-setcontext3.c: New file.
32396         * stdlib/tst-setcontext3.sh: New file.
32397         * stdlib/Makefile (tests): Add tst-setcontext3.
32398         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
32399         to verify test program created output file.
32400         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
32401         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
32402         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
32403         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
32405 2015-05-06  Roland McGrath  <roland@hack.frob.com>
32407         [BZ #18383]
32408         * elf/tst-tlsalign.c: New file.
32409         * elf/tst-tlsalign-static.c: New file.
32410         * elf/tst-tlsalign-lib.c: New file.
32411         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
32412         (tests-static): Add tst-tlsalign-static.
32413         (modules-names): Add tst-tlsalign-lib.
32414         (test-xfail-tst-tlsalign): New variable.
32415         (test-xfail-tst-tlsalign-static): New variable.
32417         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
32418         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
32420 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
32422         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
32423         csqrt, erfc, sin and sincos.
32424         * math/auto-libm-test-out: Regenerated.
32425         * sysdeps/i386/fpu/libm-test-ulps: Update.
32426         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32428 2015-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
32430         * sysdeps/aarch64/libm-test-ulps: Update.
32432 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
32434         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
32435         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
32436         * math/auto-libm-test-out: Regenerated.
32437         * sysdeps/i386/fpu/libm-test-ulps: Update.
32438         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32440 2015-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
32442         [BZ #18265]
32443         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
32444         (wcsncpy): Likewise.
32446 2015-05-05  Florian Weimer  <fweimer@redhat.com>
32448         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
32449         Assume __ASSUME_FALLOCATE is always true.
32450         * sysdeps/unix/sysv/linux/posix_fallocate64.c
32451         (__posix_fallocate64_l64): Likewise.
32452         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
32453         (posix_fallocate): Likewise.
32454         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
32455         (__posix_fallocate64_l64): Likewise.
32456         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
32457         [!__ASSUME_FALLOCATE]: Add comment.
32459 2015-05-05  Florian Weimer  <fweimer@redhat.com>
32461         * sysdeps/unix/sysv/linux/i386/Makefile
32462         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
32463         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
32464         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
32465         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
32466         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
32467         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
32468         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
32470 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
32472         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
32473         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
32474         tgamma.
32475         * math/auto-libm-test-out: Regenerated.
32476         * sysdeps/i386/fpu/libm-test-ulps: Update.
32477         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32479 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
32481         * math/auto-libm-test-in: Add more tests of tgamma.
32482         * math/auto-libm-test-out: Regenerated.
32483         * sysdeps/i386/fpu/libm-test-ulps: Update.
32484         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32486         * math/auto-libm-test-in: Add more tests of tanh.
32487         * math/auto-libm-test-out: Regenerated.
32488         * sysdeps/i386/fpu/libm-test-ulps: Update.
32489         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32491         * math/auto-libm-test-in: Add more tests of tan.
32492         * math/auto-libm-test-out: Regenerated.
32493         * sysdeps/i386/fpu/libm-test-ulps: Update.
32494         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32496         * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
32497         * math/auto-libm-test-out: Regenerated.
32498         * sysdeps/i386/fpu/libm-test-ulps: Update.
32499         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32501         * math/auto-libm-test-in: Add another test of pow.
32502         * math/auto-libm-test-out: Regenerated.
32503         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32505         * math/auto-libm-test-in: Add more tests of lgamma.
32506         * math/auto-libm-test-out: Regenerated.
32507         * sysdeps/i386/fpu/libm-test-ulps: Update.
32508         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32510         * math/auto-libm-test-in: Add more tests of log, log10, log2 and
32511         log1p.
32512         * math/auto-libm-test-out: Regenerated.
32513         * sysdeps/i386/fpu/libm-test-ulps: Update.
32514         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32516 2015-05-01  Mark Wielaard  <mjw@redhat.com>
32518         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
32519         Elf64_Chdr structs and ELFCOMPRESS constants.
32521 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
32523         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
32524         expm1.
32525         * math/auto-libm-test-out: Regenerated.
32526         * sysdeps/i386/fpu/libm-test-ulps: Update.
32527         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32529         * math/auto-libm-test-in: Add more tests of erf and erfc.
32530         * math/auto-libm-test-out: Regenerated.
32531         * sysdeps/i386/fpu/libm-test-ulps: Update.
32532         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32534 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
32536         * config.h.in (HAVE_AARCH64_BE): Add.
32538 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
32540         * math/auto-libm-test-in: Add more tests of csqrt.
32541         * math/auto-libm-test-out: Regenerated.
32542         * sysdeps/i386/fpu/libm-test-ulps: Update.
32543         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32545         * math/auto-libm-test-in: Add more tests of cosh and sinh.
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         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
32552 2015-04-29  Roland McGrath  <roland@hack.frob.com>
32554         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
32555         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
32557         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
32558         (euidaccess, eaccess): Define as weak aliases.
32560         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
32561         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
32562         but __suseconds_t is often 'long int' so some sources assume that
32563         type is being used (e.g. they use %ld to print tv_usec).
32565 2015-04-29  Florian Weimer  <fweimer@redhat.com>
32567         [BZ #18007]
32568         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
32569         (CVE-2014-8121)
32570         * nss/tst-nss-getpwent.c: New file.
32571         * nss/Makefile (tests): Add new test.
32573 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
32575         [BZ #18346]
32576         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
32577         exponents less than 48 as cases where high part of mantissa needs
32578         examining to determine whether argument is integral.
32579         * math/libm-test.inc (round_test_data): Add more tests.
32581 2015-04-28  Mark Wielaard  <mjw@redhat.com>
32583         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
32585 2015-04-27  David S. Miller  <davem@davemloft.net>
32587         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
32588         __tls_get_addr.
32589         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
32591 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
32593         [BZ #18333]
32594         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
32596 2015-04-27  Florian Weimer  <fweimer@redhat.com>
32598         [BZ #18333]
32599         * time/tzset.c (parse_tzname): Return error on memory allocation
32600         failure.
32601         * test-skeleton.c (struct temp_name_list): Change type of name
32602         member to non-const.
32603         (add_temp_file): Create a copy of the file name.
32604         (delete_temp_files): Deallocate memory.
32605         (create_temp_file): Add comment.
32607 2015-04-24  Florian Weimer  <fweimer@redhat.com>
32609         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
32610         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
32612 2015-04-24  Roland McGrath  <roland@hack.frob.com>
32614         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
32615         * sysdeps/arm/configure: Regenerated.
32617 2015-04-24  Florian Weimer  <fweimer@redhat.com>
32619         [BZ #17715]
32620         * time/tzfile.c (__tzfile_read): Check for large values of
32621         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
32622         * time/tzset.c (__tzstring_len): New function, based on the old
32623         __tzstring function.
32624         (__tzstring): Call __tzstring_len.
32625         (parse_tzname): New helper function extracted from
32626         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
32627         the input string.
32628         (parse_offset): New helper function extracted from
32629         __tzset_parse_tz.  Replace switch with fallthrough with
32630         initialization before sscanf.
32631         (parse_rule): Likewise.
32632         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
32633         new-style function definition.
32634         * timezone/Makefile (tests): Add tst-tzset.
32635         (tst-tzset.out): Dependencies on time zone files.
32636         (tst-tzset-ENV): Set TZDIR.
32637         (testdata/XT%): Copy crafted time zone files.
32638         * timezone/README: Mention crafted time zone files.
32639         * timezone/testdata/XT1, timezone/testdata/XT2,
32640         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
32641         files.
32642         * timezone/tst-tzset.c: New test.
32644 2015-04-24  Florian Weimer  <fweimer@redhat.com>
32646         * Makeconfig (+gccwarn): Remove -Winline.
32648 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
32650         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
32652 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
32654         * NEWS: Mention sysconf() cache information support for s390.
32655         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
32657 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
32659         * math/k_casinh.c (__kernel_casinh): Use __copysign.
32660         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
32661         (__nearbyint): Likewise.
32662         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
32663         (copysignl): Likewise.
32665 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
32667         [BZ #18287]
32668         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
32669         based on padding.  (CVE-2015-1781)
32671 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
32673         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
32674         libc-vdso.h.
32675         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
32676         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
32677         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
32678         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
32679         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
32680         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
32681         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
32682         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
32683         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
32684         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
32685         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
32686         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
32687         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
32688         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
32689         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
32690         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
32691         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
32692         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
32693         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
32694         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
32695         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
32696         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
32697         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
32699 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
32701         * stdlib/setenv.c (__add_to_environ):
32702         Dump core quickly if setenv (..., NULL, ...) is called.
32703         This time, do it the right way, and pacify GCC with a pragma.
32705 2015-04-17  Roland McGrath  <roland@hack.frob.com>
32707         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
32708         IMAP->l_prev cannot be null, and #if out the code for the contrary
32709         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
32710         believe that NS (&_dl_ns[NSID]) could point outside the array.
32712         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
32713         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
32714         before using NSID as an index.
32716 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
32718         [BZ #17825]
32719         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
32720         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
32721         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
32723 2015-04-17  Roland McGrath  <roland@hack.frob.com>
32725         Add preliminary port to Google Native Client on ARM.
32726         * abi-tags (.*-.*-nacl.*): New entry.
32727         * sysdeps/arm/nacl: New directory.
32728         * sysdeps/nacl: New directory.
32730 2015-04-16  David S. Miller  <davem@davemloft.net>
32732         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
32733         lowlevellock-futex.h
32735 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
32737         * sysdeps/tile/configure.ac: New file.
32738         * sysdeps/tile/configure: Regenerated.
32740 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
32742         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
32743         conditionals for weak_alias and libc_hidden_weak.
32744         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
32745         libc_hidden_weak and weak_alias.
32746         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
32747         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
32748         and weak_alias for static one.
32750 2015-04-15  David S. Miller  <davem@davemloft.net>
32752         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
32754 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
32756         [BZ #18206]
32757         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
32758           Use signed comparision instead of substraction to avoid
32759           overflow bug.
32760         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
32761           Take the sign of ret.
32762         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
32763           Do not expect precise return values. Only the sign matters.
32764         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
32765         * wcsmbs/test-wcsncmp.c: New File.
32766         * string/test-strncmp.c: Add wcsncmp support.
32768 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
32770         [BZ #6792]
32771         * math/w_log1p.c: New file.
32772         * math/w_log1pf.c: Likewise.
32773         * math/w_log1pl.c: Likewise.
32774         * math/Makefile (libm-calls): Add w_log1p.
32775         * math/s_log1pl.c (log1pl): Remove weak_alias.
32776         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
32777         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
32778         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
32779         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
32780         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
32781         [NO_LONG_DOUBLE] (log1pl): Likewise.
32782         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
32783         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
32784         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
32785         (log1p): Remove long_double_symbol.
32786         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
32787         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
32788         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
32789         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
32790         remove weak_alias for corresponding log1p function.
32791         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
32792         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
32793         * sysdeps/ia64/fpu/w_log1p.c: New file.
32794         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
32795         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
32796         * math/libm-test.inc (log1p_test_data): Add errno expectations.
32798 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
32800         [BZ #18247]
32801         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
32802         decimal exponent by 1.
32803         * stdlib/tst-strtod-round-data: Add more tests.
32804         * stdlib/tst-strtod-round.c (tests): Regenerated.
32806 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
32808         * math/auto-libm-test-in: Add more tests of clog and clog10.
32809         * math/auto-libm-test-out: Regenerated.
32810         * sysdeps/i386/fpu/libm-test-ulps: Update.
32811         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32813 2015-04-09  Roland McGrath  <roland@hack.frob.com>
32815         * Makeconfig (module-cppflags): Exclude all .v.i files.
32816         (skip-module-cppflags): Variable removed.
32818         * configure.ac (libc_config_ok): Initialize before reading
32819         preconfigure scripts, not after.
32820         * configure: Regenerated.
32822         * test-skeleton.c (TIMEOUT): Move #define to top level.
32823         (main): Grok environment variable TEST_DIRECT.  If set, print
32824         test expectation details into that file and then behave as if
32825         given --direct.
32827 2015-04-09  Florian Weimer  <fweimer@redhat.com>
32829         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
32830         warning on 32-bit.
32832 2015-04-08  David S. Miller  <davem@davemloft.net>
32834         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32836 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
32838         * math/auto-libm-test-in: Add more tests of atanh.
32839         * math/auto-libm-test-out: Regenerated.
32840         * sysdeps/i386/fpu/libm-test-ulps: Update.
32841         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32843         * math/auto-libm-test-in: Add more tests of atan.
32844         * math/auto-libm-test-out: Regenerated.
32845         * sysdeps/i386/fpu/libm-test-ulps: Update.
32846         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32848 2015-04-08  Florian Weimer  <fweimer@redhat.com>
32850         * elf/pldd.c (main): Rewrite to use struct
32851         scratch_buffer instead of extend_alloca.
32852         * elf/pldd-xx.c (find_maps): Likewise.
32853         * grp/initgroups.c: Include <scratch_buffer.h> instead of
32854         <alloca.h>.
32855         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
32856         scratch_buffer instead of extend_alloca.
32857         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
32858         grp/compat-initgroups.c.
32859         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
32860         Rewrite to use struct scratch_buffer instead of extend_alloca.
32861         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
32862         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
32864 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
32866         * math/auto-libm-test-in: Add more tests of cbrt.
32867         * math/auto-libm-test-out: Regenerated.
32868         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32870         * math/auto-libm-test-in: Add more tests of cabs.
32871         * math/auto-libm-test-out: Regenerated.
32872         * sysdeps/i386/fpu/libm-test-ulps: Update.
32873         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32875         [BZ #18210]
32876         [BZ #18211]
32877         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
32878         (__ieee754_atan2): Set FE_TONEAREST mode for internal
32879         computations.
32880         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
32881         clog10.
32882         * math/auto-libm-test-out: Regenerated.
32883         * sysdeps/i386/fpu/libm-test-ulps: Update.
32884         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32886         [BZ #18197]
32887         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
32888         (atan): Set FE_TONEAREST mode for internal computations.
32889         * math/auto-libm-test-in: Add more tests of atan.
32890         * math/auto-libm-test-out: Regenerated.
32892 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
32894         [BZ #17930]
32895         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
32897 2015-04-07  Florian Weimer  <fweimer@redhat.com>
32899         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
32901 2015-04-07  Florian Weimer  <fweimer@redhat.com>
32903         * include/scratch_buffer.h: New file.
32904         * malloc/scratch_buffer_grow.c: Likewise.
32905         * malloc/scratch_buffer_grow_preserve.c: Likewise.
32906         * malloc/scratch_buffer_set_array_size.c: Likewise.
32907         * malloc/tst-scratch_buffer.c: Likewise.
32908         * malloc/Makefile (routines): Add scratch_buffer_grow.
32909         (tests): Add test case.
32910         * malloc/Versions (GLIBC_PRIVATE): Export
32911         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
32912         __libc_scratch_buffer_set_array_size.
32914 2015-04-06  Richard Henderson  <rth@redhat.com>
32916         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
32917         * sysdeps/alpha/fpu/libm-test-ulps: Update.
32919         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
32920         unsigned int before printing.
32922 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
32924         [BZ #17596]
32925         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
32926         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
32928 2015-04-02  Florian Weimer  <fweimer@redhat.com>
32930         * include/libc-internal.h (libc_max_align_t): Define.
32932 2015-04-02  Andreas Schwab  <schwab@suse.de>
32934         [BZ #16850]
32935         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
32937 2015-04-02  Mel Gorman  <mgorman@suse.de>
32939         [BZ #17195]
32940         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
32941         as well as the main arena.
32943 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
32945         [BZ #18185]
32946         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
32947         sharing L2 cache to 2 for Silvermont/Knights Landing.
32949 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
32951         [BZ #17711]
32952         * config.make.in (have-protected-data): New.
32953         * configure.ac: Check linker support for protected data symbol.
32954         * configure: Regenerated.
32955         * elf/Makefile (modules-names): Add tst-protected1moda and
32956         tst-protected1modb if $(have-protected-data) is yes.
32957         (tests): Add tst-protected1a and tst-protected1b if
32958         $(have-protected-data) is yes.
32959         ($(objpfx)tst-protected1a): New.
32960         ($(objpfx)tst-protected1b): Likewise.
32961         (tst-protected1modb.so-no-z-defs): Likewise.
32962         * elf/tst-protected1a.c: New file.
32963         * elf/tst-protected1b.c: Likewise.
32964         * elf/tst-protected1mod.h: Likewise.
32965         * elf/tst-protected1moda.c: Likewise.
32966         * elf/tst-protected1modb.c: Likewise.
32968 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
32970         [BZ #17711]
32971         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
32972         indicates it is called from do_lookup_x on relocation against
32973         protected data, skip the data definion in the executable from
32974         copy reloc.
32975         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
32976         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
32977         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
32978         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
32979         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
32980         otherwise to 0.
32981         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
32982         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
32983         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
32984         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
32985         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
32986         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
32988 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
32990         * sysdeps/nptl/pthread.h: Remove duplicate definition of
32991         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
32993 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
32995         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
32996         THREAD_SETMEM_NC.
32997         * sysdeps/x86_64/nptl/tls.h: Ditto.
32999 2015-03-27  Roland McGrath  <roland@hack.frob.com>
33001         * dlfcn/tststatic.c (main): Converted to ...
33002         (do_test): ... this.
33003         (TEST_FUNCTION): New macro.
33004         Include test-skeleton.c.
33006 2015-03-26  Alan Modra  <amodra@gmail.com>
33008         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
33009         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
33010         zero for undefined weak.
33011         (elf_machine_plt_conflict): Similarly.
33013 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
33015         * math/auto-libm-test-in: Add more tests of acosh, asinh and
33016         atanh.
33017         * math/auto-libm-test-out: Regenerated.
33018         * sysdeps/i386/fpu/libm-test-ulps: Update.
33019         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33021         * math/auto-libm-test-in: Add another test of asin.
33022         * math/auto-libm-test-out: Regenerated.
33023         * sysdeps/i386/fpu/libm-test-ulps: Update.
33024         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33026         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
33027         Remove macro.
33028         (LLL_EBX_REG): Likewise.
33029         (LLL_ENTER_KERNEL): Likewise.
33031         * math/auto-libm-test-in: Add more tests of asin.
33032         * math/auto-libm-test-out: Regenerated.
33033         * sysdeps/i386/fpu/libm-test-ulps: Update.
33034         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33036         [BZ #18138]
33037         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
33038         libc_do_syscall_args): New structure.
33039         (INTERNAL_SYSCALL_MAIN_0): New macro.
33040         (INTERNAL_SYSCALL_MAIN_1): Likewise.
33041         (INTERNAL_SYSCALL_MAIN_2): Likewise.
33042         (INTERNAL_SYSCALL_MAIN_3): Likewise.
33043         (INTERNAL_SYSCALL_MAIN_4): Likewise.
33044         (INTERNAL_SYSCALL_MAIN_5): Likewise.
33045         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
33046         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
33047         Replace conditional definitions by conditional definitions of ....
33048         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
33049         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
33050         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
33051         (libpthread-sysdep_routines): Add libc-do-syscall.
33052         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
33053         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
33054         to __NR_futex not 240.
33056 2015-03-25  Alan Modra  <amodra@gmail.com>
33058         * NEWS: Advertise TLS optimization.
33059         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
33060         (DT_PPC_NUM): Increment.
33061         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
33062         (CHECK_STATIC_TLS): Use here.
33063         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
33064         TLS descriptors.
33065         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
33066         * sysdeps/powerpc/dl-tls.c: New file.
33067         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
33068         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
33069         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
33070         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
33071         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
33072         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
33073         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
33075 2015-03-25  Alan Modra  <amodra@gmail.com>
33077         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
33078         for overlapping .opd entries" to "support...".
33079         * sysdeps/powerpc/powerpc64/configure: Regenerate
33081 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
33083         * math/auto-libm-test-in: Add more tests of acos.
33084         * math/auto-libm-test-out: Regenerated.
33085         * sysdeps/i386/fpu/libm-test-ulps: Update.
33086         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33088         * math/auto-libm-test-in: Add more tests of expm1.
33089         * math/auto-libm-test-out: Regenerated.
33090         * sysdeps/i386/fpu/libm-test-ulps: Update.
33091         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33093 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
33095         * math/auto-libm-test-in: Add more tests of cosh and sinh.
33096         * math/auto-libm-test-out: Regenerated.
33097         * sysdeps/i386/fpu/libm-test-ulps: Update.
33098         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33100         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
33101         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33103         * math/auto-libm-test-in: Add more tests of log2.
33104         * math/auto-libm-test-out: Regenerated.
33105         * sysdeps/i386/fpu/libm-test-ulps: Update.
33106         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33108 2015-03-23  Roland McGrath  <roland@hack.frob.com>
33110         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
33111         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
33112         _IO_IS_APPENDING bit in READ_WRITE instead.
33114 2015-03-23  Florian Weimer  <fweimer@redhat.com>
33116         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
33117         (__determine_cpumask_size): Replace extend_alloca with a
33118         variable-length array.  Do not treat res == 0 as an error.
33120 2015-03-23  Florian Weimer  <fweimer@redhat.com>
33122         [BZ #18100]
33123         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
33124         and integer overflow.
33125         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
33126         (main): Add integer overflow tests.
33127         * manual/pattern.texi (Calling Wordexp): Document additional use
33128         for WRDE_SYNTAX.
33130 2015-03-23  Alan Modra  <amodra@gmail.com>
33132         * config.h.in: Remove HAVE_ASM_PPC_REL16.
33133         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
33134         and false branch of conditional.
33135         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
33136         Likewise.
33138 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
33140         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
33141         libc-modules.h
33142         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
33143         unused declaration of _hurd_intr_rpc_msg_in_trap.
33144         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
33145         defined instead of whether it is non-zero.
33146         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
33147         input constraint instead of both input and output constraint.  Use ecx
33148         clobber instead of %ecx.
33149         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
33150         mutex_unlock): Use a statement expression instead of an expression list.
33151         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
33152         type to vm_size_t instead of vm_address_t.
33153         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
33154         defined instead of whether it is non-zero.
33155         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
33156         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
33157         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
33158         comparisons with mapaddr.
33159         * nscd/nscd-client.h: Include <time.h>.
33160         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
33161         9th parameter to __vm_region instead of int.
33162         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
33163         * scripts/check-local-headers.sh (exclude): Add device/,
33164         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
33165         cthreads.h.
33167 2015-03-19  Roland McGrath  <roland@hack.frob.com>
33169         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
33170         to account for alignment padding.
33171         * sysdeps/arm/memmove.S: Likewise.
33173 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
33175         * sysdeps/unix/sysv/linux/generic/README: New file.
33177 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
33179         [BZ #18138]
33180         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
33181         (futex_abstimed_wait)
33182         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
33183         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
33184         of lll_futex_timed_wait.
33186 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
33188         [BZ #17542]
33189         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
33191 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
33193         [BZ #17090]
33194         [BZ #17620]
33195         [BZ #17621]
33196         [BZ #17628]
33197         * NEWS: Update.
33198         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
33199         entries with Static TLS too.  Skip entries past the end of the
33200         allocated DTV, from Alan Modra.
33201         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
33202         Static TLS DTV entry set up from...
33203         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
33204         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
33205         * nptl/allocatestack.c (init_one_static_tls): ... and here...
33206         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
33207         for Static TLS.
33208         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
33209         that the slot we find is associated with the given map before
33210         using its generation count.
33211         * nptl_db/db_info.c: Include ldsodefs.h.
33212         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
33213         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
33214         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
33215         (link_map::l_tls_offset): New struct field.
33216         (dtv_t::counter): Likewise.
33217         (rtld_global): New struct.
33218         (_rtld_global): New rtld variable.
33219         (dl_tls_dtv_slotinfo_list): New rtld global field.
33220         (dtv_slotinfo_list): New struct.
33221         (dtv_slotinfo): Likewise.
33222         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
33223         (td_lookup): Rename to...
33224         (td_mod_lookup): ... this.  Use new mod parameter instead of
33225         LIBPTHREAD_SO.
33226         * nptl_db/td_thr_tlsbase.c: Include link.h.
33227         (dtv_slotinfo_list, dtv_slotinfo): New functions.
33228         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
33229         addresses even if the DTV is out of date or missing them.
33230         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
33231         index zero-length arrays.
33232         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
33233         (td_lookup): Make it a macro implemented in terms of...
33234         (td_mod_lookup): ... this declaration.
33235         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
33236         (DB_MAIN_VARIABLE): Likewise.
33238 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
33240         [BZ #18134]
33241         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
33243 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
33245         * stdlib/setenv.c (__add_to_environ): Revert previous change.
33247 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
33249         [BZ #18128]
33250         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
33251         (atomic_add, atomic_increment_and_test)
33252         (atomic_decrement_and_test): Fix 64-bit arithmetic.
33254 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
33256         * stdlib/setenv.c (__add_to_environ):
33257         Dump core quickly if setenv (..., NULL, ...) is called.
33259 2015-03-13  Roland McGrath  <roland@hack.frob.com>
33261         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
33262         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
33263         all the necessary asm magic in one place.
33264         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
33265         using those.
33267 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
33269         [BZ #14906]
33270         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
33271         traced file mtime. Use consistent log message.
33272         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
33273         (register_traced_file): Call install_watches. Always set mtime.
33274         (invalidate_cache): Iterate over all trace files. Call install_watches.
33275         (inotify_check_files): Don't inline. Handle watching parent
33276         directories and configuration file movement in and out.
33277         (handle_inotify_events): New function.
33278         (main_loop_poll): Call handle_inotify_events.
33279         (main_loop_epoll): Likewise.
33280         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
33281         (struct traced_file): Use array of inotify fds. Add parent directory,
33282         and basename.
33283         (struct database_dyn): Remove unused file_mtime.
33284         (init_traced_file): New inline function.
33285         (define_traced_file): New macro.
33286         * nss/nss_db/db-init.c: Use define_traced_file.
33287         (_nss_db_init): Use init_traced_file.
33288         * nss/nss_files/files-init.c: Use define_traced_file.
33289         (_nss_files_init): Use init_traced_file.
33291 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
33293         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
33294         [_LIBC]: Do not include <stdlib.h>.
33295         [!_LIBC] (abort): Remove declaration.
33296         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
33297         _FP_STATIC_ASSERT instead of conditionally calling abort.
33298         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
33299         (_FP_EXTEND_CNAN): Likewise.
33300         (FP_TRUNC): Likewise.
33301         (__FP_CLZ): Likewise.
33302         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
33304 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
33306         * manual/string.texi (XPG basename): Fix prototype.
33308 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
33310         [BZ #18080]
33311         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
33312         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
33313         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
33314         (__setcontext): Likewise.
33315         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
33316         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
33317         Call rt_sigprocmask syscall one time to set new signal mask
33318         and retrieve the current signal mask instead of two calls.
33319         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
33320         (__swapcontext): Likewise.
33321         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
33322         * stdlib/tst-setcontext2.c: New file.
33324 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
33326         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
33328 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
33330         [BZ #18093]
33331         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
33332         the wrong size.
33334 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
33336         [BZ #18043]
33337         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
33339 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
33341         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
33342         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
33343         Remove define.
33344         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
33345         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
33346         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
33347         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
33348         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
33349         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
33350         define.
33351         * nptl_db/td_symbol_list.c (td_lookup): Remove
33352         HAVE_ASM_GLOBAL_DOT_NAME code.
33353         * sysdeps/powerpc/powerpc64/configure.ac: Remove
33354         HAVE_ASM_GLOBAL_DOT_NAME check.
33355         * sysdeps/powerpc/powerpc64/configure: Regenerate.
33356         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
33357         (DOT_LABEL): Remove define.
33358         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
33359         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
33360         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
33361         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
33362         (__TLS_GET_ADDR): Likewise.
33363         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
33364         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
33366 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
33368         [BZ #18111]
33369         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
33370         (_FPU_SETCW): Initialize cw from fpsr before storing.
33371         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
33372         (fesetexceptflag): Rewrite using fpu_control.h.
33373         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
33375 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
33377         [BZ #18110]
33378         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
33379         asms.
33380         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
33382 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
33384         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
33385         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
33386         abort.
33387         (_FP_FMA): Likewise.
33388         (_FP_DIV): Likewise.
33390 2015-03-10  Roland McGrath  <roland@hack.frob.com>
33392         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
33393         with 0 in that case.
33394         * Makefile (summarize-tests): New canned sequence, factored out of
33395         commands for targets tests and xtests.  Display summary lines that
33396         don't start with PASS: or XFAIL: rather than ones that do start with
33397         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
33398         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
33399         do start with ERROR: or FAIL:.
33400         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
33401         (except for [$(build-shared) = yes]).
33402         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
33403         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
33404         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
33405         * nptl/Makefile: Revert 2015-03-04 changes.
33406         [$(CXX) empty] (tests-unsupported): New variable.
33407         * debug/Makefile: Likewise.
33409         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
33410         gnulib file.  Replace __attribute with __attribute__ throughout.
33412 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
33414         * sysdeps/hppa/fpu/libm-test-ulps: Update.
33416 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
33418         [BZ #18104]
33419         * math/auto-libm-test-in: Add another test of pow.
33420         * math/auto-libm-test-out: Regenerated.
33422 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33424         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
33425         $(config-cflags-nofma).
33427 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
33429         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
33430         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
33431         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
33432         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
33433         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
33434         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
33435         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
33436         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
33437         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
33438         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
33439         Add comment on closing #endif.
33441 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
33443         * posix/wordexp.c (CHAR_IN_SET): New macro.
33444         (parse_param): Use it.
33446 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33448         * sysdeps/powerpc/fpu/libm-test-ulps: update.
33450 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
33452         [BZ #18043]
33453         * posix/wordexp.c (parse_param): Fix buffer overflow.
33454         * posix/wordexp-test.c (test_case): Add test case.
33456 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
33458         [BZ #18042]
33459         * posix/wordexp.c (parse_backtick): Fix off-by-one.
33460         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
33462 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
33464         [BZ #18043]
33465         * posix/wordexp-test.c (test_case): Add test for BZ #18043
33466         (do_bz18043): Delete.
33467         (at_page_end): New.
33468         (testit): Refactor to have words at the edge of unreadable page.
33470 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
33472         [BZ #16734]
33473         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
33474         Cleanup read-only streams as well.
33475         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
33477 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
33479         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
33480         <bits/libc-lockP.h>
33482 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
33484         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
33485         on [__KERNEL__].
33486         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
33487         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
33488         * soft-fp/op-common.h (_FP_DECL): Likewise.
33490 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
33492         * elf/ifuncdep2.c (global): Replace
33493         __attribute__((visibility("protected"))) with
33494         asm (".protected global").
33495         * elf/ifuncmod1.c (global): Likewise.
33496         * elf/ifuncmod5.c (global): Likewise.
33498 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
33500         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
33501         <asm/sfp-machine.h> instead of <sfp-machine.h>.
33503 2015-03-06  Roland McGrath  <roland@hack.frob.com>
33505         * manual/install.texi (Configuring and compiling):
33506         Document test-wrapper-env-only.
33507         * INSTALL: Regenerated.
33509 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
33511         [BZ #18043]
33512         * posix/wordexp.c (parse_param): Fix buffer overflow.
33513         * posix/wordexp-test.c (do_bz18043): Add test case.
33515 2015-03-06  Vincent Bernat  <vincent@bernat.im>
33517         * time/tst-strptime2.c (do_test): Ensure failing tests are
33518         reported correctly.
33519         * time/tst-strptime3.c (do_test): Likewise.
33521 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
33523         Fix aio_error thread-safety.
33524         * sysdeps/pthread/aio_error.c: New file
33525         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
33526         synchronization.
33528 2015-03-06  Florian Weimer  <fweimer@redhat.com>
33530         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
33531         (group_number, vfprintf): Use it.
33532         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
33533         (JUMP, REF): Use it.
33534         (WORK_BUFFER_SIZE): New enum constant.
33535         (process_arg, vfprintf): Use it.
33537 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
33539         * manual/errno.texi (Error Messages): Complete example function
33540         by adding missing #define.
33541         (program_invocation_name): Add statement indicating GNU
33542         extension and reference which header file declares the variable.
33543         (program_invocation_short_name): Likewise.
33545 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
33547         * manual/errno.texi (Error Messages): Delete strerror ISO C89
33548         compatibility note.
33550 2015-03-05  Roland McGrath  <roland@hack.frob.com>
33552         * Makeconfig (test-wrapper-env-only): New variable.
33553         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
33554         then use that with $(test-wrapper-env-only) rather than using
33555         $(test-wrapper-env) $(run-program-env) $($*-ENV).
33557 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
33559         [BZ #18082]
33560         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
33561         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
33562         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
33563         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
33564         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
33565         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
33566         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
33567         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
33568         Likewise.
33569         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
33570         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
33571         Likewise.
33572         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
33573         Likewise.
33574         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
33575         Likewise.
33576         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
33577         Likewise.
33578         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
33579         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
33580         Likewise.
33581         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
33582         Likewise.
33583         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
33584         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
33586 2015-03-04  Roland McGrath  <roland@hack.frob.com>
33588         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
33589         (ETH_ALEN): New macro.
33590         (struct ether_addr): Use it for length of ether_addr_octet.
33592         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
33593         (setdb): Don't call __nss_configure_lookup for "rpc".
33594         (do_test): Don't call test_rpc.
33595         (output_rpcent, test_rpc): Functions moved ...
33596         * sunrpc/test-rpcent.c: ... to this new file.
33597         * sunrpc/Makefile (tests): Add it.
33599         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
33600         __xpg_sigpause.
33601         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
33602         * nptl/tst-signal6.c: Likewise.
33603         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
33604         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
33606         * configure.ac (libc_cv_cxx_link_ok): New check.
33607         Reset CXX to empty if it fails to link.
33608         * configure: Regenerated.
33609         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
33610         bug-atexit3-lib only if $(CXX) is nonempty.
33611         * nptl/Makefile (tests): Likewise for tst-cancel24.
33612         (tests, tests-static): Likewise for tst-cancel24-static.
33613         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
33614         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
33615         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
33616         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
33618 2015-03-04  Andreas Schwab  <schwab@suse.de>
33620         [BZ #17631]
33621         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
33622         for non-GCC compilers.
33623         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
33624         Likewise.
33626 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
33628         [BZ #17776]
33629         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
33630         integer before bitwise and assembly operations.
33631         (feclearexcept): Likewise.
33632         * math/test-fenvinline.c: New file.
33633         * math/Makefile: Add test-fenvinline test.
33635 2015-03-03  Alan Modra  <amodra@gmail.com>
33637         [BZ #16512]
33638         * scripts/localplt.awk: Strip off symbol version.
33639         * NEWS: Mention bug fix.
33641 2015-03-02  Roland McGrath  <roland@hack.frob.com>
33643         * sysdeps/pthread/timer_routines.c
33644         (timer_free_list, thread_free_list, thread_active_list): Make static.
33646 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
33648         [BZ #17779]
33649         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
33650         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
33651         Undefine.
33652         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
33653         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
33654         Likewise.
33655         * sysdeps/unix/sysv/linux/sh/kernel-features.h
33656         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
33657         Likewise.
33659 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
33661         [BZ #18036]
33662         * posix/fnmatch_loop.c (END): Detect invalid pattern.
33663         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
33665 2015-03-02  Andreas Schwab  <schwab@suse.de>
33667         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
33668         variable name.
33670 2015-03-02  Florian Weimer  <fweimer@redhat.com>
33672         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
33673         Return error status.
33675 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
33677         [BZ #15969]
33678         * locale/findlocale.c (_nl_find_locale): Introduce const
33679         version of loc_name and drop unsafe type casts.
33681 2015-02-27  Roland McGrath  <roland@hack.frob.com>
33683         * dlfcn/tststatic2.c (main): Converted to ...
33684         (do_test): ... this.
33685         (TEST_FUNCTION): New macro.
33686         Include test-skeleton.c.
33688 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
33690         [BZ #17711]
33691         * elf/Makefile (tests): Add vismain only if PIE is enabled.
33692         (tests-pie): Add vismain.
33693         (CFLAGS-vismain.c): New.
33694         * elf/vismain.c: Add comments for PIE requirement.
33696 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
33698         [BZ #18046]
33699         [BZ #18047]
33700         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
33701         0x1p-56L as threshold for just returning the argument.
33702         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
33703         0x1p-32L as threshold for just returning the argument.
33704         * math/auto-libm-test-in: Add more tests of atanh.
33705         * math/auto-libm-test-out: Regenerated.
33706         * sysdeps/i386/fpu/libm-test-ulps: Update.
33707         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
33709 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
33711         * string/bcopy.c (bcopy): Call memmove for performance.
33713 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
33715         * string/bzero.c (__bzero): Call memset for performance.
33717 2015-02-27  John David Anglin  <dave.anglin@bell.net>
33719         [BZ #18068]
33720         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
33721         to 00100000.
33723 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
33725         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
33727 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
33729         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
33730         (__kernel_standard): Use CSTR macro when setting exc.name.
33731         * sysdeps/ieee754/Makefile [$(subdir) = math]
33732         (CFLAGS-k_standard.c): Remove variable.
33734         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
33735         setting p and q from "else if" to "else".
33736         (qzero): Likewise.
33737         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
33738         (qone): Likewise.
33739         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
33740         (qzerof): Likewise.
33741         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
33742         (qonef): Likewise.
33743         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
33744         (qzero): Likewise.
33745         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
33746         (qone): Likewise.
33748         [BZ #18038]
33749         [BZ #18039]
33750         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
33751         return pi/2 for arguments below 0x1p-113L.
33752         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
33753         return pi/2 for arguments below 0x1p-106L.
33754         * math/auto-libm-test-in: Add more tests of acos.
33755         * math/auto-libm-test-out: Regenerated.
33757         [BZ #16351]
33758         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
33759         (MO): New macro.
33760         (__ieee754_asin): Force underflow exception for results with small
33761         absolute value.
33762         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
33763         (MO): New macro.
33764         (__ieee754_asinf): Force underflow exception for results with
33765         small absolute value.
33766         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
33767         (__ieee754_asin): Force underflow exception for results with small
33768         absolute value.
33769         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
33770         (__ieee754_asinf): Force underflow exception for results with
33771         small absolute value.
33772         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
33773         (__ieee754_asinl): Force underflow exception for results with
33774         small absolute value.
33775         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
33776         (__ieee754_asinl): Force underflow exception for results with
33777         small absolute value.
33778         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
33779         (__ieee754_asinl): Force underflow exception for results with
33780         small absolute value.
33781         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
33782         Include <math.h>.
33783         * math/auto-libm-test-in: Do not mark underflow exceptions as
33784         possibly missing for bug 16351.
33785         * math/auto-libm-test-out: Regenerated.
33787         [BZ #18030]
33788         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
33789         of power of 2 down when low part has opposite sign.
33790         * math/libm-test.inc (logb_test_data): Add more tests.
33792 2015-02-26  Andreas Schwab  <schwab@suse.de>
33794         [BZ #18032]
33795         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
33796         over collating symbol inside a bracket expression.  Minor cleanup.
33797         * posix/tst-fnmatch3.c (do_test): Add test case.
33799 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
33801         [BZ #18029]
33802         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
33803         Adjust exponent of power of 2 down when low part has opposite
33804         sign.
33805         * math/libm-test.inc (ilogb_test_data): Add more tests.
33807 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
33809         [BZ #15969]
33810         * locale/findlocale.c (_nl_find_locale): Fix constness error in
33811         the previous change.
33813         [BZ #15969]
33814         * locale/findlocale.c (_nl_find_locale): Retry archive search
33815         after alias expansion.
33817 2015-02-25  Roland McGrath  <roland@hack.frob.com>
33819         * iconv/tst-iconv3.c (main): Converted to ...
33820         (do_test): ... this.
33821         (TEST_FUNCTION): New macro.
33822         Include test-skeleton.c.
33824         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
33825         (convert): Make function static.
33826         (test_unalign): Likewise.  Add const to argument pointee types.
33827         (main): Replace with static function do_test.
33828         Print "Succeeded." only if RET is zero.
33829         (TEST_FUNCTION): New macro.
33830         Include test-skeleton.c.
33832         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
33833         returns a null pointer.
33835 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33837         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
33838         to __memcpy_ppc only for static builds.
33840 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
33842         [BZ #18020]
33843         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
33844         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
33845         * math/auto-libm-test-in: Add more tests of asinh.
33846         * math/auto-libm-test-out: Regenerated.
33847         * sysdeps/i386/fpu/libm-test-ulps: Update.
33848         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33850 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
33852         [BZ #15850]
33853         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
33854         and ip6_mtuinfo definitions here.
33855         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
33856         in this define too.  Update comment.
33858 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
33860         * elf/sprof.c (load_shobj): Tweak error message to match others.
33862 2015-02-24  Kevin Easton  <kevin@guarana.org>
33864         [BZ #16145] (partial fix)
33865         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
33866         to reduce lock contention.
33868 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
33870         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
33871         (struct timex): Update time comment.
33872         (ADJ_SETOFFSET): Define.
33874 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
33876         [BZ #18019]
33877         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
33878         2**56 not 2**28 as threshold for log (2x) formula.
33879         * math/auto-libm-test-in: Add more tests of acosh.
33880         * math/auto-libm-test-out: Regenerated.
33881         * sysdeps/i386/fpu/libm-test-ulps: Update.
33882         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33884 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
33886         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
33887         parenthesis around the buf assignment.
33888         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
33890 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
33892         [BZ #16783]
33893         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
33894         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
33895         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
33896         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
33897         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
33898         * math/libm-test.inc (scalb_test_data): Add more tests.
33900 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
33902         [BZ #17916]
33903         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
33904         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
33906 2015-02-24  Eric Rannaud  <e@nanocritical.com>
33908         [BZ #17523]
33909         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
33910         * io/bits/fcntl2.h (open): Use it.
33911         (openat): Likewise.
33912         * io/open.c (__libc_open): Likewise.
33913         * io/open64.c (__libc_open64): Likewise.
33914         * io/open64_2.c (__open64_2): Likewise.
33915         * io/open_2.c (__open_2): Likewise.
33916         * io/openat.c (__openat): Likewise.
33917         * io/openat64.c (__openat64): Likewise.
33918         * io/openat64_2.c (__openat64_2): Likewise.
33919         * io/openat_2.c (__openat_2): Likewise.
33920         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
33921         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
33922         * sysdeps/posix/open64.c (__libc_open64): Likewise.
33923         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
33924         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
33925         (__open_nocancel): Likewise.
33926         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
33927         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
33928         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
33930 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
33932         [BZ #14841]
33933         * resolv/gethnamaddr.c (getanswer): Skip logging if
33934         RES_USE_DNSSEC is set.
33935         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
33937 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
33939         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
33941 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
33943         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
33944         201304L, for Unicode 7.
33946 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
33948         [BZ #17836]
33949         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
33950         shared library.  Add gmon-start.os otherwise.
33951         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
33952         $(objpfx)gmon-start.os if builing shared library.
33953         ($(objpfx)g$(static-start-installed-name)): Likewise.
33955 2015-02-23  Andreas Schwab  <schwab@suse.de>
33957         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
33959 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
33961         [BZ #17269]
33962         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
33963         (enlarge_userbuf): Likewise.
33965 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
33967         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
33968         * math/atest-exp.c (TIMEOUT): Adjust to 200.
33969         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
33970         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
33972 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
33974         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
33975         expression inside statement expression.
33977 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
33979         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
33980         <sysdeps/nptl/lowlevellock.h> and remove macros and
33981         functions that are now defined there.
33982         (SYS_futex): Remove.
33983         (lll_compare_and_swap): Remove.
33984         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
33986 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
33988         [BZ #17999]
33989         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
33990         instead of scandirat.
33991         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
33992         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
33993         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
33994         __scandirat.
33995         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
33996         (__scandirat): Declare.  Use libc_hidden_proto.
33997         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
33998         Remove variable.
33999         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
34001 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
34003         [BZ #15319]
34004         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
34005         (MO): New macro.
34006         (__ieee754_atan2): For results with small absolute value, force
34007         underflow exception and remove excess range and precision from
34008         return value.
34009         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
34010         (MO): New macro.
34011         (__ieee754_atan2f): For results with small absolute value, force
34012         underflow exception and remove excess range and precision from
34013         return value.
34014         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
34015         (MO): New macro.
34016         (__atan): For results with small absolute value, force underflow
34017         exception and remove excess range and precision from return value.
34018         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
34019         (MO): New macro.
34020         (__atanf): For results with small absolute value, force underflow
34021         exception and remove excess range and precision from return value.
34022         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
34023         <math.h>.
34024         (__ieee754_atan2): Force underflow exception for results with
34025         small absolute value.
34026         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
34027         <math_private.h>.
34028         (atan): Force underflow exception for results with small absolute
34029         value.
34030         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
34031         (__atanf): Force underflow exception for results with small
34032         absolute value.
34033         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
34034         <math.h>.
34035         (__atanl): Force underflow exception for results with small
34036         absolute value.
34037         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
34038         (__atanl): Force underflow exception for results with small
34039         absolute value.
34040         * sysdeps/x86/fpu/bits/mathinline.h
34041         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
34042         (__ieee754_atan2): Only define inline for long double.
34043         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
34044         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
34045         * math/auto-libm-test-in: Do not mark underflow exceptions as
34046         possibly missing for bug 15319.  Add more tests of atan2.
34047         * math/auto-libm-test-out: Regenerated.
34048         * math/libm-test.inc (casin_test_data): Do not mark underflow
34049         exceptions as possibly missing for bug 15319.
34050         (casinh_test_data): Likewise.
34051         * sysdeps/i386/fpu/libm-test-ulps: Update.
34053 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
34055         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
34056         * sysdeps/mips/bits/endian.h: Fix comments.
34058 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
34060         [BZ #17996]
34061         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
34062         (hdestroy_r): Likewise.
34063         (hsearch_r): Likewise.
34064         (__hcreate_r): Declare and use libc_hidden_proto.
34065         (__hdestroy_r): Likewise.
34066         (__hsearch_r): Likewise.
34067         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
34068         (hcreate): Call __hcreate_r instead of hcreate_r.
34069         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
34070         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
34071         as weak alias of __hcreate_r.
34072         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
34073         __hdestroy_r.
34074         (hsearch_r): Rename to __hsearch_r and define as weak alias of
34075         __hsearch_r.
34076         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
34077         Remove variable.
34078         (test-xfail-XPG4/search.h/linknamespace): Likewise.
34079         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
34080         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
34081         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
34083 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
34085         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
34086         arena_lock into a single arena_get.
34088 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
34090         * dl-reloc.c: Inlucde libc-internal.h.
34091         (_dl_try_allocate_static_tls): Call ALIGN_UP.
34092         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
34093         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
34094         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
34095         (grow_heap): Likewise.
34096         * malloc/malloc.c: Include libc-internal.h.
34097         (do_check_malloc): Call powerof2.
34098         (sysmalloc): Use pagesize. Call ALIGN_UP.
34099         (systrim): Use pagesize.
34100         (mremap_chunk): Use pagesize. Call ALIGN_UP.
34101         (__libc_valloc): Use pagesize.
34102         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
34104 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
34106         [BZ #17991]
34107         * include/sys/resource.h (__getrlimit64): Declare.  Use
34108         libc_hidden_proto.
34109         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
34110         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
34111         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
34112         getrlimit64.
34113         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
34114         __getrlimit64.
34115         [!getrlimit64] (getrlimit64): Define as weak alias of
34116         __getrlimit64.  Use libc_hidden_weak.
34117         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
34118         using __getrlimit64 not __new_getrlimit64.
34119         (__GI_getrlimit64): Likewise.
34120         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
34121         Likewise.
34122         (__GI_getrlimit64): Likewise.
34123         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
34124         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
34125         (getrlimit): Add __getrlimit64 alias.
34126         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
34127         Likewise.
34128         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
34129         Remove variable.
34130         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
34131         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
34133 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
34135         * libio/fileops.c: Add missing sys/mman.h
34136         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
34138 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
34140         * manual/math.texi (Errors in Math Functions): Clarify goals
34141         regarding inexact and underflow exceptions.
34143 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
34145         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
34146         * sysdeps/mips/memset.S: Ditto.
34148 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
34150         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
34152 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
34154         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
34155         (__v1longjmp): Remove versioned symbol.
34156         (__v1siglongjmp): Remove alias and versioned symbol.
34157         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
34158         (__v2siglongjmp): Likewise.
34160 2015-02-16  Torvald Riegel  <triegel@redhat.com>
34162         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
34164 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
34166         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
34168 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
34170         [BZ #17987]
34171         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
34172         zero result does not depend on the sign resulting from
34173         subtraction.
34174         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
34175         Likewise.
34176         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
34177         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
34178         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
34179         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
34180         * math/libm-test.inc (remquo_test_data): Add more tests.
34182 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
34184         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
34185         Problem reported by J William Piggott.
34187 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
34189         [BZ #17978]
34190         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
34191         products 4 * y and 2 * y where those would overflow.
34192         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
34193         Likewise.
34194         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
34195         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
34196         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
34197         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
34198         * math/libm-test.inc (remquo_test_data): Add more tests.
34200         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
34202         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
34203         [defined _COMPILING_NEWLIB].
34204         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
34205         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
34207         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
34208         [!defined __mips_isa_rev || __mips_isa_rev < 6].
34210 2015-02-16  Torvald Riegel  <triegel@redhat.com>
34212         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
34213         acquired.
34215 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
34217         [BZ #17792]
34218         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
34219         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
34220         HOST_STACK_END_ADDR): Likewise.
34222 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
34224         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
34225         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
34226         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
34228 2015-02-13  Roland McGrath  <roland@hack.frob.com>
34230         * sysdeps/generic/c++-types.data: New file.
34231         * sysdeps/generic/ld.abilist: New file.
34232         * sysdeps/generic/libBrokenLocale.abilist: New file.
34233         * sysdeps/generic/libanl.abilist: New file.
34234         * sysdeps/generic/libc.abilist: New file.
34235         * sysdeps/generic/libcrypt.abilist: New file.
34236         * sysdeps/generic/libdl.abilist: New file.
34237         * sysdeps/generic/libm.abilist: New file.
34238         * sysdeps/generic/libpthread.abilist: New file.
34239         * sysdeps/generic/libresolv.abilist: New file.
34240         * sysdeps/generic/librt.abilist: New file.
34242 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
34244         [BZ #17569]
34245         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
34246         Compute absolute value of x as modified by fmod, not original
34247         value of x.
34248         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
34249         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
34250         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
34251         RUN_TEST_ffI_f1_mod8.
34252         (remquo_test_data): Add more tests.
34254 2015-02-13  Roland McGrath  <roland@hack.frob.com>
34256         * sysdeps/init_array/pt-crti.S: New file.
34258 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
34260         [BZ #17967]
34261         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
34262         __builtin_fmaf instead of relying on contraction of a * b + c.
34264 2015-02-12  J William Piggott  <elseifthen@gmx.com>
34266         [BZ #17969]
34267         * manual/time.texi: correct the zoneinfo path in the TZ Variable
34268         node.
34270 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
34272         [BZ #17964]
34273         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
34274         __builtin_fma instead of relying on contraction of a * b + c.
34276 2015-02-12  Roland McGrath  <roland@hack.frob.com>
34278         * Makeconfig (ASFLAGS): Add -Werror=undef.
34279         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
34280         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
34281         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
34283         * Makeconfig (after-link): New variable.
34284         (+link-pie, +link-pie-tests): Use it.
34285         (+link-static, +link-static-tests): Likewise.
34286         (+link, +link-tests): Likewise.
34287         * Makerules (build-module, build-module-asneeded): Likewise.
34288         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
34289         Likewise.
34290         * elf/Makefile ($(objpfx)ld.so): Likewise.
34292 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
34294         [BZ #17965]
34295         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
34296         both struct timeval and struct timespec.
34298 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
34300         [BZ #16560]
34301         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
34302         and redefine.
34303         (__ieee754_exp2l): Do not multiply small fractional parts by
34304         M_LN2l.
34305         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
34306         small argument.
34307         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
34308         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
34309         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
34310         * math/auto-libm-test-in: Add more tests of exp2.
34311         * math/auto-libm-test-out: Regenerated.
34313 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
34315         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
34316         unaligned path.
34318 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34320         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
34321         little endian.
34323 2015-02-12  Andreas Schwab  <schwab@suse.de>
34325         [BZ #15790]
34326         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
34327         Filter out elision flags from value returned in kind.
34328         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
34329         * nptl/tst-pthread-mutexattr.c: New file.
34331 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34333         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
34334         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
34335         into gnu-gnu, and update comment to refer to abi-tags.
34337 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
34339         [BZ #15467]
34340         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
34341         (__sincos): Set errno to EDOM for infinite argument.
34342         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
34343         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
34344         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
34345         (__sincosl): Set errno to EDOM for infinite argument.
34346         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
34347         (__sincosl): Set errno to EDOM for infinite argument.
34348         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
34349         (__sincosl): Set errno to EDOM for infinite argument.
34350         * math/libm-test.inc (sincos_test_data): Test errno setting.
34352 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
34354         * string/strxfrm_l.c: Remove #define STRCMP.
34355         * string/strcoll_l.c: Remove #define STRLEN.
34356         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
34357         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
34359 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
34361         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
34362         * sysdeps/mips/mips32/sfp-machine.h: ... here.
34363         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
34364         * sysdeps/mips/mips64/Makefile: ... here.
34365         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
34366         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
34367         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
34368         * sysdeps/mips/mips64/sfp-machine.h: ... here.
34369         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
34370         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
34371         * sysdeps/mips/mips64/n64/Implies: Likewise.
34373 2015-02-10  Roland McGrath  <roland@hack.frob.com>
34375         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
34376         <sys/time.h>, <string.h>, and <errno.h>.
34377         (dest_offset, dest_address, value, zero): Remove unused variables.
34378         (ldouble): Remove typedef.
34379         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
34380         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
34381         1).  Fix code style.
34382         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
34383         (check): Function removed.
34384         (CHECK): New macro.
34385         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
34386         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
34387         Don't call set_sigaction_FP and remove_sigaction_FP here.
34388         (ldouble_test): Just use 'long double' as macro argument, no need for
34389         the 'ldouble' typedef.
34390         (do_test): Set up SIGFPE handler at start, using plain signal rather
34391         than sigaction.  Fix code style.
34393 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
34395         [BZ #17949]
34396         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
34397         jump label.
34399 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
34401         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
34402         * sysdeps/powerpc/powerpc32/configure: Regenerated.
34404         * sysdeps/powerpc/configure.ac: Remove file.
34405         * sysdeps/powerpc/configure: Likewise.
34407         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
34408         [sysdep_routines]: Remove wordcopy-power6 object.
34409         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
34410         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
34411         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
34412         (__memmove_ppc32): Likewise.
34413         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
34414         file.
34415         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
34416         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
34417         Remove preprocessor.
34419         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
34420         [sysdep_routines]: Remove wide chars objects.
34421         [wcsmbs]: New rule for wide char objects.
34423         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
34424         Remove wordcopy-power6 obejct.
34425         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
34426         Use local call for wordcopy and memcpy symbols.
34427         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
34428         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
34429         implementation for loader.
34430         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
34432         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
34433         Remove wordcopy-power7 object.
34434         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
34435         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
34436         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
34437         (_wordcopy_fwd_dest_aligned): Likewise.
34438         (_wordcopy_bwd_aligned): Likewise.
34439         (_wordcopy_bwd_dest_aligned): Likewise.
34441         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
34442         Rewrite to call __memmove_ppc instead of include default
34443         implementation.
34445         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
34446         Remove wide chars objects.
34447         [wcsmbs]: New rule for wide char objects.
34449 2015-02-09  Andreas Schwab  <schwab@suse.de>
34451         [BZ #17912]
34452         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
34453         in terms of __O_DIRECTORY.
34455 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34457         * time/getdate.c: Include <stdbool.h>.
34458         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
34459         call PTR_MANGLE.
34460         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
34461         PTR_DEMANGLE.
34463 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
34465         Add ersatz _Static_assert on older C hosts
34466         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
34467         pre-C11 C platform that is not known to support _Static_assert.
34469 2015-02-07  Richard Braun  <rbraun@sceen.net>
34471         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
34472         sigstate.
34473         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
34475 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34477         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
34478         priority against unexistent AIO_PRIO_DELTA_MAX.
34479         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
34480         instead of int.
34481         * misc/fchflags.c (fchflags): Likewise.
34482         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
34483         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
34484         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
34485         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
34486         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
34487         Declare macros.
34488         [__USE_MISC] (chflags, fchflags): Declare functions.
34489         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
34490         EINVAL when nfds is greater than FD_SETSIZE.
34491         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
34492         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
34493         45.
34494         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
34495         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
34496         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
34497         MACH_RCV_TIMED_OUT.
34498         * hurd/hurd/signal.h (_hurd_self_sigstate,
34499         _hurd_critical_section_lock, _hurd_critical_section_unlock):
34500         Explicit casts from void *.
34501         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
34502         * abi-tags: Rename gnu-gnu os into gnu.
34504         [BZ #4719]
34505         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
34506         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
34507         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
34508         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
34509         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
34510         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
34512         [BZ #17944]
34513         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
34514         duplicates ADDR->sun_path with sockaddr LEN limitation.
34515         * sysdeps/mach/hurd/connect.c: Include <string.h>
34516         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
34517         * sysdeps/mach/hurd/sendmsg.c: Likewise.
34518         * sysdeps/mach/hurd/sendto.c: Likewise.
34519         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
34520         implementing it by hand.
34522 2015-02-06  Roland McGrath  <roland@hack.frob.com>
34524         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
34525         Use sfi_breg on ldr.
34526         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
34527         Likewise.
34529         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
34530         it's defined.
34531         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
34532         Test SIGSETXID only if it's defined.
34534         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
34536         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
34537         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
34539         * nptl/tst-align2.c: Moved ...
34540         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
34541         * nptl/Makefile (tests): Remove tst-align2.
34542         * sysdeps/unix/sysv/linux/Makefile
34543         [$(subdir) = nptl] (tests): Add tst-align-clone.
34544         * nptl/tst-getpid1.c: Moved ...
34545         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
34546         * nptl/tst-getpid2.c: Moved ...
34547         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
34548         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
34549         * sysdeps/unix/sysv/linux/Makefile
34550         [$(subdir) = nptl] (tests): ... here.
34551         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
34552         * sysdeps/unix/sysv/linux/Makefile
34553         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
34555         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
34556         Drop trailing \n from perror argument.  Use return rather than exit.
34558         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
34559         on [SA_SIGINFO].
34560         * nptl/tst-cancel21.c (do_test): Likewise.
34561         * debug/tst-backtrace6.c: Include <signal.h> first thing.
34562         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
34563         [!SA_SIGINFO]: Make it a stub test.
34565         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
34566         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
34568         * posix/tst-getlogin.c: Move to ...
34569         * login/tst-getlogin.c: ... here.
34570         * posix/Makefile (tests): Move tst-getlogin to ...
34571         * login/Makefile (tests): ... here.
34573         * libio/tst-atime.c (do_test): Move local variables SV and E
34574         inside [ST_NOATIME] conditional.
34576         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
34578         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
34580         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
34581         (wait_code): New function replaces macro.
34582         Call nanosleep rather than syscall.
34584         * nptl/pt-system.c: Rewritten.  Put everything under
34585         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
34586         Use IFUNC to redirect when possible.
34588         * nptl/pt-longjmp.c: Rewritten.  Put everything under
34589         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
34590         Use IFUNC to redirect when possible.
34592         * nptl/pt-fork.c: Rewritten.  Put everything under
34593         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
34594         Use IFUNC to redirect when possible.
34595         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
34597         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
34598         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
34599         unconditionally nowadays.  This included the only reference to
34600         __vdso_clock_gettime that appears outside libc proper.
34601         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
34602         Remove version set (containing only __vdso_clock_gettime).
34603         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
34604         Add attribute_hidden.
34605         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
34606         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
34607         libc_hidden_data_def.
34608         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
34609         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
34611         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
34612         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
34613         setrpcent, and getrpcport to ...
34614         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
34615         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
34616         getrpcbynumber_r, and getrpcent_r to ...
34617         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
34618         * inet/getrpcbyname.c: Moved ...
34619         * sunrpc/getrpcbyname.c: ... here.
34620         * inet/getrpcbyname_r.c: Moved ...
34621         * sunrpc/getrpcbyname_r.c: ... here.
34622         * inet/getrpcbynumber.c: Moved ...
34623         * sunrpc/getrpcbynumber.c: ... here.
34624         * inet/getrpcbynumber_r.c: Moved ...
34625         * sunrpc/getrpcbynumber_r.c: ... here.
34626         * inet/getrpcent.c: Moved ...
34627         * sunrpc/getrpcent.c: ... here.
34628         * inet/getrpcent_r.c: Moved ...
34629         * sunrpc/getrpcent_r.c: ... here.
34630         * inet/Makefile (routines): Move those to ...
34631         * sunrpc/Makefile (routines): ... here.
34632         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
34633         the $(subdirs) list.
34634         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
34635         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
34636         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
34637         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
34639         * elf/Makefile (routines): Include $(all-dl-routines), not just
34640         $(dl-routines).
34641         (rtld-routines): Likewise.  Use = rather than :=.
34642         * sysdeps/aarch64/Makefile [$(subdir) = elf]
34643         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
34644         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
34645         * sysdeps/arm/Makefile: Likewise.
34646         * sysdeps/i386/Makefile: Likewise.
34647         * sysdeps/x86_64/Makefile: Likewise.
34648         * sysdeps/hppa/Makefile [$(subdir) = elf]
34649         (sysdep_routines, sysdep-rtld-routines): Don't add
34650         $(sysdep-dl-routines) to these.
34651         * sysdeps/ia64/Makefile: Likewise.
34652         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
34653         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
34654         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
34655         Don't add dl-static to these; sysdep-dl-routines alone is enough.
34656         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
34657         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
34658         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
34659         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
34660         * sysdeps/powerpc/Makefile [$(subdir) = elf]
34661         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
34662         these; sysdep-dl-routines alone is enough.
34664 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
34666         [BZ #17932]
34667         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
34668         where multiplication results in zero and third argument is finite
34669         and nonzero.
34670         * math/auto-libm-test-in: Add more tests of fma.
34671         * math/auto-libm-test-out: Regenerated.
34673         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
34674         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
34675         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
34676         (_FP_CMP_EQ): Likewise.
34677         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
34679         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
34680         extra argument CHECK_NAN.  Redefine as wrapper around
34681         _FP_EXTEND_CNAN.
34683 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
34685         * version.h (RELEASE): Set to "stable".
34686         (VERSION): Set to "2.21"
34687         * include/features.h (__GLIBC_MINOR__): Set to 21.
34689         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
34691 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
34692             Paul Eggert  <eggert@cs.ucla.edu>
34694         [BZ #16618]
34695         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
34696         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
34697         size in bytes. Store needed elements in wpmax. Use needed size
34698         in bytes for extend_alloca.
34700 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
34702         * manual/install.texi: Latest tested versions are GCC 4.9.2,
34703         binutls 2.25, and texinfo 5.2.
34704         * INSTALL: Regenerate.
34705         * sysdeps/nios2/configure: Regenerate.
34706         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
34707         * manual/contrib.texi: Update.
34708         * po/be.po: Update.
34709         * po/bg.po: Update.
34710         * po/ca.po: Update.
34711         * po/cs.po: Update.
34712         * po/da.po: Update.
34713         * po/de.po: Update.
34714         * po/el.po: Update.
34715         * po/eo.po: Update.
34716         * po/es.po: Update.
34717         * po/fi.po: Update.
34718         * po/fr.po: Update.
34719         * po/gl.po: Update.
34720         * po/hr.po: Update.
34721         * po/hu.po: Update.
34722         * po/ia.po: Update.
34723         * po/id.po: Update.
34724         * po/it.po: Update.
34725         * po/ja.po: Update.
34726         * po/ko.po: Update.
34727         * po/lt.po: Update.
34728         * po/nb.po: Update.
34729         * po/nl.po: Update.
34730         * po/pl.po: Update.
34731         * po/pt_BR.po: Update.
34732         * po/ru.po: Update.
34733         * po/rw.po: Update.
34734         * po/sk.po: Update.
34735         * po/sl.po: Update.
34736         * po/sv.po: Update.
34737         * po/tr.po: Update.
34738         * po/uk.po: Update.
34739         * po/vi.po: Update.
34740         * po/zh_CN.po: Update.
34741         * po/zh_TW.po: Update.
34743         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
34744         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
34745         * sysdeps/hppa/dl-irel.h: Remove #warning.
34746         * sysdeps/hppa/entry.h: Provide prototype for
34747         __canonicalize_funcptr_for_compare and cast argument.
34748         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
34749         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
34750         * sysdeps/hppa/sotruss-lib.c: New file.
34751         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
34752         (atomic_compare_and_exchange_val_acq): Use __typeof__.
34753         (atomic_compare_and_exchange_bool_acq): Likewise.
34754         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
34755         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
34757         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
34758         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
34759         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
34761 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
34763         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
34764         called function in non-PIC case.
34766 2015-01-31  David S. Miller  <davem@davemloft.net>
34768         * sysdeps/sparc/sparc32/bits/atomic.h
34769         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
34770         unlock not after it.
34771         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
34772         volatile register usage warnings from the compiler.
34774         * sysdeps/sparc/nptl/sem_init.c: Delete.
34775         * sysdeps/sparc/nptl/sem_post.c: Delete.
34776         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
34777         * sysdeps/sparc/nptl/sem_wait.c: Delete.
34778         * sysdeps/sparc/sparc32/sem_init.c: New file.
34779         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
34780         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
34781         padding explicitly initialized.
34782         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
34783         padding for in-semaphore spinlock.
34784         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
34785         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
34786         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
34787         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
34788         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
34789         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
34790         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
34791         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
34792         version.
34793         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
34794         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
34796 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
34798         [BZ #17801]
34799         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34800         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
34801         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
34802         New.
34803         (index_AVX_Fast_Unaligned_Load): Likewise.
34804         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
34805         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
34806         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
34807         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
34808         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
34809         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
34810         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
34811         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
34812         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
34814 2015-01-29  Andreas Schwab  <schwab@suse.de>
34816         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
34818 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
34820         [BZ #17892]
34821         * nscd/nscd_stat.c (send_stats): Initialize DATA.
34823 2015-01-28  Martin Sebor  <msebor@redhat.com>
34825         * math/README.libm-test: Clarify. Add "How to read the test output."
34827 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
34829         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
34830         Define to 0.
34832 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
34834         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
34835         (__HAVE_64B_ATOMICS): Define to 0.
34837 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
34839         [BZ #17885]
34840         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
34841         value to set as new flag.
34843         [BZ #16576]
34844         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
34845         and use _ARCH_PPCSQ instead.
34846         (__ieee754_sqrt): Likewise.
34847         (__ieee754_sqrtf): Likewise.
34848         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
34849         _ARCH_PPCSQ is defined.
34850         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
34851         fsqrt instruction.
34852         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
34853         _ARCH_PPCSQ is defined.
34854         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
34855         fsqrts instruction.
34856         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
34858 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
34860         * iconv/loop.c: Suppress array out of bound warning caused by GCC
34861         bug (GCC BZ #64739).
34863 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
34865         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
34866         Mark _retval as used.
34867         (lll_futex_wake_unlock): Likewise.
34868         (lll_futex_timed_wait_requeue_pi): Likewise.
34870         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
34871         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
34872         register variables.
34874         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
34875         libm_hidden_def.
34877         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
34878         (__bswap_64): Mark as __always_inline.
34880 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
34882         [BZ #15378]
34883         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
34884         when none of the search directories exist.
34886 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
34888         [BZ #17869]
34889         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
34890         power8 in .machine directive.
34892         [BZ #17868]
34893         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
34894         set dependency from opd value.
34896 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
34898         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34899         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
34900         architecture.
34902 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
34904         [BZ #17870]
34905         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
34906         with uint64_t.
34907         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
34908         (uint64_t) 1.
34909         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
34910         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
34911         Replace 1UL with (uint64_t) 1.
34912         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
34913         int with uint64_t.
34915 2015-01-23  Roland McGrath  <roland@hack.frob.com>
34917         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
34918         (if_freenameindex): Likewise.
34920         * resource/getrlimit64.c: Add missing libc_hidden_def.
34922 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
34924         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
34925         __label__.
34926         (_FP_FMA): Likewise.
34927         (_FP_TO_INT_ROUND): Likewise.
34928         (_FP_FROM_INT): Likewise.
34930 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34932         [BZ #16418]
34933         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
34934         Make code racy and cancel safe.
34936 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
34938         * sysdeps/arm/unwind-resume.h: Fix copyright year.
34939         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
34940         attribution.
34942         * pwd/tst-getpw.c: Rewrite.
34944         [BZ #17702]
34945         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
34946         (modules-names): Add moddummy1 and moddummy2.
34947         ($(objpfx)tst-rec-dlopen): Define.
34948         * dlfcn/moddummy1.c: New file.
34949         * dlfcn/moddummy2.c: New file.
34950         * dlfcn/tst-rec-dlopen.c: New file.
34951         * elf/dl-cache.c (_dl_load_cache_lookup):
34952         Return char*. Copy result with alloca/strcpy/strdup.
34953         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
34954         returns char*. Free cached. If not saving realname
34955         free cached.
34956         * elf/dl-open.c (dl_open_worker): Do not assert that
34957         _r_debug->r_state is RT_CONSISTENT.
34958         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
34959         returns char*.
34961 2015-01-21  Torvald Riegel  <triegel@redhat.com>
34962             Carlos O'Donell  <carlos@redhat.com>
34964         [BZ #12674]
34965         * nptl/sem_waitcommon.c: New file.
34966         * nptl/sem_wait.c: Include sem_waitcommon.c.
34967         (__sem_wait_cleanup, do_futex_wait): Remove.
34968         (__new_sem_wait): Adapt.
34969         (__new_sem_trywait): New function.
34970         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
34971         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
34972         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
34973         (sem_timedwait): Adapt.
34974         * nptl/sem_post.c (__new_sem_post): Adapt.
34975         (futex_wake): New function.
34976         (__old_sem_post): Add release MO fence.
34977         * nptl/sem_open.c (sem_open): Adapt.
34978         * nptl/sem_init.c (__new_sem_init): Adapt.
34979         (futex_private_if_supported): New function.
34980         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
34981         (__old_sem_getvalue): Add using previous code.
34982         * sysdeps/nptl/internaltypes.h: Adapt.
34983         * nptl/tst-sem13.c (do_test): Adapt.
34984         * nptl/tst-sem11.c (main): Adapt.
34985         * nptl/sem_trywait.c: Remove.
34986         * nptl/DESIGN-sem.txt: Remove.
34987         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
34988         (gen-as-const-headers): Remove structsem.sym.
34989         * nptl/structsem.sym: Remove.
34990         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
34991         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
34992         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
34993         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
34994         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
34995         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
34996         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
34997         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
34998         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
34999         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
35000         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
35001         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
35002         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
35003         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
35004         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
35005         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
35006         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
35007         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
35008         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
35009         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
35010         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
35011         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
35013 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
35015         * INSTALL: Regenerated.
35017         * po/libc.pot: Regenerated.
35019 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
35020             Sandra Loosemore  <sandra@codesourcery.com>
35021             Andrew Jenner  <andrew@codesourcery.com>
35022             Joseph Myers  <joseph@codesourcery.com>
35023             Nathan Sidwell  <nathan@codesourcery.com>
35025         * NEWS: Mention new Nios II port.
35026         * sysdeps/nios2/Implies: New file.
35027         * sysdeps/nios2/Makefile: New file.
35028         * sysdeps/nios2/Subdirs: New file.
35029         * sysdeps/nios2/Versions: New file.
35030         * sysdeps/nios2/__longjmp.S: New file.
35031         * sysdeps/nios2/abort-instr.h: New file.
35032         * sysdeps/nios2/backtrace.c: New file.
35033         * sysdeps/nios2/bits/endian.h: New file.
35034         * sysdeps/nios2/bits/fenv.h: New file.
35035         * sysdeps/nios2/bits/link.h: New file.
35036         * sysdeps/nios2/bits/setjmp.h: New file.
35037         * sysdeps/nios2/bsd-_setjmp.S: New file.
35038         * sysdeps/nios2/bsd-setjmp.S: New file.
35039         * sysdeps/nios2/configure: New generated file.
35040         * sysdeps/nios2/configure.ac: New file.
35041         * sysdeps/nios2/crti.S: New file.
35042         * sysdeps/nios2/crtn.S: New file.
35043         * sysdeps/nios2/dl-init.c: New file.
35044         * sysdeps/nios2/dl-machine.h: New file.
35045         * sysdeps/nios2/dl-sysdep.h: New file.
35046         * sysdeps/nios2/dl-tls.h: New file.
35047         * sysdeps/nios2/dl-trampoline.S: New file.
35048         * sysdeps/nios2/gccframe.h: New file.
35049         * sysdeps/nios2/gmp-mparam.h: New file.
35050         * sysdeps/nios2/jmpbuf-offsets.h: New file.
35051         * sysdeps/nios2/jmpbuf-unwind.h: New file.
35052         * sysdeps/nios2/ldsodefs.h: New file.
35053         * sysdeps/nios2/libc-tls.c: New file.
35054         * sysdeps/nios2/libm-test-ulps: New file.
35055         * sysdeps/nios2/machine-gmon.h: New file.
35056         * sysdeps/nios2/math-tests.h: New file.
35057         * sysdeps/nios2/math_private.h: New file.
35058         * sysdeps/nios2/memusage.h: New file.
35059         * sysdeps/nios2/nptl/Makefile: New file.
35060         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
35061         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
35062         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
35063         * sysdeps/nios2/nptl/pthreaddef.h: New file.
35064         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
35065         * sysdeps/nios2/nptl/tls.h: New file.
35066         * sysdeps/nios2/preconfigure: New file.
35067         * sysdeps/nios2/s_fma.c: New file.
35068         * sysdeps/nios2/s_fmaf.c: New file.
35069         * sysdeps/nios2/setjmp.S: New file.
35070         * sysdeps/nios2/sfp-machine.h: New file.
35071         * sysdeps/nios2/sotruss-lib.c: New file.
35072         * sysdeps/nios2/stackguard-macros.h: New file.
35073         * sysdeps/nios2/stackinfo.h: New file.
35074         * sysdeps/nios2/start.S: New file.
35075         * sysdeps/nios2/sysdep.h: New file.
35076         * sysdeps/nios2/tls-macros.h: New file.
35077         * sysdeps/nios2/tst-audit.h: New file.
35078         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
35079         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
35080         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
35081         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
35082         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
35083         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
35084         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
35085         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
35086         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
35087         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
35088         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
35089         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
35090         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
35091         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
35092         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
35093         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
35094         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
35095         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
35096         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
35097         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
35098         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
35099         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
35100         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
35101         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
35102         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
35103         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
35104         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
35105         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
35106         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
35107         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
35108         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
35109         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
35110         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
35111         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
35112         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
35113         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
35114         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
35115         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
35116         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
35117         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
35118         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
35119         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
35120         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
35121         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
35123 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
35125         [BZ #17844]
35126         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
35127         (getutent): Use weak_alias in non SHARED case
35128         and default_symbol_version in SHARED case.
35129         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
35130         (getutent_r, pututline): Likewise.
35131         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
35132         (getutid): Likewise.
35133         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
35134         (getutid_r): Likewise.
35135         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
35136         (getutline): Likewise.
35137         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
35138         (getutline_r): Likewise.
35139         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
35140         (updwtmp): Likewise.
35142 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
35144         [BZ #17848]
35145         * sysdeps/s390/s390-32/memcmp.S
35146         (memcmp_g5): Rename to __memcmp_g5.
35147         * sysdeps/s390/s390-32/memcpy.S
35148         (memcpy_g5): Rename to __memcpy_g5.
35149         Jump to __memcpy_mvcle instead of memcpy_mvcle.
35150         (memcpy_mvcle) Rename to __memcpy_mvcle.
35151         * sysdeps/s390/s390-32/memset.S
35152         (memset_g5): Rename to __memset_g5.
35153         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
35154         (IFUNC_RESOLVE): Prefix ifunc-resolve function
35155         and use prefixed functions.
35156         * sysdeps/s390/s390-32/multiarch/memcmp.S
35157         (memcmp_z196): Rename to __memcmp_z196.
35158         (memcmp_z10): Rename to __memcmp_z10.
35159         (memcmp): Set alias to __memcmp_g5.
35160         (bcmp): Set alias to __memcmp_g5.
35161         * sysdeps/s390/s390-32/multiarch/memcpy.S
35162         (memcpy_z196): Rename to __memcpy_z196.
35163         Jump to __memcpy_mvcle instead of memcpy_mvcle.
35164         (memcpy_z10): Rename to __memcpy_z10.
35165         Jump to __memcpy_mvcle instead of memcpy_mvcle.
35166         (memcpy): Set alias to __memcpy_g5.
35167         * sysdeps/s390/s390-32/multiarch/memset.S
35168         (memset_z196): Rename to __memset_z196.
35169         Jump to __memset_mvcle instead of memset_mvcle.
35170         (memset_z10): Rename to __memset_z10.
35171         Jump to __memset_mvcle instead of memset_mvcle.
35172         (memset_mvcle) Rename to __memset_mvcle.
35173         (memset): Set alias to __memset_g5.
35174         * sysdeps/s390/s390-64/memcmp.S
35175         (memcmp_z900): Rename to __memcmp_z900.
35176         * sysdeps/s390/s390-64/memcpy.S
35177         (memcpy_z900): Rename to __memcpy_z900.
35178         Jump to __memcpy_mvcle instead of memcpy_mvcle.
35179         (memcpy_mvcle) Rename to __memcpy_mvcle.
35180         * sysdeps/s390/s390-64/memset.S
35181         (memset_z900): Rename to __memset_z900.
35182         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
35183         (IFUNC_RESOLVE): Prefix ifunc-resolve function
35184         and use prefixed functions.
35185         * sysdeps/s390/s390-64/multiarch/memcmp.S
35186         (memcmp_z196): Rename to __memcmp_z196.
35187         (memcmp_z10): Rename to __memcmp_z10.
35188         (memcmp): Set alias to __memcmp_z900.
35189         (bcmp): Set alias to __memcmp_z900.
35190         * sysdeps/s390/s390-64/multiarch/memcpy.S
35191         (memcpy_z196): Rename to __memcpy_z196.
35192         Jump to __memcpy_mvcle instead of memcpy_mvcle.
35193         (memcpy_z10): Rename to __memcpy_z10.
35194         Jump to __memcpy_mvcle instead of memcpy_mvcle.
35195         (memcpy): Set alias to __memcpy_z900.
35196         * sysdeps/s390/s390-64/multiarch/memset.S
35197         (memset_z196): Rename to __memset_z196.
35198         Jump to __memset_mvcle instead of memset_mvcle.
35199         (memset_z10): Rename to __memset_z10.
35200         Jump to __memset_mvcle instead of memset_mvcle.
35201         (memset_mvcle) Rename to __memset_mvcle.
35202         (memset): Set alias to __memset_z900.
35204 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
35206         [BZ #17748]
35207         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
35208         __fesetenv instead of fesetenv.
35210 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
35212         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
35213         macro.
35215 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35217         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
35218         regression on LE.
35220         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
35221         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
35222         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
35223         strncmp-power8 object.
35224         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35225         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
35226         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
35227         * NEWS: Update.
35229 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
35230             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35232         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
35233         trailing byte check.
35235 2015-01-13  David S. Miller  <davem@davemloft.net>
35237         * include/signal.h (__sigreturn): Guard with __USE_MISC.
35239 2015-01-13  Roland McGrath  <roland@hack.frob.com>
35241         * login/logout.c (logout): Use memset rather than bzero.
35242         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
35243         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
35244         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
35245         (_gethtbyaddr): Likewise.
35246         * locale/programs/simple-hash.c (bcopy): Macro removed.
35248 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35250         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
35251         Add strcmp-power8 object.
35252         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35253         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
35254         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
35255         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
35256         __strcmp_power8 implementation.
35257         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
35258         * NEWS: Update.
35260         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
35261         Add strncpy-power8 and stpncpy-power8 objects.
35262         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35263         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
35264         implementations.
35265         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
35266         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
35267         __stpncpy_power8 implementation.
35268         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
35269         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
35270         __strncpy_power8 implementation.
35271         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
35272         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
35273         * NEWS: Update.
35275         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
35276         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
35277         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
35279         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
35280         strncat-power8 object.
35281         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
35282         __strcat_power8 implementation.
35283         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35284         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
35285         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
35286         optimized strcat for power8.
35288         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
35289         strcpy-power8 and stpcpy-power8 objects.
35290         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35291         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
35292         implementations.
35293         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
35294         multiarch stpcpy implementation for POWER8.
35295         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
35296         multiarch strcpy implementation for POWER8.
35297         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
35298         __strcpy_power8 function.
35299         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
35300         stpcpy for POWER8.
35301         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
35302         strcpy for POWER8.
35303         * NEWS: Update.
35305 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
35307         [BZ #16009]
35308         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
35309         weights and rules. Use do_xfrm_cached if data fits in cache,
35310         do_xfrm otherwise.  Moved former main loop to...
35311         * (do_xfrm_cached): New function.
35312         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
35313         find_idx, find_position and stack_push.
35314         * (find_idx): New function.
35315         * (find_position): Likewise.
35316         * localedata/sort-test.sh: Added test run for do_xfrm.
35317         * localedata/xfrm-test.c (main): Added command line option
35318         -nocache to run the test with strings that are too large for
35319         the STRXFRM cache.
35321 2015-01-13  Torvald Riegel  <triegel@redhat.com>
35323         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
35324         variable to lll_futex_wake call, not the value itself.
35326 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
35328         [BZ #17803]
35329         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
35330         twom64.  Adjust value to 0x1p-64L.
35331         (__scalblnl): Only return standard underflowing result for K <=
35332         -64 not K <= -63; adjust exponent for underflowing result by 64
35333         not 63.
35334         * math/libm-test.inc (scalbn_test_data): Add more tests.
35335         (scalbln_test_data): Likewise.
35337         [BZ #17834]
35338         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
35339         0x1p63L.
35340         (__scalblnl): Get new exponent of adjusted subnormal value from ES
35341         not HX.
35342         * math/libm-test.inc (scalbn_test_data): Add more tests.
35343         (scalbln_test_data): Likewise.
35345 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35346             Stefani Seibold  <stefani@seibold.net>
35348         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
35349         (sysdep_routines): Add dl-vdso here, ...
35350         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
35351         (sysdep_routines): ... not here.
35352         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
35353         fallback when vDSO is not presented.
35354         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
35355         Define with libc_hidden_proto/libc_hidden_data_def definitions.
35356         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
35357         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
35358         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
35359         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
35360         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
35361         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
35362         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
35363         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
35364         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
35365         fallback configurable symbol when vDSO is not available.
35366         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
35367         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
35368         be able to redefine fallback symbol when vDSO is not available.
35369         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
35370         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
35372 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35374         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
35375         (TLS_INIT_TP): Add tm_capable initialization.
35376         (TLS_DEFINE_INIT_TP): Likewise.
35377         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
35378         TCB.
35379         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
35380         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
35381         calculation.
35382         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
35383         transactoion is lock elision is built and TCB tm_capable is set.
35384         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
35385         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
35386         (INTERNAL_SYSCALL_NCS): Likewise.
35387         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
35388         (INTERNAL_SYSCALL_NCS): Likewise.
35389         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
35391         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
35392         for powerpc.
35393         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
35394         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
35395         and remove it for 32 bits case.
35396         [pthread_rwlock_t] (__rwelision): New field for lock elision.
35397         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
35398         initialization.
35399         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
35400         Disable lock elision with rdlocks if elision is not available.
35402         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
35403         (sysdep_routines): Add lock elision objects.
35404         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
35405         [pthread_mutex_t] (__spins): Rework to add lock elision field.
35406         [pthread_mutex_t] (__elision): Add field.
35407         [__PTHREAD_SPINS]: Adjust to init lock elision field.
35408         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
35409         elision definitions for powerpc.
35410         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
35411         implementation of lock elision for powerpc.
35412         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
35413         implementation of timed lock elision for powerpc.
35414         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
35415         implementation of trylock with lock elision for powerpc.
35416         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
35417         implementaion of unlock for lock elision for powerpc.
35418         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
35419         automatic enable lock elision for mutexes.
35420         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
35421         transaction execution definitions for powerpc.
35422         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
35423         definitions.
35424         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
35425         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
35426         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
35427         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
35428         * NEWS: Update.
35430 2015-01-09  Roland McGrath  <roland@hack.frob.com>
35432         * sysdeps/posix/shm-directory.c: Use <> rather than ""
35433         for #include of <shm-directory.h>.
35435 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
35437         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
35438         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
35440 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
35442         [BZ #17791]
35443         * NEWS: Mention bug fix.
35444         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
35445         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
35446         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
35448 2015-01-09  Torvald Riegel <triegel@redhat.com>
35450         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
35452 2015-01-09  Torvald Riegel <triegel@redhat.com>
35454         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
35456 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
35458         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
35459         pointer and cast to uintptr_t.
35461 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
35463         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
35464         removed.
35465         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
35467 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
35469         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
35470         of 0.
35472 2015-01-08  Roland McGrath  <roland@hack.frob.com>
35474         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
35475         <nptl/pthreadP.h> instead.
35476         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
35478         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
35479         already defined.
35480         [__SIGRTMIN] (init): Function removed.
35481         [__SIGRTMIN] (initialized): Variable removed.
35482         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
35483         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
35484         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
35485         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
35486         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
35487         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
35488         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
35489         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
35490         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
35491         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
35492         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
35493         * sysdeps/nptl/allocrtsig.c: New file.
35494         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
35495         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
35496         * sysdeps/generic/testrtsig.h: File removed.
35498         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
35499         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
35501         * nptl/nptl-init.c (pthread_functions): Conditionalize
35502         .ptr__nptl_setxid initialization on [SIGSETXID].
35504         * sysdeps/nptl/sys/procfs.h: New file.
35505         * nptl_db/Makefile (headers): Add it.
35506         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
35508         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
35509         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
35510         * nptl/pthread_attr_setaffinity.c: Include it.
35511         * nptl/pthread_setattr_default_np.c: Likewise.
35512         * nptl/check-cpuset.h: New file.
35514 2015-01-08  Richard Henderson  <rth@redhat.com>
35516         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
35517         (CFLAGS-tst-execstack-prog.c): Likewise.
35518         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
35520 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
35521             Sandra Loosemore  <sandra@codesourcery.com>
35522             Andrew Jenner  <andrew@codesourcery.com>
35523             Joseph Myers  <joseph@codesourcery.com>
35524             Nathan Sidwell  <nathan@codesourcery.com>
35526         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
35527         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
35528         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
35529         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
35530         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
35531         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
35532         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
35533         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
35534         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
35535         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
35536         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
35537         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
35538         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
35539         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
35540         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
35541         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
35542         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
35544 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35546         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
35547         timespec struct member in syscall macro.
35548         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
35549         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
35550         first timeval struct member in syscall macro.
35551         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
35553 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
35555         [BZ #17748]
35556         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
35557         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
35558         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
35559         __feupdateenv and define as weak alias of __feupdateenv.  Use
35560         libm_hidden_weak.
35561         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
35562         libm_hidden_def.
35563         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
35564         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
35565         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
35566         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
35567         libm_hidden_def.
35568         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
35569         __feupdateenv and define as weak alias of __feupdateenv.  Use
35570         libm_hidden_weak.
35571         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
35572         libm_hidden_def.
35573         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
35574         __feupdateenv and define as weak alias of __feupdateenv.  Use
35575         libm_hidden_weak.
35576         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
35577         libm_hidden_def.
35578         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
35579         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
35580         (__feupdateenv): Likewise.
35581         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
35582         __feupdateenv and define as weak alias of __feupdateenv.  Use
35583         libm_hidden_weak.
35584         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
35585         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
35586         libm_hidden_def.
35587         * sysdeps/tile/math_private.h (__feupdateenv): New inline
35588         function.
35589         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
35590         libm_hidden_def.
35591         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
35592         __feupdateenv instead of feupdateenv.
35593         (default_libc_feupdateenv_test): Likewise.
35594         (libc_feresetround_ctx): Likewise.
35596 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35598         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
35599         prototype.
35601 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
35603         * posix/regcomp.c (parse_bracket_exp): Initialize type to
35604         COLL_SYM in a couple of places to avoid uninitialized variable
35605         wanings on tilegx gcc 4.8.2.
35607 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
35609         * sysdeps/aarch64/strcpy.S: New file.
35610         * sysdeps/aarch64/stpcpy.S: New file.
35611         * NEWS: Updated.
35613 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
35615         * sysdeps/aarch64/strrchr.S: New file.
35616         * NEWS: Updated.
35618 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
35620         [BZ #17658]
35621         * stdlib/setenv.c: Fix memory leak when setting large,
35622         duplicate string.
35624 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
35626         [BZ #17273]
35627         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
35628         and tabs from buffer before parsing fstab entry.
35629         * misc/tst-mntent.c (main): Add test for mount entry with
35630         trailing spaces and tabs.
35632 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
35634         [BZ #17748]
35635         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
35636         * math/fesetround.c (fesetround): Rename to __fesetround and
35637         define as weak alias of __fesetround.  Use libm_hidden_weak.
35638         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
35639         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
35640         * sysdeps/arm/fesetround.c (fesetround): Likewise.
35641         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
35642         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
35643         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
35644         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
35645         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
35646         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
35647         __fesetround_inline.
35648         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
35649         __fesetround_inline instead of __fesetround.
35650         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
35651         __fesetround and define as weak alias of __fesetround.  Use
35652         libm_hidden_weak.  Call __fesetround_inline instead of
35653         __fesetround.
35654         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
35655         __fesetround and define as weak alias of __fesetround.  Use
35656         libm_hidden_weak.
35657         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
35658         Likewise.
35659         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
35660         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
35661         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
35662         * sysdeps/tile/math_private.h (__fesetround): New inline function.
35663         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
35664         __fesetround and define as weak alias of __fesetround.  Use
35665         libm_hidden_weak.
35666         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
35667         __fesetround instead of fesetround.
35668         (default_libc_feholdexcept_setround): Likewise.
35669         (libc_feholdsetround_ctx): Likewise.
35670         (libc_feholdsetround_noex_ctx): Likewise.
35672         [BZ #17748]
35673         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
35674         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
35675         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
35676         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
35677         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
35678         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
35679         define as weak alias of __fesetenv.  Use libm_hidden_weak.
35680         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
35681         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
35682         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
35683         define as weak alias of __fesetenv.  Use libm_hidden_weak.
35684         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
35685         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
35686         define as weak alias of __fesetenv.  Use libm_hidden_weak.
35687         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
35688         libm_hidden_def.
35689         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
35690         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
35691         Likewise.
35692         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
35693         define as weak alias of __fesetenv.  Use libm_hidden_weak.
35694         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
35695         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
35696         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
35697         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
35698         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
35699         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
35700         __fesetenv instead of fesetenv.
35701         (libc_feresetround_noex_ctx): Likewise.
35702         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
35703         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
35704         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
35705         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
35706         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
35707         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
35708         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
35709         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
35710         (__feupdateenv): Likewise.
35711         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
35712         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
35713         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
35714         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
35716 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
35718         [BZ #17806]
35719         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
35720         addresses have been freed.
35722 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
35724         * resolv/res_init.c (__res_vinit): Improve comments about nserv
35725         and nservall.
35727 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
35729         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
35730         Clean up check_pf allocation pattern. addresses
35732 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35734         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
35735         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
35736         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
35737         * nptl/pthread_exit.c (__pthread_exit): Likewise.
35738         * nptl/pthread_join.c (pthread_join): Likewise.
35739         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
35740         * sysdeps/posix/waitid.c (__waitid): Likewise.
35741         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
35742         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
35743         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
35744         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
35745         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
35746         Likewise.
35747         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
35748         (__libc_pread64): Likewise.
35749         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
35750         (__libc_pwrite): Likewise.
35751         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
35752         (__libc_pwrite64): Likewsie.
35753         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
35754         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
35755         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
35756         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
35757         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
35758         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
35759         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
35760         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
35761         Likewise.
35762         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
35763         (__libc_pread64): Likewise.
35764         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
35765         Likewise.
35766         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
35767         (__libc_pwrite64): Likewise.
35768         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
35769         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
35770         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
35771         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
35772         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
35773         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
35774         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
35775         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
35776         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
35777         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
35778         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
35779         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
35780         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
35781         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
35782         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
35783         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
35784         Likewise.
35786 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
35788         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
35789         (CFLAGS-test-double.c): Likewise.
35790         (CFLAGS-test-ldouble.c): Likewise.
35791         (CPPFLAGS-test-ifloat.c): Likewise.
35792         (CPPFLAGS-test-idouble.c): Likewise.
35793         (CPPFLAGS-test-ildoubl.c): Likewise.
35794         (CFLAGS-test-test-fenv.c): Remove variable.
35795         (CFLAGS-test-misc.c): Likewise.
35797 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
35799         [BZ #17797]
35800         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
35801         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
35802         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
35803         CLOCKS_PER_SEC == 1000000.
35804         * time/clocktest.c (main): Replace %ld with %jd and cast to
35805         intmax_t.
35807 2015-01-05  Roland McGrath  <roland@hack.frob.com>
35809         * sysdeps/generic/unwind-resume.h: New file.
35810         * sysdeps/gnu/unwind-resume.c: Include it.
35811         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
35812         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
35813         argument list.
35814         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
35815         global rather than static.
35816         (_Unwind_Resume): Update user.
35817         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
35818         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
35819         rather than static.  Add __attribute__ ((cold)).
35820         (_Unwind_Resume, __gcc_personality_v0): Update callers.
35821         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
35822         * sysdeps/arm/arm-unwind-resume.S: New file.
35823         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
35824         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
35825         * sysdeps/arm/Makefile [$(subdir) = csu]
35826         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
35827         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
35828         Add rt-arm-unwind-resume.
35829         [$(subdir) = nptl]
35830         (libpthread-sysdep_routines, libpthread-shared-only-routines):
35831         Add pt-arm-unwind-resume.
35832         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
35833         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
35835 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
35837         [BZ #17748]
35838         * include/fenv.h (__feholdexcept): Declare.  Use
35839         libm_hidden_proto.
35840         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
35841         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
35842         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
35843         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
35844         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
35845         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
35846         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
35847         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
35848         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
35849         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
35850         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
35851         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
35852         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
35853         (feholdexcept): Likewise.
35854         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
35855         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
35856         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
35857         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
35858         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
35859         __feholdexcept instead of feholdexcept.
35860         (default_libc_feholdexcept_setround): Likewise.
35862 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
35864         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
35865         to avoid using stl/str to align destination.
35867 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
35869         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
35871 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
35873         [BZ #17796]
35874         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
35875         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
35876         Define as weak alias not strong alias.
35878 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
35880         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
35881         bltzal with addiupc.
35882         (RTLD_START): Ditto.
35884 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
35886         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
35887         for __vdso_* functions in declarations.
35888         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
35889         definitions.
35890         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
35891         INTERNAL_VSYSCALL): Use struct return types to check for error.
35893         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
35894         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
35895         function with cast from llround().
35896         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
35897         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
35898         Define.
35900 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
35902         [BZ #17793]
35903         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
35904         Define as weak alias not strong alias.
35906         [BZ #17635]
35907         * ctype/ctype-c99.c: New file.  isblank implementation moved from
35908         ...
35909         * ctype/ctype-extn.c: ... here.
35910         (__isblank_l): Move to ...
35911         * ctype/ctype-c99_l.c: ... here.  New file.
35912         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
35913         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
35914         Remove variable.
35915         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
35916         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
35917         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
35918         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
35919         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
35921         [BZ #17777]
35922         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
35923         (posix_fadvise64): Define as weak alias not strong alias.
35924         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
35925         (posix_fallocate64): Likewise.
35926         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
35927         Remove variable.
35928         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
35929         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
35930         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
35931         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
35932         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
35934 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
35936         [BZ #16191]
35937         * NEWS: Mention bug fix.
35938         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
35939         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
35940         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
35941         (HOST_STACK_END_ADDR): Likewise.
35943 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
35945         [BZ #17748]
35946         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
35947         * math/fegetround.c (fegetround): Rename to __fegetround and
35948         define as weak alias of __fegetround.  Use libm_hidden_weak.
35949         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
35950         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
35951         * sysdeps/arm/fegetround.c (fegetround): Likewise.
35952         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
35953         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
35954         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
35955         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
35956         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
35957         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
35958         Undefine after rather than before function definition; use
35959         parentheses around function name in definition.
35960         (__fegetround): Also undefine macro after function definition.
35961         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
35962         __fegetround and define as weak alias of __fegetround.  Use
35963         libm_hidden_weak.  Do not undefine as macro.
35964         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
35965         Likewise.
35966         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
35967         __fegetround and define as weak alias of __fegetround.  Use
35968         libm_hidden_weak.
35969         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
35970         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
35971         * sysdeps/tile/math_private.h (__fegetround): New inline function.
35972         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
35973         __fegetround and define as weak alias of __fegetround.  Use
35974         libm_hidden_weak.
35975         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
35976         __fegetround instead of fegetround.
35978         [BZ #17782]
35979         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
35980         Condition macro definition on [__USE_MISC].
35982         [BZ #17781]
35983         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
35984         (struct sigaction): Change type of sa_flags field to int.
35986         [BZ #17780]
35987         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
35988         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
35989         __glibc_reserved0.
35991         * nptl/version.c (banner): Use single year in copyright notice.
35993         * NEWS: Update copyright dates.
35994         * catgets/gencat.c (print_version): Likewise.
35995         * csu/version.c (banner): Likewise.
35996         * debug/catchsegv.sh: Likewise.
35997         * debug/pcprofiledump.c (print_version): Likewise.
35998         * debug/xtrace.sh (do_version): Likewise.
35999         * elf/ldconfig.c (print_version): Likewise.
36000         * elf/ldd.bash.in: Likewise.
36001         * elf/pldd.c (print_version): Likewise.
36002         * elf/sotruss.sh: Likewise.
36003         * elf/sprof.c (print_version): Likewise.
36004         * iconv/iconv_prog.c (print_version): Likewise.
36005         * iconv/iconvconfig.c (print_version): Likewise.
36006         * locale/programs/locale.c (print_version): Likewise.
36007         * locale/programs/localedef.c (print_version): Likewise.
36008         * login/programs/pt_chown.c (print_version): Likewise.
36009         * malloc/memusage.sh (do_version): Likewise.
36010         * malloc/memusagestat.c (print_version): Likewise.
36011         * malloc/mtrace.pl: Likewise.
36012         * manual/libc.texinfo: Likewise.
36013         * nptl/version.c (banner): Likewise.
36014         * nscd/nscd.c (print_version): Likewise.
36015         * nss/getent.c (print_version): Likewise.
36016         * nss/makedb.c (print_version): Likewise.
36017         * posix/getconf.c (main): Likewise.
36018         * scripts/test-installation.pl: Likewise.
36019         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
36021 2015-01-02  Will Newton  <will.newton@linaro.org>
36023         * sysdeps/arm/armv7/configure: Removed.
36024         * sysdeps/arm/armv7/configure.ac: Likewise.
36026 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
36028         * All files with FSF copyright notices: Update copyright dates
36029         using scripts/update-copyrights.
36030         * intl/plural.c: Regenerated.
36031         * locale/programs/charmap-kw.h: Likewise.
36032         * locale/programs/locfile-kw.h: Likewise.
36034 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
36036         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
36038 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
36040         [BZ #17748]
36041         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
36042         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
36043         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
36044         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
36045         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
36046         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
36047         define as weak alias of __fegetenv.  Use libm_hidden_weak.
36048         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
36049         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
36050         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
36051         define as weak alias of __fegetenv.  Use libm_hidden_weak.
36052         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
36053         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
36054         define as weak alias of __fegetenv.  Use libm_hidden_weak.
36055         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
36056         libm_hidden_def.
36057         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
36058         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
36059         Likewise.
36060         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
36061         define as weak alias of __fegetenv.  Use libm_hidden_weak.
36062         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
36063         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
36064         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
36065         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
36066         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
36067         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
36068         __fegetenv instead of fegetenv.
36069         (libc_feholdsetround_noex_ctx): Likewise.
36071 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
36073         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
36074         (Elf_MIPS_ABIFlags_v0): New structure.
36075         (EF_MIPS_FP64): Define.
36076         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
36077         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
36078         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
36079         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
36080         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
36081         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
36082         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
36083         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
36084         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
36085         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
36086         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
36087         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
36088         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
36089         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
36090         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
36091         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
36092         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
36093         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
36094         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
36095         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
36096         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
36097         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
36098         field.
36099         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
36100         EF_MIPS_FP64.
36101         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
36102         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
36103         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
36104         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
36105         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
36106         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
36107         * sysdeps/mips/tst-abi-interlink.c: Likewise.
36108         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
36109         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
36110         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
36111         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
36112         record the current FP ABI extension.
36113         (mips-mode-switch): Define to show if kernel headers support mode
36114         switching.
36115         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
36116         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
36117         supported SYSV ABI version to 3.
36118         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
36119         feature.
36121 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
36122             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36124         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
36125         path.
36126         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
36128 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
36130         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
36131         __fegetround and redefine to call __fegetround.  Remove condition
36132         on [!__NO_MATH_INLINES].
36133         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
36134         function.
36135         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
36136         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
36137         Remove macro.
36138         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
36139         instead of <fenv_libc.h>.
36140         (__llrintl): Call fegetround instead of __fegetround.
36141         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
36142         instead of <fenv_libc.h>.
36143         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
36144         (__lrintl): Call fegetround instead of __fegetround.
36145         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
36146         instead of <fenv_libc.h>.
36147         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
36148         (__rintl): Call fegetround instead of __fegetround.
36150 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
36152         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
36153         arrays.
36155 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
36157         [BZ #17775]
36158         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
36159         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
36160         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
36162 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
36164         * sysdeps/i386/tls-macros.h: Include <features.h>.
36165         (TLS_LE): Use non-PIC version for GCC >= 5.0.
36166         (TLS_IE): Likewise.
36167         (TLS_LD): Likewise.
36168         (TLS_GD): Likewise.
36169         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
36170         define for GCC >= 5.0.
36172 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
36174         * math/test-fenv.c (test_single_exception, set_single_exc,
36175         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
36176         feexcp_mask_test, feenable_test, fe_single_test): Add
36177         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
36178         case where they are not used.
36179         * math/libm-test.inc: Likewise.
36180         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
36181         unused in the absence of FP rounding/exception support.
36182         * stdio-common/tst-printf-round.c: Likewise.
36183         * stdlib/tst-strtod-round.c: Likewise.
36184         * stdlib/tst-strtod-underflow.c: Likewise.
36186 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
36188         [BZ #17723]
36189         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
36190         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
36191         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
36192         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
36193         libm_hidden_weak.
36194         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
36195         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
36196         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
36197         libm_hidden_def.
36198         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
36199         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
36200         libm_hidden_weak.
36201         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
36202         Likewise.
36203         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
36204         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
36205         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
36206         libm_hidden_weak.
36207         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
36208         libm_hidden_def.
36209         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
36210         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
36211         (__feraiseexcept): Likewise.
36212         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
36213         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
36214         libm_hidden_weak.
36215         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
36216         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
36217         libm_hidden_def.
36218         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
36219         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
36220         Use libm_hidden_def.
36221         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
36222         libm_hidden_def.
36223         (feraiseexcept): Define as weak not strong alias.  Use
36224         libm_hidden_weak.
36225         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
36226         New inline function.  Factored out of ...
36227         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
36228         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
36229         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
36230         feraiseexcept.
36231         * math/w_acos.c (__acos): Likewise.
36232         * math/w_asin.c (__asin): Likewise.
36233         * math/w_ilogb.c (__ilogb): Likewise.
36234         * math/w_j0.c (y0): Likewise.
36235         * math/w_j1.c (y1): Likewise.
36236         * math/w_jn.c (yn): Likewise.
36237         * math/w_log.c (__log): Likewise.
36238         * math/w_log10.c (__log10): Likewise.
36239         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
36240         * sysdeps/aarch64/fpu/math_private.h
36241         (libc_feupdateenv_test_aarch64): Likewise.
36242         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
36243         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
36244         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
36245         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
36246         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
36247         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
36248         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
36249         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
36250         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
36251         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
36253 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
36255         [BZ #17732]
36256         * io/test-utime.c (main): Replace %ld with %jd and cast to
36257         intmax_t.
36258         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
36259         * nptl/tst-mutex5.c: Include <stdint.h>.
36260         (do_test): Replace %ld with %jd and cast to intmax_t.
36261         * posix/tst-regex.c (run_test): Likewise.
36262         (run_test_backwards): Likewise.
36263         * rt/tst-clock.c: Include <stdint.h>.
36264         (clock_test): Replace %ld with %jd and cast to intmax_t.
36265         * rt/tst-cpuclock1.c: Include <stdint.h>.
36266         (do_test): Replace %lu with %ju and cast to uintmax_t.
36267         * rt/tst-cpuclock2.c: Include <stdint.h>.
36268         (do_test): Replace %lu with %ju and cast to uintmax_t.
36269         * rt/tst-mqueue1.c: Include <stdint.h>.
36270         (check_attrs): Replace %ld with %jd and cast to intmax_t.
36271         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
36272         intmax_t.
36273         * rt/tst-mqueue4.c (do_test): Likewise.
36274         * rt/tst-timer4.c: Include <stdint.h>.
36275         (check_ts): Replace %ld with %jd and cast to intmax_t.
36276         (do_test): Likewise.
36277         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
36278         and cast to intmax_t.
36279         * sysdeps/pthread/tst-timer.c (main): Likewise.
36280         * time/clocktest.c (main): Likewise.
36281         * time/tst-posixtz.c (do_test): Likewise.
36282         * timezone/tst-timezone.c (main): Likewise.
36284 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
36285             H.J. Lu  <hongjiu.lu@intel.com>
36287         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
36288         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
36289         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
36290         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
36291         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
36292         version if bit_Fast_Unaligned_Load is set.
36293         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
36294         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
36295         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
36296         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
36297         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
36298         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
36299         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
36300         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
36301         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
36302         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
36303         to 4.
36304         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
36305         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
36306         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
36307         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
36309 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
36311         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
36312         instead of #if to avoid a Wundef warning.
36313         * stdlib/tst-limits.c (do_test): Likewise.
36315         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
36316         parallel other exception macros.
36317         (fegetenv): Convert from macro to extern inline so that it applies
36318         retroactively to inline functions already seen by the compiler.
36319         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
36321         * posix/Makefile (before-compile): Use $(objpfx) for
36322         posix-conf-vars-def.h.
36324 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
36326         * posix/getconf.c (main): Use size_t for type of I.
36327         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
36328         NSPEC.
36330         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
36331         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
36332         * posix/posix-envs.def: Likewise.
36333         * sysdeps/posix/sysconf.c: Likewise.
36334         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
36335         (specs): Remove array.
36336         * scripts/gen-posix-conf-vars.awk: Support generation of specs
36337         array.
36339         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
36340         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
36341         (__sysconf): Use CONF_IS_* macros.
36343         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
36344         ($(objpfx)posix-conf-vars-def.h): New target.
36345         * posix/posix-conf-vars.list: New file.
36346         * posix/posix-conf-vars.h: New file.
36347         * posix/confstr.c: Include posix-conf-vars.h.
36348         (confstr): Use CONF_IS_* macros.
36349         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
36350         CONF_IS_* macros.
36351         * scripts/gen-posix-conf-vars.awk: New file.
36353 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
36355         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
36356         fegetround): Add no-op macros to avoid linknamespace issues.
36358         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
36359         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
36361         * sysdeps/unix/sysv/linux/tile/sysdep.h
36362         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
36363         assembly-specific section to avoid a redefinition warning.
36365         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
36366         long before casting to pointer to avoid a cast warning.
36368 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
36370         * sysdeps/tile/tilegx/Implies: New file.
36372 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
36374         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
36376 2014-12-23  Florian Weimer  <fweimer@redhat.com>
36378         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
36380 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
36382         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
36383         not define.
36384         * sysdeps/unix/sysv/linux/utimes.c: Do not include
36385         <kernel-features.h>.
36386         (__utimes) [__NR_utimes]: Make code unconditional.
36387         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
36388         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
36389         (__ASSUME_UTIMES): Do not undefine.
36390         * sysdeps/unix/sysv/linux/tile/kernel-features.h
36391         (__ASSUME_UTIMES): Likewise.
36392         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
36393         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
36394         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
36395         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
36397 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
36399         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
36401 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
36403         [BZ #17747]
36404         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
36405         alias to weak alias for j0l, y0l.
36406         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
36407         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
36409         [BZ #17746]
36410         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
36411         conversion.
36413 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
36415         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
36416         to zero if not already defined.
36418 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
36420         [BZ #17724]
36421         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
36422         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
36423         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
36424         (char *) casts added.
36425         * sysdeps/ieee754/k_standardf.c: New file.
36426         * sysdeps/ieee754/k_standardl.c: Likewise.
36427         * math/Makefile (libm-support): Remove k_standard.
36428         (libm-calls): Add k_standard.
36430 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
36432         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
36433         Optimize to avoid an unnecessary FPCR read.
36435 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
36437         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
36438         Optimize to reduce FPCR/FPSR accesses.
36440 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
36442         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
36443         Call libc_fetestexcept_aarch64.
36445 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
36447         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
36448         Call libc_fesetround_aarch64.
36450 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
36452         [BZ #17733]
36453         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
36454         (__bind): Do not define as weak alias.
36455         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
36456         define.
36457         (__getsockname): Do not define as weak alias.
36459 2014-12-22  Will Newton  <will.newton@linaro.org>
36461         * manual/install.texi: Document that we require bison 2.7
36462         or above.
36463         * INSTALL: Regenerate.
36464         * configure.ac: Use AC_CHECK_PROG_VER instead of
36465         AC_PATH_PROG when checking for bison and check for
36466         version 2.7 or above.
36467         * configure: Regenerate.
36469 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
36471         [BZ #17745]
36472         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
36473         * sysdeps/tile/ffsll.c (ffsll): To here.
36475         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
36477 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
36479         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
36480         if not defined.
36481         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
36482         definition.
36483         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
36484         hidden ___tls_get_addr.
36485         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
36486         hidden __tls_get_addr.
36487         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
36488         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
36489         Likewise.
36491 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
36493         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
36494         _dl_init call.
36496 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
36498         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
36499         from "call _dl_init@PLT".
36500         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
36502 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
36504         * manual/search.texi: (Array Sort Function): Clarify stable sorting
36505         guarantees.
36507 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
36509         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
36511 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
36513         [BZ #17744]
36514         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
36515         strnlen.
36517 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
36519         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
36520         of multu on MIPSr6.
36521         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
36522         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
36523         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
36524         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
36525         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
36527 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
36529         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
36530         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
36531         (PTR_SUBU): Use subu for mips32r6/mips64r6.
36532         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
36533         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
36534         mips32r6/mips64r6.
36535         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
36537 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
36539         * string/strncat.c (STRNCAT): Simplify implementation.
36541 2014-12-19  David S. Miller  <davem@davemloft.net>
36543         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
36544         access the quad as both a long double and as a series of 4 words.
36546         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
36547         link_map->l_info array access.
36549 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
36551         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
36553         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
36554         * math/atest-exp2.c (TIMEOUT): Likewise.
36555         * math/atest-sincos.c (TIMEOUT): Likewise.
36557 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
36559         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
36560         -Wno-error with -fno-builtin-lround.
36562 2014-12-19  Torvald Riegel  <triegel@redhat.com>
36564         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
36565         Contains futex constants and functions moved over from ...
36566         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
36567         <lowlevellock-futex.h>.
36568         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
36569         (lll_timedwait_tid): Add comments and parentheses around macro
36570         arguments.
36572 2014-12-19  Torvald Riegel  <triegel@redhat.com>
36574         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
36575         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
36576         (__lll_private_flag): Remove.
36577         (lll_futex_wait): Likewise.
36578         (lll_futex_timed_wait): Likewise.
36579         (lll_futex_wake): Likewise.
36580         (lll_futex_requeue): Likewise.
36581         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
36582         (__lll_timedwait_tid): Spell out argument names.
36583         (lll_timedwait_tid): Add comments and parentheses around macro
36584         arguments.
36585         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
36586         LLL_SHARED and LLL_PRIVATE usable from assembly code.
36588 2014-12-19  Torvald Riegel  <triegel@redhat.com>
36590         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
36591         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
36592         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
36593         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
36594         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
36595         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
36596         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
36597         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
36598         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
36599         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
36600         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
36601         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
36602         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
36603         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
36604         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
36605         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
36606         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
36607         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
36608         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
36610 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
36612         * sysdeps/x86_64/x32/Makefile: New file.
36614 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
36616         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
36617         1L with (mp_limb_t) 1.
36619 2014-12-17  Roland McGrath  <roland@hack.frob.com>
36621         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
36622         * nptl/libc_pthread_init.c: ... here.
36623         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
36624         * nptl/register-atfork.c: ... here.
36626         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
36627         Use pthread_sigmask rather than INTERNAL_SYSCALL.
36628         Use assert_perror to check its return value.
36629         (__gai_create_helper_thread): Likewise.
36631         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
36633         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
36635 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
36637         [BZ #17725]
36638         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
36639         __profil_counter.
36640         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
36641         Likewise.
36642         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
36643         Likewise.
36644         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
36645         Likewise.
36646         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
36647         (profil_counter): Likewise.
36648         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
36649         (profil_counter): Likewise.
36650         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
36651         Likewise.
36652         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
36653         Likewise.
36654         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
36655         (profil_counter): Likewise.
36656         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
36657         Likewise.
36658         [!__profil_counter] (profil_counter): Define as weak alias of
36659         __profil_counter.
36660         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
36661         (profil_counter): Rename to __profil_counter.
36662         [!__profil_counter] (profil_counter): Define as weak alias of
36663         __profil_counter.
36664         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
36665         (profil_counter): Rename to __profil_counter.
36666         [!__profil_counter] (profil_counter): Define as weak alias of
36667         __profil_counter.
36668         * sysdeps/posix/profil.c: Update comment referring to
36669         profil_counter.
36670         (__profil): Use __profil_counter instead of profil_counter.
36671         * sysdeps/posix/sprofil.c (profil_counter): Rename to
36672         __profil_counter.  Use __profil_counter_ushort and
36673         __profil_counter_uint in definitions.
36674         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
36675         instead of profil_counter_uint and profil_counter_ushort.
36677         [BZ #17722]
36678         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
36679         define as weak alias of __inet_makeaddr.
36680         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
36681         as weak alias of __inet_addr.
36682         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
36683         as weak alias of __inet_pton.  Use libc_hidden_weak.
36684         * include/arpa/inet.h (__inet_pton): Declare.  Use
36685         libc_hidden_proto.
36686         (inet_makeaddr): Don't use libc_hidden_proto.
36687         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
36688         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
36689         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
36690         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
36691         Remove variable.
36692         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
36693         (test-xfail-POSIX/time.h/linknamespace): Likewise.
36695 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
36697         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
36699 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
36701         * stdio-common/bug-vfprintf-nargs.c (do_test):
36702         Cast value to intptr_t to avoid format warning
36703         for usage with PRIdPTR printing macro.
36705 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
36707         * libio/tst-widetext.c (do_test):
36708         Use format type %td instead of %Zd for ptrdiff_t
36709         in order to avoid format warning.
36711 2014-12-17  Andreas Schwab  <schwab@suse.de>
36713         * nscd/mem.c (gc): Add size_t cast to match printf format.
36715 2014-12-16  Roland McGrath  <roland@hack.frob.com>
36717         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
36718         (init): Apply PTR_MANGLE to pointers before storing them.
36719         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
36720         before using them.
36722 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
36724         [BZ #17719]
36725         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
36726         define as weak alias of __memrchr.
36727         (__memrchr): Do not define as strong alias of memrchr.
36728         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
36729         Remove variable.
36730         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
36731         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
36732         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
36734         [BZ #17717]
36735         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
36736         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
36737         (if_indextoname): Rename to __if_indextoname and define as weak
36738         alias of __if_indextoname.  Use libc_hidden_weak.
36739         (if_freenameindex): Rename to __if_freenameindex and define as
36740         weak alias of __if_freenameindex.
36741         (if_nameindex): Rename to __if_nameindex and define as weak alias
36742         of __if_nameindex.
36743         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
36744         __if_nametoindex and define as weak alias of __if_nametoindex.
36745         Use libc_hidden_weak.
36746         (if_freenameindex): Rename to __if_freenameindex and define as
36747         weak alias of __if_freenameindex.
36748         (if_nameindex): Rename to __if_nameindex and define as weak alias
36749         of __if_nameindex.
36750         (if_indextoname): Rename to __if_indextoname and define as weak
36751         alias of __if_indextoname.  Use libc_hidden_weak.
36752         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
36753         __if_nametoindex and define as weak alias of __if_nametoindex.
36754         Use libc_hidden_weak.
36755         (if_freenameindex): Rename to __if_freenameindex and define as
36756         weak alias of __if_freenameindex.  Use libc_hidden_weak.
36757         (if_nameindex_netlink): Use __if_freenameindex instead of
36758         if_freenameindex.
36759         (if_nameindex): Rename to __if_nameindex and define as weak alias
36760         of __if_nameindex.  Use libc_hidden_weak.
36761         (if_indextoname): Rename to __if_indextoname and define as weak
36762         alias of __if_indextoname.  Use libc_hidden_weak.
36763         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
36764         libc_hidden_proto.
36765         [!_ISOMAC] (__if_freenameindex): Likewise.
36766         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
36767         if_nametoindex.
36768         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
36769         variable.
36770         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
36771         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
36772         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
36773         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
36774         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
36775         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
36776         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
36778         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
36779         Remove variable.
36780         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
36781         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
36783 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
36785         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
36786         subscript above bounds'
36788         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
36789         bounds.
36791 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
36793         * libio/tst-fopenloc.c: Use test-skeleton.c.
36795         * stdlib/tst-bsearch.c: Use test-skeleton.c.
36796         (entry): Rename to ITEM.
36797         (do_test, comp): Adjust.
36799         * stdio-common/tst-fseek.c: Use test-skeleton.c.
36801 2014-12-16  Torvald Riegel  <triegel@redhat.com>
36803         * string/tester.c: Include <libc-internal.h>.
36804         (test_memset): Ignore -Wmemset-transposed-args.
36806 2014-12-16  Torvald Riegel  <triegel@redhat.com>
36808         * misc/tst-mntent2.c (do_test): Fix warning.
36810 2014-12-16  Torvald Riegel  <triegel@redhat.com>
36812         * elf/tst-unique4lib.cc(a): Mark as used.
36814 2014-12-16  Florian Weimer  <fweimer@redhat.com>
36816         [BZ #17630]
36817         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
36818         names.
36820 2014-12-16  Allan McRae  <allan@archlinux.org>
36822         * stdio-common/Makefile (tests): Re-add bug26.
36824 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
36826         [BZ #17657]
36827         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
36828         static array.
36830 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
36832         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
36833         (__lll_lock_wait): Likewise.
36834         (__lll_timedlock_wait): Likewise.
36835         (__lll_timedwait_tid): Likewise.
36836         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
36837         (__lll_robust_timedlock_wait): Likewise.
36838         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
36839         (lll_cond_trylock): Likewise.
36840         (__lll_lock): Likewise.
36841         (__lll_robust_lock): Likewise.
36842         (__lll_cond_lock): Likewise.
36843         (lll_robust_cond_lock): Likewise.
36844         (__lll_timedlock): Likewise.
36845         (__lll_robust_timedlock): Likewise.
36846         (__lll_unlock): Likewise.
36847         (__lll_robust_unlock): Likewise.
36848         (lll_wait_tid): Likewise.
36849         (lll_timedwait_tid): Likewise.
36851 2014-12-15  Torvald Riegel  <triegel@redhat.com>
36853         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
36855 2014-12-15  Torvald Riegel  <triegel@redhat.com>
36857         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
36859 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
36861         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
36862         * stdio-common/tst-sprintf.c: Likewise.
36864 2014-12-15  Torvald Riegel  <triegel@redhat.com>
36866         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
36868 2014-12-15  Jeff Law  <law@redhat.com>
36870         [BZ #16617]
36871         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
36872         on the heap.  (CVE-2012-3406)
36873         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
36874         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
36875         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
36877 2014-12-15  Will Newton  <will.newton@linaro.org>
36879         * manual/install.texi: Bump required version of texinfo
36880         to 4.7 from 4.5.
36881         * INSTALL: Regenerated.
36882         * configure.ac: Check for makeinfo version 4.7 and above.
36883         * configure: Regenerated.
36885 2014-12-12  Roland McGrath  <roland@hack.frob.com>
36887         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
36888         PREFIX, string constant to insert between directory and name.
36889         * sysdeps/posix/shm_open.c: Update caller.
36890         * sysdeps/posix/shm_unlink.c: Likewise.
36891         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
36892         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
36893         (SEM_SHM_PREFIX): New macro.
36894         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
36895         [$(have-thread-library) = no].
36896         * nptl/Makefile (libpthread-routines): Add shm-directory.
36897         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
36898         * sysdeps/nptl/shm-directory.h: New file.
36899         * sysdeps/posix/shm-directory.c
36900         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
36901         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
36902         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
36903         INTERNAL_SYSCALL.
36904         (__where_is_shmfs): Function removed.
36905         (mountpoint, defaultmount, defaultdir, __namedsem_once):
36906         Variables removed.
36907         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
36908         Use SHM_GET_NAME.
36909         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
36911         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
36912         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
36913         unconditional for use inside libpthread.
36914         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
36916 2014-12-12  Roland McGrath  <roland@hack.frob.com>
36918         * nptl/pthread_getaffinity.c: New file.
36919         * nptl/pthread_setaffinity.c: New file.
36920         * nptl/pthread_getname.c: New file.
36921         * nptl/pthread_setname.c: New file.
36923         * nptl/pthread_create.c (START_THREAD_DEFN)
36924         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
36926 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
36927             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36929         * resolv/res_send.c (send_vc): Disable warning resplen may
36930         be used uninitialized.
36932 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
36934         * nptl/tst-mutex6.c
36935         (ATTR_NULL): New define checks ATTR against NULL.
36936         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
36937         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
36939 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
36941         [BZ #17581]
36942         * malloc/hooks.c
36943         (mem2mem_check): Revert my previous change.
36944         (malloc_check_get_size): Revert my previous change.
36945         (mem2chunk_check): Revert my previous change.
36947 2014-12-11  Roland McGrath  <roland@hack.frob.com>
36949         * sysdeps/posix/shm-directory.c: New file.
36950         * sysdeps/posix/shm-directory.h: New file.
36951         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
36952         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
36953         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
36954         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
36955         Transmute EPERM to EACCES.
36956         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
36957         from ...
36958         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
36959         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
36961 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
36963         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
36964         pointer and cast to uintptr_t.
36965         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
36966         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
36967         Add cast to avoid warning.
36968         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
36970 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
36972         * nptl/semaphore.h: Move to ...
36973         * sysdeps/pthread/semaphore.h: ... here.
36974         * Makefile (installed-headers): Change nptl/semaphore.h to
36975         sysdeps/pthread/semaphore.h.
36977 2014-12-11  Roland McGrath  <roland@hack.frob.com>
36979         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
36980         generated error format strings.
36982         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
36983         -Wformat-extra-args warnings for scanf formats.
36984         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
36985         test of zero-length format (duh).
36986         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
36987         corner-case scanf format test.
36988         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
36989         generated fprintf format string.
36990         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
36991         corner-case sprintf format tests.
36992         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
36993         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
36994         -Wformat-extra-args warnings throughout.
36995         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
36996         (CFLAGS-scanf4.c): Likewise.
36997         (CFLAGS-scanf7.c): Likewise.
36998         (CFLAGS-tst-sprintf.c): Likewise.
36999         (CFLAGS-tst-printf.c): Likewise.
37000         (CFLAGS-tst-printfsz.c): Likewise.
37002 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
37004         * include/cpio.h: New file.
37005         * include/fmtmsg.h: Likewise.
37007         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
37008         corresponding format argument to size_t.
37009         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
37010         arguments.
37011         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
37012         corresponding format argument to size_t.
37013         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
37014         arguments.
37015         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
37016         corresponding format argument to size_t.
37017         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
37018         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
37019         (CFLAGS-tst-mbswcs2.c): Likewise.
37020         (CFLAGS-tst-mbswcs3.c): Likewise.
37021         (CFLAGS-tst-mbswcs4.c): Likewise.
37022         (CFLAGS-tst-mbswcs5.c): Likewise.
37023         (CFLAGS-tst-trans.c): Likewise.
37025 2014-12-11  Roland McGrath  <roland@hack.frob.com>
37027         * posix/regexbug1.c (main): Use "%s" format with regerror results,
37028         rather than assuming they won't contain any '%'s.
37030 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
37032         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
37033         inhibit_loop_to_libcall to avoid recursive calls.
37034         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
37035         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
37037 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
37039         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
37040         prototype.
37042 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
37044         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
37045         integer value instead of boolean.
37047 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
37049         * malloc/malloc.c: Fix powerof2 check.
37051 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
37053         * locale/programs/locfile.h (maybe_swap_uint32):
37054         Remove inline and add unused attribute.
37056 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
37058         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
37059         Truncating assembler expression to a .long expression.
37061 2014-12-11  Andreas Schwab  <schwab@suse.de>
37063         * elf/rtld.c (struct map_args): Constify str member.
37064         (do_preload): Constify fname argument.
37066 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37068         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
37069         constants definition.
37071 2014-12-11  Andreas Schwab  <schwab@suse.de>
37073         [BZ #16657]
37074         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
37075         FORCE_ELISION instead of DO_ELISION.
37076         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
37077         Remove.
37078         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
37079         Likewise.
37081         * iconvdata/gconv-modules: Remove duplicate entry.
37083 2014-12-11  Will Newton  <will.newton@linaro.org>
37085         Merge gettext 0.19.3 into intl/.
37087         This involves a number of cosmetic changes to comments
37088         and ANSI function definitions and prototypes throughout
37089         all the files. The gettext copyright header is used but
37090         with the date ranges taken from the glibc copy.
37092         * NEWS: Add gettext merge to 2.21.
37093         * intl/bindtextdom.c: Switch to gettext copyright.
37094         Use ANSI definitions and prototypes.
37095         Use gl_* locking primitives rather than __libc_* ones.
37096         Use __builtin_expect rather than __glibc_likely/unlikely.
37097         * intl/dcgettext.c: Switch to gettext copyright.
37098         Use ANSI definitions and prototypes.
37099         * intl/dcigettext.c: Switch to gettext copyright.
37100         Use ANSI definitions and prototypes.
37101         (INTDIV0_RAISES_SIGFPE): New define.
37102         Use gl_* locking primitives rather than __libc_* ones.
37103         Include eval-plural.h instead of plural-eval.c.
37104         Use __builtin_expect rather than __glibc_likely/unlikely.
37105         * intl/dcngettext.c: Switch to gettext copyright.
37106         Use ANSI definitions and prototypes.
37107         * intl/dgettext.c: Likewise.
37108         * intl/dngettext.c: Likewise.
37109         * intl/plural-eval.c: Renamed to...
37110         * intl/eval-plural.h: ...this.
37111         * intl/explodename.c: Switch to gettext copyright.
37112         Use ANSI definitions and prototypes.
37113         (_nl_explode_name): Use strchr instead of __rawmemchr.
37114         * intl/finddomain.c: Switch to gettext copyright.
37115         Use ANSI definitions and prototypes.
37116         Use gl_* locking primitives rather than __libc_* ones.
37117         (_nl_find_domain): Use malloc rather than alloca for
37118         allocation of temporary locale name.
37119         * intl/gettext.c: Switch to gettext copyright.
37120         Use ANSI definitions and prototypes.
37121         * intl/gettextP.h: Switch to gettext copyright.
37122         Use ANSI definitions and prototypes.
37123         Use gl_* locking primitives rather than __libc_* ones.
37124         * intl/gmo.h: Switch to gettext copyright.
37125         (struct sysdep_string): Move struct segment_pair outside of
37126         struct definition.
37127         * intl/hash-string.c: Use ANSI definitions and prototypes.
37128         * intl/hash-string.h: Switch to gettext copyright.
37129         Use ANSI definitions and prototypes.
37130         * intl/l10nflist.c: Switch to gettext copyright.
37131         Use ANSI definitions and prototypes.
37132         (_nl_normalize_codeset): Avoid integer overflow.
37133         * intl/loadinfo.h: Switch to gettext copyright.
37134         Use ANSI definitions and prototypes.
37135         (LIBINTL_DLL_EXPORTED): New define.
37136         (PATH_SEPARATOR): New define.
37137         * intl/loadmsgcat.c: Switch to gettext copyright.
37138         * intl/localealias.c: Switch to gettext copyright.
37139         Use ANSI definitions and prototypes.
37140         (_nl_expand_alias): Use PATH_SEPARATOR.
37141         * intl/ngettext.c: Switch to gettext copyright.
37142         Use ANSI definitions and prototypes.
37143         * intl/plural-exp.c: Likewise.
37144         * intl/plural-exp.h: Switch to gettext copyright.
37145         Use ANSI definitions and prototypes.
37146         (struct expression): Move definition of enum operator outside
37147         of struct definition.
37148         * intl/plural.c: Regenerate.
37149         * intl/plural.y: Switch to gettext copyright.
37150         Use ANSI definitions and prototypes.
37151         Port to bison 3.0.
37152         * intl/textdomain.c: Switch to gettext copyright.
37153         Use ANSI definitions and prototypes.
37154         Use gl_* locking primitives rather than __libc_* ones.
37156 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
37158         * debug/warning-nop.c: Add used atrribute.
37160 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
37162         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
37164         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
37165         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
37166         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
37168 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
37169             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37171         [BZ #17634]
37172         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
37173         Undefine after defining function.  Define as weak alias of
37174         __wcschr.  Use libc_hidden_weak.
37175         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
37176         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
37177         (libc_hidden_def): Also define __GI___wcschr alias.
37178         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
37179         __wcschr and define as weak alias of __wcschr.
37180         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
37181         __wcschr.
37182         [!WCSCHR] (DEFAULT_WCSCHR): Define.
37183         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
37184         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
37185         libc_hidden_weak.  Do not use libc_hidden_def.
37186         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
37187         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
37188         __GI___wcschr alias.
37189         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
37190         [IS_IN (libc)] (wcschr): Define as macro expanding to
37191         __redirect_wcschr.
37192         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
37193         [IS_IN (libc)] (__wcschr_power6): Likewise.
37194         [IS_IN (libc)] (__wcschr_power7): Likewise.
37195         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
37196         instead of wcschr.
37197         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
37198         __libc_wcschr.
37199         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
37200         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
37201         __wcschr and define as weak alias of __wcschr.  Use
37202         libc_hidden_builtin_def.
37203         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
37204         as weak alias of __wcschr.  Use libc_hidden_weak.
37205         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
37206         wcschr.
37207         * time/era.c (_nl_init_era_entries): Likewise.
37208         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
37209         variable.
37210         (test-xfail-XPG3/time.h/linknamespace): Likewise.
37211         (test-xfail-XPG4/time.h/linknamespace): Likewise.
37213 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
37215         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
37216         format for long int variable.
37218 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
37220         [BZ #10672]
37221         * manual/search.texi: (Array Sort Function): Remove claim how to make
37222         qsort stable.
37224 2014-12-10  Andreas Schwab  <schwab@suse.de>
37226         [BZ #12847]
37227         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
37228         user-controlled locks.
37230 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
37232         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
37233         register.
37235 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
37237         * configure.ac (--disable-werror): New configure option.
37238         (enable_werror): New AC_SUBST.
37239         * configure: Regenerated.
37240         * config.make.in (enable-werror): New variable.
37241         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
37242         -Wno-error=undef.
37243         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
37244         * manual/install.texi (Configuring and compiling): Document
37245         --disable-werror.
37246         * INSTALL: Regenerated.
37247         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
37248         (CFLAGS-tst-chk2.c): Likewise.
37249         (CFLAGS-tst-chk3.c): Likewise.
37250         (CFLAGS-tst-chk4.cc): Likewise.
37251         (CFLAGS-tst-chk5.cc): Likewise.
37252         (CFLAGS-tst-chk6.cc): Likewise.
37253         (CFLAGS-tst-lfschk1.c): Likewise.
37254         (CFLAGS-tst-lfschk2.c): Likewise.
37255         (CFLAGS-tst-lfschk3.c): Likewise.
37256         (CFLAGS-tst-lfschk4.cc): Likewise.
37257         (CFLAGS-tst-lfschk5.cc): Likewise.
37258         (CFLAGS-tst-lfschk6.cc): Likewise.
37260         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
37261         (main): Disable -Wdeprecated-declarations around calls to
37262         register_printf_function.
37264         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
37265         (do_test): Disable -Wdiv-by-zero around some calls to
37266         fwrite_unlocked and fread_unlocked.
37268         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
37269         (DIAG_POP_NEEDS_COMMENT): Likewise.
37270         (_DIAG_STR1): Likewise.
37271         (_DIAG_STR): Likewise.
37272         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
37273         * stdio-common/bug21.c: Include <libc-internal.h>.
37274         (do_test): Disable -Wformat around call to sscanf.
37275         * stdio-common/scanf14.c: Include <libc-internal.h>.
37276         (main): Disable -Wformat around some calls to scanf functions.
37278 2014-12-09  Torvald Riegel  <triegel@redhat.com>
37280         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
37282 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37284         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
37285         stack variable alignment.
37287 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
37289         [BZ #17682]
37290         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
37291         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
37292         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
37293         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
37294         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
37295         __getrlimit instead of getrlimit.
37296         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
37297         __gettimeofday instead of gettimeofday.
37298         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
37299         Likewise.
37300         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
37301         Likewise.
37302         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
37303         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
37304         Remove variable.
37305         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
37306         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
37308 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37310         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
37311         for wide-character tests.
37313 2014-12-04  Roland McGrath  <roland@hack.frob.com>
37315         * io/openat64.c: #include <libc-internal.h>
37316         (__openat64): Prototypify.  Use ignore_value on MODE.
37317         * io/openat.c: Likewise.
37318         * misc/reboot.c: #include <libc-internal.h>
37319         (reboot): Prototypify.  Use ignore_value on HOWTO.
37320         * misc/ptrace.c: #include <libc-internal.h>
37321         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
37323 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
37325         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
37326         XPG4, UNIX98 and XOPEN2K.
37327         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
37328         Remove variable.
37329         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
37331 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
37333         * libio/fileops.c: Use ISO C style for function definitions.
37334         * libio/iofopen.c: Likewise.
37335         * libio/wfileops.c: Likewise.
37337         [BZ #17653]
37338         * libio/fileops.c (_IO_new_file_underflow): Unset cached
37339         offset on EOF.
37340         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
37341         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
37342         (fgets_func): Function pointer to fgets and fgetws.
37343         (do_ftell_test): Add test to verify ftell value after read
37344         EOF.
37345         (do_test): Set fgets_func.
37347         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
37348         O_TRUNC flag for w and w+ modes.
37349         (do_rewind_test): Likewise.
37350         (do_ftell_test): Likewise.
37351         (do_write_test): Likewise.
37353         [BZ #17647]
37354         * libio/fileops.c (do_ftell): Seek only when there are
37355         unflushed writes.
37356         * libio/wfileops.c (do_ftell_wide): Likewise.
37357         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
37358         test case.
37359         (do_one_test): Call it.
37361 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
37363         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
37364         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
37365         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
37366         Remove variable.
37367         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
37368         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
37369         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
37371 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
37373         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
37374         Remove variable.
37375         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
37377         [BZ #17668]
37378         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
37379         as weak alias of __getifaddrs.  Use libc_hidden_weak.
37380         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
37381         __freeifaddrs.  Use libc_hidden_weak.
37382         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
37383         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
37384         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
37385         __freeifaddrs.  Use libc_hidden_weak.
37386         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
37387         __getifaddrs and define as weak alias of __getifaddrs.  Use
37388         libc_hidden_weak.
37389         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
37390         __freeifaddrs.  Use libc_hidden_weak.
37391         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
37392         Remove variable.
37393         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
37394         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
37396 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
37398         [BZ #17601]
37399         * sysdeps/mips/start.S (__start): Use indirect jump to call
37400         __libc_start_main.
37402 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
37404         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
37406         * nptl/tst-mutex1.c: Include <stdbool.h>.
37407         [!ATTR] (ATTR_NULL): New macro.
37408         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
37409         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
37410         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
37412         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
37413         to char *.
37415         [BZ #17665]
37416         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
37417         Change conditional to [__USE_MISC].
37419         [BZ #17664]
37420         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
37421         fgets_unlocked.
37422         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
37423         __fgets_unlocked.
37424         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
37425         fgets_unlocked.
37426         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
37427         Remove variable.
37428         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
37429         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
37430         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
37431         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
37432         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
37433         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
37434         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
37435         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
37436         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
37438         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
37440 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37442         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
37443         Remove strpbrk objects.
37444         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
37445         (__libc_ifunc_impl_list): Remove strpbrk implementation.
37446         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
37447         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
37448         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
37449         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
37451         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
37452         Remove strcspn objects.
37453         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
37454         (__libc_ifunc_impl_list): Remove strcspn implementation.
37455         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
37456         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
37457         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
37458         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
37460         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
37461         Remove strspn objetcs.
37462         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
37463         (__libc_ifunc_impl_list): Remove strspn implementation.
37464         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
37465         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
37466         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
37467         * sysdeps/powerpc/powerpc64/strspn.S: New file.
37469 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
37471         [BZ #17581]
37472         * malloc/hooks.c
37473         (mem2mem_check): Add a terminator to the chain of checking blocks.
37474         (malloc_check_get_size): Use it here.
37475         (mem2chunk_check): Ditto.
37477 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
37479         * sysdeps/powerpc/powerpc64/strtok.S: New file.
37480         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
37482 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
37484         * bits/ioctl-types.h: Indent preprocessor directives correctly.
37486         * nptl/nptl-init.c: Include libc-internal.h.
37487         (__pthread_initialize_minimal_internal): Use ROUND_UP.
37489         * elf/ldconfig.c (search_dir): Expand comment.
37491 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
37493         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
37494         variable.
37495         (linknamespace-symlist-stdlibs-tests): Likewise.
37496         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
37497         instead of $(objpfx)symlist-stdlibs.
37498         (linknamespace-libs-isoc): New variable.
37499         (linknamespace-libs): Use $(linknamespace-libs-isoc).
37500         (linknamespace-libs-ISO): New variable.
37501         (linknamespace-libs-ISO99): Likewise.
37502         (linknamespace-libs-ISO11): Likewise.
37503         (linknamespace-libs-XPG3): Likewise.
37504         (linknamespace-libs-XPG4): Likewise.
37505         (linknamespace-libs-POSIX): Likewise.
37506         (linknamespace-libs-UNIX98): Likewise.
37507         (linknamespace-libs-XOPEN2K): Likewise.
37508         (linknamespace-libs-POSIX2008): Likewise.
37509         (linknamespace-libs-XOPEN2K8): Likewise.
37510         ($(objpfx)symlist-stdlibs): Replace by
37511         $(linknamespace-symlist-stdlibs-tests).  Use
37512         $(linknamespace-libs-$*) as set of libraries.
37513         ($(linknamespace-header-tests)): Update dependencies.  Use
37514         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
37515         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
37516         * conform/linknamespace.pl: Remove comment about considering
37517         definitions of symbols from irrelevant libraries.
37519 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
37521         [BZ #13862]
37522         * elf/dl-tls.c: Include <atomic.h>.
37523         (oom): Remove #ifdef SHARED/#endif.
37524         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
37525         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
37526         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
37527         big enough.
37528         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
37529         * nptl/Makefile (tests): Add tst-stack4.
37530         (modules-names): Add tst-stack4mod.
37531         ($(objpfx)tst-stack4): New.
37532         (tst-stack4mod.sos): Likewise.
37533         ($(objpfx)tst-stack4.out): Likewise.
37534         ($(tst-stack4mod.sos)): Likewise.
37535         (clean): Likewise.
37536         * nptl/tst-stack4.c: New file.
37537         * nptl/tst-stack4mod.c: Likewise.
37539 2014-11-27  J. Brown  <jb999@gmx.de>
37541         * sysdeps/x86/bits/string.h: Add recent CPUs.
37543 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
37545         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
37546         sigblock.
37548         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
37549         feof.
37551         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
37552         variable.
37554 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
37556         * nscd/connections.c: Include libc-internal.h because of macro
37557         usage ignore_value.
37559 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
37561         * string/bits/string3.h (__warn_memset_zero_len): Don't
37562         declare for gcc newer than 5.0.
37563         (memset): Don't test for zero-length __LEN for gcc newer than
37564         5.0.
37566 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
37568         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
37569         size_t for %zu format.
37571         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
37572         difference, not %ju.
37574 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
37576         * include/libc-internal.h (ignore_value): New macro.
37577         * nscd/connections.c (restart): Wrap calls to setuid and setgid
37578         with ignore_value.
37580         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
37581         definition.
37583         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
37584         pthread_cleanup_push to void *.
37586         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
37587         Undefine.
37589         [BZ #16619]
37590         [BZ #16740]
37591         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
37592         instead of 1L << 52.
37594         * libio/bug-rewind.c (do_test): Check fwscanf return values.
37595         * libio/bug-rewind2.c (do_test): Likewise.
37597         * debug/test-stpcpy_chk-ifunc.c: Remove file.
37598         * debug/test-strcpy_chk-ifunc.c: Likewise.
37599         * wcsmbs/test-wcschr-ifunc.c: Likewise.
37600         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
37601         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
37602         * wcsmbs/test-wcslen-ifunc.c: Likewise.
37603         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
37604         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
37605         * Rules [$(multi-arch) = no] (tests): Do not filter out
37606         $(tests-ifunc).
37607         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
37608         * debug/Makefile (tests-ifunc): Remove variable.
37609         (tests): Do not add $(tests-ifunc).
37610         * wcsmbs/Makefile (tests-ifunc): Remove variable.
37611         (tests): Do not add $(tests-ifunc).
37612         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
37613         [TEST_IFUNC]: Remove conditionals.
37614         * string/test-string.h (TEST_IFUNC): Remove macro.
37615         [TEST_IFUNC]: Remove conditionals.
37617         * string/test-strchr.c [!WIDE] (L): New macro.
37618         [WIDE] (L): Likewise.
37619         (check1): Use CHAR instead of char.  Use L on string and character
37620         constants.
37622 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
37624         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
37625         tests.
37626         * sysdeps/powerpc/bits/atomic.h
37627         (__arch_atomic_exchange_and_add_32_acq): Add definition.
37628         (__arch_atomic_exchange_and_add_32_rel): Likewise.
37629         (atomic_exchange_and_add_acq): Likewise.
37630         (atomic_exchange_and_add_rel): Likewise.
37631         * sysdeps/powerpc/powerpc32/bits/atomic.h
37632         (__arch_atomic_exchange_and_add_64_acq): Add definition.
37633         (__arch_atomic_exchange_and_add_64_rel): Likewise.
37634         * sysdeps/powerpc/powerpc64/bits/atomic.h
37635         (__arch_atomic_exchange_and_add_64_acq): Add definition.
37636         (__arch_atomic_exchange_and_add_64_rel): Likewise.
37638 2014-11-26  Torvald Riegel  <triegel@redhat.com>
37640         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
37641         Change synchronization of __sched_fifo_min_prio and
37642         __sched_fifo_max_prio.
37643         * nptl/pthread_mutexattr_getprioceiling.c
37644         (pthread_mutexattr_getprioceiling): Likewise.
37645         * nptl/pthread_mutexattr_setprioceiling.c
37646         (pthread_mutexattr_setprioceiling): Likewise.
37647         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
37648         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
37649         Likewise.
37651 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
37653         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
37654         void.
37656 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
37658         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
37659         third argument const.
37661 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
37663         fnmatch: work around GCC compiler warning bug with uninit var
37664         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
37665         This works around a bug with x86-64 GCC 4.9.2 and earlier
37666         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
37667         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
37668         used uninitialized in this function [-Wmaybe-uninitialized]".
37670 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
37672         * posix/bug-regex31.c (main): Return RES not 0.
37674 2014-11-25  Anton Blanchard <anton@samba.org>
37676         * sysdeps/powerpc/bits/atomic.h
37677         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
37679 2014-11-24  Sterling Augustine  <saugustine@google.com>
37681         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
37683 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
37685         [BZ #17608]
37686         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
37688 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
37690         [BZ #17633]
37691         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
37692         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
37693         variable.
37694         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
37695         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
37697 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
37699         * string/strncpy.c (strncpy): Improve performance by using memset.
37701 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
37703         * string/strcpy.c (strcpy):
37704         Improve performance by using strlen and memcpy.
37706 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
37708         * string/strcoll_l.c (get_next_seq): __always_inline.
37709         * string/strcoll_l.c (do_compare): __always_inline.
37711 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
37713         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
37714         defined.
37715         * include/mqueue.h: Likewise.
37716         * include/stdlib.h: Likewise.
37718         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
37719         (get_null_defines): Adjust.
37720         * sunrpc/Makefile: Adjust comment.
37721         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
37722         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
37723         (CFLAGS-interp.c): Likewise.
37724         (CFLAGS-ldconfig.c): Likewise.
37725         (CPPFLAGS-.os): Likewise.
37726         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
37727         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
37728         * extra-modules.mk (extra-modules.mk): Likewise.
37729         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
37730         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
37731         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
37732         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
37733         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
37734         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
37735         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
37736         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
37737         * iconvdata/Makefile (CPPFLAGS): Likewise.
37738         (cpp-srcs-left): Add libof for all iconvdata routines.
37739         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
37740         * include/assert.h: Likewise.
37741         * include/ctype.h: Likewise.
37742         * include/errno.h: Likewise.
37743         * include/libc-symbols.h: Likewise.
37744         * include/math.h: Likewise.
37745         * include/netdb.h: Likewise.
37746         * include/resolv.h: Likewise.
37747         * include/stdio.h: Likewise.
37748         * include/stdlib.h: Likewise.
37749         * include/string.h: Likewise.
37750         * include/sys/stat.h: Likewise.
37751         * include/wctype.h: Likewise.
37752         * intl/l10nflist.c: Likewise.
37753         * libidn/idn-stub.c: Likewise.
37754         * libio/libioP.h: Likewise.
37755         * nptl/libc_multiple_threads.c: Likewise.
37756         * nptl/pthreadP.h: Likewise.
37757         * posix/regex_internal.h: Likewise.
37758         * resolv/res_hconf.c: Likewise.
37759         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
37760         * sysdeps/arm/memmove.S: Likewise.
37761         * sysdeps/arm/sysdep.h: Likewise.
37762         * sysdeps/generic/_itoa.h: Likewise.
37763         * sysdeps/generic/symbol-hacks.h: Likewise.
37764         * sysdeps/gnu/errlist.awk: Likewise.
37765         * sysdeps/gnu/errlist.c: Likewise.
37766         * sysdeps/i386/i586/memcpy.S: Likewise.
37767         * sysdeps/i386/i586/memset.S: Likewise.
37768         * sysdeps/i386/i686/memcpy.S: Likewise.
37769         * sysdeps/i386/i686/memmove.S: Likewise.
37770         * sysdeps/i386/i686/mempcpy.S: Likewise.
37771         * sysdeps/i386/i686/memset.S: Likewise.
37772         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
37773         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
37774         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
37775         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
37776         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
37777         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
37778         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
37779         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
37780         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
37781         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
37782         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
37783         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
37784         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
37785         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
37786         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
37787         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
37788         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
37789         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
37790         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
37791         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
37792         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
37793         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
37794         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
37795         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
37796         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
37797         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
37798         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
37799         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
37800         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
37801         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
37802         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
37803         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
37804         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
37805         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
37806         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
37807         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
37808         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
37809         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
37810         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
37811         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
37812         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
37813         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
37814         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
37815         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
37816         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
37817         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
37818         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
37819         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
37820         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
37821         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
37822         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
37823         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
37824         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
37825         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
37826         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
37827         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
37828         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
37829         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
37830         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
37831         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
37832         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
37833         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
37834         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
37835         * sysdeps/nptl/bits/libc-lock.h: Likewise.
37836         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
37837         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
37838         * sysdeps/posix/closedir.c: Likewise.
37839         * sysdeps/posix/opendir.c: Likewise.
37840         * sysdeps/posix/readdir.c: Likewise.
37841         * sysdeps/posix/rewinddir.c: Likewise.
37842         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
37843         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
37844         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
37845         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
37846         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
37847         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
37848         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
37849         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
37850         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
37851         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
37852         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
37853         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
37854         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
37855         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
37856         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
37857         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
37858         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
37859         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
37860         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
37861         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
37862         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
37863         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
37864         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
37865         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
37866         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
37867         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
37868         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
37869         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
37870         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
37871         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
37872         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
37873         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
37874         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
37875         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
37876         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
37877         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
37878         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
37879         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
37880         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
37881         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
37882         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
37883         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
37884         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
37885         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
37886         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
37887         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
37888         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
37889         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
37890         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
37891         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
37892         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
37893         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
37894         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
37895         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
37896         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
37897         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
37898         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
37899         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
37900         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
37901         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
37902         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
37903         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
37904         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
37905         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
37906         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
37907         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
37908         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
37909         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
37910         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
37911         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
37912         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
37913         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
37914         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
37915         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
37916         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
37917         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
37918         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
37919         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
37920         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
37921         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
37922         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
37923         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
37924         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
37925         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
37926         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
37927         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
37928         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
37929         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
37930         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
37931         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
37932         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
37933         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
37934         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
37935         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
37936         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
37937         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
37938         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
37939         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
37940         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
37941         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
37942         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
37943         * sysdeps/unix/alpha/sysdep.S: Likewise.
37944         * sysdeps/unix/alpha/sysdep.h: Likewise.
37945         * sysdeps/unix/make-syscalls.sh: Likewise.
37946         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
37947         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
37948         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
37949         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
37950         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
37951         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
37952         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
37953         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
37954         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
37955         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
37956         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
37957         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
37958         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
37959         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
37960         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
37961         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
37962         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
37963         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
37964         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
37965         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
37966         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
37967         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
37968         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
37969         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
37970         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
37971         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
37972         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
37973         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
37974         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
37975         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
37976         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
37977         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
37978         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
37979         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
37980         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
37981         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
37982         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
37983         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
37984         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
37985         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
37986         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
37987         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
37988         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
37989         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
37990         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
37991         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
37992         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
37993         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
37994         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
37995         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
37996         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
37997         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
37998         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
37999         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
38000         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
38001         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
38002         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
38003         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
38004         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
38005         * sysdeps/x86_64/memcpy.S: Likewise.
38006         * sysdeps/x86_64/memmove.c: Likewise.
38007         * sysdeps/x86_64/memset.S: Likewise.
38008         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
38009         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
38010         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
38011         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
38012         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
38013         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
38014         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
38015         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
38016         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
38017         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
38018         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
38019         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
38020         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
38021         * sysdeps/x86_64/multiarch/memset.S: Likewise.
38022         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
38023         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
38024         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
38025         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
38026         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
38027         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
38028         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
38029         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
38030         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
38031         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
38032         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
38033         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
38034         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
38035         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
38036         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
38037         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
38038         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
38039         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
38040         * sysdeps/x86_64/strcmp.S: Likewise.
38042         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
38044         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
38045         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
38046         * elf/rtld-Rules: Likewise.
38047         * elf/setup-vdso.h: Likewise.
38048         * include/assert.h: Likewise.
38049         * include/bits/stdlib-float.h: Likewise.
38050         * include/errno.h: Likewise.
38051         * include/sys/stat.h: Likewise.
38052         * include/unistd.h: Likewise.
38053         * sysdeps/aarch64/setjmp.S: Likewise.
38054         * sysdeps/alpha/setjmp.S: Likewise.
38055         * sysdeps/arm/__longjmp.S: Likewise.
38056         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
38057         * sysdeps/arm/setjmp.S: Likewise.
38058         * sysdeps/arm/sysdep.h: Likewise.
38059         * sysdeps/generic/_itoa.h: Likewise.
38060         * sysdeps/generic/dl-sysdep.h: Likewise.
38061         * sysdeps/generic/ldsodefs.h: Likewise.
38062         * sysdeps/i386/dl-tls.h: Likewise.
38063         * sysdeps/i386/setjmp.S: Likewise.
38064         * sysdeps/m68k/setjmp.c: Likewise.
38065         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
38066         * sysdeps/mach/hurd/opendir.c: Likewise.
38067         * sysdeps/posix/getcwd.c: Likewise.
38068         * sysdeps/posix/opendir.c: Likewise.
38069         * sysdeps/posix/profil.c: Likewise.
38070         * sysdeps/powerpc/dl-procinfo.h: Likewise.
38071         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
38072         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
38073         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
38074         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
38075         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
38076         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
38077         * sysdeps/s390/dl-tls.h: Likewise.
38078         * sysdeps/s390/s390-32/setjmp.S: Likewise.
38079         * sysdeps/s390/s390-64/setjmp.S: Likewise.
38080         * sysdeps/sh/sh3/setjmp.S: Likewise.
38081         * sysdeps/sh/sh4/setjmp.S: Likewise.
38082         * sysdeps/unix/alpha/sysdep.h: Likewise.
38083         * sysdeps/unix/arm/sysdep.S: Likewise.
38084         * sysdeps/unix/i386/sysdep.S: Likewise.
38085         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
38086         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
38087         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
38088         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
38089         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
38090         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
38091         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
38092         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
38093         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
38094         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
38095         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
38096         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
38097         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
38098         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
38099         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
38100         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
38101         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
38102         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
38103         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
38104         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
38105         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
38106         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
38107         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
38108         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
38109         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
38110         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
38111         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
38112         * sysdeps/unix/x86_64/sysdep.S: Likewise.
38113         * sysdeps/x86_64/setjmp.S: Likewise.
38115         * include/math.h: Use IS_IN instead of IS_IN_libm.
38116         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
38117         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
38118         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
38119         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
38120         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
38121         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
38122         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
38123         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
38124         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
38125         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
38126         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
38127         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
38128         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
38129         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
38130         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
38131         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
38132         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
38133         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
38134         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
38135         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
38136         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
38137         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
38138         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
38139         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
38140         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
38141         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
38142         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
38143         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
38144         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
38145         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
38146         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
38147         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
38148         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
38149         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
38150         Likewise.
38151         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
38152         Likewise.
38153         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
38154         Likewise.
38155         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
38156         Likewise.
38157         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
38158         Likewise.
38159         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
38160         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
38161         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
38162         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
38163         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
38164         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
38165         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
38166         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
38167         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
38168         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
38169         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
38170         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
38171         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
38172         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
38173         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
38174         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
38175         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
38176         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
38177         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
38178         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
38179         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
38180         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
38181         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
38182         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
38183         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
38184         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
38185         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
38187         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
38188         * nptl/pthreadP.h: Likewise.
38189         * nptl_db/structs.def: Likewise.
38190         * sysdeps/arm/sysdep.h: Likewise.
38191         * sysdeps/nptl/bits/libc-lock.h: Likewise.
38192         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
38193         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
38194         * sysdeps/unix/alpha/sysdep.h: Likewise.
38195         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
38196         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
38197         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
38198         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
38199         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
38200         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
38201         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
38202         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
38203         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
38204         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
38205         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
38206         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
38207         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
38208         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
38209         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
38210         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
38211         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
38212         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
38213         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
38214         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
38215         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
38216         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
38217         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
38218         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
38219         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
38220         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
38222         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
38223         * nptl/pthreadP.h: Likewise.
38224         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
38225         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
38226         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
38227         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
38228         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
38229         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
38230         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
38231         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
38232         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
38233         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
38234         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
38235         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
38236         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
38237         Likewise.
38238         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
38239         Likewise.
38240         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
38241         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
38242         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
38243         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
38244         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
38245         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
38246         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
38247         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
38249         * dlfcn/dladdr.c: Use IS_IN.
38250         * dlfcn/dladdr1.c: Likewise.
38251         * dlfcn/dlclose.c: Likewise.
38252         * dlfcn/dlerror.c: Likewise.
38253         * dlfcn/dlinfo.c: Likewise.
38254         * dlfcn/dlmopen.c: Likewise.
38255         * dlfcn/dlopen.c: Likewise.
38256         * dlfcn/dlsym.c: Likewise.
38257         * dlfcn/dlvsym.c: Likewise.
38259         * include/ifaddrs.h: Use IS_IN.
38260         * inet/check_pf.c: Likewise.
38261         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
38262         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
38264         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
38265         IS_IN_ldconfig.
38266         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
38267         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
38269         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
38270         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
38271         IS_IN (libc).
38273         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
38275         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
38276         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
38277         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
38278         * include/libc-symbols.h (IS_IN_LIB): New macro.
38279         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
38280         * include/netdb.h: Likewise.
38281         * include/stap-probe.h: Remove all uses of IN_LIB.
38283         * Makeconfig (module-cppflags-real): Define MODULE_NAME
38284         instead of IN_MODULE.
38285         * include/libc-symbols.h (IN_MODULE): Define using
38286         MODULE_NAME.
38287         (PASTE_NAME, PASTE_NAME1): New macros.
38288         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
38289         of IN_LIB.
38290         (STAP_PROBE_ASM): Likewise.
38292 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
38294         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
38295         __mach_init in dlopened libc.
38297 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
38299         * sysdeps/arm/preconfigure.ac: Delete EABI check.
38300         * sysdeps/arm/preconfigure: Regenerate.
38302 2014-11-21  Roland McGrath  <roland@hack.frob.com>
38304         * nptl/pthread_create.c (__pthread_create_2_1): Set
38305         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
38306         when copying values from IATTR into PD.
38308 2014-11-21  Will Newton  <will.newton@linaro.org>
38309             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
38311         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
38312         Refactor inline-asm.  Also add comment.
38314         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
38315         ElfW macro instead of hardcoded Elf64 types.
38316         (la_aarch64_gnu_pltenter): Likewise.
38317         * sysdeps/aarch64/dl-machine.h
38318         (elf_machine_runtime_setup): Use ElfW(Addr).
38320         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
38321         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
38322         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
38323         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
38324         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
38325         (R_AARCH64_TLS_DTPMOD64): Rename to ..
38326         (R_AARCH64_TLS_DTPMOD): This.
38327         (R_AARCH64_TLS_DTPREL64): Rename to ...
38328         (R_AARCH64_TLS_DTPREL): This.
38329         (R_AARCH64_TLS_TPREL64): Rename to ...
38330         (R_AARCH64_TLS_TPREL): This.
38331         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
38332         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
38333         R_AARCH64_TLS_TPREL64.
38334         (elf_machine_rela): Likewise.
38336 2014-11-21  Torvald Riegel  <triegel@redhat.com>
38338         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
38339         by setting it to 0.  64b atomics are not supported currently.
38341 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
38343         [BZ #16469]
38344         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
38345         search domain names.
38347 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
38349         [BZ #16469]
38350         * NEWS: Update.
38351         * resolv/res_query.c (__libc_res_nquerydomain): Retain
38352         trailing dot.
38353         * posix/tst-getaddrinfo5.c: New.
38354         * posix/Makefile (tests): Add it.
38356 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
38358         [BZ #14498]
38359         * NEWS: Fixed.
38360         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
38361         after parsing line but before break_if_match.
38362         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
38363         if there is a protocol mismatch.
38365 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
38367         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
38368         because the potential race is on the user-supplied stream.
38370 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
38372         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
38373         string literal if not passed a buffer.
38374         * manual/job.texi (ctermid): Update reasoning, note deviation
38375         from posix, suggest mtasurace when not passed a buffer, for
38376         future non-preliminary safety notes.
38378 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
38380         * manual/users.texi (cuserid): Fix MT-Safety note for the case
38381         of not passing it a buffer.
38382         Reported by Peng Haitao.
38384 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
38386         * manual/Makefile ($(objpfx)stamp-summary): Require
38387         check-safety.sh to pass.
38388         * manual/check-safety.sh: Wish for verification that every
38389         @deftypefn and @deftypefun is followed by a @safety remark.
38391 2014-11-20  Roland McGrath  <roland@hack.frob.com>
38393         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
38395         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
38396         PTHREAD_CANCEL_ASYNCHRONOUS.
38397         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
38398         send SIGCANCEL.
38400         * nptl/default-sched.h: New file.
38401         * sysdeps/unix/sysv/linux/default-sched.h: New file.
38402         * nptl/pthread_create.c: Include it.
38403         (__pthread_create_2_1): Use collect_default_sched instead of making
38404         Linux syscalls here directly.
38406 2014-11-20  Torvald Riegel  <triegel@redhat.com>
38408         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
38409         __pthread_once): Use C11 atomics.
38411 2014-11-20  Torvald Riegel  <triegel@redhat.com>
38413         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
38415 2014-11-20  Torvald Riegel  <triegel@redhat.com>
38417         * include/atomic.h (__atomic_link_error, __atomic_check_size,
38418         atomic_thread_fence_acquire, atomic_thread_fence_release,
38419         atomic_thread_fence_seq_cst, atomic_load_relaxed,
38420         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
38421         atomic_compare_exchange_weak_relaxed,
38422         atomic_compare_exchange_weak_acquire,
38423         atomic_compare_exchange_weak_release,
38424         atomic_exchange_acquire, atomic_exchange_release,
38425         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
38426         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
38427         atomic_fetch_and_acquire,
38428         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
38430 2014-11-20  Torvald Riegel  <triegel@redhat.com>
38432         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
38433         USE_ATOMIC_COMPILER_BUILTINS): Define.
38434         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
38435         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
38436         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
38437         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
38438         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
38439         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
38440         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
38441         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
38442         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
38443         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
38444         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
38445         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
38446         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
38447         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
38448         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
38449         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
38450         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
38451         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
38452         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
38453         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
38454         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
38455         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
38456         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
38457         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
38458         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
38459         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
38460         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
38461         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
38462         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
38463         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
38464         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
38465         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
38466         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
38467         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
38468         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
38469         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
38470         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
38471         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
38472         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
38473         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
38475 2014-11-19  Roland McGrath  <roland@hack.frob.com>
38477         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
38478         the sched_priority value here.  It was already checked when the user
38479         called pthread_attr_setschedparam.
38481         * nptl/tst-bad-schedattr.c: New file.
38482         * nptl/Makefile (tests): Add it.
38484 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
38485             Florian Weimer  <fweimer@redhat.com>
38486             Joseph Myers  <joseph@codesourcery.com>
38487             Adam Conrad  <adconrad@0c3.net>
38488             Andreas Schwab  <schwab@suse.de>
38489             Brooks  <bmoses@google.com>
38491         [BZ #17625]
38492         * wordexp-test.c (__dso_handle): Add prototype.
38493         (__register_atfork): Likewise.
38494         (__app_register_atfork): New function.
38495         (registered_forks): New global.
38496         (register_fork): New function.
38497         (test_case): Add 3 new tests for WRDE_CMDSUB.
38498         (main): Call __app_register_atfork.
38499         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
38500         fork count is non-zero fail the test.
38501         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
38502         is set.
38503         (parse_dollars): Remove check for WRDE_NOCMD.
38504         (parse_dquote): Likewise.
38506 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
38508         * Makeconfig (built-modules): List non-library modules to be
38509         built.
38510         (module-cppflags): Include libc-modules.h for
38511         everything except shlib-versions.v.i.
38512         (CPPFLAGS): Use it.
38513         (before-compile): Add libc-modules.h.
38514         ($(common-objpfx)libc-modules.h,
38515         $(common-objpfx)libc-modules.stmp): New targets.
38516         (common-generated): Add libc-modules.h and libc-modules.stmp.
38517         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
38518         * include/libc-symbols.h: Don't include libc-modules.h.
38519         * include/libc-modules.h: Remove file.
38520         * scripts/gen-libc-modules.awk: New script to generate
38521         libc-modules.h.
38522         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
38523         Depend on libc-modules.stmp.
38525         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
38527         * Makeconfig (in-module): Get value of libof set for the
38528         translation unit.
38529         (CPPFLAGS): Use $(in-module).
38530         * Makerules: Don't suffix routine names for nonlib.
38531         * include/libc-modules.h: New file.
38532         * include/libc-symbols.h: Include libc-modules.h
38533         (IS_IN): New macro to replace IS_IN_* macros.
38534         * elf/Makefile: Set libof-* for each routine.
38535         * elf/rtld-Rules: Likewise.
38536         * extra-modules.mk: Likewise.
38537         * iconv/Makefile: Likewise.
38538         * iconvdata/Makefile: Likewise.
38539         * locale/Makefile: Likewise.
38540         * malloc/Makefile: Likewise.
38541         * nss/Makefile: Likewise.
38542         * sysdeps/gnu/Makefile: Likewise.
38543         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
38544         * sysdeps/unix/sysv/linux/Makefile: Likewise.
38545         * sysdeps/s390/s390-64/Makefile: Likewise.
38546         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
38547         CPPFLAGS for nscd instead of nonlib.
38549 2014-11-18  Roland McGrath  <roland@hack.frob.com>
38551         * nptl/createthread.c: New file.
38553         * nptl/createthread.c: Moved ...
38554         * sysdeps/unix/sysv/linux/createthread.c: ... here.
38556         * nptl/createthread.c: Add proper top-line comment.
38557         (do_clone): Folded into ...
38558         (create_thread): ... here.  Take new arguments STOPPED_START and
38559         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
38560         increment __nptl_threads, do event-reporting logic, do
38561         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
38562         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
38563         resource cleanup if sched_setaffinity or sched_setscheduler fails,
38564         just send SIGCANCEL.
38565         * nptl/pthread_create.c: Forward-declare create_thread before
38566         including createthread.c.
38567         (start_thread): Use new macro START_THREAD_DEFN to replace defining
38568         declaration, and new macro START_THREAD_SELF to replace argument.
38569         Remove return statement.
38570         (report_thread_creation): New function.
38571         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
38572         synchronization logic, and __nptl_nthreads increment here, around
38573         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
38574         PD->parent_cancelhandling here, before create_thread.  When
38575         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
38576         __deallocate_stack, and ENOMEM translation here.
38578 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
38580         [BZ #17616]
38581         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
38582         (mptwo): Rename to __mptwo.
38583         (__inv): Use __mptwo instead of mptwo.
38584         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
38585         (mptwo): Rename to __mptwo.
38586         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
38587         of mpone and __mptwo instead of mptwo.
38588         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
38589         instead of mpone.
38590         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
38591         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
38592         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
38593         of mpone and __mptwo instead of mptwo.
38594         (__mpranred): Use __mpone instead of mpone.
38595         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
38596         variable.
38597         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
38598         (test-xfail-ISO99/math.h/linknamespace): Likewise.
38599         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
38600         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
38601         (test-xfail-ISO11/math.h/linknamespace): Likewise.
38602         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
38603         (test-xfail-XPG3/math.h/linknamespace): Likewise.
38604         (test-xfail-XPG4/math.h/linknamespace): Likewise.
38605         (test-xfail-POSIX/math.h/linknamespace): Likewise.
38606         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
38607         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
38608         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
38609         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
38610         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
38611         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
38612         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
38613         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
38614         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
38615         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
38617 2014-11-18  Tom de Vries  <tom@codesoucery.com>
38619         * manual/signal.texi (Primitives Interrupted by Signals): In section,
38620         replace BSD Handler xref with BSD Signal Handling.
38622 2014-11-17  Richard Henderson  <rth@redhat.com>
38624         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
38625         (_FP_PACK_RAW_2): Remove.
38626         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
38627         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
38628         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
38629         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
38630         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
38631         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
38632         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
38633         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
38634         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
38635         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
38636         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
38637         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
38638         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
38639         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
38640         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
38641         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
38643 2014-11-14  Roland McGrath  <roland@hack.frob.com>
38645         * signal/signal.h [__USE_MISC]
38646         (struct sigvec): Remove type.
38647         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
38648         (sigvec): Remove declaration.
38649         * sysdeps/posix/sigvec.c: Moved ...
38650         * signal/sigvec.c: ... here, replacing old file.
38651         (struct sigvec): New type, copied from old signal.h definition.
38652         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
38653         (__sigvec): Convert definition to prototype.
38654         (sigvec): Replace weak_alias with compat_symbol.
38655         * signal/Versions (libc: GLIBC_2.21): New version set.
38656         * include/signal.h: Remove __sigvec declaration.
38657         * sysdeps/unix/bsd/sigvec.c: Remove file.
38658         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
38659         * manual/signal.texi (BSD Handler): Remove subsection.
38660         Move siginterrupt up to ...
38661         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
38662         (Blocking in BSD): Fold subsection into its parent.
38663         * NEWS: Mention sigvec removal.
38665 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
38667         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
38668         (DLA_FMS): Make definition conditional only on [__FMA4__].
38669         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
38670         definition.
38672         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
38673         Make definition conditional only on [PROF].
38674         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
38675         definition.
38676         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
38677         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
38679         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
38680         !__GNUC__].
38681         * include/signal.h (__sigpause): Move declaration above call to
38682         libc_hidden_proto.
38683         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
38684         variable.
38685         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
38686         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
38688 2014-11-14  David S. Miller  <davem@davemloft.net>
38690         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
38691         Define before including <string/memcpy.c> and <string/mempcpy.c>.
38693 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
38695         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
38696         * configure: Regenerated.
38697         * manual/install.texi (Tools for Compilation): Document a
38698         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
38699         compiler verified to work.
38700         * INSTALL: Regenerated.
38702         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
38703         redeclare with asm name.
38704         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
38705         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
38706         including <string.h>.
38707         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
38708         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
38709         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
38710         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
38711         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
38712         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
38713         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
38715 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
38717         * stdlib/strtol.c (__strtol): Use prototype definition.
38719         [BZ #17594]
38720         * stdlib/strtol.c (SYM__): New macro.
38721         (SYM__1): Likewise.
38722         (__strtol): Likewise.
38723         (strtol): Rename to __strtol and define as weak alias of
38724         __strtol.  Use libc_hidden_weak.
38726 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
38728         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
38729         Use numbered labels in inline assembly.
38731 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
38733         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
38734         Add setjmp LIBC_PROBE.
38735         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
38736         Likewise.
38737         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
38738         Add longjmp, longjmp_target LIBC_PROBE.
38739         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
38740         Likewise.
38742 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
38744         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
38745         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
38746         to get rid of unused variable warning.
38748 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
38750         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
38751         Check for unwind_backtrace ==  NULL only in SHARED case.
38752         (__backchain_backtrace): Compile only in SHARED case.
38753         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
38754         Likewise.
38755         (__backchain_backtrace): Declare as static.
38757 2014-11-12  Roland McGrath  <roland@hack.frob.com>
38759         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
38760         (__libc_multiple_threads_ptr): Variable moved ...
38761         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
38763 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
38765         * conform/GlibcConform.pm: New file.
38766         * conform/conformtest.pl: Use GlibcConform module.
38767         * conform/linknamespace.pl: New file.
38768         * conform/list-header-symbols.pl: Likewise.
38769         * conform/Makefile (linknamespace-symlists-base): New variable.
38770         (linknamespace-symlists-tests): Likewise.
38771         (linknamespace-header-base): Likewise.
38772         (linknamespace-header-tests): Likewise.
38773         (tests-special): Add new tests.
38774         ($(linknamespace-symlists-tests)): New rule.
38775         (linknamespace-libs): New variable.
38776         ($(objpfx)symlist-stdlibs): New rule.
38777         ($(linknamespace-header-tests)): Likewise.
38778         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
38779         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
38780         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
38781         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
38782         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
38783         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
38784         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
38785         (test-xfail-ISO/math.h/linknamespace): Likewise.
38786         (test-xfail-ISO/signal.h/linknamespace): Likewise.
38787         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
38788         (test-xfail-ISO/time.h/linknamespace): Likewise.
38789         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
38790         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
38791         (test-xfail-ISO99/math.h/linknamespace): Likewise.
38792         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
38793         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
38794         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
38795         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
38796         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
38797         (test-xfail-ISO11/math.h/linknamespace): Likewise.
38798         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
38799         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
38800         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
38801         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
38802         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
38803         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
38804         (test-xfail-XPG3/math.h/linknamespace): Likewise.
38805         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
38806         (test-xfail-XPG3/search.h/linknamespace): Likewise.
38807         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
38808         (test-xfail-XPG3/time.h/linknamespace): Likewise.
38809         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
38810         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
38811         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
38812         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
38813         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
38814         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
38815         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
38816         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
38817         (test-xfail-XPG4/math.h/linknamespace): Likewise.
38818         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
38819         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
38820         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
38821         (test-xfail-XPG4/search.h/linknamespace): Likewise.
38822         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
38823         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
38824         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
38825         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
38826         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
38827         (test-xfail-XPG4/time.h/linknamespace): Likewise.
38828         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
38829         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
38830         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
38831         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
38832         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
38833         (test-xfail-POSIX/math.h/linknamespace): Likewise.
38834         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
38835         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
38836         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
38837         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
38838         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
38839         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
38840         (test-xfail-POSIX/time.h/linknamespace): Likewise.
38841         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
38842         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
38843         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
38844         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
38845         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
38846         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
38847         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
38848         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
38849         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
38850         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
38851         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
38852         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
38853         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
38854         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
38855         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
38856         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
38857         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
38858         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
38859         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
38860         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
38861         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
38862         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
38863         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
38864         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
38865         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
38866         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
38867         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
38868         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
38869         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
38870         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
38871         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
38872         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
38873         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
38874         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
38875         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
38876         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
38877         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
38878         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
38879         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
38880         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
38881         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
38882         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
38883         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
38884         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
38885         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
38886         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
38887         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
38888         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
38889         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
38890         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
38891         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
38892         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
38893         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
38894         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
38895         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
38896         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
38897         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
38898         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
38899         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
38900         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
38901         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
38902         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
38903         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
38904         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
38905         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
38906         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
38907         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
38908         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
38909         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
38910         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
38911         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
38912         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
38913         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
38914         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
38915         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
38916         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
38917         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
38918         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
38919         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
38920         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
38921         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
38922         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
38923         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
38924         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
38925         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
38926         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
38927         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
38928         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
38929         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
38930         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
38931         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
38932         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
38933         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
38934         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
38935         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
38936         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
38937         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
38938         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
38940         [BZ #17589]
38941         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
38942         of fgets_unlocked.
38944         [BZ #17585]
38945         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
38946         (memmem): Rename to __memmem and define as weak alias of
38947         __memmem.  Use libc_hidden_weak.
38948         (__memmem): Use libc_hidden_def.
38949         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
38950         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
38951         memmem.
38953         [BZ #17582]
38954         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
38955         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
38956         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
38957         and define as weak alias of __fgets_unlocked.  Use
38958         libc_hidden_weak.
38959         (__fgets_unlocked): Use libc_hidden_def.
38960         * include/stdio.h (__fgets_unlocked): Declare.  Use
38961         libc_hidden_proto.
38962         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
38963         __fgets_unlocked instead of fgets_unlocked.
38964         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
38965         (GET_NPROCS_CONF_PARSER): Likewise.
38966         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
38967         (GET_NPROCS_CONF_PARSER): Likewise.
38969         [BZ #17574]
38970         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
38971         weak alias of __wmemset.  Use libc_hidden_weak.
38972         (__wmemset): Use libc_hidden_def.
38973         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
38974         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
38975         of wmemset.
38977         [BZ #17573]
38978         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
38979         with asm name __mempcpy.
38980         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
38982         [BZ #17572]
38983         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
38984         and define as weak alias of __rawmemchr.
38985         (__rawmemchr): Do not define as strong alias of rawmemchr.
38987         [BZ #17571]
38988         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
38989         alias of __qsort_r.
38990         (qsort): Call __qsort_r instead of qsort_r.
38991         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
38992         (__qsort_r): Declare.  Call libc_hidden_proto.
38993         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
38994         instead of qsort_r.
38995         * nscd/gai.c (__qsort_r): Define to qsort_r.
38996         * posix/tst-rfc3484.c (__qsort_r): Likewise.
38997         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
38998         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
39000         [BZ #17570]
39001         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
39002         define as weak alias of __malloc_info.
39004         [BZ #17584]
39005         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
39006         as weak alias of __rewinddir.  Don't use libc_hidden_def.
39007         (__rewinddir): Use libc_hidden_def.
39008         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
39009         as weak alias of __rewinddir.  Don't use libc_hidden_def.
39010         (__rewinddir): Use libc_hidden_def.
39011         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
39012         weak alias of __rewinddir.  Don't use libc_hidden_def.
39013         (__rewinddir): Use libc_hidden_def.
39014         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
39015         (__rewinddir): Use libc_hidden_proto.
39016         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
39017         rewinddir.
39018         (__getcwd): Use __rewinddir instead of rewinddir.
39020         [BZ #17583]
39021         * libio/fileno.c (fileno): Rename to __fileno and define as weak
39022         alias of __fileno.  Use libc_hidden_weak.
39023         (__fileno): Use libc_hidden_def.
39024         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
39025         * libio/ftello.c (ftello): Rename to __ftello and define as weak
39026         alias of __ftello.
39027         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
39028         __ftello.
39029         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
39030         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
39031         libc_hidden_def.
39032         (fread_unlocked): Don't use libc_hidden_ver.
39033         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
39034         and define as weak alias of __fread_unlocked.  Don't use
39035         libc_hidden_def.
39036         (__fread_unlocked): Use libc_hidden_def.
39037         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
39038         (ftello): Don't use libc_hidden_proto.
39039         (__ftello): Declare.  Use libc_hidden_proto.
39040         (fread_unlocked): Don't use libc_hidden_proto.
39041         (__fread_unlocked): Declare.  Use libc_hidden_proto.
39042         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
39043         and __ftello instead of fileno, fread_unlocked and ftello.
39045 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
39047         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
39048         GOT12.
39049         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
39050         Likewise.
39051         (_dl_start_user): Likewise.
39052         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
39054 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
39055             Siddhesh Poyarekar  <siddhesh@redhat.com>
39057         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
39058         Move argv and envp down instead of moving argc up.
39059         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
39061 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
39063         [BZ #17506]
39064         * test-skeleton.c (main): Return successful if one of
39065         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
39066         * string/tst-strcoll-overflow.c: Define expected status.
39068 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
39070         [BZ #17475]
39071         * locale/iso-639.def: Define Bhili and Tulu language codes.
39073 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
39075         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
39077 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
39079         [BZ #17555]
39080         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
39082 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
39084         * configure.ac: Updated check of minimal required version to
39085         2.22.
39086         * manual/install.texi (Tools for Compilation): Updated version
39087         number.
39088         * configure: Regenerated.
39089         * INSTALL: Likewise.
39091 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
39093         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
39094         __tls_get_addr.
39096 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
39098         * include/sys/wait.h (__libc_waitpid): Remove declaration.
39099         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
39100         (__waitpid): Don't define as alias.  Use libc_hidden_def not
39101         libc_hidden_weak.
39102         (waitpid): Define as alias of __waitpid.
39103         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
39104         __waitpid.
39105         (__waitpid): Don't define as alias.  Use libc_hidden_def not
39106         libc_hidden_weak.
39107         (waitpid): Define as alias of __waitpid.
39108         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
39109         __libc_waitpid alias.
39110         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
39111         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
39112         Likewise.
39113         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
39114         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
39115         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
39116         alias.
39117         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
39118         __waitpid.
39119         (__waitpid): Don't define as alias.  Use libc_hidden_def not
39120         libc_hidden_weak.
39121         (waitpid): Define as alias of __waitpid.
39123 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
39125         * manual/llio.texi: Add comment that write safety has been
39126         fixed in Linux.
39128         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
39129         (localplt-build-dso): Add elf/ld.so.
39130         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
39131         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
39132         and free for ld.so.
39133         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
39134         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
39135         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
39136         Likewise.
39137         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
39138         Likewise.
39139         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
39140         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
39141         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
39142         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
39143         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
39144         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
39145         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
39146         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
39147         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
39148         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
39149         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
39151 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
39153         [BZ #14132]
39154         * include/libc-symbols.h (INTUSE): Remove macro.
39155         (INTDEF): Likewise.
39156         (INTVARDEF): Likewise.
39157         (_INTVARDEF): Likewise.
39158         (INTDEF2): Likewise.
39159         (INTVARDEF2): Likewise.
39160         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
39161         rtld_hidden_def instead of INTVARDEF.
39162         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
39163         (_dl_starting_up_internal): Remove declaration.
39164         (_dl_starting_up): Use rtld_hidden_proto.
39165         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
39166         declaration.
39167         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
39168         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
39169         _dl_starting_up.
39170         * elf/dl-writev.h (_dl_writev): Likewise.
39171         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
39172         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
39173         _dl_starting_up_internal.
39175 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39177         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
39178         test-skeleton.c.
39180 2014-11-05  Will Newton  <will.newton@linaro.org>
39182         * benchtests/Makefile: (bench-malloc): Add malloc thread
39183         scalability benchmark.
39184         * benchtests/bench-malloc-threads.c: New file.
39186 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
39188         * sysdeps/aarch64/strchrnul.S: New file.
39190 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39192         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
39193         definition.
39194         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
39195         Likewise.
39196         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
39197         Likewise.
39198         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
39199         Likewise.
39200         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
39201         Likewise.
39202         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
39203         Likewise.
39205 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
39207         * catgets/test-gencat.c: Use test-skeleton.c.
39208         * catgets/tst-catgets.c: Likewise.
39209         * csu/tst-empty.c: Likewise.
39210         * elf/tst-audit2.c: Likewise.
39211         * elf/tst-global1.c: Likewise.
39212         * elf/tst-pathopt.c: Likewise.
39213         * elf/tst-piemod1.c: Likewise.
39214         * elf/tst-tls10.c: Likewise.
39215         * elf/tst-tls11.c: Likewise.
39216         * elf/tst-tls12.c: Likewise.
39217         * gnulib/tst-gcc.c: Likewise.
39218         * iconvdata/tst-e2big.c: Likewise.
39219         * iconvdata/tst-loading.c: Likewise.
39220         * iconv/tst-iconv1.c: Likewise.
39221         * iconv/tst-iconv2.c: Likewise.
39222         * inet/test-inet6_opt.c: Likewise.
39223         * inet/tst-gethnm.c: Likewise.
39224         * inet/tst-network.c: Likewise.
39225         * inet/tst-ntoa.c: Likewise.
39226         * intl/tst-codeset.c: Likewise.
39227         * intl/tst-gettext2.c: Likewise.
39228         * intl/tst-gettext3.c: Likewise.
39229         * intl/tst-ngettext.c: Likewise.
39230         * intl/tst-translit.c: Likewise.
39231         * io/test-stat.c: Likewise.
39232         * libio/test-fmemopen.c: Likewise.
39233         * libio/tst-freopen.c: Likewise.
39234         * libio/tst-sscanf.c: Likewise.
39235         * libio/tst-ungetwc1.c: Likewise.
39236         * libio/tst-ungetwc2.c: Likewise.
39237         * libio/tst-widetext.c: Likewise.
39238         * localedata/tst-ctype.c: Likewise.
39239         * localedata/tst-digits.c: Likewise.
39240         * localedata/tst-leaks.c: Likewise.
39241         * localedata/tst-mbswcs1.c: Likewise.
39242         * localedata/tst-mbswcs2.c: Likewise.
39243         * localedata/tst-mbswcs3.c: Likewise.
39244         * localedata/tst-mbswcs4.c: Likewise.
39245         * localedata/tst-mbswcs5.c: Likewise.
39246         * localedata/tst-setlocale.c: Likewise.
39247         * localedata/tst-trans.c: Likewise.
39248         * localedata/tst-wctype.c: Likewise.
39249         * localedata/tst-xlocale1.c: Likewise.
39250         * login/tst-grantpt.c: Likewise.
39251         * malloc/tst-calloc.c: Likewise.
39252         * malloc/tst-malloc.c: Likewise.
39253         * malloc/tst-mallocstate.c: Likewise.
39254         * malloc/tst-mcheck.c: Likewise.
39255         * malloc/tst-mtrace.c: Likewise.
39256         * malloc/tst-obstack.c: Likewise.
39257         * math/atest-exp2.c: Likewise.
39258         * math/atest-exp.c: Likewise.
39259         * math/atest-sincos.c: Likewise.
39260         * math/test-matherr.c: Likewise.
39261         * math/test-misc.c: Likewise.
39262         * math/test-powl.c: Likewise.
39263         * math/tst-definitions.c: Likewise.
39264         * misc/tst-dirname.c: Likewise.
39265         * misc/tst-efgcvt.c: Likewise.
39266         * misc/tst-fdset.c: Likewise.
39267         * misc/tst-hsearch.c: Likewise.
39268         * misc/tst-mntent2.c: Likewise.
39269         * nptl/tst-sem7.c: Likewise.
39270         * nptl/tst-sem8.c: Likewise.
39271         * nptl/tst-sem9.c: Likewise.
39272         * nss/test-netdb.c: Likewise.
39273         * posix/tst-fnmatch.c: Likewise.
39274         * posix/tst-getlogin.c: Likewise.
39275         * posix/tst-gnuglob.c: Likewise.
39276         * posix/tst-mmap.c: Likewise.
39277         * pwd/tst-getpw.c: Likewise.
39278         * resolv/tst-inet_ntop.c: Likewise.
39279         * rt/tst-timer.c: Likewise.
39280         * stdio-common/test-fseek.c: Likewise.
39281         * stdio-common/test-popen.c: Likewise.
39282         * stdio-common/test-vfprintf.c: Likewise.
39283         * stdio-common/tst-cookie.c: Likewise.
39284         * stdio-common/tst-fileno.c: Likewise.
39285         * stdio-common/tst-gets.c: Likewise.
39286         * stdio-common/tst-obprintf.c: Likewise.
39287         * stdio-common/tst-perror.c: Likewise.
39288         * stdio-common/tst-sprintf2.c: Likewise.
39289         * stdio-common/tst-sprintf3.c: Likewise.
39290         * stdio-common/tst-sprintf.c: Likewise.
39291         * stdio-common/tst-swprintf.c: Likewise.
39292         * stdio-common/tst-tmpnam.c: Likewise.
39293         * stdio-common/tst-unbputc.c: Likewise.
39294         * stdio-common/tst-wc-printf.c: Likewise.
39295         * stdlib/tst-environ.c: Likewise.
39296         * stdlib/tst-fmtmsg.c: Likewise.
39297         * stdlib/tst-limits.c: Likewise.
39298         * stdlib/tst-rand48-2.c: Likewise.
39299         * stdlib/tst-rand48.c: Likewise.
39300         * stdlib/tst-random2.c: Likewise.
39301         * stdlib/tst-random.c: Likewise.
39302         * stdlib/tst-strtol.c: Likewise.
39303         * stdlib/tst-strtoll.c: Likewise.
39304         * stdlib/tst-tls-atexit.c: Likewise.
39305         * stdlib/tst-xpg-basename.c: Likewise.
39306         * string/test-ffs.c: Likewise.
39307         * string/tst-bswap.c: Likewise.
39308         * string/tst-inlcall.c: Likewise.
39309         * string/tst-strtok.c: Likewise.
39310         * string/tst-strxfrm.c: Likewise.
39311         * sysdeps/x86_64/tst-audit10.c: Likewise.
39312         * sysdeps/x86_64/tst-audit3.c: Likewise.
39313         * sysdeps/x86_64/tst-audit4.c: Likewise.
39314         * sysdeps/x86_64/tst-audit5.c: Likewise.
39315         * time/tst-ftime_l.c: Likewise.
39316         * time/tst-getdate.c: Likewise.
39317         * time/tst-mktime3.c: Likewise.
39318         * time/tst-mktime.c: Likewise.
39319         * time/tst-posixtz.c: Likewise.
39320         * time/tst-strptime2.c: Likewise.
39321         * time/tst-strptime3.c: Likewise.
39322         * wcsmbs/tst-btowc.c: Likewise.
39323         * wcsmbs/tst-mbrtowc.c: Likewise.
39324         * wcsmbs/tst-mbsrtowcs.c: Likewise.
39325         * wcsmbs/tst-wchar-h.c: Likewise.
39326         * wcsmbs/tst-wcpncpy.c: Likewise.
39327         * wcsmbs/tst-wcrtomb.c: Likewise.
39328         * wcsmbs/tst-wcsnlen.c: Likewise.
39329         * wcsmbs/tst-wcstof.c: Likewise.
39331 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
39333         [BZ #14132]
39334         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
39335         INTDEF.
39336         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
39337         declaration.
39338         (_dl_mcount): Use rtld_hidden_proto.
39339         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
39340         _dl_mcount.
39341         * elf/rtld.c (_rtld_global_ro): Likewise.
39343         [BZ #14132]
39344         * elf/dl-init.c (_dl_init): Don't use INTDEF.
39345         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
39346         of _dl_init_internal.
39347         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
39348         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
39349         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
39350         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
39351         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
39352         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
39353         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
39354         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
39355         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
39356         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
39357         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
39358         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
39359         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
39360         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
39361         * sysdeps/tile/dl-start.S (_start): Likewise.
39362         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
39363         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
39365         [BZ #14132]
39366         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
39367         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
39368         (rtld_progname): Make macro definition unconditional.
39369         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
39370         INTDEF.
39371         (dlmopen_doit): Do not use INTUSE with _dl_argv.
39372         (dl_main): Likewise.
39373         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
39374         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
39375         instead of _dl_argv_internal.
39376         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
39377         __GI__dl_argv instead of INTUSE(_dl_argv).
39378         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
39379         __GI__dl_argv instead of _dl_argv_internal.
39381         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
39382         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
39383         macro.
39384         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
39385         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
39386         New macro.
39387         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
39388         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
39389         macro.
39390         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
39391         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
39393 2014-11-04  Andreas Schwab  <schwab@suse.de>
39395         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
39397 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39399         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
39400         mtvsrd instruction in binary form.
39402 2014-11-03  Andreas Schwab  <schwab@suse.de>
39404         [BZ #17522]
39405         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
39406         for less than MB_LEN_MAX use a local buffer of that size.
39407         * libio/tst-fputws.c: New file.
39408         * libio/Makefile (tests): Add tst-fputws.
39410 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
39412         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
39413         the size of the fpu_fr.fpu_dregs[] array.
39415 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
39417         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
39418         (__nanosleep): Do not define as alias.
39419         (nanosleep): Define as alias of __nanosleep.
39420         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
39421         __libc_nanosleep name.
39423 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
39425         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
39426         install.texi in comment.
39428 2014-10-31  Torvald Riegel  <triegel@redhat.com>
39430         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
39431         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
39432         ... add here and use lwsync or sync ...
39433         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
39434         ... and add here using lwsync.
39436 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
39438         * elf/dl-machine-reject-phdr.h: New file.
39439         * elf/dl-load.c: #include that.
39440         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
39441         if that returned true.
39443 2014-10-31  Roland McGrath  <roland@hack.frob.com>
39445         [BZ #17496]
39446         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
39447         gen-as-const-headers chunk.  Add a big scare comment after the last
39448         safe place to touch before-compile.
39450 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
39452         * manual/install.texi (Tools for Compilation): Update autoconf
39453         version requirements.
39454         * INSTALL: Regenerated.
39456         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
39457         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
39458         (__libc_pselect): Likewise.
39460         [BZ #14138]
39461         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
39462         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
39463         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
39464         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
39466 2014-10-31  Torvald Riegel  <triegel@redhat.com>
39468         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
39469         correct barrier instruction.
39470         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
39471         Likewise.
39472         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
39473         Likewise.
39475 2014-10-30  Roland McGrath  <roland@hack.frob.com>
39477         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
39478         after defining inlines.  Instead, just use parens to defeat macro
39479         expansion of __isctype in its declaration.
39481 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
39483         * include/sys/uio.h (__libc_readv): Remove declaration.
39484         (__libc_writev): Likewise.
39485         * misc/readv.c (__libc_readv): Rename to __readv.
39486         (__readv): Do not define as alias.
39487         (readv): Define as alias of __readv.
39488         * misc/writev.c (__libc_writev): Rename to __writev.
39489         (__writev): Do not define as alias.
39490         (writev): Define as alias of __writev.
39491         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
39492         (__readv): Do not define as alias.
39493         (readv): Define unconditionally as alias of __readv.
39494         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
39495         (__writev): Do not define as alias.
39496         (writev): Define unconditionally as alias of __writev.
39497         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
39498         name.
39499         (writev): Do not define __libc_writev name.
39501 2014-10-30  Roland McGrath  <roland@hack.frob.com>
39503         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
39504         (convert_charseq): New function, broken out of ...
39505         (use_from_charmap): ... here.  Call it.
39506         (use_to_charmap): Use convert_charseq and free instead of duplicating
39507         its code with a variable-length stack struct.
39509 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
39511         * include/fcntl.h (__libc_creat): Remove declaration.
39512         * io/creat.c (__libc_creat): Rename to creat.
39513         (creat): Do not define as alias.
39514         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
39515         of creat instead of __libc_creat.
39516         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
39517         to creat.
39518         (creat): Do not define as alias.
39519         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
39520         __libc_creat.
39521         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
39522         __libc_creat name.
39523         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
39524         Likewise.
39526 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
39528         * manual/llio.texi: Add comments discussing why write() may be
39529         considered MT-unsafe on Linux.
39531 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
39533         * dl-load.c (local_strdup): Remove.
39534         (expand_dynamic_string_token): Use __strdup.
39535         (decompose_rpath): Likewise.
39536         (_dl_map_object): Likewise.
39538 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
39540         [BZ #14132]
39541         * sysdeps/generic/unwind-dw2-fde.c
39542         (__register_frame_info_bases_internal): Do not declare.
39543         (__register_frame_info_table_bases_internal): Likewise.
39544         (__deregister_frame_info_bases_internal): Likewise.
39545         (__register_frame_info_bases): Declare and use hidden_proto before
39546         definition.  Use hidden_def instead of INTDEF.
39547         (__register_frame_info_table_bases): Likewise.
39548         (__deregister_frame_info_bases): Likewise.
39549         (__register_frame_info): Do not use INTUSE.
39550         (__register_frame): Likewise.
39551         (__register_frame_info_table): Likewise.
39552         (__register_frame_table): Likewise.
39553         (__deregister_frame_info): Likewise.
39554         (__deregister_frame): Likewise.
39556 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
39558         * sysdeps/unix/sysv/linux/arm/kernel-features.h
39559         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
39560         not undefine.
39561         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
39562         Likewise.
39563         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
39564         Likewise.
39566 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
39568         [BZ #14138]
39569         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
39570         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
39571         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
39572         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
39573         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
39574         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
39575         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
39576         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
39577         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
39578         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
39579         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
39580         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
39581         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
39582         syscall.
39583         (setfsuid): Likewise.
39584         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
39585         (setfsuid): Likewise.
39586         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
39587         (setfsuid): Likewise.
39588         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
39589         Likewise.
39590         (setfsuid): Likewise.
39591         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
39592         (setfsuid): Likewise.
39593         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
39594         Likewise.
39595         (setfsuid): Likewise.
39597 2014-10-27  Andreas Schwab  <schwab@suse.de>
39599         [BZ #17501]
39600         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
39601         check for Slow_SSE4_2 feature bit.
39602         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
39603         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
39604         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
39605         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
39607 2014-10-24  Roland McGrath  <roland@hack.frob.com>
39609         * configure.ac: Validate compiler version with a empirical test of
39610         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
39611         $CC -v output.
39612         * configure: Regenerated.
39614         * inet/htons.c (htons): Prototypify.
39615         * inet/htonl.c (htonl): Likewise.
39617 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
39619         * string/strncat.c (strncat): Improve performance by using strlen.
39621 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
39623         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
39625 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
39627         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
39628         Call libc_fetestexcept_aarch64.
39630 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
39632         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
39633         Call libc_feholdexcept_aarch64.
39635 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
39637         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
39638         Call get_rounding_mode.
39640 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
39642         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
39643         Simplify logic.
39645 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
39647         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
39648         Simplify logic.
39650 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
39652         [BZ #14138]
39653         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
39654         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
39655         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
39656         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
39657         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
39658         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
39659         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
39660         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
39661         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
39662         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
39663         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
39664         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
39665         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
39666         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
39667         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
39668         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
39669         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
39670         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
39671         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
39672         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
39673         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
39674         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
39675         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
39676         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
39677         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
39678         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
39679         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
39680         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
39681         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
39682         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
39683         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
39684         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
39685         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
39686         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
39687         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
39688         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
39689         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
39690         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
39691         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
39692         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
39693         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
39694         syscall.
39695         (geteuid): Likewise.
39696         (getgid): Likewise.
39697         (getuid): Likewise.
39698         (getresgid): Likewise.
39699         (getresuid): Likewise.
39700         (getgroups): Likewise.
39701         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
39702         (geteuid): Likewise.
39703         (getgid): Likewise.
39704         (getuid): Likewise.
39705         (getresgid): Likewise.
39706         (getresuid): Likewise.
39707         (getgroups): Likewise.
39708         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
39709         (geteuid): Likewise.
39710         (getgid): Likewise.
39711         (getuid): Likewise.
39712         (getresgid): Likewise.
39713         (getresuid): Likewise.
39714         (getgroups): Likewise.
39715         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
39716         Likewise.
39717         (geteuid): Likewise.
39718         (getgid): Likewise.
39719         (getuid): Likewise.
39720         (getresgid): Likewise.
39721         (getresuid): Likewise.
39722         (getgroups): Likewise.
39723         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
39724         (geteuid): Likewise.
39725         (getgid): Likewise.
39726         (getuid): Likewise.
39727         (getresgid): Likewise.
39728         (getresuid): Likewise.
39729         (getgroups): Likewise.
39730         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
39731         Likewise.
39732         (geteuid): Likewise.
39733         (getgid): Likewise.
39734         (getuid): Likewise.
39735         (getgroups): Likewise.
39737         [BZ #14138]
39738         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
39739         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
39740         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
39741         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
39742         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
39743         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
39744         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
39745         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
39746         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
39747         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
39748         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
39749         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
39750         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
39751         __chown.
39752         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
39753         (lchown): Likewise.
39754         (fchown): Likewise.
39755         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
39756         Likewise.
39757         (lchown): Likewise.
39758         (fchown): Likewise.
39759         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
39760         (lchown): Likewise.
39761         (fchown): Likewise.
39762         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
39763         Likewise.
39764         (lchown): Likewise.
39765         (fchown): Likewise.
39767 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
39769         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
39770         Simplify logic.
39772 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
39774         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
39775         Cleanup logic.
39777 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
39779         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
39780         Remove unused include.
39782 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
39784         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
39785         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
39786         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
39787         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
39789 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
39790             Helge Deller <deller@gmx.de>
39792         [BZ #17508]
39793         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
39794         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
39795         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
39797 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
39799         [BZ #14132]
39800         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
39801         Remove macro definition.
39802         (__ashrdi3_v_glibc20): Likewise.
39803         (__lshrdi3_v_glibc20): Likewise.
39804         (__cmpdi2_v_glibc20): Likewise.
39805         (__ucmpdi2_v_glibc20): Likewise.
39806         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
39807         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
39808         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
39809         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
39810         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
39811         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
39813 2014-10-22  Roland McGrath  <roland@hack.frob.com>
39815         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
39816         old GNU extension [0] syntax.
39817         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
39818         alloca rather than an array member with variable length.
39819         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
39820         * nscd/nscd.c (invalidate_db): New function, broken out of ...
39821         (parse_opt): ... here.  Likewise use alloca there.
39822         Validate the -i argument before checking for rootness.
39823         (send_shutdown): New function, broken out of ...
39824         (parse_opt): ... here.
39826 2014-10-22  Roland McGrath  <roland@hack.frob.com>
39828         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
39829         macro to get at the _rt_local_ro field.
39830         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
39831         ([PIC] case) or _dl_hwcap ([!PIC] case).
39832         * sysdeps/arm/setjmp.S: Likewise.
39834         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
39835         * sysdeps/arm/configure.ac: New check to define it.
39836         * sysdeps/arm/configure: Regenerated.
39837         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
39838         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
39839         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
39840         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
39841         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
39842         Use move/movt pair instead of a load.
39843         (LDST_GLOBAL): Macro removed.
39844         (LDR_GLOBAL): New macro replaces it.
39845         (LDR_HIDDEN): New macro.
39846         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
39847         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
39849         * setjmp/tst-setjmp-static.c: New file.
39850         * setjmp/Makefile (tests): Add it.
39851         (tests-static): New variable.
39853 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
39855         [BZ #17485]
39856         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
39858 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
39860         [BZ #14132]
39861         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
39863 2014-10-21  Roland McGrath  <roland@hack.frob.com>
39865         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
39867 2014-10-20  Roland McGrath  <roland@hack.frob.com>
39869         * io/fts.c (dirent_not_directory): New function.
39870         (fts_build): Call it.
39872 2014-10-20  Roland McGrath  <roland@hack.frob.com>
39874         * nptl/version.c (__nptl_main): Use normal __write rather than
39875         INTERNAL_SYSCALL.
39876         (banner): Update copyright years.
39878         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
39879         gettimeofday.
39880         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
39881         * nptl/pthread_cond_timedwait.c: Likewise.
39882         * nptl/pthread_mutex_timedlock.c: Likewise.
39883         * nptl/sem_timedwait.c: Likewise.
39885         * sysdeps/nptl/bits/libc-lock.h
39886         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
39887         (__libc_lock_init_recursive): Return void, not 0.
39888         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
39889         (__libc_rwlock_init): Likewise.
39890         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
39892 2014-10-20  Torvald Riegel  <triegel@redhat.com>
39894         [BZ #15215]
39895         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
39896         (__pthread_once_slow): ... here.
39897         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
39898         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
39900 2014-10-20  Torvald Riegel  <triegel@redhat.com>
39902         [BZ #15215]
39903         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
39904         __PTHREAD_ONCE_FORK_GEN_INCR): New.
39905         * sysdeps/nptl/fork.c (__libc_fork): Use them.
39906         * nptl/pthread_once.c (__pthread_once): Likewise.
39907         Update comments.
39909 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
39911         [BZ #14138]
39912         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
39913         name.
39914         (writev): Use __libc_writev as strong name.
39915         * sysdeps/unix/sysv/linux/readv.c: Remove file.
39916         * sysdeps/unix/sysv/linux/writev.c: Likewise.
39918 2014-10-17  Roland McGrath  <roland@hack.frob.com>
39920         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
39922         * sysdeps/i386/nptl/tls.h
39923         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
39924         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
39925         New macros.
39926         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
39927         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
39928         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
39929         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
39930         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
39931         Call CHECK_THREAD_SYSINFO instead of doing an assert.
39933         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
39934         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
39935         on [__NR_futex].
39936         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
39937         broken out of ...
39938         (__pthread_mutex_init): ... here.  Call it.
39939         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
39940         Conditionalize PI cases on [__NR_futex].
39941         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
39942         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
39943         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
39945         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
39946         conditional on [SIGSETXID].
39947         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
39948         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
39949         is defined.  Likewise for SIGSETXID.
39950         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
39951         Conditionalize definitions on [SIGSETXID].
39952         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
39953         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
39954         unblocking on [SIGCANCEL].
39956         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
39957         [__NR_set_robust_list].
39959 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
39961         * string/strcoll_l.c (get_next_seq): Fix up formatting.
39962         (do_compare): Likewise.
39964 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
39966         [BZ #15884]
39967         * string/strcoll_l.c: Don't include stdio.h.
39968         (coll_seq): Remove members idxarr and rulearr.
39969         (get_next_seq_cached): Remove function.
39970         (get_next_seq): Likewise.
39971         (get_next_seq_nocache): Rename to get_next_seq.
39972         (do_compare): Remove function.
39973         (do_compare_nocache): Rename to do_compare.
39974         (STRCOLL): Remove weight and rules cache.
39976 2014-10-16  Roland McGrath  <roland@hack.frob.com>
39978         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
39979         * sysdeps/arm/sfp-machine.h: ... to here.
39980         * sysdeps/arm/Implies: Remove arm/soft-fp.
39982 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
39984         * conform/data/sys/utsname.h-data (*_t): Allow.
39985         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
39986         [POSIX] (WEXITED): Do not expect constant.
39987         [POSIX] (WSTOPPED): Likewise.
39988         [POSIX] (WNOHANG): Likewise.
39989         [POSIX] (WNOWAIT): Likewise.
39990         [POSIX] (siginfo_t): Do not expect type or elements.
39991         [POSIX] (pid_t): Do not expect type.
39992         [POSIX] (signal.h): Do not allow header.
39993         [POSIX] (sys/resource.h): Likewise.
39994         [POSIX] (si_*): Do not allow pattern.
39995         [POSIX] (W*): Likewise.
39996         [POSIX] (P_*): Likewise.
39997         [POSIX] (BUS_*): Likewise.
39998         [POSIX] (CLD_*): Likewise.
39999         [POSIX] (FPE_*): Likewise.
40000         [POSIX] (ILL_*): Likewise.
40001         [POSIX] (POLL_*): Likewise.
40002         [POSIX] (SEGV_*): Likewise.
40003         [POSIX] (SI_*): Likewise.
40004         [POSIX] (TRAP_*): Likewise.
40005         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
40006         variable.
40008 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
40010         [BZ #12926]
40011         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
40012         infinite loop when __recvmsg returns 0.
40014 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
40016         * CANCEL-FCT-WAIVE: Remove file.
40017         * CANCEL-FILE-WAIVE: Likewise.
40019         [BZ #14132]
40020         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
40021         instead of INTVARDEF.
40022         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
40023         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
40024         rtld_hidden_data_def instead of INTVARDEF.
40025         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
40026         * elf/dl-deps.c (expand_dst): Likewise.
40027         * elf/dl-load.c (_dl_dst_count): Likewise.
40028         (_dl_dst_substitute): Likewise.
40029         (decompose_rpath): Likewise.
40030         (_dl_init_paths): Likewise.
40031         (open_path): Likewise.
40032         (_dl_map_object): Likewise.
40033         * elf/rtld.c (dl_main): Likewise.
40034         (process_dl_audit): Likewise.
40035         (process_envvars): Likewise.
40036         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
40037         Remove declaration.
40038         (__libc_enable_secure): Use rtld_hidden_proto.
40040 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
40042         * elf/dl-load.c
40043         (add_path): New function broken out of _dl_rtld_di_serinfo.
40044         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
40046 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
40048         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
40049         parentheses around macro arguments.
40050         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
40051         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
40052         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
40053         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
40054         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
40055         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
40056         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
40057         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
40058         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
40059         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
40060         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
40061         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
40062         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
40063         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
40064         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
40065         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
40066         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
40067         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
40068         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
40069         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
40070         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
40071         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
40072         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
40073         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
40074         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
40075         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
40076         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
40077         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
40078         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
40079         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
40080         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
40081         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
40082         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
40083         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
40084         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
40085         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
40086         Likewise.
40087         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
40088         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
40089         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
40090         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
40091         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
40092         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
40093         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
40094         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
40095         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
40096         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
40097         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
40098         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
40099         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
40100         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
40101         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
40102         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
40103         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
40104         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
40105         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
40106         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
40107         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
40108         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
40109         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
40110         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
40111         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
40112         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
40113         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
40114         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
40115         (_FP_FRAC_SRS_1): Likewise.
40116         (_FP_FRAC_CLZ_1): Likewise.
40117         (_FP_MUL_MEAT_1_imm): Likewise.
40118         (_FP_MUL_MEAT_1_wide): Likewise.
40119         (_FP_MUL_MEAT_1_hard): Likewise.
40120         (_FP_SQRT_MEAT_1): Likewise.
40121         (_FP_FRAC_ASSEMBLE_1): Likewise.
40122         (_FP_FRAC_DISASSEMBLE_1): Likewise.
40123         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
40124         (__FP_CLZ_2): Likewise.
40125         (_FP_MUL_MEAT_2_wide): Likewise.
40126         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
40127         (_FP_MUL_MEAT_2_gmp): Likewise.
40128         (_FP_MUL_MEAT_2_120_240_double): Likewise.
40129         (_FP_SQRT_MEAT_2): Likewise.
40130         (_FP_FRAC_ASSEMBLE_2): Likewise.
40131         (_FP_FRAC_DISASSEMBLE_2): Likewise.
40132         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
40133         (_FP_FRAC_CLZ_4): Likewise.
40134         (_FP_MUL_MEAT_4_wide): Likewise.
40135         (_FP_MUL_MEAT_4_gmp): Likewise.
40136         (_FP_SQRT_MEAT_4): Likewise.
40137         (_FP_FRAC_ASSEMBLE_4): Likewise.
40138         (_FP_FRAC_DISASSEMBLE_4): Likewise.
40139         * soft-fp/op-common.h (_FP_CMP): Likewise.
40140         (_FP_CMP_EQ): Likewise.
40141         (_FP_CMP_UNORD): Likewise.
40142         (_FP_TO_INT): Likewise.
40143         (_FP_FROM_INT): Likewise.
40144         [!__FP_CLZ] (__FP_CLZ): Likewise.
40145         (_FP_DIV_HELP_imm): Likewise.
40146         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
40147         Likewise.
40148         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
40149         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
40150         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
40151         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
40152         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
40153         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
40154         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
40155         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
40156         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
40157         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
40158         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
40159         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
40160         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
40161         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
40162         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
40163         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
40164         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
40165         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
40166         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
40167         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
40168         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
40169         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
40170         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
40171         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
40172         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
40173         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
40174         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
40175         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
40176         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
40177         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
40178         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
40179         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
40180         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
40181         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
40182         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
40183         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
40184         (FP_UNPACK_RAW_SP): Likewise.
40185         (FP_PACK_RAW_S): Likewise.
40186         (FP_PACK_RAW_SP): Likewise.
40187         (FP_UNPACK_S): Likewise.
40188         (FP_UNPACK_SP): Likewise.
40189         (FP_UNPACK_SEMIRAW_S): Likewise.
40190         (FP_UNPACK_SEMIRAW_SP): Likewise.
40191         (FP_PACK_S): Likewise.
40192         (FP_PACK_SP): Likewise.
40193         (FP_PACK_SEMIRAW_S): Likewise.
40194         (FP_PACK_SEMIRAW_SP): Likewise.
40195         (_FP_SQRT_MEAT_S): Likewise.
40196         (FP_CMP_S): Likewise.
40197         (FP_CMP_EQ_S): Likewise.
40198         (FP_CMP_UNORD_S): Likewise.
40199         (FP_TO_INT_S): Likewise.
40200         (FP_FROM_INT_S): Likewise.
40202         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
40204         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
40205         (FP_EX_INVALID_IMZ): Likewise.
40206         (FP_EX_INVALID_IMZ_FMA): Likewise.
40207         (FP_EX_INVALID_ISI): Likewise.
40208         (FP_EX_INVALID_ZDZ): Likewise.
40209         (FP_EX_INVALID_IDI): Likewise.
40210         (FP_EX_INVALID_SQRT): Likewise.
40211         (FP_EX_INVALID_CVI): Likewise.
40212         (FP_EX_INVALID_VC): Likewise.
40213         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
40214         "invalid" exceptions.
40215         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
40216         (_FP_ADD_INTERNAL): Likewise.
40217         (_FP_MUL): Likewise.
40218         (_FP_FMA): Likewise.
40219         (_FP_DIV): Likewise.
40220         (_FP_CMP_CHECK_NAN): Likewise.
40221         (_FP_SQRT): Likewise.
40222         (_FP_TO_INT): Likewise.
40223         (FP_EXTEND): Likewise.
40225 2014-10-09  Allan McRae  <allan@archlinux.org>
40227         * po/fr.po: Update French translation from translation project.
40229 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
40231         [BZ #14132]
40232         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
40233         of INTDEF.
40234         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
40235         (__cxa_atexit): Use libc_hidden_proto.
40236         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
40238         [BZ #14132]
40239         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
40240         declaration.
40241         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
40242         [!_ISOMAC] (__iswspace_l_internal): Likewise.
40243         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
40244         [!_ISOMAC] (__iswctype_internal): Likewise.
40245         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
40246         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
40247         alias.
40248         (fcntl): Remove __fcntl_internal alias.
40249         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
40250         __connect_internal alias.
40251         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
40252         Likewise.
40254         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
40255         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
40256         FP_DENORM_ZERO.
40257         (_FP_CHECK_FLUSH_ZERO): New macro.
40258         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
40259         (_FP_CMP): Likewise.
40260         (_FP_CMP_EQ): Likewise.
40261         (_FP_TO_INT): Do not set inexact for subnormal arguments if
40262         FP_DENORM_ZERO.
40263         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
40264         (FP_TRUNC): Likewise.
40266         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
40267         treated as invalid conversion, not as normal exponent.
40269         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
40270         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
40271         (_FP_CMP_EQ): Likewise.
40272         (_FP_CMP_UNORD): Likewise.
40273         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
40274         (FP_CMP_EQ_D): Likewise.
40275         (FP_CMP_UNORD_D): Likewise.
40276         * soft-fp/extended.h (FP_CMP_E): Likewise.
40277         (FP_CMP_EQ_E): Likewise.
40278         (FP_CMP_UNORD_E): Likewise.
40279         * soft-fp/quad.h (FP_CMP_Q): Likewise.
40280         (FP_CMP_EQ_Q): Likewise.
40281         (FP_CMP_UNORD_Q): Likewise.
40282         * soft-fp/single.h (FP_CMP_S): Likewise.
40283         (FP_CMP_EQ_S): Likewise.
40284         (FP_CMP_UNORD_S): Likewise.
40285         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
40286         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
40287         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
40288         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
40289         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
40290         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
40291         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
40292         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
40293         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
40294         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
40295         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
40296         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
40297         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
40298         to FP_CMP_Q.
40299         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
40300         FP_CMP_Q.
40301         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
40302         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
40303         FP_CMP_EQ_Q.
40304         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
40305         FP_CMP_Q.
40306         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
40307         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
40308         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
40309         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
40310         FP_CMP_EQ_Q.
40311         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
40312         FP_CMP_Q.
40313         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
40314         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
40315         FP_CMP_EQ_Q.
40316         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
40317         FP_CMP_Q.
40318         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
40319         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
40320         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
40321         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
40322         FP_CMP_EQ_Q.
40324         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
40325         a subnormal result, set the underflow exception if trapping on
40326         underflow is enabled.
40327         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
40328         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
40329         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
40330         redefine to 0.
40331         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
40332         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
40333         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
40334         * soft-fp/extendxftf2.c (__extendxftf2): Use
40335         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
40337         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
40338         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
40339         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
40340         FP_HANDLE_EXCEPTIONS.
40341         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
40342         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
40343         FP_HANDLE_EXCEPTIONS.
40344         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
40345         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
40346         FP_HANDLE_EXCEPTIONS.
40347         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
40348         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
40349         FP_HANDLE_EXCEPTIONS.
40351 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
40353         [BZ #14132]
40354         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
40355         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
40356         use INTUSE.
40357         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
40358         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
40359         Remove alias.
40360         (__adjtimex): Define using libc_hidden_ver.
40361         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
40362         Remove declaration.
40363         (ntp_gettime): Call __adjtimex directly.
40364         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
40365         Remove declaration.
40366         (ntp_gettimex): Call __adjtimex directly.
40367         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
40368         __adjtimex_internal alias.
40370 2014-10-08  Roland McGrath  <roland@hack.frob.com>
40372         [BZ #17460]
40373         * nscd/nscd.c (more_help): Rewrite list of tables collection
40374         using xstrdup and asprintf.
40376         * nscd/nscd_conf.c: Remove local xstrdup declaration.
40378 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
40379             Roland McGrath  <roland@hack.frob.com>
40381         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
40382         (do_lookup_unique): ... local function 'enter' here; update callers.
40384 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
40386         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
40387         compat_symbol calls on [SHARED].
40388         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
40389         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
40390         Remove.
40391         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
40392         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
40393         (oldsetrlimit): Remove.
40394         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
40395         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
40396         (lchown): New syscall entry.
40397         (oldsetrlimit): Remove.
40398         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
40399         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
40400         (oldsetrlimit): Remove.
40401         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
40403         [BZ #14138]
40404         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
40405         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
40406         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
40407         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
40408         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
40409         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
40410         (fchown): Likewise.
40411         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
40412         (fchown): Likewise.
40413         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
40414         Likewise.
40416 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40418         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
40419         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
40420         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
40421         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
40422         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
40423         Likewise.
40424         (__old_sem_post): Likewise.
40426 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
40428         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
40429         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
40430         HAVE_CLOCK_GETTIME_VSYSCALL macros.
40431         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
40432         Use INLINE_VSYSCALL macro.
40433         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
40434         __vdso_clock_gettime.
40435         * sysdeps/unix/sysv/linux/tile/init-first.c
40436         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
40437         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
40438         __vdso_clock_gettime.
40440         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
40441         to set up frame more cleanly.
40443         * sysdeps/tile/memcmp.c: New file.
40445         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
40447         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
40448         * sysdeps/tile/tilegx/strcasestr.c: New file.
40449         * sysdeps/tile/tilegx/strnlen.c: New file.
40450         * sysdeps/tile/tilegx/strstr.c: New file.
40452         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
40454 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
40456         * nptl/tst-setuid3.c: Write errors to stdout.
40458 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
40460         * elf/dl-deps.c
40461         (preload): New functions broken out of _dl_map_object_deps.
40462         (_dl_map_object_deps):  Remove a nested function. Update call sites.
40464 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
40466         [BZ #14138]
40467         * sysdeps/unix/sysv/linux/execve.c: Remove file.
40468         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
40470 2014-10-01  Steve Ellcey  <sellcey@mips.com>
40472         * sysdeps/mips/strcmp.S: New.
40474 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
40476         [BZ #14138]
40477         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
40478         (linkat): Likewise.
40479         (mkdirat): Likewise.
40480         (readlinkat): Likewise.
40481         (renameat): Likewise.
40482         (symlinkat): Likewise.
40483         (unlinkat): Likewise.
40484         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
40485         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
40486         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
40487         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
40488         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
40489         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
40490         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
40492 2014-09-30  Will Newton  <will.newton@linaro.org>
40494         * math/math.h: Define long double math functions if
40495         _LIBC_TEST is defined.
40496         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
40498         * localedata/Makefile: Move assignment to tests-special
40499         into an ifdef testing run-built-tests.
40500         * timezone/Makefile: Likewise.
40502 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
40504         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
40505         with $(BASH) not $(SHELL).
40507 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
40508             Matthew LeGendre  <legendre1@llnl.gov>
40510         [BZ #17411]
40511         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
40512         l_reloc_result.
40514 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
40516         * stdio-common/printf_fp.c
40517         (hack_digit): New function, broken out of ...
40518         (__printf_fp): ... local function here.  Update call sites.
40519         hack_digit now takes an additional parameter that is a pointer
40520         to a struct of the referenced locals.  Those locals moved inside
40521         the struct and references updated.
40523 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
40525         * aclocal.m4: Require autoconf 2.69.
40526         * configure: Regenerated.
40527         * sysdeps/aarch64/configure: Likewise.
40528         * sysdeps/alpha/configure: Likewise.
40529         * sysdeps/arm/armv7/configure: Likewise.
40530         * sysdeps/arm/configure: Likewise.
40531         * sysdeps/ia64/configure: Likewise.
40532         * sysdeps/mach/configure: Likewise.
40533         * sysdeps/mips/configure: Likewise.
40534         * sysdeps/s390/configure: Likewise.
40535         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
40536         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
40538         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
40539         file.
40540         * sysdeps/ia64/configure.ac: Likewise.
40542 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
40544         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
40545         specify symbol version for ld.so.  Do not include entry for
40546         libpthread.
40547         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
40548         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
40549         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
40551         [BZ #14171]
40552         * Makeconfig [$(build-shared) = yes]
40553         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
40554         makefiles.
40555         [$(build-shared) = yes && $(soversions.mk-done) = t]
40556         ($(common-objpfx)gnu/lib-names.h): Remove rule.
40557         [$(build-shared) = yes && $(soversions.mk-done) = t]
40558         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
40559         to Makerules.
40560         [$(build-shared) = yes && $(soversions.mk-done) = t]
40561         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
40562         here.
40563         [$(build-shared) = yes && $(soversions.mk-done) = t]
40564         (common-generated): Don't append gnu/lib-names.h and
40565         gnu/lib-names.stmp here.
40566         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
40567         (lib-names-h-abi): New variable.
40568         [$(build-shared) = yes && $(soversions.mk-done) = t]
40569         (lib-names-stmp-abi): Likewise.
40570         [$(build-shared) = yes && $(soversions.mk-done) = t &&
40571         abi-variants] (before-compile): Append
40572         $(common-objpfx)$(lib-names-h-abi).
40573         [$(build-shared) = yes && $(soversions.mk-done) = t &&
40574         abi-variants] (common-generated): Append gnu/lib-names.h.
40575         [$(build-shared) = yes && $(soversions.mk-done) = t &&
40576         abi-variants] (install-others-nosubdir): Depend on
40577         $(inst_includedir)/$(lib-names-h-abi).
40578         [$(build-shared) = yes && $(soversions.mk-done) = t &&
40579         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
40580         [$(build-shared) = yes && $(soversions.mk-done) = t]
40581         ($(common-objpfx)$(lib-names-h-abi)): New rule.
40582         [$(build-shared) = yes && $(soversions.mk-done) = t]
40583         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
40584         [$(build-shared) = yes && $(soversions.mk-done) = t]
40585         (common-generated): Append $(lib-names-h-abi) and
40586         $(lib-names-stmp-abi).
40587         * scripts/lib-names.awk: Do not handle multi being set.
40588         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
40589         Remove variable.
40590         (abi-lp64_be-ld-soname): Likewise.
40591         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
40592         Likewise.
40593         (abi-hard-ld-soname): Likewise.
40594         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
40595         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
40596         Remove variable.
40597         (abi-o32_hard-ld-soname): Likewise.
40598         (abi-o32_soft_2008-ld-soname): Likewise.
40599         (abi-o32_hard_2008-ld-soname): Likewise.
40600         (abi-n32_soft-ld-soname): Likewise.
40601         (abi-n32_hard-ld-soname): Likewise.
40602         (abi-n32_soft_2008-ld-soname): Likewise.
40603         (abi-n32_hard_2008-ld-soname): Likewise.
40604         (abi-n64_soft-ld-soname): Likewise.
40605         (abi-n64_hard-ld-soname): Likewise.
40606         (abi-n64_soft_2008-ld-soname): Likewise.
40607         (abi-n64_hard_2008-ld-soname): Likewise.
40608         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
40609         Likewise.
40610         (abi-64-v2-ld-soname): Likewise.
40611         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
40612         ld.so entries.
40613         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
40614         variable.
40615         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
40616         entry.
40617         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
40618         variable.
40619         (abi-64-ld-soname): Likewise.
40620         (abi-x32-ld-soname): Likewise.
40621         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
40622         entry.
40623         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
40625 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
40627         [BZ #14138]
40628         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
40629         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
40630         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
40631         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
40632         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
40633         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
40634         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
40635         syscall entry for GLIBC_2.2 symbol version.
40636         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
40637         Likewise.
40638         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
40639         (setrlimit): Likewise.
40640         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
40641         Likewise.
40643 2014-09-23  Will Newton  <will.newton@linaro.org>
40645         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
40646         _LINUX_ARM_SYSDEP_H include guard too.
40647         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
40648         define.
40650 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
40652         * sysdeps/unix/sysv/linux/eventfd.c:
40653         Make first argument unsigned.
40654         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
40655         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
40657 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
40659         [BZ #16852]
40660         * socket/recvmmsg.c (recvmmsg): Drop const argument.
40661         * socket/sys/socket.h: Likewise.
40662         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
40664 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
40666         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
40668 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
40670         * time/tst-ftime.c: New test.
40671         * time/Makefile (tests): Add tst-ftime.
40673 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
40675         * soft-fp/extended.h: Fix comment formatting.
40676         * soft-fp/op-1.h: Likewise.
40677         * soft-fp/op-2.h: Likewise.
40678         * soft-fp/op-4.h: Likewise.
40679         * soft-fp/op-8.h: Likewise.
40680         * soft-fp/op-common.h: Likewise.
40681         * soft-fp/soft-fp.h: Likewise.
40683         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
40685 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
40687         [BZ #6652]
40688         * Makeconfig (soversions-default-setname): Remove variable.
40689         ($(common-objpfx)soversions.i): Don't pass default_setname to
40690         soversions.awk.
40691         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
40692         oldest_abi to abi-versions.awk.
40693         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
40694         * config.make.in (oldest-abi): Remove variable.
40695         * configure.ac (--enable-oldest-abi): Remove configure option.
40696         * configure: Regenerated.
40697         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
40698         text.
40699         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
40700         * scripts/soversions.awk: Do not handle default_setname variable.
40701         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
40702         variable.
40703         * sysdeps/mach/hurd/configure: Regenerated.
40704         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
40705         variable.
40706         * sysdeps/unix/sysv/linux/configure: Regenerated.
40708 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
40710         * elf/Makefile (CFLAGS-interp.c): Remove.
40711         ($(elf-objpfx)runtime-linker.h): Generate header with linker
40712         path string.
40713         * elf/interp.c: Include generated runtime-linker.h
40715         * Makerules (lib%.so): Don't include $(+interp) in
40716         prerequisites.
40717         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
40718         * dlfcn/eval.c: Remove file.
40720         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
40721         macros.
40723         [BZ #17266]
40724         * misc/sys/cdefs.h: Define __extern_always_inline for clang
40725         4.2 and newer.
40727         [BZ #17370]
40728         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
40730 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
40731             Jakub Jelinek  <jakub@redhat.com>
40733         [BZ #17266]
40734         * libio/stdio.h: Check definition of __fortify_function
40735         instead of __extern_always_inline to include bits/stdio2.h.
40736         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
40737         check if __extern_always_inline is defined.
40738         [__USE_MISC || __USE_XOPEN]: Likewise.
40739         [__USE_ISOC99] Likewise.
40740         * misc/sys/cdefs.h (__fortify_function): Define only if
40741         __extern_always_inline is defined.
40742         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
40743         __extern_always_inline and __extern_inline only for g++-4.3
40744         and newer or a compatible gcc.
40746 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
40748         [BZ #17371]
40749         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
40750         last change to handle zero prefix length.
40752 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
40754         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
40755         _SC_REGEX_VERSION.
40757         * posix/getconf.c (vars): Add _POSIX_IPV6 and
40758         _POSIX_RAW_SOCKETS.
40760 2014-09-13  Allan McRae  <allan@archlinux.org>
40762         * po/ru.po: Update Russian translation from translation project.
40764 2014-09-12  Roland McGrath  <roland@hack.frob.com>
40766         * locale/programs/locale.c (show_locale_vars): Inline local function
40767         into its sole call site.  Clean up some style nits.
40768         (print_item): New function, broken out of ...
40769         (show_info): ... local function here.  Clean up style nits.
40771         * locale/programs/ld-ctype.c (set_one_default): New function, broken
40772         out of ...
40773         (set_class_defaults): ... local function set_default here.
40774         Define set_default as a macro locally to pass constant parameters.
40775         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
40776         rather than a shared local.
40778         * stdlib/rpmatch.c (try): New function, broken out of ...
40779         (rpmatch): ... local function here.  Also, prototypify definition.
40781 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
40783         * scripts/soversions.awk: Do not handle configuration names.
40784         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
40785         vendor and os variables to soversions.awk.
40786         * configure.ac: Do not modify gnu-* host_os.
40787         * configure: Regenerated
40788         * shlib-versions: Remove first column with configuration names.
40789         * nptl/shlib-versions: Likewise.
40790         * nptl_db/shlib-versions: Likewise.
40791         * sysdeps/hppa/shlib-versions: Likewise.
40792         * sysdeps/m68k/shlib-versions: Likewise.
40793         * sysdeps/mach/hurd/shlib-versions: Likewise.
40794         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
40795         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
40796         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
40797         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
40798         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
40799         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
40800         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
40801         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
40802         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
40803         Likewise.
40804         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
40805         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
40806         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
40807         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
40808         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
40809         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
40810         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
40811         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
40813         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
40814         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
40815         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
40816         Regenerated.
40817         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
40818         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
40819         Condition symbol version definitions on [HAVE_ELFV2_ABI].
40821         * shlib-versions: Remove OS-specific entries.  Moved to files in
40822         sysdeps.
40823         * sysdeps/mach/hurd/shlib-versions: New file.
40824         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
40826         * nptl/shlib-versions: Remove architecture-specific entries.
40827         Moved to files in sysdeps.
40828         * shlib-versions: Likewise.
40829         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
40830         file.
40831         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
40832         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
40833         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
40834         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
40836         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
40837         (UDP_NO_CHECK6_RX): Likewise.
40839 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
40841         * sysdeps/posix/sysconf.c (__sysconf): Spell
40842         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
40844 2014-08-12  Florian Weimer  <fweimer@redhat.com>
40846         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
40847         loading.
40848         * iconv/Versions (__gconv_transliterate): Export for use from
40849         gconv modules.
40850         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
40851         (struct __gconv_trans_data, __gconv_trans_fct,
40852         __gconv_trans_context_fct, __gconv_trans_query_fct,
40853         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
40854         definitions.
40855         (struct __gconv_step_data): Remove __trans member.
40856         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
40857         longer hidden.  Remove unused trans_data argument.
40858         * iconv/gconv_int.h (struct trans_struct): Remove definition.
40859         (__gconv_translit_find): Remove declaration.
40860         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
40861         prototype.
40862         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
40863         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
40864         trans_data argument.  Add hidden definition.
40865         (__gconv_translit_find): Remove.
40866         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
40867         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
40868         * iconv/skeleton.c: Remove transliteration initialization.
40869         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
40870         __gconv_step_data initialization.
40871         * libio/iofwide.c (__libio_translit_): Remove.
40872         (_IO_fwide): Adjust struct __gconv_step_data initialization.
40873         * wcsmbs/btowc.c (__btowc): Likewise.
40874         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
40875         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
40876         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
40877         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
40878         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
40879         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
40880         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
40881         * wcsmbs/wctob.c (wctob): Likewise.
40883 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
40885         [BZ #16194]
40886         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
40887         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
40888         register usage.
40889         * sysdeps/x86/Makefile: Adjust.
40891 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
40892             Roland McGrath  <roland@hack.frob.com>
40894         * locale/weight.h: Add include guard.
40895         (findidx): Make static rather than auto; take new parameters
40896         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
40897         * locale/weightwc.h: Likewise.
40898         * posix/fnmatch_loop.c
40899         (FCT): Change type of EXTRA from int32_t to wint_t.
40900         Don't include either header inside the function.
40901         Call FINDIDX rather than findidx, and pass new arguments.
40902         #undef FINDIDX at the end of the file.
40903         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
40904         FINDIDX before including fnmatch_loop.c for the non-wide version.
40905         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
40906         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
40907         for the wide version.
40908         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
40909         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
40910         Pass new arguments to findidx.
40911         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
40912         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
40913         Don't #include it inside the function.  Pass new arguments to findidx.
40914         * posix/regex_internal.h
40915         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
40916         (re_string_elem_size_at): Don't #include it inside the function.
40917         Pass new arguments to findidx.
40918         * string/strcoll_l.c: #include WEIGHT_H at top level.
40919         (get_next_seq): Don't #include it inside the function.
40920         Pass new arguments to findidx.
40921         (get_next_seq_nocache): Likewise.
40922         * string/strxfrm_l.c: #include WEIGHT_H at top level.
40923         (STRXFRM): Don't #include it inside the function.
40924         Pass new arguments to findidx.
40926 2014-09-11  Florian Weimer  <fweimer@redhat.com>
40928         [BZ #17344]
40929         * malloc/malloc.c (unlink): Turn asserts into a call to
40930         malloc_printerr.
40932 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
40934         [BZ #17370]
40935         * libio/wfileops (do_ftell_wide): Free OUT.
40937 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
40939         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
40941 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
40943         [BZ #17363]
40944         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
40945         group if the current group is empty.
40947 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40949         * benchtests/bench-memset.c (test_main): Add more test from size
40950         from 32 to 512 bytes.
40951         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
40952         Add POWER8 memset object.
40953         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40954         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
40955         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
40956         implementation.
40957         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
40958         Likewise.
40959         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
40960         multiarch POWER8 memset optimization.
40961         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
40962         POWER8 memset optimization.
40964         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
40965         Remove bzero multiarch objects.
40966         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
40967         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
40968         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
40969         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
40970         Remove define.
40971         [__bzero]: Redefine to specific name.
40972         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
40973         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
40974         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
40975         define.
40976         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
40977         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
40979 2014-09-10  Florian Weimer  <fweimer@redhat.com>
40981         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
40982         warnings into errors.
40984         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
40985         __cxa_thread_atexit_impl prototype.
40987 2014-09-09  Steve Ellcey  <sellcey@mips.com>
40989         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
40990         Fix capitalization of error message.
40992 2014-09-09  Steve Ellcey  <sellcey@mips.com>
40994         * sysdeps/mips/preconfigure: Modify ABI tests.
40996 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
40998         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
41000 2014-09-07  Roland McGrath  <roland@hack.frob.com>
41001             Carlos O'Donell  <carlos@systemhalted.org>
41003         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
41004         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
41005         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
41006         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
41007         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
41008         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
41009         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
41010         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
41011         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
41012         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
41013         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
41014         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
41015         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
41016         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
41017         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
41018         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
41019         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
41020         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
41021         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
41022         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
41023         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
41024         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
41025         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
41026         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
41027         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
41028         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
41029         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
41030         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
41031         Deconditionalize the code that was previously under [RESET_PID].
41032         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
41033         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
41034         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
41035         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
41036         include sysdep.h.
41038 2014-09-08  Allan McRae  <allan@archlinux.org>
41040         * version.h (RELEASE): Set to "development".
41041         (VERSION): Set to "2.20.90"
41043 2014-09-07  Allan McRae  <allan@archlinux.org
41045         * version.h (RELEASE): Set to "stable".
41046         (VERSION): Set to "2.20"
41047         * include/features.h (__GLIBC_MINOR__): Set to 20.
41049         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
41050         Liebler.
41052         * po/ko.po: Update Korean translation from translation project.
41054 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
41056         [BZ #17354]
41057         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
41058         macro for handling signed relocations.
41060 2014-09-03  Florian Weimer  <fweimer@redhat.com>
41062         [BZ #17325]
41063         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
41064         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
41065         assert.
41066         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
41067         * iconvdata/ibm935.c (BODY): Likewise.
41068         * iconvdata/ibm937.c (BODY): Likewise.
41069         * iconvdata/ibm939.c (BODY): Likewise.
41070         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
41071         assert.
41072         * iconvdata/Makefile (iconv-test.out): Pass module list to test
41073         script.
41074         * iconvdata/run-iconv-test.sh: New test loop for checking for
41075         decoder crashers.
41077 2014-09-02  Khem Raj  <raj.khem@gmail.com>
41079         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
41080         libm_hidden_ver.
41082 2014-09-01  Allan McRae  <allan@archlinux.org>
41084         * po/eo.po: Update Esperanto translation from translation project.
41086         * po/ca.po: Update Catalan translation from translation project.
41088 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
41090         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
41091         __proc_dostop call.
41093 2014-08-27  Mark Wielaard  <mjw@redhat.com>
41095         [BZ #17319]
41096         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
41097         to call set_thread_area instead of hand written asm.
41098         (__NR_set_thread_area): Removed define.
41099         (TLS_FLAG_WRITABLE): Likewise.
41100         (__ASSUME_SET_THREAD_AREA): Remove check.
41101         (TLS_EBX_ARG): Remove define.
41102         (TLS_LOAD_EBX): Likewise.
41104 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
41106         Simplify atomicity of socket creation in bind.
41108         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
41109         looking up the name after linking the file.
41111 2014-08-27  Allan McRae  <allan@archlinux.org>
41113         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
41115 2014-08-26  Florian Weimer  <fweimer@redhat.com>
41117         [BZ #17187]
41118         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
41119         trans_compare, open_translit, __gconv_translit_find):
41120         Remove module loading code.
41122 2014-08-26  Allan McRae  <allan@archlinux.org>
41124         * po/vi.po: Update Vietnamese translation from translation project.
41126         * po/uk.po: Update Ukrainian translation from translation project.
41128         * po/fr.po: Update French translation from translation project.
41130         * po/ru.po: Update Russian translation from translation project.
41132         * po/pl.po: Update Polish translation from translation project.
41134         * po/cs.po: Update Czech translation from translation project.
41136         * po/de.po: Update German translation from translation project.
41138         * po/bg.po: Update Bulgarian translation from translation project.
41140         * po/sv.po: Update Sweedish translation from translation project.
41142         * po/nl.po: Update Dutch translation from translation project.
41144         * po/es.po: Update Spanish translation from translation project.
41146 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
41148         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
41150         * catgets/Makefile (CPPFLAGS-gencat): Remove.
41151         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
41152         (CPPFLAGS-iconvconfig): Likewise.
41153         * timezone/Makefile (CPPFLAGS-zic): Likewise.
41155         * include/libc-symbols.h: Remove unnecessary check for
41156         NOT_IN_libc.
41157         * nptl/pthreadP.h: Likewise.
41158         * sysdeps/aarch64/setjmp.S: Likewise.
41159         * sysdeps/alpha/setjmp.S: Likewise.
41160         * sysdeps/arm/sysdep.h: Likewise.
41161         * sysdeps/i386/setjmp.S: Likewise.
41162         * sysdeps/m68k/setjmp.c: Likewise.
41163         * sysdeps/posix/getcwd.c: Likewise.
41164         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
41165         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
41166         * sysdeps/s390/s390-32/setjmp.S: Likewise.
41167         * sysdeps/s390/s390-64/setjmp.S: Likewise.
41168         * sysdeps/sh/sh3/setjmp.S: Likewise.
41169         * sysdeps/sh/sh4/setjmp.S: Likewise.
41170         * sysdeps/unix/alpha/sysdep.h: Likewise.
41171         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
41172         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
41173         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
41174         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
41175         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
41176         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
41177         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
41178         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
41179         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
41180         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
41181         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
41182         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
41183         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
41184         * sysdeps/x86_64/setjmp.S: Likewise.
41186 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
41188         [BZ #17263]
41189         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
41190         <stdint.h>.
41191         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
41192         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
41194 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
41196         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
41198         [BZ #17262]
41199         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
41200         and __x86_64__ when disabling x87 inline functions.
41202 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
41204         [BZ #17259]
41205         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
41206         asm statement with __cpuid_count.
41208 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
41210         * configure.ac: Change __ehdr_start code to dereference the struct.
41211         Run readelf on the output to look for relocations.
41212         * configure: Regenerated.
41214 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
41216         [BZ #17261]
41217         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
41218         value to 0.
41219         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
41221 2014-08-12  Roland McGrath  <roland@hack.frob.com>
41223         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
41225 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
41227         [BZ #16892]
41228         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
41229         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
41231 2014-08-12  Sean Anderson  <seanga2@gmail.com>
41233         * malloc/malloc.c: Fix typo in comment.
41235 2014-08-09  Allan McRae  <allan@archlinux.org>
41237         * Regenerate libc.po.
41239 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
41241         * intl/tst-gettext2.sh: Check every lang file for creation.
41243 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
41245         * sysdeps/aarch64/fpu/math_private.h
41246         (libc_feholdsetround_noex_aarch64_ctx): New function.
41248 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
41250         * sysdeps/arm/armv6/strcpy.S (strcpy):
41251         Fix performance issue in misaligned cases.
41253 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41255         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
41256         Move definition from termios.h.
41257         (struct termio): Likewise.
41258         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
41259         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
41260         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
41261         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
41262         Likewise.
41263         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
41264         Move definition to ioctl-types.h
41265         (struct termio): Likewise.
41266         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
41267         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
41268         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
41269         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
41270         Likewise.
41272 2014-08-05  Richard Henderson  <rth@redhat.com>
41274         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
41275         exceptions.
41276         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
41277         Add fraiseexcpt.
41278         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
41279         Use __feraiseexcept.
41280         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
41281         Protect libm symbols with IS_IN_libm.
41283         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
41285 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
41287         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
41289 2014-08-04  Will Newton  <will.newton@linaro.org>
41291         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
41292         file.
41294 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
41296         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
41297         variants for each function.
41299 2014-08-04  Roland McGrath  <roland@hack.frob.com>
41301         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
41302         appended ...
41303         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
41304         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
41305         appended ...
41306         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
41307         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
41308         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
41309         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
41310         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
41311         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
41312         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
41313         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
41314         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
41315         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
41316         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
41317         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
41318         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
41319         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
41320         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
41321         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
41322         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
41323         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
41324         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
41325         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
41326         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
41327         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
41328         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
41329         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
41330         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
41331         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
41332         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
41333         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
41334         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
41335         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
41336         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
41337         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
41338         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
41339         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
41340         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
41341         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
41342         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
41343         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
41344         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
41345         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
41346         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
41347         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
41348         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
41349         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
41350         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
41351         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
41352         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
41353         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
41354         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
41355         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
41356         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
41357         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
41358         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
41359         Update #include.
41360         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
41361         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
41363 2014-08-04  Roland McGrath  <roland@hack.frob.com>
41365         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
41366         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
41367         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
41368         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
41369         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
41370         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
41372 2014-08-04  Roland McGrath  <roland@hack.frob.com>
41374         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
41375         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
41376         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
41377         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
41379 2014-08-04  Roland McGrath  <roland@hack.frob.com>
41381         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
41382         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
41383         (__libc_vfork): Define function under this name.
41384         (__vfork): Define as an alias.
41385         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
41386         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
41388 2014-08-04  Roland McGrath  <roland@hack.frob.com>
41390         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
41391         that was previously under [RESET_PID].
41392         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
41394 2014-08-04  Andreas Schwab  <schwab@suse.de>
41396         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
41398 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
41400         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
41401         (main): Likewise.
41403 2014-08-01  Roland McGrath  <roland@hack.frob.com>
41405         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
41407 2014-08-01  Richard Henderon  <rth@redhat.com>
41409         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
41410         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
41411         typo in exact zero test.
41412         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
41413         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
41414         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
41416 2014-08-01  Roland McGrath  <roland@hack.frob.com>
41418         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
41419         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
41420         * sysdeps/arm/sysdep.h: ... here.
41421         [!__ASSEMBLER__]: Include <stdint.h>.
41423 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
41425         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
41426         (HAVE_WCTYPE_H): Likewise.
41427         (HAVE_ISWCTYPE): Likewise.
41428         (ENABLE_NLS): Likewise.
41429         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
41430         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
41432         * posix/regex_internal.c: Check if DEBUG is defined and is
41433         set.
41435         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
41436         (HAVE_MBSRTOWCS): Likewise.
41437         * posix/fnmatch.c: Include string.h unconditionally.
41439 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
41441         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
41442         reversal.
41444 2014-07-31  Roland McGrath  <roland@hack.frob.com>
41446         * sysdeps/generic/safe-fatal.h: New file.
41447         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
41448         * nptl/forward.c: Include it.
41449         (__pthread_unwind): Use __safe_fatal as default action, rather
41450         than a bogus use of INTERNAL_SYSCALL that could never work.
41452         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
41453         * configure.ac (libc_cv_builtin_trap): New test.
41454         * configure: Regenerated.
41455         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
41456         (ABORT_INSTRUCTION): Define using __builtin_trap.
41458         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
41459         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
41460         * sysdeps/nptl/nptl-signals.h: New file.
41461         * nptl/pthreadP.h: Include <nptl-signals.h>.
41463 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
41465         * sysdeps/s390/s390-64/utf16-utf32-z9.c
41466         (ONE_DIRECTION): Define.
41467         * sysdeps/s390/s390-64/utf8-utf16-z9.c
41468         (ONE_DIRECTION): Define.
41469         * sysdeps/s390/s390-64/utf8-utf32-z9.c
41470         (ONE_DIRECTION): Define.
41472 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
41474         * sysdeps/s390/Makefile: Delete file.
41475         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
41476         * sysdeps/s390/__longjmp.c: Delete file.
41477         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
41478         Remove fields __flags and __reserved.
41479         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
41480         and add versioning.
41481         * sysdeps/s390/rtld-__longjmp.c: Delete file.
41482         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
41483         * sysdeps/s390/rtld-setjmp.S: Likewise.
41484         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
41485         * sysdeps/s390/s390-32/__longjmp.c: ... here.
41486         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
41487         * sysdeps/s390/s390-32/setjmp.S: ... here.
41488         Add versioning.
41489         (__sigsetjmp): Remove setting __flags field.
41490         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
41491         * sysdeps/s390/s390-64/__longjmp.c: ... here.
41492         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
41493         * sysdeps/s390/s390-64/setjmp.S: ... here.
41494         Add versioning.
41495         (__sigsetjmp): Remove setting __flags field.
41496         * sysdeps/s390/setjmp.S: Delete file.
41497         * sysdeps/s390/sigjmp.c: Likewise.
41498         * sysdeps/s390/v1-longjmp.c: Likewise.
41499         * sysdeps/s390/v1-setjmp.h: Likewise.
41500         * sysdeps/s390/v1-sigjmp.c: Likewise.
41501         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
41502         Remove v1-longjmp_chk.
41503         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
41504         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
41505         Include debug/longjmp_chk.c and add versioning.
41506         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
41507         Include nptl/pt-longjmp.c and add versioning.
41508         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
41509         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
41510         Include __longjmp.c.
41511         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
41512         Move to ...
41513         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
41514         (__getcontext): Remove setting __flags field.
41515         Add versioning.
41516         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
41517         Don't restore upper high grps.
41518         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
41519         Likewise.
41520         (__swapcontext): Remove setting uc_flags field.
41521         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
41522         Delete file.
41523         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
41524         Include __longjmp.c.
41525         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
41526         Move to ...
41527         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
41528         (__getcontext): Remove setting __flags field.
41529         Add versioning.
41530         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
41531         (__swapcontext): Remove setting uc_flags field.
41532         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
41533         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
41534         Remove fields uc_high_gprs and __reserved.
41535         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
41536         New file with reverted content.
41537         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
41538         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
41539         Regenerated.
41540         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
41541         Regenerated.
41543 2014-07-31  Andreas Schwab  <schwab@suse.de>
41545         * config.h.in (HAVE_IFUNC): Define to 0.
41546         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
41547         definedness.
41549 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
41551         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
41552         memmove-avx-unaligned, memcpy-avx-unaligned and
41553         mempcpy-avx-unaligned.
41554         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
41555         Add tests for AVX memcpy functions.
41556         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
41557         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
41558         memcpy_chk.
41559         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
41560         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
41561         memmove_chk.
41562         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
41563         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
41564         mempcpy_chk.
41565         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
41566         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
41567         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
41569 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41571         [BZ #17213]
41572         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
41573         powerpc64le.
41575 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
41577         [BZ #16839]
41578         * manual/llio.texi: Add section about open file description locks.
41579         * manual/examples/ofdlocks.c: Example of open file description
41580         lock usage.
41581         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
41582         F_OFD_SETLK, and F_OFD_SETLKW.
41584 2014-07-23  Allan McRae  <allan@archlinux.org>
41586         * po/es.po: Update Spanish translation from translation project.
41588 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
41590         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
41592 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
41594         [BZ #17078]
41595         * sysdeps/arm/dl-machine.h (elf_machine_rela)
41596         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
41597         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
41599 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
41601         [BZ #17088]
41602         * math/fesetenv.c (__fesetenv)
41603         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
41604         * math/feupdateenv.c (__feupdateenv)
41605         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
41607         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
41608         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
41609         (__ASSUME_SOCKETCALL): Do not define.
41611         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
41612         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
41613         (__ASSUME_SOCKETCALL): Do not define.
41614         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
41615         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
41616         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
41617         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
41618         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
41619         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
41620         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
41621         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
41623         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
41624         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
41625         (__ASSUME_SOCKETCALL): Do not define.
41626         (__ASSUME_IPC64): Define unconditionally.
41627         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
41628         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
41629         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
41630         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
41631         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
41632         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
41633         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
41634         Likewise.
41636         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
41637         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
41638         (__ASSUME_SOCKETCALL): Do not define.
41639         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
41640         (__ASSUME_FUTEX_LOCK_PI): Likewise.
41641         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
41642         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
41643         (__ASSUME_REQUEUE_PI): Define unconditionally.
41644         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
41645         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
41646         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
41647         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
41648         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
41649         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
41651         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
41652         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
41653         (__ASSUME_SOCKETCALL): Do not define.
41654         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
41655         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
41656         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
41657         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
41658         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
41659         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
41661         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
41662         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
41663         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
41664         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
41665         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
41666         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
41667         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
41668         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
41669         (__ASSUME_GETCPU_SYSCALL): Likewise.
41671         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
41672         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
41673         cases for individual architectures.
41674         * sysdeps/gnu/configure: Regenerated.
41675         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
41676         LIBC_SLIBDIR_RTLDDIR.
41677         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
41678         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
41679         LIBC_SLIBDIR_RTLDDIR.
41680         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
41681         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
41682         LIBC_SLIBDIR_RTLDDIR.
41683         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
41684         Regenerated.
41685         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
41686         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
41687         file.
41688         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
41689         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
41690         file.
41691         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
41692         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
41693         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
41694         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
41696         * sysdeps/aarch64/shlib-versions: Move to ...
41697         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
41698         * sysdeps/alpha/shlib-versions: Move to ...
41699         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
41700         * sysdeps/arm/shlib-versions: Move to ...
41701         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
41702         * sysdeps/hppa/shlib-versions: Move all contents except for
41703         libgcc_s entry to ...
41704         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
41705         entry from ...
41706         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
41707         * sysdeps/ia64/shlib-versions: Move to ...
41708         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
41709         entry from ...
41710         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
41711         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
41712         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
41713         * sysdeps/microblaze/shlib-versions: Move to ...
41714         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
41715         * sysdeps/mips/shlib-versions: Move to ...
41716         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
41717         entry from ...
41718         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
41719         * sysdeps/tile/shlib-versions: Move to ...
41720         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
41721         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
41722         from ...
41723         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
41724         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
41725         entry from ...
41726         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
41728 2014-07-17  Will Newton  <will.newton@linaro.org>
41730         * sysdeps/arm/bits/atomic.h
41731         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
41732         (__arch_compare_and_exchange_bool_16_int): Likewise.
41733         (__arch_compare_and_exchange_bool_64_int): Likewise.
41735         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
41736         into an #else block.
41738 2014-07-16  Roland McGrath  <roland@hack.frob.com>
41740         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
41741         just Linux configurations.  Test empirically that the compiler sets
41742         __ARM_EABI__, rather than using the tuple to decide.
41743         * sysdeps/arm/preconfigure: Regenerated.
41744         * sysdeps/unix/sysv/linux/arm/configure: File removed.
41745         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
41746         contents appended ...
41747         * sysdeps/arm/configure.ac: ... here.
41748         * sysdeps/arm/configure: Regenerated.
41750 2014-07-15  Roland McGrath  <roland@hack.frob.com>
41752         * nptl/pthread_kill.c: New file.
41753         * nptl/pthread_sigmask.c: New file.
41754         * nptl/pthread_sigqueue.c: New file.
41756         * sysdeps/nptl/lowlevellock.h: New file.
41757         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
41758         * sysdeps/nptl/lowlevellock-futex.h: New file.
41760         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
41761         Remove dead declarations.
41763 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
41765         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
41766         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
41767         config-cflags-avx2.
41768         * sysdeps/x86_64/configure.ac: Likewise.
41769         * sysdeps/i386/configure: Regenerated.
41770         * sysdeps/x86_64/configure: Likewise.
41771         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
41772         memset-avx2 only if config-cflags-avx2 is yes.
41773         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
41774         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
41775         defined.
41776         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
41777         only if HAVE_AVX2_SUPPORT is defined.
41778         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
41780 2014-07-14  Alan Modra  <amodra@gmail.com>
41782         [BZ #17153]
41783         * elf/elf.h (DT_PPC64_NUM): Correct value.
41784         * NEWS: Add to fixed bug list.
41786 2014-07-13  Jim Meyering  <meyering@fb.com>
41788         [BZ 17150]
41789         regex: don't deref NULL upon heap allocation failure
41790         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
41791         failure in one more place.
41792         To trigger the segfault, configure grep -with-included-regex,
41793         build it, and run these commands:
41794         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
41796 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
41798         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
41800 2014-07-11  Richard Henderson  <rth@redhat.com>
41802         * sysdeps/aarch64/libm-test-ulps: Update.
41804 2014-07-10  Florian Weimer  <fweimer@redhat.com>
41806         [BZ #17135]
41807         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
41808         * nptl/allocatestack.c (__nptl_setxid_error): New function.
41809         (__nptl_setxid): Initialize error member.  Call
41810         __nptl_setxid_error.
41811         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
41812         * nptl/descr.h (struct xid_command): Add error member.
41813         * nptl/tst-setuid3.c: New file.
41814         * nptl/Makefile (tests): Add it.
41816 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41818         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
41819         New define.
41820         (__lll_trylock): Use __lll_base_trylock.
41821         (__lll_cond_trylock): Likewise.
41823 2014-07-10  Roland McGrath  <roland@hack.frob.com>
41825         * nptl/pthread_create.c (start_thread): Use atomic_or and
41826         lll_futex_wake directly rather than lll_robust_dead.
41827         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
41828         (lll_robust_dead): Macro removed.
41829         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
41830         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
41831         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
41832         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
41833         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
41834         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
41835         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
41836         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
41837         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
41838         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
41839         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
41840         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
41841         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
41842         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
41843         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
41845         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
41846         Use atomic_compare_and_exchange_val_acq directly rather than
41847         lll_robust_trylock.
41848         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
41849         (__lll_robust_trylock, lll_robust_trylock): Removed.
41850         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
41851         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
41852         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
41853         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
41854         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
41855         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
41856         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
41857         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
41858         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
41859         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
41860         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
41861         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
41862         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
41863         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
41865 2014-07-02  Florian Weimer  <fweimer@redhat.com>
41867         * manual/locale.texi (Locale Names): New section documenting
41868         locale name syntax.  Adjust menu and node chaining accordingly.
41869         (Choosing Locale): Reference Locale Names, Locale Categories.
41870         Mention setting LC_ALL=C.  Reflect that name syntax is now
41871         documented.
41872         (Locale Categories): New section title.  Reference Locale Names.
41873         LC_ALL is an environment variable, but not a category.
41874         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
41875         description, now in Locale Name.  Reference that section.  Locale
41876         name syntax is now documented.
41878 2014-07-02  Florian Weimer  <fweimer@redhat.com>
41880         [BZ #17137]
41881         * locale/findlocale.c (name_present, valid_locale_name): New
41882         functions.
41883         (_nl_find_locale): Use the loc_name variable to store name
41884         candidates.  Call name_present and valid_locale_name to check and
41885         validate locale names.  Return an error if the locale is invalid.
41887 2014-07-02  Florian Weimer  <fweimer@redhat.com>
41889         * locale/setlocale.c (setlocale): Use strdup for allocating
41890         composite name copy.
41892 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
41894         Sync up with gnulib.
41895         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
41896         [!_LIBC && ENABLE_NLS]: Include gettext.h.
41897         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
41898         and _GL_ARG_NONNULL.
41899         [USE_UNLOCKED_IO]: Include unlocked-io.h.
41900         [!_LIBC]: Include code for Windows and Cygwin.
41901         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
41902         Include prototype for int strerror_r.
41903         [!_LIBC] (is_open): New function.
41904         (flush_stdout): New function.
41905         (print_errno_message): Use it.
41906         (error): Likewise.
41907         (error_at_line): Likewise.
41908         (error_tail) Add function attribute macros.  Use
41909         __builtin_expect.
41911         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
41913         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
41915         * io/ftw.c: Include sys/param.h unconditionally.
41917         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
41919         [BZ #17125]
41920         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
41921         libc_freeres_ptr.
41922         (freecache): New function to free CACHE on exit.
41924         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
41925         initialization.
41927 2014-07-09  David S. Miller  <davem@davemloft.net>
41929         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41931         * sysdeps/sparc/nptl/internaltypes.h: Delete.
41932         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
41933         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
41934         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
41935         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
41936         * sysdeps/sparc/nptl/sem_init.c: Likewise.
41937         * sysdeps/sparc/nptl/sem_post.c: Likewise.
41938         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
41939         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
41940         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
41941         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
41942         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
41943         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
41945 2014-07-09  Andreas Schwab  <schwab@suse.de>
41947         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
41948         output.
41949         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
41950         (do_test): Likewise.
41952         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
41954 2014-07-09  Will Newton  <will.newton@linaro.org>
41956         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
41957         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
41958         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
41959         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
41960         * sysdeps/hppa/start.S (_start): Likewise.
41962 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
41964         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
41966         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
41967         defined.
41969 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
41971         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
41972         after checking that it is non-NULL.
41974         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
41976 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41978         * sysdeps/powerpc/memmove.c: Remove file.
41979         * sysdeps/powerpc/powerpc32/power4/memcopy.h
41980         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
41981         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
41982         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
41983         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
41984         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
41985         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
41986         string memmove instead of removed powerpc one.
41988         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
41989         [weak_alias]: Fix compiler warning due trailing data.
41990         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
41991         [weak_alias]: Likewise.
41992         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
41993         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
41995         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
41996         (__libc_ifunc_impl_list): Add memmove functions.
41998 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
42000         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
42001         Remove code.
42002         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
42003         Likewise.
42004         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
42005         Likewise.
42006         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
42007         Likewise.
42008         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
42009         Likewise.
42010         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
42011         Likewise.
42012         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
42013         Likewise.
42014         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
42015         Likewise.
42016         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
42017         Likewise.
42018         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
42019         Likewise.
42020         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
42021         Likewise.
42022         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
42023         Likewise.
42024         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
42025         Likewise.
42026         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
42027         Likewise.
42028         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
42029         Likewise.
42030         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
42031         Likewise.
42032         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
42033         Likewise.
42035 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42037         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
42038         to avoid alignment traps in non-cacheable memory.
42039         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
42041         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
42042         multiarch objects.
42043         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
42044         file: multiarch power7 memmove.
42045         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
42046         multiarch default memmove.
42047         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
42048         multiarch memove for powerpc32/power4.
42050         * string/bcopy.c: Use full path to include memmove.c.
42051         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
42052         multiarch objects.
42053         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
42054         bcopy for powerpc64.
42055         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
42056         bcopy for powerpc64.
42057         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
42058         and memmove implementations.
42059         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
42060         optimized multiarch memmove for POWER7/powerpc64.
42061         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
42062         default multiarch memmove for powerpc64.
42063         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
42064         multiarch for powerpc64.
42065         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
42066         for POWER7/powerpc64.
42067         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
42068         memmove for POWER7/powerpc64.
42070         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
42071         glibc default one.
42073         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
42074         __ELF_NATIVE_CLASS equal to 64.
42076 2014-07-07  Roland McGrath  <roland@hack.frob.com>
42078         * sysdeps/nptl/lowlevellock.h: File removed.
42080         * NEWS: NPTL is no longer an add-on!
42081         * nptl/internaltypes.h: Moved ...
42082         * sysdeps/nptl/internaltypes.h: ... here.
42083         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
42084         * sysdeps/nptl/fork.c: Likewise.
42085         * sysdeps/nptl/gai_misc.h: Likewise.
42086         * sysdeps/nptl/librt-cancellation.c: Likewise.
42087         * sysdeps/nptl/jmp-unwind.c: Likewise.
42088         * sysdeps/nptl/setxid.h: Likewise.
42089         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
42090         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
42091         * sysdeps/unix/sysv/linux/arm/Implies: New file.
42092         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
42093         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
42094         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
42095         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
42096         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
42097         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
42098         * sysdeps/unix/sysv/linux/mips/Implies: New file.
42099         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
42100         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
42101         * sysdeps/unix/sysv/linux/sh/Implies: New file.
42102         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
42103         * sysdeps/unix/sysv/linux/tile/Implies: New file.
42104         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
42105         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
42106         * nptl/Makeconfig: Moved ...
42107         * sysdeps/nptl/Makeconfig: ... here.
42108         * nptl/configure: File removed.
42109         * nptl/ANNOUNCE: File removed.
42110         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
42111         * sysdeps/unix/sysv/linux/configure: Regenerated.
42113         * nptl/Makefile (routines): Add libc_pthread_init,
42114         libc_multiple_threads, register-atfork and unregister-atfork.
42115         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
42116         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
42117         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
42118         pthread-pi-defines.sym, structsem.sym.
42119         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
42120         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
42121         [$(subdir) = nptl] (tests): Add tst-setgetname.
42122         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
42123         * sysdeps/unix/sysv/linux/sigaction.c: Just include
42124         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
42125         [!LIBC_SIGACTION]: Remove aliases.
42126         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
42127         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
42128         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
42129         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
42130         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
42131         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
42132         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
42133         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
42134         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
42135         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
42136         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
42137         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
42138         __libc_allocate_rtsig_private.
42139         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
42140         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
42141         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
42142         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
42143         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
42144         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
42145         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
42146         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
42147         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
42148         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
42149         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
42150         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
42151         * nptl/internaltypes.h: ... here.
42152         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
42153         * sysdeps/nptl/jmp-unwind.c: ... here.
42154         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
42155         * nptl/libc-lowlevellock.c: ... here.
42156         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
42157         * nptl/libc_multiple_threads.c: ... here.
42158         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
42159         * nptl/libc_pthread_init.c: ... here.
42160         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
42161         * nptl/lowlevelbarrier.sym: ... here.
42162         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
42163         * nptl/lowlevelcond.sym: ... here.
42164         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
42165         * nptl/lowlevellock.c: ... here.
42166         * nptl/lowlevellock.h: Moved ...
42167         * sysdeps/nptl/lowlevellock.h: ... here.
42168         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
42169         * nptl/lowlevelrobustlock.c: ... here.
42170         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
42171         * nptl/lowlevelrobustlock.sym: ... here.
42172         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
42173         * nptl/lowlevelrwlock.sym: ... here.
42174         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
42175         * nptl/pt-fork.c: ... here.
42176         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
42177         * nptl/pthread-pi-defines.sym: ... here.
42178         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
42179         * nptl/pthread_attr_getaffinity.c: ... here.
42180         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
42181         * nptl/pthread_attr_setaffinity.c: ... here.
42182         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
42183         * nptl/pthread_mutex_cond_lock.c: ... here.
42184         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
42185         Update #include.
42186         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
42187         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
42188         * nptl/pthread_once.c: ... here, replacing old file.
42189         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
42190         * nptl/pthread_yield.c: ... here.
42191         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
42192         * nptl/register-atfork.c: ... here.
42193         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
42194         * nptl/sem_post.c: ... here.
42195         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
42196         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
42197         * nptl/sem_timedwait.c: ... here.
42198         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
42199         * nptl/sem_trywait.c: ... here.
42200         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
42201         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
42202         * nptl/sem_wait.c: ... here.
42203         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
42204         * nptl/structsem.sym: ... here.
42205         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
42206         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
42207         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
42208         * nptl/unregister-atfork.c: ... here.
42209         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
42210         * nptl/unwindbuf.sym: ... here.
42211         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
42212         * sysdeps/nptl/fork.c: ... here.
42213         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
42214         * sysdeps/nptl/fork.h: ... here.
42215         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
42216         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
42217         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
42218         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
42219         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
42220         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
42221         * sysdeps/unix/sysv/linux/getpid.c: ... here.
42222         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
42223         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
42224         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
42225         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
42226         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
42227         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
42228         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
42229         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
42230         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
42231         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
42232         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
42233         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
42234         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
42235         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
42236         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
42237         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
42238         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
42239         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
42240         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
42241         * sysdeps/unix/sysv/linux/raise.c: ... here.
42242         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
42243         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
42244         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
42245         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
42246         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
42247         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
42248         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
42249         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
42250         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
42251         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
42252         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
42253         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
42254         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
42255         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
42256         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
42258 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
42260         * sysdeps/generic/memcopy.h: Add comment for
42261         MEMCPY_OK_FOR_FWD_MEMMOVE.
42263 2014-07-04  Will Newton  <will.newton@linaro.org>
42265         * string/memchr.c: Merge from gnulib.
42266         [_LIBC]: Remove conditionals.
42267         (__ptr_t): Remove define.
42268         (LONG_MAX_32_BITS): Likewise.
42269         (LONG_MAX): Likewise.
42270         (MEMCHR): Use ANSI prototype and optimize algorithm.
42272         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
42274 2014-07-03  Roland McGrath  <roland@hack.frob.com>
42276         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
42277         (lll_futex_timed_wait_bitset): Fix syscall argument count.
42279         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
42280         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
42281         in a bare environment with no <stdlib.h> installed.
42282         * sysdeps/nptl/configure: Regenerated.
42284         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
42286         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
42287         AC_EGREP_CPP for kernel header checks, so they only succeed if
42288         including <linux/version.h> actually works right.
42289         * sysdeps/unix/sysv/linux/configure: Regenerated.
42291         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
42292         value so it's not diagnosed as unused.
42294         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
42295         thing) with "ifeq ($(subdir),rt)".
42297 2014-07-03  Richard Henderson  <rth@redhat.com>
42299         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
42300         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
42301         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
42303         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
42304         (math_force_eval): New.
42306         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
42307         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
42309         * sysdeps/alpha/fpu/s_round.c: Remove file.
42310         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
42312         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
42313         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
42314         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
42315         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
42316         (_dl_start, print_statistics): Likewise.
42317         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
42318         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
42320         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
42321         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
42322         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
42323         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
42324         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
42325         (HP_SMALL_TIMING_AVAIL): Define.
42326         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
42327         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
42328         (HP_SMALL_TIMING_AVAIL): Define.
42329         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
42330         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
42332         * sysdeps/aarch64/hp-timing.h: New file.
42334         * sysdeps/generic/hp-timing.h: Remove dead comment.
42335         * sysdeps/generic/hp-timing-common.h: New file.
42336         * sysdeps/alpha/hp-timing.h: Include it.
42337         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
42338         * sysdeps/i386/i686/hp-timing.h: Likewise.
42339         * sysdeps/ia64/hp-timing.h: Likewise.
42340         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
42341         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
42342         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
42343         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
42344         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
42345         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
42346         (hp_timing_t): New.
42348         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
42349         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
42350         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
42351         * elf/rtld.c (_dl_start_final): Likewise.
42352         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
42353         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
42354         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
42355         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
42356         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
42357         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
42358         (HP_TIMING_DIFF_INIT): Remove.
42359         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
42360         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
42361         (HP_TIMING_DIFF_INIT): Remove.
42362         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
42363         * sysdeps/i386/i686/hp-timing.c: Remove file.
42364         * sysdeps/x86_64/hp-timing.c: Remove file.
42365         * sysdeps/ia64/hp-timing.c: Remove file.
42366         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
42367         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
42368         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
42369         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
42371         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
42372         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
42373         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
42374         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
42375         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
42376         (HP_TIMING_ACCUM): Remove.
42377         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
42378         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
42379         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
42381         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
42382         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
42383         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
42384         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
42385         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
42386         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
42387         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
42388         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
42390         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
42392 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
42394         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
42396 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
42398         Sync up with gettext.
42399         * intl/loadmsgcat.c: Define O_BINARY if not defined.
42400         [_MSC_VER]: Include malloc.h
42401         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
42402         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
42403         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
42404         TEMP_FAILURE_RETRY.  Cast return of alloca.
42405         [!_LIBC] Call gl_rwlock_init.
42406         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
42408 2014-07-02  Roland McGrath  <roland@hack.frob.com>
42410         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
42411         before checking its value.
42413 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
42415         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
42417         * debug/memcpy_chk.c: Don't include pagecopy.h.
42418         * debug/mempcpy_chk.c: Likewise.
42419         * string/memcpy.c: Likewise.
42420         * string/memmove.c: Likewise.
42421         * sysdeps/powerpc/memmove.c: Likewise.
42422         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
42423         definition of PAGE_COPY_FWD_MAYBE here...
42424         * sysdeps/generic/pagecopy.h: ... from here.
42425         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
42427 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
42428             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42430         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
42431         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
42432         optimizations.
42433         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
42434         (__libc_ifunc_impl_list): Likewise.
42435         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
42436         multiarch strcat for PPC64.
42437         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
42438         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
42440 2014-07-02  Roland McGrath  <roland@hack.frob.com>
42442         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
42444 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
42446         * intl/loadmsgcat.c: Remove declaration of
42447         get_sysdep_segment_value.
42448         (get_sysdep_segment_value): Use ISO C style.
42449         (_nl_load_domain): Use ISO C style.  Get rid of redundant
42450         semicolon.  Fix typo and formatting in comment.
42451         (_nl_unload_domain): Use ISO C style.
42453         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
42455 2014-07-02  Will Newton  <will.newton@linaro.org>
42457         * malloc/obstack.c: Merge from gnulib master.
42458         [HAVE_CONFIG_H]: Remove conditional code.
42459         [!_LIBC]: Include config.h.
42460         [!ELIDE_CODE]: Don't include inttypes.h, include
42461         stdint.h unconditionally.
42462         (print_and_abort): Mark as _Noreturn.
42463         (_obstack_allocated_p): Mark as __attribute_pure__.
42464         (obstack_free): Rename to __obstack_free.
42465         [!__attribute__]: Remove conditional code.
42466         * malloc/obstack.h: Merge from gnulib master.
42467         [__cplusplus]: Move conditional down.
42468         [!__attribute_pure__]: Define __attribute_pure__ here
42469         if it is not already defined.
42470         (_obstack_memory_used): Mark as __attribute_pure__.
42471         [!__obstack_free]: Define as obstack_free.
42472         [__GNUC__]: Remove check for ancient NeXT gcc.
42474 2014-07-02  Will Newton  <will.newton@linaro.org>
42475             Paul Eggert  <eggert@cs.ucla.edu>
42477         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
42479 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
42481         * resolv/gethnamaddr.c: Add comment warning that the file is
42482         not maintained.
42484 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
42486         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
42487         entries.
42489         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
42490         entry for aio_cancel and aio_cancel64.
42491         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
42492         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
42493         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
42494         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
42495         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
42496         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
42497         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
42498         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
42499         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
42500         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
42501         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
42502         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
42503         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
42505 2014-07-01  Roland McGrath  <roland@hack.frob.com>
42507         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
42508         * nptl/pthread_mutex_lock.c: Likewise.
42509         * nptl/pthread_mutex_timedlock.c: Likewise.
42510         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
42512 2014-07-01  Richard henderson  <rth@redhat.com>
42514         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
42515         (__isnan, __isnanl): Remove.
42516         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
42518         * sysdeps/alpha/fpu/libm-test-ulps: Update.
42520 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
42522         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
42524 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
42526         * resolv/nss_dns/dns-host.c (getanswer_r)
42527         [MULTI_PTRS_ARE_ALIASES]: Remove code.
42529 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
42531         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
42532         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
42533         undefine.
42534         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
42535         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
42537 2014-07-01  Roland McGrath <roland@hack.frob.com>
42539         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
42540         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
42542         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
42543         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
42545         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
42546         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
42547         ... here.
42548         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
42549         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
42551         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
42552         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
42553         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
42554         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
42556         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
42557         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
42558         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
42559         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
42560         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
42561         Moved ...
42562         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
42563         ... here.
42564         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
42565         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
42566         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
42567         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
42568         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
42569         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
42570         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
42571         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
42572         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
42573         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
42574         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
42575         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
42576         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
42577         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
42578         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
42579         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
42580         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
42581         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
42582         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
42583         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
42584         ... here.
42585         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
42586         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
42587         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
42588         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
42589         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
42590         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
42591         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
42592         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
42594 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
42596         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
42597         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
42598         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
42599         Add sysdep.
42601 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42603         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42605 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
42607         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
42608         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
42610         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
42612         * sysdeps/arm/libm-test-ulps: Regenerated.
42614 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
42615             Roland McGrath <roland@hack.frob.com>
42617         * test-skeleton.c (signal_handler): Kill the whole process group
42618         before killing the child individually.
42619         (main): Report any failure on `setpgid'.
42621 2014-06-30  Roland McGrath  <roland@hack.frob.com>
42623         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
42624         from _TLS_H to _ARM_NPTL_TLS_H.
42625         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
42626         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
42628 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
42630         [BZ #16539]
42631         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
42632         (__expm1l): Return argument unchanged when small but not
42633         subnormal.
42635         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
42636         include macro name.
42637         (_FP_UNPACK_RAW_1_P): Likewise.
42638         (_FP_PACK_RAW_1): Likewise.
42639         (_FP_PACK_RAW_1_P): Likewise.
42640         (_FP_MUL_MEAT_1_wide): Likewise.
42641         (_FP_MUL_MEAT_DW_1_hard): Likewise.
42642         (_FP_MUL_MEAT_1_hard): Likewise.
42643         (_FP_DIV_MEAT_1_imm): Likewise.
42644         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
42645         (_FP_DIV_MEAT_1_udiv): Likewise.
42646         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
42647         (_FP_UNPACK_RAW_2): Likewise.
42648         (_FP_UNPACK_RAW_2_P): Likewise.
42649         (_FP_PACK_RAW_2): Likewise.
42650         (_FP_PACK_RAW_2_P): Likewise.
42651         (_FP_MUL_MEAT_DW_2_wide): Likewise.
42652         (_FP_MUL_MEAT_2_wide): Likewise.
42653         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
42654         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
42655         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
42656         (_FP_MUL_MEAT_2_gmp): Likewise.
42657         (_FP_DIV_MEAT_2_udiv): Likewise.
42658         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
42659         (_FP_FRAC_SRL_4): Likewise.
42660         (_FP_FRAC_SRST_4): Likewise.
42661         (_FP_FRAC_SRS_4): Likewise.
42662         (_FP_UNPACK_RAW_4): Likewise.
42663         (_FP_UNPACK_RAW_4_P): Likewise.
42664         (_FP_PACK_RAW_4): Likewise.
42665         (_FP_PACK_RAW_4_P): Likewise.
42666         (_FP_MUL_MEAT_DW_4_wide): Likewise.
42667         (_FP_MUL_MEAT_4_wide): Likewise.
42668         (_FP_MUL_MEAT_4_gmp): Likewise.
42669         (umul_ppppmnnn): Likewise.
42670         (_FP_DIV_MEAT_4_udiv): Likewise.
42671         (__FP_FRAC_ADD_4): Likewise.
42672         (__FP_FRAC_SUB_3): Likewise.
42673         (__FP_FRAC_SUB_4): Likewise.
42674         (__FP_FRAC_DEC_3): Likewise.
42675         (__FP_FRAC_DEC_4): Likewise.
42676         (__FP_FRAC_ADDI_4): Likewise.
42677         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
42678         (_FP_FRAC_SRL_8): Likewise.
42679         (_FP_FRAC_SRS_8): Likewise.
42681         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
42682         include macro name.
42683         (FP_UNPACK_RAW_EP): Likewise.
42684         (FP_PACK_RAW_E): Likewise.
42685         (FP_PACK_RAW_EP): Likewise.
42686         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
42687         (_FP_ISSIGNAN): Likewise.
42688         (_FP_ADD_INTERNAL): Likewise.
42689         (_FP_FMA): Likewise.
42690         (_FP_CMP): Likewise.
42691         (_FP_SQRT): Likewise.
42692         (_FP_TO_INT): Likewise.
42693         (_FP_FROM_INT): Likewise.
42694         (FP_EXTEND): Likewise.
42695         (_FP_DIV_MEAT_N_loop): Likewise.
42697 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
42699         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
42700         throughout.
42702 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
42704         [BZ #17097]
42705         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
42706         result with correct sign in case of exponents that produce
42707         overflow except for X very close to 1.
42709 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
42711         mktime: merge #if/#ifdef usage from glibc
42712         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
42713         as that works with both Glibc's and Gnulib's style.
42714         See thread starting at Siddhesh Poyarekar's bug report at:
42715         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
42717 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
42719         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
42720         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
42721         * sysdeps/tile/tilegx/memmove.c: Remove file.
42723 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
42725         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
42726         abi-name definition.
42727         * scripts/soversions.awk: Do not handle or generate ABI lines.
42728         * shlib-versions: Remove ABI entries.
42729         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
42730         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
42732 2014-06-27  Roland McGrath  <roland@hack.frob.com>
42734         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
42735         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
42736         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
42737         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
42738         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
42739         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
42740         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
42741         Moved ...
42742         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
42743         ... here.
42744         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
42745         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
42746         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
42747         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
42748         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
42749         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
42750         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
42751         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
42752         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
42753         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
42754         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
42755         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
42756         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
42757         Moved ...
42758         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
42759         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
42760         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
42761         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
42762         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
42763         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
42764         Moved ...
42765         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
42766         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
42767         Moved ...
42768         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
42769         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
42770         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
42771         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
42772         Moved ...
42773         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
42774         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
42775         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
42776         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
42777         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
42778         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
42779         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
42780         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
42781         Moved ...
42782         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
42783         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
42784         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
42785         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
42786         Moved ...
42787         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
42788         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
42789         Moved ...
42790         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
42791         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
42792         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
42793         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
42794         Moved ...
42795         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
42796         ... here.
42797         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
42798         Identical file removed.
42799         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
42800         Moved ...
42801         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
42802         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
42803         Identical file removed.
42804         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
42805         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
42806         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
42807         Moved ...
42808         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
42809         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
42810         Identical file removed.
42811         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
42812         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
42813         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
42814         Identical file removed.
42815         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
42816         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
42817         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
42818         Identical file removed.
42819         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
42820         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
42821         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
42822         Identical file removed.
42823         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
42824         Moved ...
42825         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
42826         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
42827         Identical file removed.
42828         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
42829         Moved ...
42830         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
42831         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
42832         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
42833         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
42834         Identical file removed.
42835         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
42836         Moved ...
42837         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
42838         ... here.
42839         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
42840         Identical file removed.
42841         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
42842         Moved ...
42843         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
42844         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
42845         Identical file removed.
42846         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
42847         Moved ...
42848         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
42849         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
42850         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
42851         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
42852         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
42853         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
42854         Moved ...
42855         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
42856         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
42857         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
42859         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
42860         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
42861         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
42862         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
42863         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
42865 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
42867         [BZ #17092]
42868         * nscd/nscd.c (monitor_child): Return exit status of child
42869         instead of return value from wait syscall.
42871 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
42873         * configure.ac (libc_commonpagesize): Remove variable.
42874         (libc_relro_required): Likewise.
42875         (libc_cv_z_relro): Remove configure test.
42876         * configure: Regenerated.
42877         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
42878         variable.
42879         (libc_relro_required): Likewise.
42880         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
42881         (libc_relro_required): Likewise.
42882         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
42883         (libc_relro_required): Likewise.
42884         * sysdeps/arm/preconfigure: Regenerated.
42885         * sysdeps/ia64/preconfigure: Remove file.
42886         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
42887         variable.
42888         (libc_relro_required): Likewise.
42890         [BZ #16561]
42891         [BZ #16562]
42892         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
42893         (__ieee754_yn): Set FE_TONEAREST mode internally and then
42894         recompute overflowing results in original rounding mode.
42895         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
42896         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
42897         recompute overflowing results in original rounding mode.
42898         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
42899         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
42900         recompute overflowing results in original rounding mode.
42901         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
42902         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
42903         recompute overflowing results in original rounding mode.
42904         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
42905         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
42906         recompute overflowing results in original rounding mode.
42907         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
42908         (libc_feholdsetround_ctx): New macro.
42909         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
42910         * sysdeps/i386/fpu/libm-test-ulps: Update.
42911         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
42913 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
42915         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
42916         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
42917         corresponding .cpsetup call.
42919 2014-06-26  Roland McGrath  <roland@hack.frob.com>
42921         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
42922         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
42923         * sysdeps/arm/Makefile [$(subdir) = csu]
42924         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
42925         (static-only-routines): Add aeabi_read_tp here.
42926         (shared-only-routines): Add libc-aeabi_read_tp here.
42927         (CFLAGS-libc-start.c): Add -fexceptions here.
42928         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
42929         (sysdep_routines, static-only-routines, shared-only-routines):
42930         Don't add to these here.
42931         (CFLAGS-libc-start.c): Likewise.
42933         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
42934         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
42935         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
42936         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
42937         * sysdeps/arm/Makefile [$(subdir) = rt]
42938         (librt-sysdep_routines, librt-shared-only-routines):
42939         Append rt-aeabi_unwind_cpp_pr1 here.
42940         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
42941         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
42942         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
42943         (libpthread-sysdep_routines, libpthread-shared-only-routines):
42944         Append nptl-aeabi_unwind_cpp_pr1 here.
42945         (tests): Filter out tst-cleanupx4 here.
42946         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
42947         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
42948         Don't do those here.
42950 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
42952         * scripts/list-sources.sh: Do not handle ports specially.
42954 2014-06-26  Roland McGrath  <roland@hack.frob.com>
42956         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
42957         * sysdeps/arm/feupdateenv.c: Likewise.
42959         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
42961 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
42963         * manual/texinfo.tex: Update to version 2014-05-05.10 with
42964         trailing whitespace removed.
42965         * scripts/config.guess: Update to version 2014-03-23.
42966         * scripts/config.sub: Update to version 2014-05-01
42967         * scripts/install-sh: Update to version 2013-12-25.23.
42968         * scripts/move-if-change: Update from gnulib.
42970 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
42972         * debug/memmove_chk.c: Remove pagecopy.h include.
42974 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
42976         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
42977         identical to gnulib mktime.
42979 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
42981         * configure.ac: Do not test for machine being rs6000.  Do not test
42982         for powerpc*-*soft.
42983         * configure: Regenerated.
42985         [BZ #11505]
42986         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
42987         test.
42988         * configure: Regenerated.
42989         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
42990         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
42991         Remove configure test.
42992         * sysdeps/arm/configure: Regenerated.
42993         * sysdeps/nptl/configure.ac: Do not check
42994         libc_cv_asm_cfi_directives.
42995         * sysdeps/nptl/configure: Regenerated.
42996         * sysdeps/x86_64/nptl/configure.ac: Remove file.
42997         * sysdeps/x86_64/nptl/configure: Remove generated file.
42998         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
42999         unconditional.
43000         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
43002 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
43004         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
43005         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
43006         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
43007         it is defined.
43009         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
43010         instead of whether it is defined.
43011         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
43012         * sysdeps/hppa/dl-machine.h: Likewise.
43013         * sysdeps/ia64/dl-machine.h: Likewise.
43014         * sysdeps/m68k/dl-machine.h: Likewise.
43015         * sysdeps/microblaze/dl-machine.h: Likewise.
43016         * sysdeps/mips/dl-machine.: Likewise.
43017         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
43018         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
43019         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
43020         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
43021         * sysdeps/sh/dl-machine.h: Likewise.
43022         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
43023         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
43024         * sysdeps/tile/dl-machine.h: Likewise.
43025         * sysdeps/x86_64/dl-machine.h: Likewise.
43027         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
43028         code.
43029         (verify_persistent_db): Likewise.
43031 2014-06-26  Roland McGrath  <roland@hack.frob.com>
43033         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
43034         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
43035         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
43036         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
43037         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
43038         Moved ...
43039         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
43040         ... here.
43041         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
43042         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
43043         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
43044         Identical file removed.
43045         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
43046         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
43047         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
43048         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
43049         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
43050         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
43051         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
43052         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
43053         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
43054         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
43055         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
43056         Moved ...
43057         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
43058         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
43059         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
43060         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
43061         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
43062         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
43063         Moved ...
43064         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
43065         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
43066         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
43067         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
43068         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
43069         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
43070         Identical file removed.
43071         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
43072         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
43073         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
43074         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
43075         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
43076         Moved ...
43077         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
43078         ... here.
43079         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
43080         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
43081         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
43082         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
43083         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
43084         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
43085         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
43086         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
43087         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
43088         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
43089         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
43090         Moved ...
43091         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
43092         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
43093         Moved ...
43094         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
43095         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
43096         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
43097         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
43098         Moved ...
43099         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
43100         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
43101         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
43103         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
43104         folded into ...
43105         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
43106         * sysdeps/unix/sysv/linux/s390/Versions
43107         (libpthread: GLIBC_2.19): New version set.
43108         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
43109         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
43110         (librt: GLIBC_2.3.3): New version set.
43111         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
43112         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
43113         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
43114         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
43115         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
43116         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
43117         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
43118         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
43119         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
43120         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
43121         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
43122         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
43123         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
43124         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
43125         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
43126         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
43127         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
43128         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
43129         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
43130         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
43131         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
43132         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
43133         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
43134         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
43135         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
43136         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
43137         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
43138         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
43139         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
43140         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
43141         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
43142         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
43143         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
43144         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
43145         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
43146         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
43147         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
43148         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
43149         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
43150         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
43151         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
43152         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
43153         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
43154         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
43155         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
43157         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
43158         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
43159         (__libc_vfork): Define the function under this name.
43160         [!NOT_IN_libc] (__vfork): Make this an alias.
43161         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
43162         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
43163         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
43164         (__libc_vfork): Define the function under this name.
43165         [!NOT_IN_libc] (__vfork): Make this an alias.
43166         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
43167         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
43168         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
43169         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
43170         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
43171         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
43173         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
43174         code that was previously under [RESET_PID].
43175         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
43176         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
43177         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
43179         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
43180         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
43181         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
43182         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
43183         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
43184         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
43185         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
43186         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
43187         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
43188         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
43189         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
43190         Moved ...
43191         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
43192         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
43193         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
43194         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
43195         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
43196         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
43197         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
43198         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
43199         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
43200         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
43201         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
43202         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
43203         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
43204         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
43205         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
43206         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
43207         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
43208         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
43209         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
43210         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
43211         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
43212         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
43213         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
43214         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
43215         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
43216         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
43217         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
43218         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
43219         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
43221 2014-06-25  Roland McGrath  <roland@hack.frob.com>
43223         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
43224         that was previously under [RESET_PID].
43225         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
43227 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
43229         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
43230         not undefine and redefine.
43231         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
43232         [O_CLOEXEC]: Make code unconditional.
43233         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
43234         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
43235         <kernel-features.h>.
43236         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
43237         conditional variable definition.
43238         (shm_open) [O_CLOEXEC]: Make code unconditional.
43239         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
43240         code.
43242         * configure.ac (USE_REGPARMS): Don't define here.
43243         * configure: Regenerated.
43244         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
43245         * sysdeps/i386/configure: Regenerated.
43247         * nptl/createthread.c: Don't include kernel-features.h.
43248         * nptl/pthread_cancel.c: Likewise.
43249         * nptl/pthread_condattr_setclock.c: Likewise.
43250         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
43251         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
43252         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
43253         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
43254         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
43255         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
43256         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
43257         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
43258         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
43259         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
43260         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
43261         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
43262         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
43263         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
43264         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
43265         * nscd/gai.c: Likewise.
43266         * nss/nss_db/db-open.c: Likewise.
43267         * sysdeps/generic/ldsodefs.h: Likewise.
43268         * sysdeps/sh/nptl/tls.h: Likewise.
43269         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
43270         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
43271         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
43272         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
43273         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
43274         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
43275         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
43276         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
43277         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
43278         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
43279         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
43280         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
43281         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
43282         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
43283         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
43284         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
43285         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
43286         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
43287         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
43288         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
43289         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
43290         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
43291         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
43292         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
43293         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
43294         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
43295         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
43296         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
43297         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
43298         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
43299         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
43300         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
43301         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
43302         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
43303         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
43304         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
43305         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
43306         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
43307         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
43308         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
43309         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
43310         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
43311         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
43312         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
43313         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
43314         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
43315         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
43316         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
43317         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
43318         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
43319         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
43320         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
43321         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
43322         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
43323         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
43324         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
43325         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
43326         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
43327         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
43328         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
43329         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
43330         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
43331         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
43332         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
43333         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
43334         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
43335         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
43336         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
43337         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
43338         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
43339         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
43340         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
43341         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
43342         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
43343         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
43344         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
43345         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
43346         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
43347         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
43348         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
43349         * sysdeps/unix/sysv/linux/pread.c: Likewise.
43350         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
43351         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
43352         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
43353         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
43354         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
43355         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
43356         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
43357         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
43358         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
43359         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
43360         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
43361         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
43362         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
43363         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
43364         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
43365         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
43366         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
43367         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
43368         * sysdeps/unix/sysv/linux/system.c: Likewise.
43369         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
43370         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
43371         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
43372         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
43373         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
43374         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
43375         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
43377         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
43378         * configure: Regenerated.
43379         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
43381         * configure.ac (base_machine): Do not set specially for particular
43382         machines here.
43383         * configure: Regenerated.
43384         * sysdeps/powerpc/preconfigure: Move machine and base_machine
43385         settings from configure.ac.
43386         * sysdeps/i386/preconfigure: New file.
43387         * sysdeps/s390/preconfigure: Likewise.
43388         * sysdeps/sh/preconfigure: Likewise.
43389         * sysdeps/sparc/preconfigure: Likewise.
43391 2014-06-25  Roland McGrath  <roland@hack.frob.com>
43393         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
43394         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
43395         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
43396         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
43397         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
43398         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
43399         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
43400         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
43401         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
43402         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
43403         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
43404         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
43405         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
43406         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
43407         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
43408         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
43409         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
43410         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
43411         * sysdeps/sparc/sparc64/Makefile: ... appended here.
43413         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
43414         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
43415         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
43416         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
43417         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
43418         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
43419         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
43420         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
43421         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
43422         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
43423         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
43424         * sysdeps/sparc/sparc32/sem_post.c: ... here.
43425         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
43426         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
43427         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
43428         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
43429         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
43430         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
43431         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
43432         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
43433         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
43434         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
43435         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
43436         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
43437         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
43438         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
43439         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
43440         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
43441         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
43442         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
43443         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
43444         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
43445         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
43446         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
43447         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
43448         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
43449         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
43450         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
43452         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
43453         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
43454         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
43455         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
43456         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
43457         Moved ...
43458         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
43459         ... here.
43460         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
43461         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
43462         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
43463         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
43464         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
43465         Moved ...
43466         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
43467         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
43468         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
43469         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
43470         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
43471         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
43472         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
43473         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
43474         Moved ...
43475         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
43476         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
43477         Moved ...
43478         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
43479         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
43480         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
43481         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
43482         Moved ...
43483         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
43484         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
43485         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
43486         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
43487         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
43488         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
43489         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
43490         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
43491         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
43492         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
43493         Moved ...
43494         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
43495         ... here.
43496         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
43497         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
43498         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
43499         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
43500         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
43501         Moved ...
43502         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
43503         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
43504         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
43505         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
43506         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
43507         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
43508         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
43509         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
43510         Moved ...
43511         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
43512         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
43513         Moved ...
43514         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
43515         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
43516         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
43517         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
43518         Moved ...
43519         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
43520         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
43521         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
43522         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
43523         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
43525 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
43527         * timezone/checktab.awk: Update from tzcode 2014e.
43528         * timezone/private.h: Likewise.
43529         * timezone/tzfile.h: Likewise.
43530         * timezone/zdump.c: Likewise.
43531         * timezone/zic.c: Likewise.
43533         * sysdeps/unix/sysv/linux/kernel-features.h
43534         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
43535         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
43536         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
43537         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
43538         Remove conditional code.
43540 2014-06-25  Will Newton  <will.newton@linaro.org>
43542         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
43543         (_dl_arm_cap_flags): Add HWCAP2 values.
43544         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
43545         (_DL_HWCAP_COUNT): Increase to 37.
43546         (_DL_HWCAP_LAST): New define.
43547         (_DL_HWCAP2_LAST): New define.
43548         (_dl_procinfo): Add support for printing
43549         AT_HWCAP2 entries.
43550         (_dl_string_hwcap): Use _dl_hwcap_string.
43552 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43554         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43556 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
43558         * README: Do not mention ports directory.
43560         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
43561         Remove macro.
43562         * sysdeps/unix/sysv/linux/futimes.c: Do not include
43563         <kernel-features.h>.
43564         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
43565         conditional variable definition.
43566         (__futimes): Update comment.
43567         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
43568         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
43570         [BZ #16560]
43571         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
43572         arguments close to 0.
43573         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
43574         Likewise.
43575         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
43576         Likewise.
43577         * math/auto-libm-test-in: Add more tests of exp10.
43578         * math/auto-libm-test-out: Regenerated.
43579         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43581         * sysdeps/unix/sysv/linux/kernel-features.h
43582         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
43583         * sysdeps/unix/sysv/linux/readv.c: Do not include
43584         <kernel-features.h>.
43585         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
43586         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
43587         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
43588         unconditional.
43589         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
43590         conditional code.
43591         * sysdeps/unix/sysv/linux/writev.c: Do not include
43592         <kernel-features.h>.
43593         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
43594         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
43595         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
43596         unconditional.
43597         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
43598         conditional code.
43600 2014-06-25  Will Newton  <will.newton@linaro.org>
43602         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
43603         comment changes throughout the file.  Remove checks
43604         for HAVE_*_H definitions that are not required.
43605         (__gen_tempname): Call abort if an unknown kind value is
43606         passed.
43608 2014-06-25  Andreas Schwab  <schwab@suse.de>
43610         [BZ #17086]
43611         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
43612         scalbln, scalblnf, scalblnl in libc.
43614 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
43616         [BZ #17086]
43617         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
43618         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
43619         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
43621 2014-06-24  Roland McGrath  <roland@hack.frob.com>
43623         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
43624         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
43625         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
43626         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
43627         Update #include.
43628         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
43629         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
43630         Update #include.
43631         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
43632         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
43633         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
43634         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
43635         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
43636         * sysdeps/x86/bits/pthreadtypes.h: ... here.
43637         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
43638         * sysdeps/x86/bits/semaphore.h: ... here.
43639         * sysdeps/x86/nptl/elide.h: Moved ...
43640         * sysdeps/x86/elide.h: ... here.
43641         * sysdeps/x86_64/nptl/Implies: File removed.
43642         * sysdeps/i386/nptl/Implies: File removed.
43644 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
43646         [BZ #16539]
43647         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
43648         return the argument for normal arguments with exponent below -64.
43649         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
43650         Likewise.
43651         * math/auto-libm-test-in: Add another test of expm1.
43652         * math/auto-libm-test-out: Regenerated.
43654         [BZ #16287]
43655         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
43656         calling __erfcl for arguments at least 16.
43657         * math/auto-libm-test-in: Add more tests of erf.
43658         * math/auto-libm-test-out: Regenerated.
43660         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
43661         individual architectures.
43662         * sysdeps/unix/sysv/linux/configure: Regenerated.
43663         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
43664         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
43665         * sysdeps/unix/sysv/linux/powerpc/configure.ac
43666         (ldd_rewrite_script): Define variable.
43667         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
43668         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
43669         file.
43670         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
43671         generated file.
43672         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
43673         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
43674         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
43675         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
43676         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
43677         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
43678         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
43679         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
43681 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
43683         [BZ #17084]
43684         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
43685         Rename member __data.d to __data.__elision_data.
43687 2014-06-24  Wilco  <wdijkstr@arm.com>
43689         * NEWS: Add 16918 to fixed bug list.
43691 2014-06-24  Wilco  <wdijkstr@arm.com>
43693         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
43695 2014-06-24  Wilco  <wdijkstr@arm.com>
43697         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
43698         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
43699         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
43700         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
43701         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
43702         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
43703         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
43704         Use _FPU_MASK_RM.
43706 2014-06-24  Wilco  <wdijkstr@arm.com>
43708         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
43710 2014-06-24  Wilco  <wdijkstr@arm.com>
43712         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
43713         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
43714         * sysdeps/arm/fesetround.c (fesetround): Remove space.
43715         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
43717 2014-06-24  Wilco  <wdijkstr@arm.com>
43719         [BZ #16918]
43720         * sysdeps/arm/feupdateenv.c (feupdateenv):
43721         Rewrite to reduce FPSCR accesses and fix return value.
43723 2014-06-24  Wilco  <wdijkstr@arm.com>
43725         * sysdeps/arm/fclrexcpt.c (feclearexcept):
43726         Optimize to avoid unnecessary FPSCR writes.
43727         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
43728         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
43729         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
43730         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
43732 2014-06-24  Wilco  <wdijkstr@arm.com>
43734         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
43735         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
43736         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
43737         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
43738         Call libc_fetestexcept_vfp.
43739         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
43740         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
43741         __SOFTFP__ ifdef so that they can be built for softfp.
43743 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
43745         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
43746         argument type signed char.
43748         * Makerules (check-abi): Dump diff of symlist if the test
43749         fails.
43751 2014-06-23  Roland McGrath  <roland@hack.frob.com>
43753         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
43754         using abort.
43756         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
43757         Remove unused variable ST.
43759 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
43761         [BZ #16354]
43762         [BZ #17061]
43763         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
43764         small arguments before calling __expm1.
43765         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
43766         small arguments before calling __expm1f.
43767         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
43768         small arguments before calling __expm1l.
43769         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
43770         Likewise.
43771         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
43772         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
43773         spurious underflow for some cosh tests.
43774         * math/auto-libm-test-out: Regenerated.
43775         * sysdeps/i386/fpu/libm-test-ulps: Update.
43777         [BZ #17050]
43778         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
43779         (__ieee754_y1): Set errno if return value overflows.
43780         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
43781         (__ieee754_y1f): Set errno if return value overflows.
43782         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
43783         (__ieee754_y1l): Set errno if return value overflows.
43784         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
43785         (__ieee754_y1l): Set errno if return value overflows.
43786         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
43787         * math/auto-libm-test-out: Regenerated.
43789         * math/gen-auto-libm-tests.c: Document use of
43790         ignore-zero-inf-sign.
43791         (input_flag_type): Add value flag_ignore_zero_inf_sign.
43792         (input_flags): Add ignore-zero-inf-sign.
43793         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
43794         * math/gen-libm-test.pl (generate_testfile): Handle
43795         ignore-zero-inf-sign.
43796         * math/auto-libm-test-in: Mark some cpow tests with
43797         ignore-zero-inf-sign and some with xfail-rounding.
43798         * math/auto-libm-test-out: Regenerated.
43799         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
43800         * sysdeps/i386/fpu/libm-test-ulps: Update.
43801         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43803         [BZ #16315]
43804         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
43805         overflowing or underflowing operations take place with sign of
43806         result.
43807         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
43808         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
43809         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
43810         (__ieee754_pow): Recompute overflowing and underflowing results in
43811         original rounding mode.
43812         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
43813         (__powl_helper): Allow negative argument X and scale negated value
43814         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
43815         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
43816         overflowing or underflowing operations take place with sign of
43817         result.
43818         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
43819         Include <math.h>.
43820         * math/auto-libm-test-in: Add more tests of pow.
43821         * math/auto-libm-test-out: Regenerated.
43822         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
43823         (pow_tonearest_test_data): Remove.
43824         (pow_test_tonearest): Likewise.
43825         (pow_towardzero_test_data): Likewise.
43826         (pow_test_towardzero): Likewise.
43827         (pow_downward_test_data): Likewise.
43828         (pow_test_downward): Likewise.
43829         (pow_upward_test_data): Likewise.
43830         (pow_test_upward): Likewise.
43831         (main): Don't call removed functions.
43832         * sysdeps/i386/fpu/libm-test-ulps: Update.
43833         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43835 2014-06-23  Roland McGrath  <roland@hack.frob.com>
43837         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
43838         Moved ...
43839         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
43840         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
43841         Moved ...
43842         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
43843         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
43844         Moved ...
43845         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
43846         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
43847         Moved ...
43848         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
43849         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
43850         File removed.
43851         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
43852         File removed.
43853         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
43854         File removed.
43855         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
43856         File removed.
43857         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
43858         File removed.
43859         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
43860         File removed.
43861         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
43862         File removed.
43863         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
43864         File removed.
43865         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
43866         File removed.
43867         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
43868         File removed.
43869         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
43870         File removed.
43871         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
43872         File removed.
43873         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
43874         Moved ...
43875         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
43876         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
43877         Moved ...
43878         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
43879         ... here.
43880         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
43881         Moved ...
43882         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
43883         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
43884         Moved ...
43885         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
43886         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
43887         Moved ...
43888         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
43889         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
43890         Moved ...
43891         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
43892         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
43893         Moved ...
43894         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
43895         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
43896         Moved ...
43897         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
43898         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
43899         Moved ...
43900         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
43901         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
43902         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
43903         ... here.
43904         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
43905         Moved ...
43906         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
43907         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
43908         Moved ...
43909         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
43910         ... here.
43911         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
43912         Moved ...
43913         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
43914         ... here.
43915         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
43916         Moved ...
43917         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
43918         ... here.
43919         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
43920         Moved ...
43921         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
43922         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
43923         Moved ...
43924         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
43925         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
43926         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
43927         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
43928         Moved ...
43929         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
43930         ... here.
43931         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
43932         Moved ...
43933         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
43934         ... here.
43935         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
43936         Moved ...
43937         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
43938         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
43939         Moved ...
43940         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
43941         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
43942         Moved ...
43943         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
43944         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
43945         Moved ...
43946         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
43947         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
43948         Moved ...
43949         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
43950         ... here.
43951         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
43952         Moved ...
43953         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
43954         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
43955         Moved ...
43956         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
43957         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
43958         Moved ...
43959         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
43960         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
43961         Moved ...
43962         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
43963         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
43964         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
43965         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
43966         Moved ...
43967         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
43968         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
43969         Moved ...
43970         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
43971         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
43972         Moved ...
43973         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
43974         ... here.
43975         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
43976         Moved ...
43977         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
43978         ... here.
43979         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
43980         Moved ...
43981         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
43982         ... here.
43983         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
43984         Moved ...
43985         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
43986         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
43987         Moved ...
43988         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
43989         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
43990         Moved ...
43991         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
43992         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
43993         Moved ...
43994         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
43995         ... here.
43996         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
43997         Moved ...
43998         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
43999         ... here.
44000         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
44001         Moved ...
44002         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
44003         ... here.
44004         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
44005         Moved ...
44006         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
44007         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
44008         Moved ...
44009         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
44011 2014-06-23  Will Newton  <will.newton@linaro.org>
44012             Wilco  <wdijkstr@arm.com>
44014         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
44015         implementation.  Include get-rounding-mode.h.
44016         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
44017         [!libc_feholdsetround_noex_ctx]: Define
44018         libc_feholdsetround_noex_ctx.
44019         [!libc_feholdsetround_noexf_ctx]: Define
44020         libc_feholdsetround_noexf_ctx.
44021         [!libc_feholdsetround_noexl_ctx]: Define
44022         libc_feholdsetround_noexl_ctx.
44023         (libc_feholdsetround_ctx): New function.
44024         (libc_feresetround_ctx): New function.
44025         (libc_feholdsetround_noex_ctx): New function.
44026         (libc_feresetround_noex_ctx): New function.
44028 2014-06-23  Roland McGrath  <roland@hack.frob.com>
44030         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
44031         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
44032         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
44033         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
44034         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
44035         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
44037         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
44038         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
44039         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
44040         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
44041         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
44042         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
44043         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
44044         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
44045         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
44046         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
44047         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
44048         Moved ...
44049         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
44050         ... here.
44051         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
44052         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
44053         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
44054         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
44055         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
44056         Moved ...
44057         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
44058         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
44059         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
44060         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
44061         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
44062         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
44063         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
44064         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
44065         Moved ...
44066         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
44067         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
44068         Moved ...
44069         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
44070         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
44071         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
44072         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
44073         Moved ...
44074         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
44075         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
44076         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
44077         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
44078         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
44079         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
44080         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
44081         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
44082         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
44083         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
44084         Moved ...
44085         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
44086         ... here.
44087         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
44088         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
44089         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
44090         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
44091         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
44092         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
44093         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
44094         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
44095         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
44096         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
44097         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
44098         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
44099         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
44100         Moved ...
44101         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
44102         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
44103         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
44104         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
44105         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
44106         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
44107         Moved ...
44108         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
44109         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
44110         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
44111         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
44112         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
44114         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
44115         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
44116         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
44117         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
44118         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
44119         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
44120         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
44121         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
44122         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
44123         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
44124         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
44125         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
44126         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
44127         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
44128         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
44129         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
44130         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
44131         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
44132         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
44133         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
44134         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
44135         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
44136         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
44137         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
44138         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
44139         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
44140         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
44141         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
44143 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
44145         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
44146         (FALLOC_FL_COLLAPSE_RANGE): New macro.
44147         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
44148         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
44149         (IPV6_PMTUDISC_INTERFACE): Likewise.
44150         (IPV6_PMTUDISC_OMIT): Likewise.
44152 2014-06-23  Andreas Schwab  <schwab@suse.de>
44154         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
44155         Remove unused errout label.
44157 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44159         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
44160         macro: hardware supports Vector Crypto instructions.
44162 2014-06-23  Will Newton  <will.newton@linaro.org>
44164         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
44165         rather than __builtin_expect.
44167         * elf/dl-lookup.c (undefined_msg): Remove variable.
44168         (_dl_lookup_symbol_x): Replace undefined_msg with string
44169         literal.
44171         * elf/dl-lookup.c (do_lookup_unique): New function.
44172         (do_lookup_x): Move STB_GNU_UNIQUE handling code
44173         to a separate function.
44175 2014-06-23  Andreas Schwab  <schwab@suse.de>
44177         [BZ #17079]
44178         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
44179         before reading the next line.
44181 2014-06-23  Will Newton  <will.newton@linaro.org>
44183         * test-skeleton.c (signal_handler): Use printf and %m
44184         rather than perror.  Use printf rather than fprintf to
44185         stderr.  Use puts rather than fputs to stderr.
44186         (main): Likewise.
44188 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
44190         * nscd/nscd.c (thread_info_t): Remove typedef.
44191         (thread_info): Remove variable.
44193 2014-06-21  Allan McRae  <allan@archlinux.org>
44195         * NEWS: Mention CVE-2014-4043.
44197 2014-06-20  Roland McGrath  <roland@hack.frob.com>
44199         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
44200         * nptl/smp.h: ... here.
44202         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
44204         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
44205         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
44206         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
44207         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
44209         * nptl/allocatestack.c: Include <stack-aliasing.h>.
44210         * nptl/stack-aliasing.h: New file.
44211         * sysdeps/i386/i686/stack-aliasing.h: New file.
44212         * sysdeps/i386/i686/nptl/Makefile: File removed.
44213         * sysdeps/x86_64/stack-aliasing.h: New file.
44214         * sysdeps/x86_64/nptl/Makefile
44215         (CFLAGS-pthread_create.c): Variable removed.
44217         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
44218         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
44219         old file.
44220         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
44221         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
44222         old file.
44224 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
44226         * sysdeps/unix/sysv/linux/arm/kernel-features.h
44227         (__ASSUME_SIGFRAME_V2): Remove macro.
44228         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
44229         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
44230         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
44231         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
44232         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
44233         Declare as function.  Remove conditional macro definitions.
44234         (__default_rt_sa_restorer): Likewise.
44235         (__default_sa_restorer_v1): Remove declaration.
44236         (__default_sa_restorer_v2): Likewise.
44237         (__default_rt_sa_restorer_v1): Likewise.
44238         (__default_rt_sa_restorer_v2): Likewise.
44239         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
44240         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
44241         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
44243 2014-06-20  Roland McGrath  <roland@hack.frob.com>
44245         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
44246         (libpthread-routines): Add sysdep.
44247         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
44248         * sysdeps/unix/sysv/linux/sparc/Versions
44249         (libpthread: GLIBC_2.3.3): New version set.
44250         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
44251         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
44252         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
44253         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
44254         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
44255         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
44256         Moved ...
44257         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
44258         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
44259         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
44260         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
44261         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
44262         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
44263         * sysdeps/sparc/nptl/sem_init.c: ... here.
44264         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
44265         * sysdeps/sparc/nptl/sem_post.c: ... here.
44266         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
44267         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
44268         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
44269         * sysdeps/sparc/nptl/sem_wait.c: ... here.
44270         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
44271         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
44272         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
44273         (libpthread-routines): Add cpu_relax.
44274         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
44275         File removed.
44276         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
44277         (librt: GLIBC_2.3.3): New version set.
44278         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
44279         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
44280         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
44281         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
44282         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
44283         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
44284         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
44285         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
44286         Moved ...
44287         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
44288         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
44289         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
44290         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
44291         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
44292         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
44293         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
44294         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
44295         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
44296         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
44297         Moved ...
44298         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
44299         Update #include.
44300         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
44301         Moved ...
44302         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
44303         Update #include.
44304         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
44305         Moved ...
44306         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
44307         Update #include.
44308         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
44309         Moved ...
44310         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
44311         Update #include.
44312         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
44313         Moved ...
44314         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
44315         Update #include.
44316         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
44317         Moved ...
44318         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
44319         Update #include.
44320         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
44321         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
44322         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
44323         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
44324         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
44325         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
44326         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
44327         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
44328         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
44329         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
44330         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
44331         Moved ...
44332         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
44333         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
44334         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
44335         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
44336         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
44338 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
44340         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
44341         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
44342         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
44343         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
44344         * nscd/nscd.c: Likewise.
44345         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
44346         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
44347         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
44348         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
44350         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
44351         <kernel-features.h>.
44352         (init_mq_netlink): Remove conditional have_sock_cloexec
44353         definitions.  Remove code conditional on have_sock_cloexec < 0.
44354         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
44355         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
44356         * sysdeps/unix/sysv/linux/opensock.c: Do not include
44357         <kernel-features.h>.
44358         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
44359         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
44361 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
44363         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
44364         Add tests for memset_chk and memset.
44366         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
44367         with AVX2_Usable.
44369 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
44371         [BZ #16046]
44372         * elf/tst-dl-iter-static.c: New file.
44373         * elf/Makefile (tests-static): Add tst-dl-iter-static.
44375         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
44376         error.
44378 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
44380         * sysdeps/unix/sysv/linux/kernel-features.h
44381         (__ASSUME_F_GETOWN_EX): Remove macro.
44382         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
44383         <kernel-features.h>.
44384         (miss_F_GETOWN_EX): Remove variable or macro.
44385         (do_fcntl): Do not check miss_F_GETOWN_EX.
44386         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
44388         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
44389         Remove macro.
44390         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
44391         [!__ASSUME_AT_RANDOM]: Remove conditional code.
44392         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
44394         * sysdeps/unix/sysv/linux/kernel-features.h
44395         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
44396         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
44397         [ADJ_OFFSET_SS_READ]: Make code unconditional.
44398         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
44400 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
44402         [BZ #17075]
44403         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
44404         Fix calculation of the symbol's value.
44405         * sysdeps/arm/tst-armtlsdescloc.c: New file.
44406         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
44407         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
44408         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
44409         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
44410         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
44411         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
44412         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
44413         (modules-names): Add `tst-armtlsdescmod',
44414         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
44415         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
44416         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
44417         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
44418         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
44419         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
44420         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
44421         ($(objpfx)tst-armtlsdescloc): New dependency.
44422         ($(objpfx)tst-armtlsdescextnow): Likewise.
44423         ($(objpfx)tst-armtlsdescextlazy): Likewise.
44424         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
44425         TLS scheme support.
44426         * sysdeps/arm/configure: Regenerate.
44428 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
44430         * include/fcntl.h (__atfct_seterrno): Remove prototype.
44431         (__atfct_seterrno_2): Likewise.
44432         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
44433         <kernel-features.h>.
44434         (__ASSUME_ATFCTS): Do not undefine and redefine.
44435         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
44436         (__have_atfcts): Remove conditional definition.
44437         (__fxstatat([__NR_fstatat64]: Make code unconditional.
44438         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
44439         unreachable if [__ASSUME_ATFCTS].
44440         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
44441         not undefine and redefine.
44442         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
44443         <kernel-features.h>.
44444         (faccessat) [__NR_faccessat]: Make code unconditional.
44445         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
44446         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
44447         <kernel-features.h>.
44448         (fchmodat) [__NR_fchmodat]: Make code unconditional.
44449         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
44450         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
44451         <kernel-features.h>.
44452         (fchownat) [__NR_fchownat]: Make code unconditional.
44453         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
44454         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
44455         <kernel-features.h>.
44456         (futimesat) [__NR_futimesat]: Make code unconditional.
44457         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
44458         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
44459         <kernel-features.h>.
44460         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
44461         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
44462         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
44463         <kernel-features.h>.
44464         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
44465         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
44466         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
44467         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
44468         <kernel-features.h>.
44469         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
44470         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
44471         * sysdeps/unix/sysv/linux/linkat.c: Do not include
44472         <kernel-features.h>.
44473         (linkat) [__NR_linkat]: Make code unconditional.
44474         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
44475         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
44476         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
44477         <kernel-features.h>.
44478         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
44479         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
44480         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
44481         <kernel-features.h>.
44482         (mkdirat) [__NR_mkdirat]: Make code unconditional.
44483         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
44484         * sysdeps/unix/sysv/linux/openat.c: Do not include
44485         <kernel-features.h>.
44486         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
44487         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
44488         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
44489         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
44490         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
44491         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
44492         <kernel-features.h>.
44493         (readlinkat) [__NR_readlinkat]: Make code unconditional.
44494         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
44495         result of INLINE_SYSCALL directly, not via int variable.
44496         * sysdeps/unix/sysv/linux/renameat.c: Do not include
44497         <kernel-features.h>.
44498         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
44499         (renameat) [__NR_renameat]: Make code unconditional.
44500         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
44501         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
44502         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
44503         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
44504         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
44505         (__ASSUME_ATFCTS): Do not undefine and redefine.
44506         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
44507         <kernel-features.h>.
44508         (symlinkat) [__NR_symlinkat]: Make code unconditional.
44509         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
44510         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
44511         <kernel-features.h>.
44512         (unlinkat) [__NR_unlinkat]: Make code unconditional.
44513         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
44514         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
44515         (__ASSUME_ATFCTS): Do not undefine and redefine.
44516         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
44517         <kernel-features.h>.
44518         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
44519         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
44520         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
44521         <kernel-features.h>.
44522         (__xmknodat) [__NR_mknodat]: Make code unconditional.
44523         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
44525 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
44527         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
44529 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
44531         [BZ #17069]
44532         * posix/regcomp.c (parse_reg_exp): Deallocate partially
44533         constructed tree before returning error.
44534         * posix/bug-regexp36.c: Expand test case.
44536 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
44538         [BZ #6803]
44539         * math/libm-test.inc (scalbln_test_date):
44540         Add errno expectations.
44541         * math/w_scalblnf.c: New File.
44542         Add wrapper which checks for setting errno to ERANGE.
44543         Add weak_alias for corresponding scalbln function.
44544         * math/w_scalbln.c: Likewise.
44545         * math/w_scalblnl.c: Likewise.
44546         * math/Makefile (libm-calls): Add w_scalbln.
44547         * sysdeps/ieee754/flt-32/s_scalblnf.c:
44548         Remove weak_alias for corresponding scalbln function.
44549         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
44550         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
44551         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
44552         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
44553         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
44554         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
44555         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
44556         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
44557         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
44558         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
44559         Remove long_double_symbol for scalblnl function in libm, libc.
44560         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
44561         Add wrapper which checks for setting errno to ERANGE.
44562         Add long_double_symbol for scalblnl function in libm, libc.
44563         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
44564         Remove long_double_symbol for scalblnl in libm.
44565         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
44566         Add wrapper which checks for setting errno to ERANGE.
44567         Add long_double_symbol for scalblnl function in libm.
44568         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
44569         Do not use wrapper because of own implementation.
44571 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
44573         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
44574         3 bytes for __pad1 for x32.
44575         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
44577 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
44578             H.J. Lu  <hongjiu.lu@intel.com>
44580         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
44581         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
44582         * sysdeps/x86_64/multiarch/memset.S: Likewise.
44583         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
44584         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
44586 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
44588         [BZ #17069]
44589         * posix/regcomp.c (parse_expression): Deallocate partially
44590         constructed tree before returning error.
44591         * posix/Makefile.c (tests): Add bug-regex36.
44592         (generated): Add bug-regex36.mtrace.
44593         (tests-special): Add $(objpfx)bug-regex36-mem.out
44594         (bug-regex36-ENV): New variable.
44595         ($(objpfx)bug-regex36-mem.out): New rule.
44596         * posix/bug-regex36.c: New file.
44598 2014-06-19  Will Newton  <will.newton@linaro.org>
44600         * malloc/malloc.c (systrim): If extra is zero then return
44601         early.
44603 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
44605         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
44607 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
44609         * sysdeps/aarch64/strchr.S: New file.
44611 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
44613         [BZ #17022]
44614         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
44615         from arguments -2 or below.
44616         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
44617         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
44619 2014-06-18  Andreas Schwab  <schwab@suse.de>
44621         [BZ #17062]
44622         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
44623         of a bracket expr not to run off the end of the string.
44624         * posix/Makefile (tests): Add tst-fnmatch3.
44625         * posix/tst-fnmatch3.c: New file.
44627 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
44629         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
44630         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
44631         [$(cross-compiling) = no]: Likewise.
44632         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
44633         [$(cross-compiling) = no]: Likewise.
44635 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
44637         [BZ #17031]
44638         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
44639         double, adjusted for any remainder from the high double.
44640         * math/libm-test.inc (nearbyint): Add tests.
44641         (rint): Likewise.
44643 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44645         * nptl/sysdeps/powerpc/Makefile: Moved ...
44646         * sysdeps/powerpc/nptl/Makefile: ... here.
44647         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
44648         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
44649         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
44650         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
44651         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
44652         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
44653         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
44654         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
44655         * nptl/sysdeps/powerpc/tls.h: Moved ...
44656         * sysdeps/powerpc/nptl/tls.h: ... here.
44658 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
44660         [BZ #16681]
44661         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
44662         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
44663         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
44664         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
44665         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
44666         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
44667         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
44668         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
44669         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
44671 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
44673         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
44675 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
44677         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
44678         defined operator.
44680         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
44681         $TIMEOUTFACTOR.
44683 2014-06-16  Florian Weimer  <fweimer@redhat.com>
44685         [BZ #17058]
44686         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
44687         non-executed part of the test.
44689 2014-06-16  Andreas Schwab  <schwab@suse.de>
44691         * string/bits/string2.h (strdup, strndup): Update feature guard.
44693 2014-06-14  David S. Miller  <davem@davemloft.net>
44695         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44697 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
44699         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
44700         that was previously under [RESET_PID].
44701         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
44703         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
44704         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
44705         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
44706         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
44707         (__libc_vfork): New strong alias.
44708         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
44710 2014-06-14 Andi Kleen  <ak@linux.intel.com>
44712         * sysdeps/generic/elide.h: New file.
44714 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
44716         * Makefile (installed-headers): Adjust path of pthread.h header.
44718 2014-06-13  Roland McGrath  <roland@hack.frob.com>
44720         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
44721         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
44722         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
44723         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
44725         * nptl/sysdeps/s390/Makefile: Moved ...
44726         * sysdeps/s390/nptl/Makefile: ... here.
44727         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
44728         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
44729         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
44730         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
44731         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
44732         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
44733         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
44734         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
44735         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
44736         * sysdeps/s390/nptl/pthreaddef.h: ... here.
44737         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
44738         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
44739         * nptl/sysdeps/s390/tls.h: Moved ...
44740         * sysdeps/s390/nptl/tls.h: ... here.
44742         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
44743         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
44745 2014-06-13  David S. Miller  <davem@davemloft.net>
44747         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
44748         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
44749         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
44750         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
44751         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
44752         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
44753         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
44754         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
44755         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
44756         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
44757         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
44758         Remove RESET_PID cpp guards.
44759         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
44760         Remove RESET_PID cpp guards.
44761         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
44763 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
44765         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
44766         __sp to uintptr_t.
44768 2014-06-13  Andi Kleen  <ak@linux.intel.com>
44770         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
44771         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
44772         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
44773         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
44774         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
44775         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
44776         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
44777         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
44778         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
44779         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
44780         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
44781         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
44782         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
44783         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
44784         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
44785         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
44786         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
44787         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
44788         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
44789         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
44791         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
44792         (pthread_rwlock_rdlock): Add elision.
44793         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
44794         (pthread_rwlock_wrlock): Add elision.
44795         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
44796         (pthread_rwlock_trywrlock): Add elision.
44797         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
44798         (pthread_rwlock_tryrdlock): Add elision.
44799         * nptl/pthread_rwlock_unlock.c: Include elide.h.
44800         (pthread_rwlock_tryrdlock): Add elision unlock.
44801         * nptl/sysdeps/pthread/pthread.h:
44802         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
44803         (PTHREAD_RWLOCK_INITIALIZER,
44804         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
44805         Handle new elision field.
44806         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
44807         * sysdeps/arm/nptl/bits/pthreadtypes.h
44808         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
44809         * sysdeps/sh/nptl/bits/pthreadtypes.h
44810         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
44811         * sysdeps/tile/nptl/bits/pthreadtypes.h
44812         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
44813         * sysdeps/a/nptl/bits/pthreadtypes.h
44814         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
44815         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
44816         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
44817         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
44818         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
44819         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
44820         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
44821         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
44822         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
44823         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
44824         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
44825         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
44826         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
44827         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
44828         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
44829         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
44830         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
44831         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
44832         (elision_init): Set try_xbegin to zero when no RTM.
44833         * sysdeps/x86/nptl/bits/pthreadtypes.h
44834         (pthread_rwlock_t): Change __pad1 to __rwelision.
44835         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
44837 2014-06-13  Andi Kleen  <ak@linux.intel.com>
44839         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
44840         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
44841         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
44842         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
44844 2014-06-13  Meador Inge  <meadori@codesourcery.com>
44846         [BZ #16996]
44847         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
44848         that the cached result has been set before returning it.
44850 2014-06-12  Roland McGrath  <roland@hack.frob.com>
44852         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
44853         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
44854         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
44855         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
44856         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
44857         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
44859         * nptl/sysdeps/sparc/Makefile: Moved ...
44860         * sysdeps/sparc/nptl/Makefile: ... here.
44861         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
44862         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
44863         * nptl/sysdeps/sparc/tls.h: Moved ...
44864         * sysdeps/sparc/nptl/tls.h: ... here.
44865         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
44866         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
44867         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
44868         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
44869         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
44870         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
44871         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
44872         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
44873         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
44874         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
44875         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
44876         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
44877         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
44878         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
44879         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
44880         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
44881         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
44882         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
44883         Update #include.
44884         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
44885         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
44886         Update #include.
44887         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
44888         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
44889         Update #include.
44890         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
44891         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
44892         Update #include.
44894         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
44896         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
44897         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
44899         * sysdeps/pthread/posix-timer.h: Include <list.h>.
44900         (struct list_links): Type removed.
44901         (struct thread_node, struct timer_node): Replace struct list_links
44902         with struct list_head.
44903         (list_unlink_ip): Likewise.
44904         * sysdeps/pthread/timer_routines.c
44905         (timer_free_list, thread_free_list, thread_active_list): Likewise.
44906         (list_append, list_insbefore): Likewise.
44907         (list_init): Function removed.
44908         (thread_init, init_module): Use INIT_LIST_HEAD instead.
44909         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
44910         * sysdeps/pthread/Makefile: ... here, new file.
44912         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
44913         * sysdeps/nptl/Implies: ... here.
44914         * sysdeps/unix/sysv/linux/Implies: Add nptl.
44915         * nptl/sysdeps/pthread/list.h: Moved ...
44916         * include/list.h: ... here.
44917         * nptl/sysdeps/pthread/createthread.c: Moved ...
44918         * nptl/createthread.c: ... here.
44919         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
44920         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
44921         * nptl/pt-longjmp.c: ... here.
44922         * nptl/sysdeps/pthread/Makefile: Moved ...
44923         * sysdeps/nptl/Makefile: ... here.
44924         * nptl/sysdeps/pthread/Subdirs: Moved ...
44925         * sysdeps/nptl/Subdirs: ... here.
44926         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
44927         * sysdeps/nptl/aio_misc.h: ... here.
44928         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
44929         * sysdeps/nptl/bits/libc-lock.h: ... here.
44930         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
44931         * sysdeps/nptl/bits/libc-lockP.h: ... here.
44932         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
44933         * sysdeps/nptl/bits/stdio-lock.h: ... here.
44934         * nptl/sysdeps/pthread/configure: Moved ...
44935         * sysdeps/nptl/configure: ... here.
44936         * nptl/sysdeps/pthread/configure.ac: Moved ...
44937         * sysdeps/nptl/configure.ac: ... here.
44938         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
44939         * sysdeps/nptl/gai_misc.h: ... here.
44940         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
44941         * sysdeps/nptl/librt-cancellation.c: ... here.
44942         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
44943         * sysdeps/nptl/malloc-machine.h: ... here.
44944         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
44945         * sysdeps/nptl/pthread-functions.h: ... here.
44946         * nptl/sysdeps/pthread/pthread.h: Moved ...
44947         * sysdeps/nptl/pthread.h: ... here.
44948         * nptl/sysdeps/pthread/setxid.h: Moved ...
44949         * sysdeps/nptl/setxid.h: ... here.
44950         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
44951         * sysdeps/nptl/sigfillset.c: ... here.
44952         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
44953         * sysdeps/nptl/tcb-offsets.h: ... here.
44954         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
44955         * sysdeps/nptl/tst-mqueue8x.c: ... here.
44956         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
44957         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
44958         * nptl/sysdeps/pthread/allocalim.h: Moved ...
44959         * sysdeps/pthread/allocalim.h: ... here.
44960         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
44961         * sysdeps/pthread/bits/sigthread.h: ... here.
44962         * nptl/sysdeps/pthread/flockfile.c: Moved ...
44963         * sysdeps/pthread/flockfile.c: ... here.
44964         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
44965         * sysdeps/pthread/ftrylockfile.c: ... here.
44966         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
44967         * sysdeps/pthread/funlockfile.c: ... here.
44968         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
44969         * sysdeps/pthread/posix-timer.h: ... here.
44970         * nptl/sysdeps/pthread/timer_create.c: Moved ...
44971         * sysdeps/pthread/timer_create.c: ... here.
44972         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
44973         * sysdeps/pthread/timer_delete.c: ... here.
44974         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
44975         * sysdeps/pthread/timer_getoverr.c: ... here.
44976         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
44977         * sysdeps/pthread/timer_gettime.c: ... here.
44978         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
44979         * sysdeps/pthread/timer_routines.c: ... here.
44980         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
44981         * sysdeps/pthread/timer_settime.c: ... here.
44982         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
44983         * sysdeps/pthread/tst-timer.c: ... here.
44984         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
44985         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
44987         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
44988         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
44990         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
44991         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
44992         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
44993         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
44994         Update #include target.
44995         * nptl/sysdeps/i386/i686/Makefile: Moved ...
44996         * sysdeps/i386/i686/nptl/Makefile: ... here.
44997         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
44998         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
44999         Update #include target.
45000         * nptl/sysdeps/i386/i686/tls.h: Moved ...
45001         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
45002         * nptl/sysdeps/i386/Makefile: Moved ...
45003         * sysdeps/i386/nptl/Makefile: ... here.
45004         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
45005         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
45006         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
45007         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
45008         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
45009         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
45010         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
45011         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
45012         * sysdeps/i386/nptl/pthreaddef.h: ... here.
45013         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
45014         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
45015         * nptl/sysdeps/i386/tls.h: Moved ...
45016         * sysdeps/i386/nptl/tls.h: ... here.
45018         * sysdeps/sh/Makefile [$(subdir) = csu]
45019         (gen-as-const-headers): Add tcb-offsets.sym.
45020         * nptl/sysdeps/sh/Makefile: File removed.
45021         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
45022         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
45023         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
45024         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
45025         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
45026         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
45027         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
45028         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
45029         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
45030         * sysdeps/sh/nptl/pthreaddef.h: ... here.
45031         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
45032         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
45033         * nptl/sysdeps/sh/tls.h: Moved ...
45034         * sysdeps/sh/nptl/tls.h: ... here.
45035         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
45036         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
45037         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
45038         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
45039         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
45040         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
45041         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
45042         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
45043         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
45044         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
45045         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
45046         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
45047         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
45048         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
45049         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
45050         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
45051         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
45052         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
45053         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
45054         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
45055         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
45056         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
45057         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
45058         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
45059         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
45060         Moved ...
45061         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
45062         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
45063         Moved ...
45064         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
45065         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
45066         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
45067         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
45068         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
45069         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
45070         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
45071         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
45072         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
45073         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
45074         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
45075         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
45076         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
45077         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
45078         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
45079         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
45080         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
45081         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
45082         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
45084 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
45086         * posix/spawn_faction_addopen.c: Include string.h.
45088 2014-06-11  Roland McGrath  <roland@hack.frob.com>
45090         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
45091         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
45092         * nptl/sysdeps/x86_64/Makefile: Moved ...
45093         * sysdeps/x86_64/nptl/Makefile: ... here.
45094         * nptl/sysdeps/x86_64/configure: Moved ...
45095         * sysdeps/x86_64/nptl/configure: ... here.
45096         * nptl/sysdeps/x86_64/configure.ac: Moved ...
45097         * sysdeps/x86_64/nptl/configure.ac: ... here.
45098         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
45099         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
45100         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
45101         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
45102         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
45103         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
45104         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
45105         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
45106         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
45107         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
45108         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
45109         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
45110         * nptl/sysdeps/x86_64/tls.h: Moved ...
45111         * sysdeps/x86_64/nptl/tls.h: ... here.
45112         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
45113         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
45114         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
45115         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
45117         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
45119 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45121         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45123 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
45125         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
45126         type.
45127         [POSIX] (off_t): Likewise.
45128         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
45129         [POSIX] (S_ISBLK): Require macro.
45130         [POSIX] (S_ISCHR): Likewise.
45131         [POSIX] (S_ISDIR): Likewise.
45132         [POSIX] (S_ISFIFO): Likewise.
45133         [POSIX] (S_ISREG): Likewise.
45134         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
45135         optional-macro.
45136         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
45137         type.
45138         [POSIX] (time_t): Likewise.
45139         [POSIX] (timer_t): Likewise.
45141 2014-06-11  Florian Weimer  <fweimer@redhat.com>
45143         [BZ #17048]
45144         * posix/spawn_int.h (struct __spawn_action): Make the path string
45145         non-const to support deallocation.
45146         * posix/spawn_faction_addopen.c
45147         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
45148         * posix/spawn_faction_destroy.c
45149         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
45150         path in all spawn_do_open actions.
45151         * posix/tst-spawn.c (do_test): Exercise the copy operation in
45152         posix_spawn_file_actions_addopen.
45154 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
45156         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
45157         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
45158         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
45159         conditional code always true.
45160         (__libc_vfork): New alias.
45162 2014-06-11  Roland McGrath  <roland@hack.frob.com>
45164         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
45165         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
45167         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
45169         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
45170         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
45172         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
45173         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
45175         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
45176         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
45178 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
45180         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
45181         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
45182         multiarch strcmp for PPC64.
45183         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
45184         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
45185         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
45186         multiarch optimizations.
45187         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
45188         (__libc_ifunc_impl_list): Likewise.
45190 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
45192         * benchtests/scripts/validate_benchout.py: New script.
45193         * benchtests/Makefile (bench-func): Call it.
45194         * benchtests/scripts/benchout.schema.json: New file.
45196 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
45198         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
45199         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
45200         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
45201         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
45202         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
45203         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
45204         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
45205         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
45206         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
45207         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
45208         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
45209         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
45210         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
45211         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
45212         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
45213         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
45214         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
45215         Moved ...
45216         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
45217         ... here.
45218         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
45219         Moved ...
45220         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
45221         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
45222         Moved ...
45223         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
45224         ... here.
45225         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
45226         Moved ...
45227         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
45228         ... here.
45229         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
45230         Moved ...
45231         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
45232         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
45233         Moved ...
45234         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
45235         ... here.
45236         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
45237         Moved ...
45238         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
45239         ... here.
45240         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
45241         Moved ...
45242         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
45243         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
45244         Moved ...
45245         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
45246         ... here.
45247         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
45248         Moved ...
45249         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
45250         ... here.
45251         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
45252         Moved ...
45253         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
45254         ... here.
45255         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
45256         Moved ...
45257         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
45258         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
45259         Moved ...
45260         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
45261         ... here.
45262         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
45263         Moved ...
45264         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
45265         ... here.
45266         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
45267         Moved ...
45268         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
45269         ... here.
45270         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
45271         Moved ...
45272         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
45273         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
45274         Moved ...
45275         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
45276         ... here.
45277         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
45278         Moved ...
45279         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
45280         ... here.
45281         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
45282         Moved ...
45283         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
45284         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
45285         Moved ...
45286         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
45287         ... here.
45288         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
45289         Moved ...
45290         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
45291         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
45292         Moved ...
45293         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
45294         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
45295         Moved ...
45296         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
45297         ... here.
45298         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
45299         Moved ...
45300         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
45301         ... here.
45302         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
45303         Moved ...
45304         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
45305         ... here.
45306         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
45307         Moved ...
45308         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
45309         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
45310         Moved ...
45311         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
45312         ... here.
45313         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
45314         Moved ...
45315         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
45316         ... here.
45317         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
45318         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
45319         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
45320         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
45321         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
45322         Moved ...
45323         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
45324         ... here.
45325         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
45326         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
45327         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
45328         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
45329         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
45330         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
45331         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
45332         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
45333         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
45334         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
45335         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
45336         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
45337         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
45338         Moved ...
45339         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
45340         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
45341         Moved ...
45342         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
45343         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
45344         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
45345         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
45346         Moved ...
45347         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
45348         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
45349         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
45350         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
45351         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
45352         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
45353         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
45355 2014-06-10  Wilco  <wdijkstr@arm.com>
45357         * math/test-fenv-return.c: New file.
45358         * math/Makefile: Add new test test-fenv-return.
45360 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
45362         [BZ #17042]
45363         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
45364         when x - 1 is zero.
45365         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
45366         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
45367         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
45368         0.0L for an argument of 1.0L.
45369         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
45370         Likewise.
45371         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
45372         value when x - 1 is zero.
45373         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
45374         * sysdeps/i386/fpu/libm-test-ulps: Update.
45375         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45377 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
45379         [BZ #15119]
45380         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
45382 2014-06-09  Roland McGrath  <roland@hack.frob.com>
45384         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
45385         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
45387 2014-06-09  Roland McGrath  <roland@hack.frob.com>
45389         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
45390         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
45392         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
45393         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
45395         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
45396         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
45398         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
45399         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
45401         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
45402         if not already defined.
45403         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
45404         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
45405         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
45406         (TLS_INIT_TP): Use it.
45407         (TLS_DEFINE_INIT_TP): New macro.
45408         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
45410 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
45412         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
45413         constant.
45414         [POSIX] (IXANY): Likewise.
45415         [POSIX] (OLCUC): Likewise.
45416         [POSIX || POSIX2008] (CBAUD): Do not allow.
45417         [POSIX || POSIX2008] (DEFECHO): Likewise.
45418         [POSIX || POSIX2008] (ECHOCTL): Likewise.
45419         [POSIX || POSIX2008] (ECHOKE): Likewise.
45420         [POSIX || POSIX2008] (ECHOPRT): Likewise.
45421         [POSIX || POSIX2008] (EXTA): Likewise.
45422         [POSIX || POSIX2008] (EXTB): Likewise.
45423         [POSIX || POSIX2008] (FLUSHO): Likewise.
45424         [POSIX || POSIX2008] (LOBLK): Likewise.
45425         [POSIX || POSIX2008] (PENDIN): Likewise.
45426         [POSIX || POSIX2008] (SWTCH): Likewise.
45427         [POSIX || POSIX2008] (VDISCARD): Likewise.
45428         [POSIX || POSIX2008] (VDSUSP): Likewise.
45429         [POSIX || POSIX2008] (VLNEXT): Likewise.
45430         [POSIX || POSIX2008] (VREPRINT): Likewise.
45431         [POSIX || POSIX2008] (VSTATUS): Likewise.
45432         [POSIX || POSIX2008] (VWERASE): Likewise.
45433         (B*): Change to B[0123456789]*.
45434         * conform/data/time.h-data [POSIX || UNIX98]
45435         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
45436         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
45437         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
45438         [POSIX] (tm_*): Do not allow.
45440 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
45442         * Makefile (install): Don't set LANGUAGE.
45443         * Makefile.in (install): Likewise.
45444         * assert/Makefile (test-assert-ENV): Remove variable.
45445         (test-assert-perr-ENV): Likewise.
45446         * elf/Makefile (neededtest4-ENV): Likewise.
45447         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
45448         [$(cross-compiling) = no]: Don't set LANGUAGE.
45449         * io/ftwtest-sh (LANG): Remove variable.
45450         * libio/Makefile (tst-widetext-ENV): Likewise.
45451         * manual/install.texi (Running make install): Don't refer to
45452         environment settings for make install.
45453         * INSTALL: Regenerated.
45454         * nptl/tst-tls6.sh: Don't set LANG.
45455         * posix/globtest.sh (LANG): Remove variable.
45456         * string/Makefile (tester-ENV): Likewise.
45457         (inl-tester-ENV): Likewise.
45458         (noinl-tester-ENV): Likewise.
45459         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
45460         [$(cross-compiling) = no]: Don't set LANGUAGE.
45461         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
45462         without explicit environment settings.
45464 2014-06-06  Roland McGrath  <roland@hack.frob.com>
45466         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
45467         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
45468         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
45469         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
45471 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
45473         * crypt/crypt-private.h [DOS]: Add some includes taken from the
45474         other files in the crypt directory.
45475         * crypt/crypt.c: Remove duplicate includes.
45476         * crypt/crypt-entry.c: Likewise.
45477         * crypt/crypt_util.c: Likewise.
45479 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
45481         * Makeconfig (run-program-env): New variable.
45482         (run-program-prefix-before-env): Likewise.
45483         (run-program-prefix-after-env): Likewise.
45484         (run-program-prefix): Define in terms of new variables.
45485         (built-program-cmd-before-env): New variable.
45486         (built-program-cmd-after-env): Likewise.
45487         (built-program-cmd): Define in terms of new variables.
45488         (test-program-prefix-before-env): New variable.
45489         (test-program-prefix-after-env): Likewise.
45490         (test-program-prefix): Define in terms of new variables.
45491         (test-program-cmd-before-env): New variable.
45492         (test-program-cmd-after-env): Likewise.
45493         (test-program-cmd): Define in terms of new variables.
45494         * Rules (make-test-out): Use $(run-program-env).
45495         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
45496         (help): Do not mention environment variables.  Mention
45497         --timeoutfactor option.
45498         (timeoutfactor): New variable.
45499         (blacklist_exports): Remove function.
45500         (exports): Remove variable.
45501         (command): Do not include ${exports}.
45502         * manual/install.texi (Configuring and compiling): Do not mention
45503         test wrappers preserving environment variables.  Mention that last
45504         assignment to a variable must take precedence.
45505         * INSTALL: Regenerated.
45506         * benchtests/Makefile (run-bench): Use $(run-program-env).
45507         * catgets/Makefile ($(objpfx)test1.cat): Use
45508         $(built-program-cmd-before-env), $(run-program-env) and
45509         $(built-program-cmd-after-env).
45510         ($(objpfx)test2.cat): Do not specify environment variables
45511         explicitly.
45512         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
45513         $(run-program-env) and $(built-program-cmd-after-env).
45514         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
45515         $(run-program-env) and $(test-program-cmd-after-env).
45516         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
45517         explicitly.
45518         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
45519         run_program_env and test_program_cmd_after_env arguments.
45520         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
45521         * elf/tst-pathopt.sh: Use run_program_env argument.
45522         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
45523         $(test-wrapper-env) and $(run-program-env).
45524         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
45525         run_program_env arguments.
45526         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
45527         * intl/Makefile ($(objpfx)tst-gettext.out): Use
45528         $(test-program-prefix-before-env), $(run-program-env) and
45529         $(test-program-prefix-after-env).
45530         ($(objpfx)tst-gettext2.out): Likewise.
45531         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
45532         run_program_env and test_program_prefix_after_env arguments.
45533         * intl/tst-gettext2.sh: Likewise.
45534         * intl/tst-gettext4.sh: Do not set environment variables
45535         explicitly.
45536         * intl/tst-gettext6.sh: Likewise.
45537         * intl/tst-translit.sh: Likewise.
45538         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
45539         $(test-program-prefix-before-env), $(run-program-env) and
45540         $(test-program-prefix-after-env).
45541         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
45542         run_program_env and test_program_prefix_after_env arguments.
45543         * math/Makefile (run-regen-ulps): Use $(run-program-env).
45544         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
45545         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
45546         explicitly with each use of ${test_wrapper_env}.
45547         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
45548         $(test-program-prefix-before-env), $(run-program-env) and
45549         $(test-program-prefix-after-env).
45550         * posix/tst-getconf.sh: Do not set environment variables
45551         explicitly.
45552         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
45553         run_program_env and test_program_prefix_after_env arguments.
45554         * stdio-common/tst-printf.sh: Do not set environment variables
45555         explicitly.
45556         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
45557         $(test-program-prefix-before-env), $(run-program-env) and
45558         $(test-program-prefix-after-env).
45559         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
45560         run_program_env and test_program_prefix_after_env arguments.
45561         Split $test calls into $test_pre and $test.
45562         * timezone/Makefile (build-testdata): Use
45563         $(built-program-cmd-before-env), $(run-program-env) and
45564         $(built-program-cmd-after-env).
45566 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45568         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
45569         strlen for non SHARED builds.
45571 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
45573         * nptl/allocatestack.c (check_list): Inlined function...
45574         (__reclaim_stacks): ... here.
45576 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
45578         [BZ #15698]
45579         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
45580         memory overrun.
45582 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
45584         * Rules (make-test-out): Include
45585         LOCPATH=$(common-objpfx)localedata in default environment.
45586         * debug/Makefile (tst-chk1-ENV): Remove variable.
45587         (tst-chk2-ENV): Likewise.
45588         (tst-chk3-ENV): Likewise.
45589         (tst-chk4-ENV): Likewise.
45590         (tst-chk5-ENV): Likewise.
45591         (tst-chk6-ENV): Likewise.
45592         (tst-lfschk1-ENV): Likewise.
45593         (tst-lfschk2-ENV): Likewise.
45594         (tst-lfschk3-ENV): Likewise.
45595         (tst-lfschk4-ENV): Likewise.
45596         (tst-lfschk5-ENV): Likewise.
45597         (tst-lfschk6-ENV): Likewise.
45598         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
45599         (tst-iconv7-ENV): Likewise.
45600         * intl/Makefile (LOCPATH-ENV): Likewise.
45601         (tst-codeset-ENV): Likewise.
45602         (tst-gettext3-ENV): Likewise.
45603         (tst-gettext5-ENV): Likewise.
45604         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
45605         (tst-fopenloc-ENV): Likewise.
45606         (tst-fgetws-ENV): Remove variable.
45607         (tst-ungetwc1-ENV): Likewise.
45608         (tst-ungetwc2-ENV): Likewise.
45609         (bug-ungetwc2-ENV): Likewise.
45610         (tst-swscanf-ENV): Likewise.
45611         (bug-ftell-ENV): Likewise.
45612         (tst-fgetwc-ENV): Likewise.
45613         (tst-fseek-ENV): Likewise.
45614         (tst-ftell-partial-wide-ENV): Likewise.
45615         (tst-ftell-active-handler-ENV): Likewise.
45616         (tst-ftell-append-ENV): Likewise.
45617         * posix/Makefile (tst-fnmatch-ENV): Likewise.
45618         (tst-regexloc-ENV): Likewise.
45619         (bug-regex1-ENV): Likewise.
45620         (tst-regex-ENV): Likewise.
45621         (tst-regex2-ENV): Likewise.
45622         (bug-regex5-ENV): Likewise.
45623         (bug-regex6-ENV): Likewise.
45624         (bug-regex17-ENV): Likewise.
45625         (bug-regex18-ENV): Likewise.
45626         (bug-regex19-ENV): Likewise.
45627         (bug-regex20-ENV): Likewise.
45628         (bug-regex22-ENV): Likewise.
45629         (bug-regex23-ENV): Likewise.
45630         (bug-regex25-ENV): Likewise.
45631         (bug-regex26-ENV): Likewise.
45632         (bug-regex30-ENV): Likewise.
45633         (bug-regex32-ENV): Likewise.
45634         (bug-regex33-ENV): Likewise.
45635         (bug-regex34-ENV): Likewise.
45636         (bug-regex35-ENV): Likewise.
45637         (tst-rxspencer-ENV): Likewise.
45638         (tst-rxspencer-no-utf8-ENV): Likewise.
45639         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
45640         (tst-sscanf-ENV): Likewise.
45641         (tst-swprintf-ENV): Likewise.
45642         (tst-swscanf-ENV): Likewise.
45643         (test-vfprintf-ENV): Likewise.
45644         (scanf13-ENV): Likewise.
45645         (bug14-ENV): Likewise.
45646         (tst-grouping-ENV): Likewise.
45647         * stdlib/Makefile (tst-strtod-ENV): Likewise.
45648         (tst-strtod3-ENV): Likewise.
45649         (tst-strtod4-ENV): Likewise.
45650         (tst-strtod5-ENV): Likewise.
45651         (testmb2-ENV): Likewise./
45652         * string/Makefile (tst-strxfrm-ENV): Likewise.
45653         (tst-strxfrm2-ENV): Likewise.
45654         (bug-strcoll1-ENV): Likewise.
45655         (test-strcasecmp-ENV): Likewise.
45656         (test-strncasecmp-ENV): Likewise.
45657         * time/Makefile (tst-strptime-ENV): Likewise.
45658         (tst-ftime_l-ENV): Likewise.
45659         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
45660         (tst-mbrtowc-ENV): Likewise.
45661         (tst-wcrtomb-ENV): Likewise.
45662         (tst-mbrtowc2-ENV): Likewise.
45663         (tst-c16c32-1-ENV): Likewise.
45664         (tst-mbsnrtowcs-ENV): Likewise.
45666 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
45668         * manual/resource.texi (How to get information about the memory
45669         subsystem?): Fix typo.
45670         Reported by Peon de la Parra Ivan <peon@keba.com>
45672 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
45674         [BZ #16882]
45675         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
45676         (pthread_spin_lock): Branch out of spin loop to proper location.
45677         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
45678         (pthread_spin_lock): Likewise.
45680         * nptl/tst-spin4.c: New test.
45681         * nptl/Makefile (tests): Add tst-spin4.
45683 2014-06-03  Andreas Schwab  <schwab@suse.de>
45685         [BZ #15946]
45686         * resolv/res_send.c (send_dg): Reload file descriptor after
45687         calling reopen.
45689 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
45691         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
45693 2014-06-03  Richard Henderson  <rth@redhat.com>
45695         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
45696         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
45697         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
45698         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
45699         in the SAVE_PID block.
45700         (__libc_vfork): New alias.
45701         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
45703         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
45704         child in registers, not on the stack.  Remove RESET_PID conditionals.
45705         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
45707 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
45709         * sysdeps/aarch64/libm-test-ulps: Regenerate.
45711 2014-06-03  Wilco  <wdijkstr@arm.com>
45713         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
45714         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
45715         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
45716         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
45717         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
45718         Likewise.
45720 2014-06-03  Wilco  <wdijkstr@arm.com>
45722         * sysdeps/aarch64/fpu/math_private.h
45723         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
45724         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
45725         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
45726         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
45727         Fix declarations.
45729 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
45731         * crypt/crypt-private.h: Include ufc-crypt.h.
45732         (__b64_from_24bit): Declare extern.
45733         * crypt/crypt_util.c(__b64_from_24bit): New function.
45734         (b64t): New static const variable.
45735         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
45736         (b64t): Remove variable.
45737         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
45738         * crypt/sha256-crypt.c: Include crypt-private.h.
45739         (b64t): Remove variable.
45740         (__sha256_crypt_r): Remove b64_from_24bit and replace
45741         with __b64_from_24bit.
45742         * crypt/sha512-crypt.c: Likewise.
45744 2014-06-02  Roland McGrath  <roland@hack.frob.com>
45746         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
45747         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
45748         Label the code __libc_vfork rather than __vfork.
45749         [!NOT_IN_libc] (vfork): Define as weak alias.
45750         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
45751         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
45752         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
45754 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
45756         * malloc/malloc.c (malloc_info): Fix format specifier for
45757         n_mmaps.
45759 2014-06-02  Wilco  <wdijkstr@arm.com>
45761         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
45762         FPCR write.
45764 2014-06-02  Wilco  <wdijkstr@arm.com>
45766         [BZ #17009]
45767         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
45768         Rewrite to reduce FPCR/FPSR accesses.
45770 2014-06-01  David S. Miller  <davem@davemloft.net>
45772         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45774 2014-05-31  David S. Miller  <davem@davemloft.net>
45776         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
45777         to occur in round to nearest mode when |x| >= 2.0
45779 2014-05-30  Richard Henderson  <rth@twiddle.net>
45781         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
45782         (PSEUDO_RET_NOERRNO): Remove.
45783         (ret): Don't redefine.
45784         (ret_NOERRNO): Define in terms of ret.
45785         (ret_ERRVAL): Likewise.
45787         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
45788         use of PSEUDO_RET; perform the error check directly.
45790 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
45792         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
45793         with __int128_t.
45795 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
45797         * malloc/malloc (malloc_info): Fix formatting.
45799 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
45800             Roland McGrath  <roland@hack.frob.com>
45802         * malloc/malloc (malloc_info): Also print mmapped statistics.
45804 2014-05-30  Roland McGrath  <roland@hack.frob.com>
45806         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
45807         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
45809 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
45811         * malloc/malloc.c (malloc_info): Inline mi_arena.
45813 2014-05-29  Richard Henderson  <rth@twiddle.net>
45815         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
45816         Remove comma before expanding ASM_ARGS_##nr.
45817         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
45818         Make _x0 a strict output; make _x8 a strict input; adjust expansion
45819         of ASM_ARGS_##nr.
45820         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
45821         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
45822         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
45823         (ASM_ARGS_1): Add leading comma.
45825         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
45826         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
45827         to __errno_location.
45828         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
45829         Remove the expected plt for __errno_location.
45831         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
45832         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
45833         call to __read_tp.
45835         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
45836         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
45837         it and break it down.
45838         (DOCARGS_0, DOCARGS_1): Do nothing.
45839         (DOCARGS_2): Update to store into the new stack frame.
45840         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
45841         (UNDOCARGS_1): Update to restore from the new stack frame.
45842         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
45843         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
45845         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
45846         (SINGLE_THREAD_P): New parameter for result regno.
45847         (PSEUDO): Update to match; use cbz instead of beq.
45849         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
45850         Use ENTRY to define the _nocancel entry point.  Share the syscall
45851         and syscall error check paths with the cancel path.
45852         (PSEUDO_END): New.
45854         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
45855         whitespace; tabs before and after asm mnemonics.
45857 2014-05-29  Eric Wong  <normalperson@yhbt.net>
45859         [BZ #15132]
45860         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
45861         Call fstat64 or stat64 internally, depending on arguments passed.
45862         Replace stat buffer argument with file descriptor argument.
45863         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
45864         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
45865         Pass fd to __internal_statvfs instead of calling fstat64.
45866         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
45867         Pass fd to __internal_statvfs64 instead of calling fstat64.
45868         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
45869         Pass -1 to __internal_statvfs instead of calling stat64.
45870         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
45871         Pass -1 to __internal_statvfs64 instead of calling stat64.
45873 2014-05-28  Roland McGrath  <roland@hack.frob.com>
45875         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
45876         that was previously under [RESET_PID].
45877         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
45879         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
45880         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
45882 2014-05-27  Roland McGrath  <roland@hack.frob.com>
45884         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
45886         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
45887         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
45889 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
45891         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
45893 2014-05-27  Andreas Schwab  <schwab@suse.de>
45895         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
45896         TLS_INIT_TP macro.
45897         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
45898         * elf/rtld.c (init_tls, dl_main): Likewise.
45899         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
45900         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
45901         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
45902         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
45903         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
45904         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
45905         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
45906         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
45907         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
45908         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
45909         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
45910         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
45911         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
45912         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
45913         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
45914         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
45915         * sysdeps/generic/tls.h: Update description.
45917 2014-05-27  Will Newton  <will.newton@linaro.org>
45919         [BZ #16990]
45920         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
45921         and restore r2 rather than just restoring.
45923 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
45925         [BZ #16724]
45926         * libio/tst-ftell-append.c: New test case.
45927         * libio/Makefile (tests): Add test case.
45928         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
45929         append mode.
45930         * libio/wfileops.c (do_ftell_wide): Likewise.
45932 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45934         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45936         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
45937         ...
45938         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
45939         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
45940         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
45941         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
45942         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
45943         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
45944         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
45945         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
45946         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
45947         Moved ...
45948         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
45949         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
45950         Moved ...
45951         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
45952         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
45953         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
45954         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
45955         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
45956         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
45957         ...
45958         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
45959         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
45960         Moved ...
45961         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
45962         here.
45963         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
45964         ...
45965         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
45966         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
45967         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
45969         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
45970         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
45971         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
45972         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
45974         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
45975         merge into ...
45976         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
45977         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
45978         ...
45979         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
45980         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
45981         ...
45982         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
45983         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
45984         Moved ...
45985         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
45986         here.
45987         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
45988         Moved ...
45989         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
45990         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
45991         Moved ...
45992         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
45994         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
45995         conditional [RESET_PID].
45996         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
45997         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
45998         removed.
45999         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
46000         removed.
46002         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
46003         <tcb-offsets.h>.
46004         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
46005         (__libc_vfork): New strong alias.
46006         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
46007         removed.
46008         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
46009         Removed.
46011         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
46012         <tcb-offsets.h>.
46013         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
46014         (__libc_vfork): New strong alias.
46015         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
46016         removed.
46017         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
46018         removed.
46020 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
46022         * malloc/malloc.c (mi_arena): New function.
46023         (malloc_info): Remove nested function mi_arena. Call non-nosted
46024         function mi_arena.
46026 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46028         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
46029         by insrwi.
46030         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
46031         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
46032         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
46033         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
46034         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
46035         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
46036         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
46038 2014-05-26  Andreas Schwab  <schwab@suse.de>
46040         [BZ #16984]
46041         * locale/programs/repertoire.c (repertoire_read): Add slash
46042         between I18NPATH element and file name.
46043         * locale/programs/locfile.c (locfile_read): Likewise.
46045 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
46047         * nptl/pthread_mutexattr_settype.c
46048         (__pthread_mutexattr_settype):
46049         Disable lock elision for PTHREAD_MUTEX_NORMAL.
46051 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
46053         * nptl/tst-mutex5 (do_test):
46054         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
46056 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
46058         * benchtests/README: Document 'init' directive.
46059         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
46060         BENCH_INIT.
46061         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
46062         (parse_file): Recognize 'init' directive.
46064 2014-05-26  Kyle McMartin  <kyle@redhat.com>
46066         [BZ #16796]
46067         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
46068         alignment of struct pthread.
46070 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
46072         [BZ #16878]
46073         * nscd/netgroupcache.c (addgetnetgrentX): Look for
46074         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
46075         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
46076         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
46078 2014-05-25  Richard Henderson  <rth@twiddle.net>
46080         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
46081         (SINGLE_THREAD_P_PIC): Remove.
46082         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
46083         (SINGLE_THREAD_P_PIC): Remove.
46085         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
46086         branch to syscall error ...
46087         (PSEUDO): ... here.
46088         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
46089         from __local_syscall_error to .Lsyscall_error.
46090         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
46091         (SYSCALL_ERROR): Update label name.
46093         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
46094         Do not use DOARGS/UNDOARGS.
46095         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
46096         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
46097         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
46098         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
46099         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
46101         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
46102         block comment.
46104         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
46105         define if !NOT_IN_libc.
46106         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
46107         define with non-default symbol versions.
46109 2014-05-23  Richard Henderson  <rth@twiddle.net>
46111         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
46112         (vfork, __vfork): Define via compat_symbol.
46114         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
46115         [!HAVE_IFUNC] (vfork_compat): Remove.
46116         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
46118 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
46120         [BZ #16978]
46121         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
46122         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
46123         variable.
46125 2014-05-23  Richard Henderson  <rth@twiddle.net>
46127         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
46128         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
46129         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
46130         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
46132         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
46133         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
46134         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
46135         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
46136         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
46137         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
46138         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
46139         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
46140         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
46141         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
46142         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
46143         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
46144         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
46145         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
46146         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
46147         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
46148         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
46149         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
46150         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
46151         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
46152         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
46153         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
46154         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
46155         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
46156         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
46157         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
46158         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
46159         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
46160         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
46161         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
46162         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
46163         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
46164         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
46165         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
46166         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
46167         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
46168         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
46169         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
46170         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
46171         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
46172         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
46173         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
46174         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
46175         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
46176         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
46177         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
46178         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
46179         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
46180         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
46181         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
46182         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
46183         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
46184         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
46185         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
46186         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
46187         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
46189         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
46190         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
46191         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
46192         before exiting on error.
46193         (__libc_vfork): New strong alias.
46194         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
46195         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
46197         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
46198         that was previously under [RESET_PID].
46199         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
46201         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
46203 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
46205         [BZ #16977]
46206         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
46207         value when x - 1 is zero.
46208         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
46209         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
46210         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
46211         0.0L for an argument of 1.0L.
46212         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
46213         Likewise.
46214         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
46215         value when x - 1 is zero.
46216         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
46217         * sysdeps/i386/fpu/libm-test-ulps: Update.
46218         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46220 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
46222         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
46223         alphasort and versionsort.
46225 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46227         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
46228         macro.
46229         [copysignf]: Likewise.
46231 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
46233         * crypt/md5-crypt.c: Fix formatting.
46235 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
46237         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
46238         (b64_from_24bit): New function.
46240 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46242         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
46243         libc_hidden_builtin_def to ifunc.
46244         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
46245         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
46247 2014-05-21  Roland McGrath  <roland@hack.frob.com>
46249         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
46250         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
46252 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
46254         * nscd/Depend (linuxthreads): Remove.
46255         (nptl): Add.
46256         * resolv/Depend (linuxthreads): Remove.
46257         * rt/Depend (linuxthreads): Remove.
46259         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
46260         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
46261         $(common-objpfx)elf/.
46262         (link-libc-before-gnulib): Likewise.
46263         (elfobjdir): Remove variable.
46264         * Makefile (install): Use $(elf-objpfx) instead of
46265         $(common-objpfx)elf/.
46266         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
46267         $(elfobjdir)/.
46268         (link-libc-deps): Likewise.
46269         ($(common-objpfx)libc.so): Likewise.
46270         ($(common-objpfx)linkobj/libc.so): Likewise.
46271         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
46272         instead of $(common-objpfx)elf/.
46273         (symbolic-link-list): Likewise.
46274         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
46275         [$(cross-compiling) = no]: Likewise.
46276         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
46277         $(elfobjdir)/.
46278         (static-gnulib-arch): Likewise.
46279         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
46280         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
46281         $(common-objpfx)elf/.
46283 2014-05-21  Richard Henderson  <rth@redhat.com>
46285         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
46286         (SINGLE_THREAD_P): Use the correct width load.  Fold
46287         into the ldr offset.
46289         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
46290         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
46292 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
46294         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
46295         (libgcc_s_resume): Use __attribute_used__.
46296         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
46297         Likewise.
46299 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46301         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
46302         optimization when used with float constants.
46304         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46306 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
46308         [BZ #16915]
46309         * locale/nl_langinfo_l.c: Make direct reference to every
46310         _nl_current_CATEGORY symbol.
46311         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
46312         (tests-static): Add tst-langinfo-static.
46313         (tests-special): Add tst-langinfo-static.out.
46314         ($(objpfx)tst-langinfo.out): Redirect output.
46315         ($(objpfx)tst-langinfo-static.out): New.
46316         * localedata/tst-langinfo.sh: Send output to stdout.
46317         * localedata/tst-langinfo-static.c: New file.
46319         [BZ #16965]
46320         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
46321         when the shift amount is modulo the limb size.
46323 2014-05-20  Richard Henderson  <rth@redhat.com>
46325         [BZ #16967]
46326         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
46327         Change type of sa_flags from unsigned int to int.
46329         [BZ #16966]
46330         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
46332         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
46334 2014-05-20  Will Newton  <will.newton@linaro.org>
46336         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
46337         Test the return value of the system call in the nocancel case.
46339 2014-05-20  Will Newton  <will.newton@linaro.org>
46340             Yvan Roux  <yvan.roux@linaro.org>
46342         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
46343         #include of asm/ptrace.h.
46344         (PTRACE_GET_THREAD_AREA): Remove #undef.
46345         (PTRACE_GETHBPREGS): Likewise.
46346         (PTRACE_SETHBPREGS): Likewise.
46347         (struct user_regs_struct): New structure.
46348         (struct user_fpsimd_struct): New structure.
46349         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
46350         #include of asm/ptrace.h and second #include of sys/user.h.
46351         (PTRACE_GET_THREAD_AREA): Remove #undef.
46352         (PTRACE_GETHBPREGS): Likewise.
46353         (PTRACE_SETHBPREGS): Likewise.
46354         (ELF_NGREG): Use new struct user_regs_struct.
46355         (elf_fpregset_t): Use new struct user_fpsimd_struct.
46357 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46359         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
46360         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
46362 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
46364         [BZ #16958]
46365         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
46366         membar to avoid block loads/stores to overlap previous stores.
46368 2014-05-17  Richard Henderson  <rth@redhat.com>
46370         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
46371         Create the __##syscall_name##_nocancel entry point.
46372         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
46373         Remove; let the sysdep-cancel.h code create it.
46375 2014-05-17  David S. Miller  <davem@davemloft.net>
46377         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
46378         Protect with __USE_GNU.
46379         (TIOCSET_TEMPT): Likewise.
46380         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
46381         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
46382         these are already provided in bits/ioctl-types.h
46384 2014-05-16  Roland McGrath  <roland@hack.frob.com>
46386         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
46387         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
46389         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
46390         Use wait4 regardless of [__NR_waitpid].
46392 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
46394         PR libgcc/60166
46395         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
46396         (_FP_NANSIGN_Q): Set the quiet bit.
46398 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
46400         * benchtests/Makefile
46401         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
46402         not $(common-objpfx)math/libm.so.
46403         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
46404         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
46405         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
46406         $(common-objpfx)dlfcn/libdl.so.
46407         ($(objpfx)tst-audit8): Depend on $(libm), not
46408         $(common-objpfx)math/libm.so.
46409         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
46410         not $(common-objpfx)dlfcn/libdl.so.
46411         * math/Makefile
46412         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
46413         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
46414         [$(build-shared) = yes].
46415         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
46416         $(common-objpfx)nptl/libpthread.so.
46417         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
46418         $(common-objpfx)math/libm.so$(libm.so-version) or
46419         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
46420         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
46421         $(common-objpfx)dlfcn/libdl.so.
46422         * setjmp/Makefile (link-libm): Remove variable.
46423         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
46424         * stdio-common/Makefile (link-libm): Remove variable.
46425         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
46426         * stdlib/Makefile (link-libm): Remove variable.
46427         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
46428         ($(objpfx)tst-strtod-round): Likewise.
46429         ($(objpfx)tst-tininess): Likewise.
46430         ($(objpfx)tst-strtod-underflow): Likewise.
46431         ($(objpfx)tst-strtod6): Likewise.
46432         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
46433         $(libdl), not $(common-objpfx)nptl/libpthread.so and
46434         $(common-objpfx)dlfcn/libdl.so.
46436 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46438         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
46439         BSD terminal modes definitions.
46441 2014-05-16  Roland McGrath  <roland@hack.frob.com>
46443         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
46444         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
46446         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
46447         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
46448         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
46449         Don't do #include_next.
46450         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
46451         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
46452         Don't do #include_next.
46453         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
46454         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
46455         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
46456         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
46458 2014-05-16  Allan McRae  <allan@archlinux.org>
46460         * po/sv.po: Update Swedish translation from translation project.
46462         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
46463         in sed expression.
46465 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
46467         [BZ #16917]
46468         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
46469         errno if the TIOCGPTN ioctl fails with an error different than
46470         EINVAL.
46471         * login/tst-ptsname.c: New file.
46472         * login/Makefile (tests): Add tst-ptsname.
46474         [BZ #16943]
46475         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
46476         and prlimit64.
46478 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
46480         [BZ #16849]
46481         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
46482         herrno to return EAI_AGAIN.
46484 2014-05-14  Roland McGrath  <roland@hack.frob.com>
46486         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
46487         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
46488         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
46489         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
46490         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
46491         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
46492         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
46493         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
46494         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
46495         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
46496         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
46497         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
46498         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
46499         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
46500         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
46501         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
46502         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
46503         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
46504         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
46505         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
46506         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
46507         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
46508         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
46509         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
46510         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
46511         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
46512         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
46513         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
46514         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
46515         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
46516         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
46517         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
46518         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
46519         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
46520         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
46521         Moved ...
46522         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
46523         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
46524         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
46525         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
46526         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
46527         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
46528         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
46529         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
46530         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
46531         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
46532         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
46533         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
46534         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
46535         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
46536         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
46537         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
46538         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
46539         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
46540         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
46541         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
46542         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
46543         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
46544         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
46545         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
46546         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
46547         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
46548         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
46549         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
46550         Moved ...
46551         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
46552         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
46553         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
46554         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
46555         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
46556         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
46557         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
46558         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
46559         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
46560         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
46561         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
46562         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
46563         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
46564         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
46565         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
46566         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
46567         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
46568         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
46569         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
46570         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
46571         Moved ...
46572         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
46573         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
46574         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
46576         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
46577         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
46578         (libpthread-sysdep_routines): Add elision-related stuff here instead.
46579         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
46580         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
46581         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
46582         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
46583         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
46584         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
46585         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
46586         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
46587         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
46588         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
46589         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
46590         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
46591         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
46592         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
46593         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
46594         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
46595         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
46596         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
46597         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
46598         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
46599         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
46600         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
46601         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
46602         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
46603         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
46604         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
46605         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
46606         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
46608         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
46609         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
46611         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
46612         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
46613         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
46614         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
46615         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
46616         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
46617         Moved ...
46618         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
46619         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
46620         Moved ...
46621         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
46622         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
46623         Moved ...
46624         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
46625         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
46626         Moved ...
46627         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
46628         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
46629         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
46630         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
46631         Moved ...
46632         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
46633         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
46634         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
46635         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
46636         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
46637         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
46638         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
46639         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
46640         Moved ...
46641         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
46642         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
46643         Moved ...
46644         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
46645         ... here.
46646         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
46647         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
46648         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
46649         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
46650         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
46651         Moved ...
46652         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
46653         ... here.
46654         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
46655         Moved ...
46656         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
46657         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
46658         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
46659         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
46660         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
46661         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
46662         Moved ...
46663         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
46664         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
46665         Moved ...
46666         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
46667         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
46668         Moved ...
46669         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
46670         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
46671         Moved ...
46672         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
46673         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
46674         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
46675         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
46676         Moved ...
46677         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
46678         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
46679         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
46680         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
46681         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
46682         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
46683         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
46684         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
46685         Moved ...
46686         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
46687         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
46688         Moved ...
46689         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
46690         ... here.
46691         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
46692         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
46693         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
46694         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
46695         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
46696         Moved ...
46697         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
46698         ... here.
46699         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
46700         Moved ...
46701         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
46702         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
46703         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
46704         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
46705         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
46706         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
46707         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
46708         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
46709         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
46710         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
46711         Moved ...
46712         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
46713         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
46714         Moved ...
46715         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
46716         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
46717         Moved ...
46718         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
46719         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
46720         Moved ...
46721         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
46722         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
46723         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
46724         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
46725         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
46726         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
46727         Moved ...
46728         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
46729         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
46730         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
46731         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
46732         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
46733         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
46734         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
46735         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
46736         Moved ...
46737         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
46738         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
46739         Moved ...
46740         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
46741         ... here.
46742         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
46743         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
46744         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
46745         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
46746         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
46747         Moved ...
46748         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
46749         ... here.
46750         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
46751         Moved ...
46752         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
46753         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
46754         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
46755         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
46756         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
46757         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
46758         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
46759         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
46760         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
46761         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
46762         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
46764         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
46765         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
46767         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
46768         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
46770         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
46771         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
46772         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
46773         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
46774         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
46775         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
46776         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
46777         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
46778         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
46779         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
46780         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
46781         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
46782         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
46783         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
46784         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
46785         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
46786         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
46787         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
46788         Moved ...
46789         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
46790         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
46791         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
46792         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
46793         Moved ...
46794         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
46795         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
46796         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
46797         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
46798         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
46799         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
46800         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
46801         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
46802         Moved ...
46803         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
46804         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
46805         Moved ...
46806         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
46807         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
46808         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
46809         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
46810         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
46811         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
46812         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
46813         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
46814         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
46815         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
46816         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
46817         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
46818         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
46819         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
46820         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
46821         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
46822         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
46824         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
46825         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
46826         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
46827         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
46828         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
46830         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
46831         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
46832         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
46833         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
46834         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
46835         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
46836         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
46837         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
46838         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
46839         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
46841         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
46842         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
46844         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
46845         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
46846         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
46847         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
46848         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
46849         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
46850         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
46851         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
46852         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
46853         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
46854         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
46855         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
46856         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
46857         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
46858         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
46859         Update #include.
46860         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
46861         Likewise.
46862         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
46863         Likewise.
46864         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
46865         Likewise.
46866         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
46867         Likewise.
46868         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
46869         Likewise.
46870         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
46871         Likewise.
46872         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
46873         Likewise.
46874         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
46875         Likewise.
46876         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
46877         Likewise.
46878         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
46879         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
46880         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
46881         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
46882         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
46883         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
46884         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
46885         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
46886         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
46887         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
46888         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
46889         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
46890         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
46891         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
46892         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
46894         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
46895         that was previously under [RESET_PID].
46896         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
46897         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
46898         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
46900         * sysdeps/i386/nptl/Implies: New file.
46901         * sysdeps/x86_64/nptl/Implies: New file.
46902         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
46903         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
46904         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
46905         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
46907         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
46908         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
46909         (__libc_vfork): New strong alias.
46910         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
46911         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
46913         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
46914         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
46915         (__libc_vfork): New strong alias.
46916         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
46917         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
46919         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
46920         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
46921         (__libc_vfork): New strong alias.
46922         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
46923         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
46924         * nptl/pt-vfork.c: New file.
46925         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
46926         (libpthread: GLIBC_2.20): New version set (empty).
46928 2014-05-14  Will Newton  <will.newton@linaro.org>
46930         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
46931         rather than #if.
46933 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
46935         [BZ #16564]
46936         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
46937         arguments with exponent 65 or above.
46938         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
46939         arguments 0x1p113L or above.
46940         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
46941         to arguments 0x1p107L or above.
46942         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
46943         positive arguments with exponent 65 or above.
46944         * math/auto-libm-test-in: Add more tests of log1p.
46945         * math/auto-libm-test-out: Regenerated.
46947         [BZ #16928]
46948         * math/s_cacos.c (__cacos): Ensure zero real part of result from
46949         non-finite arguments is +0.
46950         * math/s_cacosf.c (__cacosf): Likewise.
46951         * math/s_cacosl.c (__cacosl): Likewise.
46952         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
46953         * sysdeps/i386/fpu/libm-test-ulps: Update.
46954         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46956         [BZ #16927]
46957         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
46958         value.
46959         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
46960         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
46961         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
46962         for explicit high bit of mantissa when testing for argument equal
46963         to 1.
46964         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
46965         * sysdeps/i386/fpu/libm-test-ulps: Update.
46966         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46968         [BZ #16516]
46969         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
46970         (__erf): Scale by 16 instead of 8 in potentially underflowing
46971         case.  Ensure exception if result actually underflows.
46972         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
46973         (__erff): Scale by 16 instead of 8 in potentially underflowing
46974         case.  Ensure exception if result actually underflows.
46975         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
46976         (efx8): Remove variable.
46977         (__erfl): Scale by 16 instead of 8 in potentially underflowing
46978         case.  Ensure exception if result actually underflows.
46979         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
46980         (efx8): Remove variable.
46981         (__erfl): Scale by 16 instead of 8 in potentially underflowing
46982         case.  Ensure exception if result actually underflows.
46983         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
46984         (efx8): Remove variable.
46985         (__erfl): Scale by 16 instead of 8 in potentially underflowing
46986         case.  Ensure exception if result actually underflows.
46987         * math/auto-libm-test-in: Add more tests of erf.
46988         * math/auto-libm-test-out: Regenerated.
46990 2014-05-14  Andreas Schwab  <schwab@suse.de>
46992         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
46993         Remove code conditionalized on USE___THREAD.
46995         * config.h.in (HAVE_PT_CHOWN): Define as 0.
46996         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
46997         not definedness.
46999 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
47001         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
47002         Define unconditionally.
47003         (__ASSUME_O_CLOEXEC): Likewise.
47004         (__ASSUME_SOCK_CLOEXEC): Likewise.
47005         (__ASSUME_IN_NONBLOCK): Likewise.
47006         (__ASSUME_PIPE2): Likewise.
47007         (__ASSUME_EVENTFD2): Likewise.
47008         (__ASSUME_SIGNALFD4): Likewise.
47009         (__ASSUME_DUP3): Likewise.
47010         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
47011         (__ASSUME_DUP3): Do not define.
47012         (__ASSUME_EVENTFD2): Likewise.
47013         (__ASSUME_IN_NONBLOCK): Likewise.
47014         (__ASSUME_O_CLOEXEC): Likewise.
47015         (__ASSUME_PIPE2): Likewise.
47016         (__ASSUME_SIGNALFD4): Likewise.
47017         (__ASSUME_SOCK_CLOEXEC): Likewise.
47018         (__ASSUME_UTIMES): Undefine.
47019         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
47020         (__ASSUME_UTIMES): Do not define.
47021         (__ASSUME_O_CLOEXEC): Likewise.
47022         (__ASSUME_SOCK_CLOEXEC): Likewise.
47023         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
47024         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
47025         0x020621].
47026         (__ASSUME_PIPE2): Likewise.
47027         (__ASSUME_EVENTFD2): Likewise.
47028         (__ASSUME_SIGNALFD4): Likewise.
47029         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
47030         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
47031         Do not define.
47032         (__ASSUME_EVENTFD2): Likewise.
47033         (__ASSUME_SIGNALFD4): Likewise.
47034         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
47035         (__ASSUME_32BITUIDS): Likewise.
47036         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
47037         (__ASSUME_IPC64): Likewise.
47038         (__ASSUME_ST_INO_64_BIT): Likewise.
47039         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
47040         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
47041         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
47042         (__ASSUME_UTIMES): Do not define.
47043         (__ASSUME_PSELECT): Likewise.
47044         (__ASSUME_PPOLL): Likewise.
47045         (__ASSUME_O_CLOEXEC): Likewise.
47046         (__ASSUME_SOCK_CLOEXEC): Likewise.
47047         (__ASSUME_IN_NONBLOCK): Likewise.
47048         (__ASSUME_PIPE2): Likewise.
47049         (__ASSUME_EVENTFD2): Likewise.
47050         (__ASSUME_SIGNALFD4): Likewise.
47051         (__ASSUME_DUP3): Likewise.
47052         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
47053         (__ASSUME_UTIMES): Likewise.
47054         (__ASSUME_O_CLOEXEC): Likewise.
47055         (__ASSUME_SOCK_CLOEXEC): Likewise.
47056         (__ASSUME_IN_NONBLOCK): Likewise.
47057         (__ASSUME_PIPE2): Likewise.
47058         (__ASSUME_EVENTFD2): Likewise.
47059         (__ASSUME_SIGNALFD4): Likewise.
47060         (__ASSUME_DUP3): Likewise.
47061         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
47062         (__ASSUME_UTIMES): Likewise.
47063         (__ASSUME_O_CLOEXEC): Likewise.
47064         (__ASSUME_SOCK_CLOEXEC): Likewise.
47065         (__ASSUME_IN_NONBLOCK): Likewise.
47066         (__ASSUME_PIPE2): Likewise.
47067         (__ASSUME_EVENTFD2): Likewise.
47068         (__ASSUME_SIGNALFD4): Likewise.
47069         (__ASSUME_DUP3): Likewise.
47070         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
47071         Likewise.
47072         (__ASSUME_UTIMES): Likewise.
47073         (__ASSUME_EVENTFD2): Likewise.
47074         (__ASSUME_SIGNALFD4): Likewise.
47075         * sysdeps/unix/sysv/linux/tile/kernel-features.h
47076         (__ASSUME_O_CLOEXEC): Likewise.
47077         (__ASSUME_SOCK_CLOEXEC): Likewise.
47078         (__ASSUME_IN_NONBLOCK): Likewise.
47079         (__ASSUME_PIPE2): Likewise.
47080         (__ASSUME_EVENTFD2): Likewise.
47081         (__ASSUME_SIGNALFD4): Likewise.
47082         (__ASSUME_DUP3): Likewise.
47083         (__ASSUME_UTIMES): Undefine.
47085         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
47086         feclearexcept.  Remove symbol versioning code.
47087         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
47088         symbol versioning code.
47089         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
47090         symbol versioning code.
47091         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
47092         feupdateenv.  Remove symbol versioning code.
47093         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
47094         fegetexceptflag.  Remove symbol versioning code.
47095         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
47096         fesetexceptflag.  Remove symbol versioning code.
47097         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
47098         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
47099         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
47100         (__posix_fadvise64_l32): Remove prototype.
47101         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
47102         code.
47104 2014-05-13  Roland McGrath  <roland@hack.frob.com>
47106         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
47107         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
47108         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
47109         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
47111 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
47113         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
47114         current working directory
47116 2014-05-13  Roland McGrath  <roland@hack.frob.com>
47118         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
47119         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
47120         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
47121         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
47122         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
47123         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
47124         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
47125         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
47126         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
47127         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
47128         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
47129         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
47130         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
47131         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
47132         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
47133         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
47134         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
47135         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
47136         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
47137         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
47138         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
47139         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
47140         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
47141         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
47142         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
47143         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
47144         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
47145         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
47146         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
47147         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
47148         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
47149         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
47150         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
47151         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
47152         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
47153         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
47154         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
47155         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
47156         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
47157         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
47158         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
47159         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
47161         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
47162         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
47164         * sysdeps/unix/sysv/linux/arm/Makefile
47165         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
47166         Add rt-aeabi_unwind_cpp_pr1.
47167         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
47168         Add nptl-aeabi_unwind_cpp_pr1.
47169         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
47170         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
47171         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
47172         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
47173         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
47174         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
47176         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
47177         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
47178         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
47179         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
47181         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
47182         Deconditionalize the code that was previously under [RESET_PID].
47183         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
47185         * sysdeps/generic/exit-thread.h: New file.
47186         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
47187         * include/unistd.h (__exit_thread): Remove declaration.
47188         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
47189         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
47190         * csu/libc-start.c: Include <exit-thread.h>.
47191         (LIBC_START_MAIN): Pass no argument to __exit_thread.
47192         * nptl/pthread_create.c: Include <exit-thread.h>.
47193         (start_thread): Call __exit_thread in place of __exit_thread_inline.
47194         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
47195         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
47196         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
47197         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
47198         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
47199         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
47200         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
47201         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
47202         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
47203         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
47204         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
47205         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
47206         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
47207         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
47208         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
47209         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
47211 2014-05-13  Andreas Schwab  <schwab@suse.de>
47213         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
47215 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
47217         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
47218         (__ASSUME_UTIMES): Do not condition on kernel version.
47219         (__ASSUME_PSELECT): Define unconditionally.
47220         (__ASSUME_PPOLL): Likewise.
47221         (__ASSUME_ATFCTS): Likewise.
47222         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
47223         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
47224         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
47225         (__ASSUME_UTIMENSAT): Define unconditionally.
47226         (__ASSUME_PRIVATE_FUTEX): Likewise.
47227         (__ASSUME_FALLOCATE): Likewise.
47228         (__ASSUME_O_CLOEXEC): Likewise.
47229         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
47230         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
47231         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
47232         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
47233         (__ASSUME_IN_NONBLOCK): Likewise.
47234         (__ASSUME_PIPE2): Likewise.
47235         (__ASSUME_EVENTFD2): Likewise.
47236         (__ASSUME_SIGNALFD4): Likewise.
47237         (__ASSUME_DUP3): Likewise.
47238         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
47239         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
47240         (__ASSUME_AT_RANDOM): Likewise.
47241         (__ASSUME_PREADV): Likewise.
47242         (__ASSUME_PWRITEV): Likewise.
47243         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
47244         (__ASSUME_F_GETOWN_EX): Define unconditionally.
47245         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
47246         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
47247         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
47248         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
47249         (__ASSUME_O_CLOEXEC): Define unconditionally.
47250         (__ASSUME_PSELECT): Do not undefine conditionally.
47251         (__ASSUME_PPOLL): Likewise.
47252         (__ASSUME_ATFCTS): Likewise.
47253         (__ASSUME_SET_ROBUST_LIST): Likewise.
47254         (__ASSUME_UTIMENSAT): Likewise.
47255         (__ASSUME_FDATASYNC): Define unconditionally.
47256         * sysdeps/unix/sysv/linux/arm/kernel-features.h
47257         (__ASSUME_SIGFRAME_V2): Likewise.
47258         )__ASSUME_EVENTFD2): Likewise.
47259         (__ASSUME_SIGNALFD4): Likewise.
47260         (__ASSUME_PSELECT): Do not undefine conditionally.
47261         (__ASSUME_PPOLL): Likewise.
47262         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
47263         (__ASSUME_PSELECT): Define unconditionally.
47264         (__ASSUME_PPOLL): Likewise.
47265         (__ASSUME_O_CLOEXEC): Likewise.
47266         (__ASSUME_SOCK_CLOEXEC): Likewise.
47267         (__ASSUME_IN_NONBLOCK): Likewise.
47268         (__ASSUME_PIPE2): Likewise.
47269         (__ASSUME_EVENTFD2): Likewise.
47270         (__ASSUME_SIGNALFD4): Likewise.
47271         (__ASSUME_DUP3): Likewise.
47272         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
47273         (__ASSUME_O_CLOEXEC): Likewise.
47274         (__ASSUME_SOCK_CLOEXEC): Likewise.
47275         (__ASSUME_IN_NONBLOCK): Likewise.
47276         (__ASSUME_PIPE2): Likewise.
47277         (__ASSUME_EVENTFD2): Likewise.
47278         (__ASSUME_SIGNALFD4): Likewise.
47279         (__ASSUME_DUP3): Likewise.
47280         * sysdeps/unix/sysv/linux/mips/kernel-features.h
47281         (__ASSUME_EVENTFD2): Likewise.
47282         (__ASSUME_SIGNALFD4): Likewise.
47283         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
47285 2014-05-12  Andreas Schwab  <schwab@suse.de>
47287         [BZ #16932]
47288         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
47289         (_nss_nis_gethostbyname4_r): Return error if item length is larger
47290         than maximum RPC packet size.
47291         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
47292         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
47293         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
47294         (_nss_nis_getservbyport_r): Likewise.
47296 2014-05-12  Will Newton  <will.newton@linaro.org>
47298         * malloc/Makefile (tests): Add tst-mallopt.
47299         * malloc/tst-mallopt.c: New file.
47301 2014-05-09  Roland McGrath  <roland@hack.frob.com>
47303         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
47304         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
47306 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47308         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
47309         (tst-tlsmod6.so): Likewise.
47311 2014-05-09  Roland McGrath  <roland@hack.frob.com>
47313         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
47315 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
47317         [BZ #16064]
47318         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
47319         and <dl-procinfo.h>.
47320         (__fegetenv): Save SSE state in envp->__eip if supported.
47321         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
47322         envp->__eip if supported.
47323         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
47324         and <dl-procinfo.h>.
47325         (__fesetenv): Always set __eip, __cs_selector, __opcode,
47326         __data_offset and __data_selector in environment to 0.  Set SSE
47327         state if supported.
47328         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
47329         test-fenv-sse.
47330         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
47331         -mfpmath=sse.
47332         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
47334 2014-05-09  Will Newton  <will.newton@linaro.org>
47336         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
47337         and libc_relro_required for ARM.
47338         * sysdeps/arm/preconfigure: Regenerate.
47340 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
47341             Stefan Liebler  <stli@linux.vnet.ibm.com>
47343         * config.make.in (enable-lock-elision): New Makefile variable.
47344         * configure.ac: Likewise.
47345         * configure: Regenerate.
47346         * sysdeps/s390/configure.ac:
47347         Add check for gcc transactions support.
47348         * sysdeps/s390/configure: Regenerate.
47349         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
47350         Build elision files if enabled.
47351         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
47352         Add lock elision support for s390.
47353         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
47354         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
47355         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
47356         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
47357         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
47358         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
47359         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
47360         Likewise.
47361         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
47362         Likewise.
47363         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
47364         Likewise.
47365         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
47366         Likewise.
47367         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
47368         (__lll_timedlock_elision, __lll_lock_elision)
47369         (__lll_unlock_elision, __lll_trylock_elision)
47370         (lll_timedlock_elision, lll_lock_elision)
47371         (lll_unlock_elision, lll_trylock_elision): Add.
47372         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
47373         (pthread_mutex_t): Add lock elision support for s390.
47375 2014-05-14  Wilco  <wdijkstr@arm.com>
47377         * sysdeps/arm/fclrexcpt.c: Cleanup.
47378         * sysdeps/arm/fedisblxcpt.c: Cleanup.
47379         * sysdeps/arm/feenablxcpt.c: Cleanup.
47380         * sysdeps/arm/fegetenv.c: Cleanup.
47381         * sysdeps/arm/fegetexcept.c: Cleanup.
47382         * sysdeps/arm/fegetround.c: Cleanup.
47383         * sysdeps/arm/feholdexcpt.c: Cleanup.
47384         * sysdeps/arm/fesetenv.c: Cleanup.
47385         * sysdeps/arm/fesetround.c: Cleanup.
47386         * sysdeps/arm/feupdateenv.c: Cleanup.
47387         * sysdeps/arm/fgetexcptflg.c: Cleanup.
47388         * sysdeps/arm/fraiseexcpt.c: Cleanup.
47389         * sysdeps/arm/fsetexcptflg.c: Cleanup.
47390         * sysdeps/arm/ftestexcept.c: Cleanup.
47391         * sysdeps/arm/get-rounding-mode.h: Cleanup.
47392         * sysdeps/arm/setfpucw.c: Cleanup.
47394 2014-05-09  Will Newton  <will.newton@linaro.org>
47396         * sysdeps/arm/armv7/strcmp.S: New file.
47397         * NEWS: Mention addition of ARMv7 optimized strcmp.
47399 2014-05-08  Roland McGrath  <roland@hack.frob.com>
47401         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
47402         look for %.ac rather than %.in.
47404         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
47405         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
47406         * sysdeps/mach/hurd/configure: Regenerated.
47407         * sysdeps/unix/sysv/linux/configure: Regenerated.
47409         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
47411 2014-05-07  Steve Ellcey  <sellcey@mips.com>
47413         [BZ #16922]
47414         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
47415         (LONG_SUB): Ditto.
47416         (PTR_SUB): Ditto.
47418 2014-05-07  Andreas Schwab  <schwab@suse.de>
47420         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
47421         when skipping over non-matching result from nscd.
47423 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
47425         [BZ #16876]
47426         * nptl/sockperf.c (client): Check socket return value.
47428         [BZ #16877]
47429         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
47430         nscd security class.
47432 2014-05-06  Roland McGrath  <roland@hack.frob.com>
47434         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
47435         * sysdeps/arm/unwind.h: ... here.
47437 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
47439         [BZ #16916]
47440         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
47441         Define.
47443 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
47445         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
47446         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
47447         multiarch strncpy for PPC64.
47448         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
47449         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
47450         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
47451         multiarch optimizations.
47452         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
47453         (__libc_ifunc_impl_list): Likewise.
47454         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
47455         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
47456         multiarch stpncpy for PPC64.
47457         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
47458         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
47460 2014-05-06  Andreas Schwab  <schwab@suse.de>
47462         [BZ #16912]
47463         * gmon/mcount.c (_MCOUNT_DECL): Use
47464         atomic_compare_and_exchange_bool_acq instead of
47465         catomic_compare_and_exchange_bool_acq.
47467 2014-05-05  Roland McGrath  <roland@hack.frob.com>
47469         * elf/Makefile (others, install-bin): Remove pldd.
47470         (pldd-modules): Variable removed.
47471         ($(objpfx)pldd): Target removed.
47472         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
47473         (others, install-bin): Append pldd here.
47474         ($(objpfx)pldd): New target.
47476         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
47477         to 0, so the first #if test emitted later doesn't see it undefined.
47478         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
47479         * sysdeps/gnu/errlist.c: Regenerated.
47481 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47483         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
47484         [libc_hidden_builtin_def]: Define to empty value.
47485         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
47486         [libc_hidden_builtin_def]: Likewise.
47487         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
47488         [libc_hidden_builtin_def]: Likewise.
47489         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
47490         [libc_hidden_builtin_def]: Likewise.
47491         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
47492         __redirect_memcpy and define ifunc as default hidden symbol.
47493         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
47494         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
47496 2014-05-04  Adam Conrad  <adconrad@0c3.net>
47498         * locale/iso-4217.def: Reintroduce XDR currency.
47500 2014-05-04  Allan McRae  <allan@archlinux.org>
47502         * po/eo.po: Update Esperanto translation from translation project.
47504 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
47506         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
47507         and FEATURE_INDEX_MAX to 1.
47508         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
47510 2014-05-01  Steve Ellcey  <sellcey@mips.com>
47512         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
47513         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
47514         * iconvdata/big5.c (ONE_DIRECTION): Define.
47515         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
47516         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
47517         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
47518         * iconvdata/cp932.c (ONE_DIRECTION): Define.
47519         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
47520         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
47521         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
47522         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
47523         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
47524         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
47525         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
47526         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
47527         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
47528         * iconvdata/gbk.c (ONE_DIRECTION): Define.
47529         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
47530         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
47531         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
47532         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
47533         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
47534         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
47535         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
47536         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
47537         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
47538         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
47539         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
47540         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
47541         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
47542         * iconvdata/iso646.c (ONE_DIRECTION): Define.
47543         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
47544         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
47545         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
47546         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
47547         * iconvdata/johab.c (ONE_DIRECTION): Define.
47548         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
47549         * iconvdata/sjis.c (ONE_DIRECTION): Define.
47550         * iconvdata/t.61.c (ONE_DIRECTION): Define.
47551         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
47552         * iconvdata/tscii.c (ONE_DIRECTION): Define.
47553         * iconvdata/uhc.c (ONE_DIRECTION): Define.
47554         * iconvdata/unicode.c (ONE_DIRECTION): Define.
47555         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
47556         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
47557         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
47559 2014-05-01  Roland McGrath  <roland@hack.frob.com>
47561         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
47562         (_IO_JUMPS_OFFSET): Define to 0.
47564         * nptl/sysdeps/pthread/bits/libc-lock.h
47565         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
47566         (__libc_lock_define_initialized_recursive): Always define using
47567         initializer.  Modern compilers treat uninitialized (implicit zero) and
47568         explicit zero initializers the same (i.e. put the datum in bss).
47570 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
47572         * nscd/nscd-client.h: Include <string.h>.
47574 2014-05-01  David S. Miller  <davem@davemloft.net>
47576         [BZ #16885]
47577         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
47578         multiple zero bytes exist at the end of a string.
47579         Reported by Aurelien Jarno <aurelien@aurel32.net>
47581         * string/test-strcmp.c (check): Add explicit test for situations where
47582         there are multiple zero bytes after the first.
47584 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
47586         [BZ #16890]
47587         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
47588         when compiling wprintf.
47589         * stdio-common/tstdiomisc.c (t3): New function.
47590         (main): Call it.
47592 2014-05-01  Steve Ellcey  <sellcey@mips.com>
47594         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
47595         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
47596         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
47597         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
47599 2014-05-01  Steve Ellcey  <sellcey@mips.com>
47601         * stdlib/longlong.h: Updated from GCC.
47603 2014-05-01  Will Newton  <will.newton@linaro.org>
47604             Bernard Ogden  <bernie.ogden@linaro.org>
47606         * NEWS: Update fixed bug list.
47608         [BZ #15119]
47609         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
47611 2014-04-30  David S. Miller  <davem@davemloft.net>
47613         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
47614         (libc_feholdexcept_setround_sparc_ctx): New function.
47615         (libc_fesetenv_sparc_ctx): Likewise.
47616         (libc_feupdateenv_sparc_ctx): Likewise.
47617         (libc_feholdsetround_sparc_ctx): Likewise.
47618         (libc_feholdexcept_setround_ctx): Define.
47619         (libc_feholdexcept_setroundf_ctx): Likewise.
47620         (libc_feholdexcept_setroundl_ctx): Likewise.
47621         (libc_fesetenv_ctx): Likewise.
47622         (libc_fesetenvf_ctx): Likewise.
47623         (libc_fesetenvl_ctx): Likewise.
47624         (libc_feupdateenv_ctx): Likewise.
47625         (libc_feupdateenvf_ctx): Likewise.
47626         (libc_feupdateenvl_ctx): Likewise.
47627         (libc_feresetround_ctx): Likewise.
47628         (libc_feresetroundf_ctx): Likewise.
47629         (libc_feresetroundl_ctx): Likewise.
47630         (libc_feholdsetround_ctx): Likewise.
47631         (libc_feholdsetroundf_ctx): Likewise.
47632         (libc_feholdsetroundl_ctx): Likewise.
47634         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
47635         with __USE_GNU instead of XOPEN cpp guards.
47637         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
47638         0.
47640         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
47641         with XOPEN cpp guards.
47643 2014-04-30  Julian Brown  <julian@codesourcery.com>
47645         [BZ #16888]
47646         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
47647         handling.
47649 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
47651         [BZ #9894]
47652         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
47653         Change to 2.6.32.
47654         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
47655         * sysdeps/unix/sysv/linux/configure: Regenerated.
47656         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
47657         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
47658         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
47659         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
47660         * README: Update reference to required Linux kernel version.
47661         * manual/install.texi (Linux): Update reference to required Linux
47662         kernel headers version.
47663         * INSTALL: Regenerated.
47665         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
47666         header inclusion.
47667         [POSIX] (limits.h): Likewise.
47668         [POSIX] (math.h): Likewise.
47669         [POSIX] (sys/wait.h): Likewise.
47670         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
47671         function.
47672         [POSIX] (stddef.h): Do not allow header inclusion.
47674 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47676         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
47678 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
47680         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
47681         Return immediately after lll_futex_wake.
47683 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
47685         [BZ #16791]
47686         * nscd/nscd-client.h (datahead_init_common): Initialize entire
47687         structure.
47688         (datahead_init_pos): Call datahead_init_common early.
47689         (datahead_init_neg): Likewise.
47691         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
47692         datahead_init_neg): New functions.
47693         * nscd/aicache.c (addhstaiX): Use them.
47694         * nscd/grpcache.c (cache_addgr): Likewise.
47695         * nscd/hstcache.c (cache_addhst): Likewise.
47696         * nscd/initgrcache.c (addinitgroupsX): Likewise.
47697         * nscd/netgroupcache.c (do_notfound): Likewise.
47698         (addgetnetgrentX): Likewise.
47699         (addinnetgrX): Likewise.
47700         * nscd/pwdcache.c (cache_addpw): Likewise.
47701         * nscd/servicescache.c (cache_addserv): Likewise.
47703 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
47704             Atsushi Onoe  <atsushi@onoe.org>
47706         [BZ #14308]
47707         [BZ #12994]
47708         [BZ #13651]
47709         * resolv/res_query.c (__libc_res_nsearch): Return if at least
47710         one response is valid.
47711         * resolv/res_send.c (send_dg): Check for validity of other
47712         response if the current response is a referral.
47714 2014-04-29  Steve Ellcey  <sellcey@mips.com>
47716         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
47718 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
47720         [BZ #16823]
47721         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
47722         Always divide by positive zero when computing -Inf result.
47723         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
47724         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
47726 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47728         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
47729         FPSCR if value do not change.
47730         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
47731         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
47732         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
47733         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
47734         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
47735         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
47736         function.
47738 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
47740         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
47741         * sysdeps/unix/sysv/linux/hppa: Move directory from
47742         ports/systeps/unix/sysv/linux/hppa.
47743         * README: Update listing for hppa-*-linux-gnu.
47745 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
47747         [BZ #16754]
47748         * manual/stdio.texi (Hook functions): Fix types of stream hook
47749         functions.
47750         [BZ #16854]
47751         * socket/sys/socket.h: Fix typo in comment.
47753 2014-04-28  Wilco  <wdijkstr@arm.com>
47755         * sysdeps/arm/fenv_private.h: New file.
47756         * sysdeps/arm/math_private.h: New file.
47757         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
47759 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
47761         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
47762         with __int128_t.
47763         (La_x86_64_retval): Likewise.
47765 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
47767         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
47768         fpsr if value didn't change.
47769         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
47770         to fpcr if value didn't change.
47771         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
47772         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
47773         fpsr or fpcr if value didn't change.
47774         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
47775         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
47776         fpcr if value didn't change.
47777         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
47778         to fpsr if value didn't change.
47780 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
47782         * nptl/tst-sem3.c: Use test-skeleton.c
47783         (main): Rename to do_test.  Use return instead of
47784         exit.
47785         * nptl/tst-sem4.c: Use test-skeleton.c
47786         (main): Rename to do_test.
47788 2014-04-22  David S. Miller  <davem@davemloft.net>
47790         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
47791         (struct sigaction): New struct member __glibc_reserved0, change
47792         type of sa_flags to int.
47794 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
47796         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
47797         (COUNT_LEADING_ZEROS_0): Define for AArch64.
47799 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
47801         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
47802         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
47804 2014-04-22  Will Newton  <will.newton@linaro.org>
47805             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
47807         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
47808         (__longjmp): Add longjmp and longjmp_target SystemTap
47809         probes.
47810         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
47811         (__sigsetjmp): Add setjmp SystemTap probe.
47813 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
47815         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
47816         match manual order.
47818 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47820         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
47822         * sysdeps/powerpc/fpu/fenv_private.h
47823         (libc_feholdexcept_setroundl_ctx): Define to
47824         libc_feholdexcept_setround_ppc_ctx.
47825         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
47826         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
47827         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
47828         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
47830 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
47832         * sysdeps/aarch64/math-tests.h: New file.
47834 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
47836         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
47837         New.
47838         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47839         Check and set bit_AVX2_Usable.
47840         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
47841         macro.
47842         (bit_AVX2): Likewise.
47843         (index_AVX2_Usable): Likewise.
47844         (CPUID_AVX2): Likewise.
47845         (HAS_AVX2): Likewise.
47847 2014-04-17  Will Newton  <will.newton@linaro.org>
47849         * manual/setjmp.texi (System V contexts): Add note that
47850         calling setcontext on a context created by a call to a
47851         signal handler is undefined.  Update text to note that
47852         setcontext from a signal handler is possible but not
47853         recommended.
47855         [BZ #16629]
47856         * stdlib/tst-setcontext.c: Include signal.h.
47857         (main): Check that the signal stack before and
47858         after swapcontext is the same.
47860         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
47861         Re-implement to restore registers in user code and avoid
47862         rt_sigreturn system call.
47864 2014-04-17  Wilco  <wdijkstr@arm.com>
47866         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
47867         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
47868         * math/test-fenv.c: Skip exception trap tests on targets which only
47869         support non-stop mode.
47871 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
47872             Wilco Dijkstra  <wilco.dijkstra@arm.com>
47874         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
47875         (libc_feholdsetround_aarch64_ctx)
47876         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
47877         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
47878         (libc_feresetround_ctx, libc_feresetroundf_ctx)
47879         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
47880         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
47881         (libc_feresetround_noexl_ctx): Define.
47883 2014-04-16  Richard Henderson  <rth@redhat.com>
47885         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
47887         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
47888         unwind tables.
47890         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
47891         const from the non-libc, non-ldso copy.
47893         * sysdeps/alpha/libm-test-ulps: Regenerate.
47895 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
47896             Wilco Dijkstra  <wilco.dijkstra@arm.com>
47898         * sysdeps/aarch64/fpu/math_private.h: New file.
47900 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
47902         * sysdeps/aarch64/libm-test-ulps: Regenerate.
47904 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
47906         [BZ #16275]
47907         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
47908         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
47909         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
47910         Intel MPX bound registers before _dl_profile_fixup.
47911         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
47912         registers after _dl_profile_fixup.  Save and restore bound
47913         registers bnd0/bnd1 when calling _dl_call_pltexit.
47914         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
47915         (LR_BND_OFFSET): Likewise.
47916         (LRV_BND0_OFFSET): Likewise.
47917         (LRV_BND1_OFFSET): Likewise.
47919 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
47921         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
47922         to...
47923         * sysdeps/mach/hurd/i386/tls.h: ... here.
47924         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
47925         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
47926         fields.
47928 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
47930         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
47932 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
47934         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
47936 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
47938         [BZ #14770]
47939         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
47940         * sysdeps/s390/configure: Regenerate.
47942         [BZ #16824]
47943         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
47944         Set round-to-nearest internally to reduce error accumulation.
47946 2014-04-16  Alan Modra  <amodra@gmail.com>
47948         [BZ #16740]
47949         [BZ #16619]
47950         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
47951         * math/libm-test.inc (frexp_test_data): Add tests.
47952         * NEWS: Update fixed bug list.
47954 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
47956         * benchtests/Makefile: Depend on libraries in build directory.
47957         (bench-math): Separate out math tests.
47958         (bench-pthread): Separate out pthread tests.
47959         (bench): Include math and pthread tests.
47961 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
47963         [BZ #16831]
47964         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
47965         _dl_debug_initialize.
47967         * configure.ac: Remove SELinux header check.
47968         * configure: Regenerate.
47969         * nscd/selinux.c (perms): Array of const char* to permission names.
47970         (nscd_request_avc_has_perm): Call security_deny_unknown to find
47971         default policy. Call string_to_security_class and string_to_av_perm to
47972         translate strings. Enforce default policy and call avs_has_perm with
47973         results of translated strings.
47975 2014-04-13  David S. Miller  <davem@davemloft.net>
47977         * sysdeps/sparc/fpu/libm-test-ulps: Update.
47979 2014-04-12  Allan McRae  <allan@archlinux.org>
47981         [BZ #16838]
47982         * manual/string.texi (Collation Functions): Fix qsort argument
47983         order in example.
47984         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
47986 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
47988         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
47989         Make the test a no-op if there are no exceptions defined.
47991 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
47993         * elf/Makefile (tests): make tst-dlopen-aout conditional on
47994         enable-hardcoded-path-in-tests
47996 2014-04-11  Will Newton  <will.newton@linaro.org>
47998         * benchtests/Makefile (extra-objs): Add json-lib.o.
47999         (bench-func): Tidy up JSON output.
48000         * benchtests/bench-skeleton.c: Include json-lib.h.
48001         (main): Use JSON library functions to do output of
48002         benchmark results.
48003         * benchtests/bench-timing-type.c (main): Output the
48004         timing type simply, leaving formatting to the user.
48005         * benchtests/json-lib.c: New file.
48006         * benchtests/json-lib.h: Likewise.
48008 2014-04-11  Torvald Riegel  <triegel@redhat.com>
48010         [BZ #15215]
48011         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
48012         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
48013         memory barriers.  Add comments.
48014         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
48015         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
48016         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
48017         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
48018         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
48019         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
48021 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
48023         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
48024         * sysdeps/s390/s390-64/configure.ac: ... this ...
48025         * sysdeps/s390/configure.ac: ... to here.
48026         * sysdeps/s390/s390-32/configure: Delete file.
48027         * sysdeps/s390/s390-64/configure: Delete file.
48028         * sysdeps/s390/configure: Regenerate.
48030 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
48032         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
48034 2014-04-11  Will Newton  <will.newton@linaro.org>
48036         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
48037         to zero if it is not defined elsewhere.  (mtrim): Test
48038         the value of MALLOC_DEBUG with #if rather than #ifdef.
48040 2014-04-10 Torvald Riegel  <triegel@redhat.com>
48042         * benchtests/pthread_once-inputs: New file.
48043         * benchtests/pthread_once-source.c: New file.
48044         * benchtests/README: Update documentation.
48046 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
48047             H.J. Lu  <hongjiu.lu@intel.com>
48049         [BZ #16275]
48050         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
48051         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
48052         * sysdeps/x86_64/configure: Regenerated.
48053         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
48054         macro.
48055         (REGISTER_SAVE_RAX): Likewise.
48056         (REGISTER_SAVE_RCX): Likewise.
48057         (REGISTER_SAVE_RDX): Likewise.
48058         (REGISTER_SAVE_RSI): Likewise.
48059         (REGISTER_SAVE_RDI): Likewise.
48060         (REGISTER_SAVE_R8): Likewise.
48061         (REGISTER_SAVE_R9): Likewise.
48062         (REGISTER_SAVE_BND0): Likewise.
48063         (REGISTER_SAVE_BND1): Likewise.
48064         (REGISTER_SAVE_BND2): Likewise.
48065         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
48066         bound registers when calling _dl_fixup.
48068 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48070         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
48071         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
48072         of its definition.
48073         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
48074         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
48075         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
48076         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
48077         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
48078         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
48079         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
48081 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
48083         [BZ #15514]
48084         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
48085         pathconf(_PC_NAME_MAX).
48087 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48089         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
48090         Remove macro usage.
48091         (__PTHREAD_SPINS): Move definition to ...
48092         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
48093         (__PTHREAD_SPINS): ... here.
48094         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
48095         (__PTHREAD_SPIN): Likewise.
48096         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
48097         (__PTHREAD_SPIN): Likewise.
48098         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
48099         (__PTHREAD_SPIN): Likewise.
48100         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
48101         (__PTHREAD_SPIN): Likewise.
48102         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
48103         (__PTHREAD_SPIN): Likewise.
48104         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
48105         (__PTHREAD_SPIN): Likewise.
48106         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
48107         (__PTHREAD_SPIN): Likewise.
48108         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
48109         (__PTHREAD_SPIN): Likewise.
48110         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
48111         (__PTHREAD_SPIN): Likewise.
48112         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
48113         (__PTHREAD_SPIN): Likewise.
48114         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
48115         (__PTHREAD_SPIN): Likewise.
48116         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
48117         (__PTHREAD_SPIN): Likewise.
48119         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
48120         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
48121         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
48122         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
48123         imply folder.
48124         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
48125         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
48126         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
48127         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
48128         correct imply path.
48129         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
48130         strlen symbol for non multi-arch builds.
48131         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
48132         missing hidden_def and weak_alias.
48134 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
48136         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
48138 2014-04-07  Will Newton  <will.newton@linaro.org>
48140         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
48141         and contents.  [!_LIBC] Remove #ifndef and contents.
48142         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
48143         * string/memccpy.c (__memccpy): Use ANSI prototype.
48144         * string/memfrob.c (memfrob): Likewise.
48145         * string/strcoll.c (STRCOLL): Likewise.
48146         * string/strlen.c (strlen): Likewise.
48147         * string/strtok.c (STRTOK): Likewise.
48148         * string/strcat.c: Remove unused #include of memcopy.h.
48149         (strcat): Use ANSI prototype.
48150         * string/strchr.c: Remove unused #include of memcopy.h.
48151         (strchr): Use ANSI prototype.
48152         * string/strcmp.c: Remove unused #include of memcopy.h.
48153         (strcmp): Use ANSI prototype.
48154         * string/strcpy.c: Remove unused #include of memcopy.h.
48155         (strcpy): Use ANSI prototype.
48157 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48159         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
48160         * config.make.in (config-extra-cppflags): Set it from
48161         libc_extra_cppflags.
48162         * configure.ac (libc_extra_cflags): Make it accumulate over
48163         configure fragments.
48164         (libc_extra_cppflags): New flag.
48165         * configure. Regenerate.
48166         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
48167         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
48168         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
48169         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
48171         [BZ #16815]
48172         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
48173         result for FE_DOWNWARD rounding mode.
48174         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
48175         Likewise.
48176         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48178 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
48180         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
48181         in function argument name.
48183 2014-04-03  David Svoboda  <svoboda@cert.org>
48185         [BZ #5666]
48186         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
48187         explicitly.
48189 2014-04-03  Roland McGrath  <roland@hack.frob.com>
48191         * elf/dl-unmap-segments.h: New file.
48192         * sysdeps/generic/ldsodefs.h
48193         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
48194         * elf/dl-close.c: Include <dl-unmap-segments.h>.
48195         * elf/dl-fptr.c: Likewise.
48196         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
48197         * sysdeps/aarch64/tlsdesc.c: Likewise.
48198         * sysdeps/arm/tlsdesc.c: Likewise.
48199         * sysdeps/i386/tlsdesc.c: Likewise.
48200         * sysdeps/tile/dl-runtime.c: Likewise.
48201         * sysdeps/x86_64/tlsdesc.c: Likewise.
48202         * elf/dl-load.h: New file.
48203         * elf/dl-load.c: Include it.
48204         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
48205         Macros moved to dl-load.h.
48206         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
48207         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
48208         Use _dl_unmap_segments in place of __munmap.
48209         Break out segment-mapping loop into ...
48210         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
48212 2014-04-03  Will Newton  <will.newton@linaro.org>
48214         * elf/dl-lookup.c (do_lookup_x): Remove comment
48215         referring to nested function and move variable
48216         declarations down to before first use.
48218 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
48220         [BZ #16799]
48221         [BZ #16800]
48222         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
48223         with 0 numerator.
48224         * math/s_catanf.c (__catanf): Likewise.
48225         * math/s_catanh.c (__catanh): Likewise.
48226         * math/s_catanhf.c (__catanhf): Likewise.
48227         * math/s_catanhl.c (__catanhl): Likewise.
48228         * math/s_catanl.c (__catanl): Likewise.
48229         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
48230         by positive zero when computing -Inf result.
48231         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
48232         (catanh_test): Likewise.
48233         * sysdeps/i386/fpu/libm-test-ulps: Update.
48234         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48236         [BZ #16789]
48237         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
48238         instead of using underflowing value in computing result.
48239         * math/s_clog10.c (__clog10): Likewise.
48240         * math/s_clog10f.c (__clog10f): Likewise.
48241         * math/s_clog10l.c (__clog10l): Likewise.
48242         * math/s_clogf.c (__clogf): Likewise.
48243         * math/s_clogl.c (__clogl): Likewise.
48244         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
48245         (clog10_test): Likewise.
48246         * sysdeps/i386/fpu/libm-test-ulps: Update.
48247         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48249 2014-04-02  Alan Modra  <amodra@gmail.com>
48251         [BZ #16739]
48252         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
48253         output when value is near a power of two.  Use int64_t for lx and
48254         remove casts.  Use decimal rather than hex exponent constants.
48255         Don't use long double multiplication when double will suffice.
48256         * math/libm-test.inc (nextafter_test_data): Add tests.
48257         * NEWS: Add 16739 and 16786 to bug list.
48259         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
48261         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
48263 2014-04-01  Will Newton  <will.newton@linaro.org>
48265         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
48266         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
48268 2014-04-01  Florian Weimer  <fweimer@redhat.com>
48270         [BZ #13347]
48271         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
48272         * nptl/tst-setuid2.c: New file.
48273         * nptl/Makefile (xtests): Add tst-setuid2.
48275 2014-04-01  Alan Modra  <amodra@gmail.com>
48277         [BZ #16786]
48278         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
48280 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
48282         [BZ #6803]
48283         [BZ #6804]
48284         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
48285         set errno as appropriate.
48286         * math/w_scalbf.c (__scalbf): Likewise.
48287         * math/w_scalbl.c (__scalbl): Likewise.
48288         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
48289         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
48290         * math/libm-test.inc (scalb_test_data): Add errno expectations.
48291         Add more NaN tests.
48293         [BZ #16349]
48294         * math/w_atan2.c: Include <errno.h>.
48295         (__atan2): Set errno for result underflowing to zero.
48296         * math/w_atan2f.c: Include <errno.h>.
48297         (__atan2f): Set errno for result underflowing to zero.
48298         * math/w_atan2l.c: Include <errno.h>.
48299         (__atan2l): Set errno for result underflowing to zero.
48300         * math/auto-libm-test-in: Don't allow missing errno for some atan2
48301         tests.
48302         * math/auto-libm-test-out: Regenerated.
48304 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48306         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
48307         Encode instruction correctly in little endian.
48308         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
48309         Likewise.
48310         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
48311         Likewise.
48312         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
48313         Likewise.
48314         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
48315         Likewise.
48317 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
48319         [BZ #9894]
48320         * sysdeps/unix/sysv/linux/kernel-features.h
48321         [__sparc__ && !__arch64__ && !__sparc_v9__]
48322         (__ASSUME_SET_ROBUST_LIST): Do not define.
48323         [__sparc__ && !__arch64__ && !__sparc_v9__]
48324         (__ASSUME_FUTEX_LOCK_PI): Likewise.
48325         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
48326         Likewise.
48327         * sysdeps/unix/sysv/linux/arm/kernel-features.h
48328         (__ASSUME_FUTEX_LOCK_PI): Undefine.
48329         (__ASSUME_REQUEUE_PI): Likewise.
48330         (__ASSUME_SET_ROBUST_LIST): Likewise.
48331         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
48332         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
48333         Undefine.
48334         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
48335         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
48336         Likewise.
48337         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
48338         Likewise.
48339         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
48340         Likewise.
48341         * sysdeps/unix/sysv/linux/mips/kernel-features.h
48342         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
48343         Undefine.
48344         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
48345         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
48346         Likewise.
48348         [BZ #16648]
48349         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
48350         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
48351         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
48353 2014-03-31  Will Newton  <will.newton@linaro.org>
48355         * benchtests/Makefile (bench): Add ffs and ffsll to list
48356         of tests.
48357         * benchtests/ffs-inputs: New file.
48358         * benchtests/ffsll-inputs: Likewise.
48360 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
48362         [BZ #16770]
48363         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
48364         too large before casting to int.
48365         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
48366         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
48367         * math/libm-test.inc (scalb_test_data): Add more tests.
48369 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
48371         * benchtests/Makefile (DETAILED_OPT): New make option.
48372         (bench-func): Run benchmark program with -d if DETAILED_OPT is
48373         set.
48374         * benchtests/bench-skeleton.c: Include stdbool.h.
48375         (main): Store and print timings per input.
48376         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
48377         member to each argument value.
48378         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
48379         (_print_arg_data): Initialize per-input timing to 0.
48381         * benchtests/Makefile (timing-type): New binary.
48382         (bench-clean): Also remove bench-timing-type.
48383         (bench): New target for timing-type.
48384         (bench-func): Print output in JSON format.
48385         * benchtests/bench-skeleton.c (main): Print output in JSON
48386         format.
48387         * benchtests/bench-timing-type.c: New file.
48388         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
48389         (TIMING_PRINT_STATS): Remove.
48390         * benchtests/scripts/bench.py (_print_arg_data): Store variant
48391         name separately.
48393         * benchtests/bench-modf.c: Remove.
48394         * benchtests/modf-inputs: New inputs file.
48396 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
48398         [BZ #16362]
48399         * math/s_clog10.c (M_PI_LOG10E): New macro.
48400         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
48401         imaginary parts are 0.
48402         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
48403         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
48404         imaginary parts are 0.
48405         * math/s_clog10l.c (M_PI_LOG10El): New macro.
48406         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
48407         imaginary parts are 0.
48408         * math/libm-test.inc (clog10_test_data): Update expected results
48409         for when real and imaginary parts are 0.
48411 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
48413         * elf/dl-load.c: Finish conversion of __builtin_expect into
48414         __glibc_{un}likely.
48416 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
48418         [BZ #16348]
48419         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
48420         1+x for argument with exponent below -67.
48421         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
48422         Likewise.
48423         * math/auto-libm-test-in: Add more tests of exp.
48424         * math/auto-libm-test-out: Regenerated.
48426 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
48428         [BZ #16759]
48429         * inet/getnetgrent_r.c (get_nonempty_val): New function.
48430         (nscd_getnetgrent): Use it.
48432         [BZ #16760]
48433         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
48434         of stpcpy.
48436 2014-03-27  Andi Kleen  <ak@linux.intel.com>
48438         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
48439         (lll_robust_lock, lll_cond_lock, lll_timedlock)
48440         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
48441         (lll_robust_unlock): Remove out of line section. Use cfi
48442         intrinsics.
48443         (LLL_STUB_UNWIND_INFO*): Remove.
48444         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
48445         (lll_robust_lock, lll_cond_lock, lll_timedlock)
48446         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
48447         (lll_robust_unlock): Remove out of line section. Use cfi
48448         intrinsics.
48449         (LLL_STUB_UNWIND_INFO*): Remove.
48451 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
48453         [BZ #16758]
48454         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
48455         blank values.
48457 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
48459         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
48461 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
48463         [BZ #16198]
48464         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
48465         fnstenv.
48466         * math/test-fenv-preserve.c: New file.
48467         * math/Makefile (tests): Add test-fenv-preserve.
48469 2014-03-26  Will Newton <will.newton@linaro.org>
48471         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
48473 2014-03-25  Roland McGrath  <roland@hack.frob.com>
48475         * scripts/versionlist.awk: Partition the version sets and emit all
48476         GLIBC_* (sorted) before all others (sorted).
48478 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
48480         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
48481         GLIBC_2.2.5 version.
48483 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48485         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
48486         calls.
48488         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
48489         previous change.
48491         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48493 2014-03-25  Andreas Schwab  <schwab@suse.de>
48495         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
48496         label to be used after in6ailist is initialized.
48498 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48500         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
48501         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
48503 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
48505         [BZ #16357]
48506         [BZ #16599]
48507         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
48508         min_plus_half.
48509         (fp_formats): Update initializers.
48510         (init_fp_formats): Initialize new field.
48511         (output_for_one_input_case): Allow underflow for results up to
48512         min_plus_half.
48513         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
48514         * math/auto-libm-test-in: Don't mark some underflows from asin and
48515         atanh as spurious.
48516         * math/auto-libm-test-out: Regenerated.
48517         * sysdeps/i386/fpu/libm-test-ulps: Update.
48518         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48520 2014-03-25  Andreas Schwab  <schwab@suse.de>
48522         * libio/Makefile (tst-ftell-partial-wide-ENV)
48523         (tst-ftell-active-handler-ENV): Define.
48525 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
48527         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
48529 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
48531         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
48533 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
48535         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
48536         * sysdeps/x86_64/fpu/multiarch/e_exp.c
48537         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
48539 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
48541         [BZ #16634]
48542         * elf/dl-load.c (open_verify): Add mode parameter.
48543         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
48544         (open_path): Change from boolean 'secure' to complete flag 'mode'
48545         (_dl_map_object): Adjust.
48546         * elf/Makefile (tests): Add tst-dlopen-aout.
48547         * elf/tst-dlopen-aout.c: New test.
48549 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
48551         [BZ #16714]
48552         * sysdeps/unix/sysv/linux/s390/bits/stat.h
48553         (struct stat): Rename member pad0 to __glibc_reserved0.
48555         [BZ #16712]
48556         * sysdeps/s390/s390-32/bits/wordsize.h
48557         (__WORDSIZE32_SIZE_ULONG): New define.
48558         * sysdeps/s390/s390-64/bits/wordsize.h
48559         (__WORDSIZE32_SIZE_ULONG): Likewise.
48560         * sysdeps/generic/stdint.h (SIZE_MAX):
48561         Define as UL if __WORDSIZE32_SIZE_ULONG.
48563         [BZ #16713]
48564         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
48565         (__glibc_reserved0): New variable.
48566         (sa_flags): Change type to int.
48568         * posix/Makefile (before-compile): Use += before-compile instead
48569         of a :=.
48571         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
48572         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
48574 2014-03-20  Andreas Schwab  <schwab@suse.de>
48576         [BZ #16743]
48577         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
48578         non-matching result from nscd.
48580 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
48582         * scripts/bench.py: Moved to ...
48583         * benchtests/scripts/bench.py: ... here.
48584         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
48586 2014-03-24  Andreas Schwab  <schwab@suse.de>
48588         [BZ #16002]
48589         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
48590         alloca_account and account alloca use for struct in6ailist.
48592 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
48594         [BZ #16284]
48595         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
48596         rounding mode to recompute results that overflow to infinity or
48597         underflow to zero.
48598         * math/auto-libm-test-in: Don't mark tests as expected to fail for
48599         bug 16284.
48600         * math/auto-libm-test-out: Regenerated.
48601         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
48602         (ccosh_test): Likewise.
48603         (csin_test_data): Use plus_oflow.
48604         (csin_test): Use ALL_RM_TEST.
48605         (csinh_test_data): Use plus_oflow.
48606         (csinh_test): Use ALL_RM_TEST.
48607         * sysdeps/i386/fpu/libm-test-ulps: Update.
48608         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48610 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
48612         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
48613         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
48614         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
48616         [BZ #16731]
48617         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
48618         when x - 1 is zero.
48619         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
48620         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
48621         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
48622         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
48623         argument is 1.
48624         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
48625         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
48626         zero.
48627         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
48628         * sysdeps/i386/fpu/libm-test-ulps: Update.
48629         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48631 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
48633         * scripts/bench.pl: Remove file.
48634         * scripts/bench.py: New benchmark script.
48635         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
48636         * benchtests/README: Mention python dependency.
48637         * scripts/pylintrc: New file.
48638         * scripts/pylint: New file.
48640         * bits/mathdef.h: Use #ifdef instead of #if.
48641         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
48642         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
48643         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
48644         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
48645         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
48646         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
48648 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48649             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
48651         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
48652         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
48653         and strpbrk-ppc64 objects.
48654         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
48655         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
48656         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
48657         multiarch strpbrk for POWER7.
48658         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
48659         multiarch strpbrk for PPC64.
48660         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
48661         ifunc selector.
48662         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
48663         strpbrk for POWER7.
48665 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
48667         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
48668         (atan_test): Likewise.
48669         (atanh_test_data): Use NO_TEST_INLINE for two tests.
48670         (atanh_test): Use ALL_RM_TEST.
48671         (atan2_test_data): Likewise.
48672         (cabs_test): Likewise.
48673         (cacosh_test): Likewise.
48674         (carg_test): Likewise.
48675         (casin_test): Likewise.
48676         (casinh_test): Likewise.
48677         (cbrt_test): Likewise.
48678         (csqrt_test): Likewise.
48679         (erf_test): Likewise.
48680         (erfc_test): Likewise.
48681         (pow10_test): Likewise.
48682         (exp2_test): Likewise.
48683         (hypot_test): Likewise.
48684         (j0_test): Likewise.
48685         (j1_test): Likewise.
48686         (lgamma_test): Likewise.
48687         (gamma_test): Likewise.
48688         (sincos_test): Likewise.
48689         (tanh_test): Likewise.
48690         (y0_test): Likewise.
48691         (y1_test): Likewise.
48692         * sysdeps/i386/fpu/libm-test-ulps: Update.
48693         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48695 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48697         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
48698         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
48699         and strcspn-ppc64 objects.
48700         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
48701         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
48702         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
48703         multiarch strcspn for POWER7.
48704         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
48705         multiarch strcspn for PPC64.
48706         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
48707         ifunc selector.
48708         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
48709         strcspn for POWER7.
48711 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
48713         * math/gen-libm-test.pl (generate_testfile): Expect only function
48714         name as argument to AUTO_TESTS_* and pass results for all rounding
48715         modes to parse_args.
48716         (parse_auto_input): Separate inputs of automatic tests from
48717         outputs before storing in %auto_tests.
48718         * math/libm-test.inc (acos_test_data): Update call to
48719         AUTO_TESTS_f_f.
48720         (acos_test): Use ALL_RM_TEST.
48721         (acos_tonearest_test_data): Remove.
48722         (acos_test_tonearest): Likewise.
48723         (acos_towardzero_test_data): Likewise.
48724         (acos_test_towardzero): Likewise.
48725         (acos_downward_test_data): Likewise.
48726         (acos_test_downward): Likewise.
48727         (acos_upward_test_data): Likewise.
48728         (acos_test_upward): Likewise.
48729         (acosh_test_data): Update call to AUTO_TESTS_f_f.
48730         (asin_test_data): Likewise.
48731         (asin_test): Use ALL_RM_TEST.
48732         (asin_tonearest_test_data): Remove.
48733         (asin_test_tonearest): Likewise.
48734         (asin_towardzero_test_data): Likewise.
48735         (asin_test_towardzero): Likewise.
48736         (asin_downward_test_data): Likewise.
48737         (asin_test_downward): Likewise.
48738         (asin_upward_test_data): Likewise.
48739         (asin_test_upward): Likewise.
48740         (asinh_test_data): Update call to AUTO_TESTS_f_f.
48741         (atan_test_data): Likewise.
48742         (atanh_test_data): Likewise.
48743         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
48744         (cabs_test_data): Update call to AUTO_TESTS_c_f.
48745         (carg_test_data): Likewise.
48746         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
48747         (ccos_test_data): Update call to AUTO_TESTS_c_c.
48748         (ccosh_test_data): Likewise.
48749         (cexp_test_data): Likewise.
48750         (clog_test_data): Likewise.
48751         (clog10_test_data): Likewise.
48752         (cos_test_data): Update call to AUTO_TESTS_f_f.
48753         (cos_test): Use ALL_RM_TEST.
48754         (cos_tonearest_test_data): Remove.
48755         (cos_test_tonearest): Likewise.
48756         (cos_towardzero_test_data): Likewise.
48757         (cos_test_towardzero): Likewise.
48758         (cos_downward_test_data): Likewise.
48759         (cos_test_downward): Likewise.
48760         (cos_upward_test_data): Likewise.
48761         (cos_test_upward): Likewise.
48762         (cosh_test_data): Update call to AUTO_TESTS_f_f.
48763         (cosh_test): Use ALL_RM_TEST.
48764         (cosh_tonearest_test_data): Remove.
48765         (cosh_test_tonearest): Likewise.
48766         (cosh_towardzero_test_data): Likewise.
48767         (cosh_test_towardzero): Likewise.
48768         (cosh_downward_test_data): Likewise.
48769         (cosh_test_downward): Likewise.
48770         (cosh_upward_test_data): Likewise.
48771         (cosh_test_upward): Likewise.
48772         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
48773         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
48774         (ctan_test_data): Likewise.
48775         (ctan_test): Use ALL_RM_TEST.
48776         (ctan_tonearest_test_data): Remove.
48777         (ctan_test_tonearest): Likewise.
48778         (ctan_towardzero_test_data): Likewise.
48779         (ctan_test_towardzero): Likewise.
48780         (ctan_downward_test_data): Likewise.
48781         (ctan_test_downward): Likewise.
48782         (ctan_upward_test_data): Likewise.
48783         (ctan_test_upward): Likewise.
48784         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
48785         (ctanh_test): Use ALL_RM_TEST.
48786         (ctanh_tonearest_test_data): Remove.
48787         (ctanh_test_tonearest): Likewise.
48788         (ctanh_towardzero_test_data): Likewise.
48789         (ctanh_test_towardzero): Likewise.
48790         (ctanh_downward_test_data): Likewise.
48791         (ctanh_test_downward): Likewise.
48792         (ctanh_upward_test_data): Likewise.
48793         (ctanh_test_upward): Likewise.
48794         (erf_test_data): Update call to AUTO_TESTS_f_f.
48795         (erfc_test_data): Likewise.
48796         (exp_test_data): Likewise.
48797         (exp_test): Use ALL_RM_TEST.
48798         (exp_tonearest_test_data): Remove.
48799         (exp_test_tonearest): Likewise.
48800         (exp_towardzero_test_data): Likewise.
48801         (exp_test_towardzero): Likewise.
48802         (exp_downward_test_data): Likewise.
48803         (exp_test_downward): Likewise.
48804         (exp_upward_test_data): Likewise.
48805         (exp_test_upward): Likewise.
48806         (exp10_test_data): Update call to AUTO_TESTS_f_f.
48807         (exp10_test): Use ALL_RM_TEST.
48808         (exp10_tonearest_test_data): Remove.
48809         (exp10_test_tonearest): Likewise.
48810         (exp10_towardzero_test_data): Likewise.
48811         (exp10_test_towardzero): Likewise.
48812         (exp10_downward_test_data): Likewise.
48813         (exp10_test_downward): Likewise.
48814         (exp10_upward_test_data): Likewise.
48815         (exp10_test_upward): Likewise.
48816         (exp2_test_data): Update call to AUTO_TESTS_f_f.
48817         (expm1_test_data): Likewise.
48818         (expm1_test): Use ALL_RM_TEST.
48819         (expm1_tonearest_test_data): Remove.
48820         (expm1_test_tonearest): Likewise.
48821         (expm1_towardzero_test_data): Likewise.
48822         (expm1_test_towardzero): Likewise.
48823         (expm1_downward_test_data): Likewise.
48824         (expm1_test_downward): Likewise.
48825         (expm1_upward_test_data): Likewise.
48826         (expm1_test_upward): Likewise.
48827         (fma_test_data): Update call to AUTO_TESTS_fff_f.
48828         (fma_test): Use ALL_RM_TEST.
48829         (fma_towardzero_test_data): Remove.
48830         (fma_test_towardzero): Likewise.
48831         (fma_downward_test_data): Likewise.
48832         (fma_test_downward): Likewise.
48833         (fma_upward_test_data): Likewise.
48834         (fma_test_upward): Likewise.
48835         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
48836         (j0_test_data): Update call to AUTO_TESTS_f_f.
48837         (j1_test_data): Likewise.
48838         (jn_test_data): Update call to AUTO_TESTS_if_f.
48839         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
48840         (log_test_data): Update call to AUTO_TESTS_f_f.
48841         (log10_test_data): Likewise.
48842         (log1p_test_data): Likewise.
48843         (log2_test_data): Likewise.
48844         (pow_test_data): Update call to AUTO_TESTS_ff_f.
48845         (pow_tonearest_test_data): Likewise.
48846         (sin_test_data): Update call to AUTO_TESTS_f_f.
48847         (sin_test): Use ALL_RM_TEST.
48848         (sin_tonearest_test_data): Remove.
48849         (sin_test_tonearest): Likewise.
48850         (sin_towardzero_test_data): Likewise.
48851         (sin_test_towardzero): Likewise.
48852         (sin_downward_test_data): Likewise.
48853         (sin_test_downward): Likewise.
48854         (sin_upward_test_data): Likewise.
48855         (sin_test_upward): Likewise.
48856         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
48857         (sinh_test_data): Update call to AUTO_TESTS_f_f.
48858         (sinh_test): Use ALL_RM_TEST.
48859         (sinh_tonearest_test_data): Remove.
48860         (sinh_test_tonearest): Likewise.
48861         (sinh_towardzero_test_data): Likewise.
48862         (sinh_test_towardzero): Likewise.
48863         (sinh_downward_test_data): Likewise.
48864         (sinh_test_downward): Likewise.
48865         (sinh_upward_test_data): Likewise.
48866         (sinh_test_upward): Likewise.
48867         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
48868         (sqrt_test): Use ALL_RM_TEST.
48869         (sqrt_tonearest_test_data): Remove.
48870         (sqrt_test_tonearest): Likewise.
48871         (sqrt_towardzero_test_data): Likewise.
48872         (sqrt_test_towardzero): Likewise.
48873         (sqrt_downward_test_data): Likewise.
48874         (sqrt_test_downward): Likewise.
48875         (sqrt_upward_test_data): Likewise.
48876         (sqrt_test_upward): Likewise.
48877         (tan_test_data): Update call to AUTO_TESTS_f_f.
48878         (tan_test): Use ALL_RM_TEST.
48879         (tan_tonearest_test_data): Remove.
48880         (tan_test_tonearest): Likewise.
48881         (tan_towardzero_test_data): Likewise.
48882         (tan_test_towardzero): Likewise.
48883         (tan_downward_test_data): Likewise.
48884         (tan_test_downward): Likewise.
48885         (tan_upward_test_data): Likewise.
48886         (tan_test_upward): Likewise.
48887         (tanh_test_data): Update call to AUTO_TESTS_f_f.
48888         (tgamma_test_data): Likewise.
48889         (y0_test_data): Likewise.
48890         (y1_test_data): Likewise.
48891         (yn_test_data): Update call to AUTO_TESTS_if_f.
48892         (main): Do not call removed functions.
48894 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
48896         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
48897         (ldexp_test_data): Remove.
48898         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
48899         scalbn_test_data.
48900         (scalb_test): Use ALL_RM_TEST.
48902 2014-03-19  Andreas Schwab  <schwab@suse.de>
48904         * nscd/nscd.service: Also invalidate netgroup cache on reload.
48906 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
48908         [BZ #16649]
48909         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
48910         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
48911         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
48912         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
48913         (__ASSUME_PREADV): Undefine.
48914         (__ASSUME_PWRITEV): Likewise.
48916 2014-03-18  Roland McGrath  <roland@hack.frob.com>
48918         * bits/mman-linux.h: Add comment about non-Linux use.
48919         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
48920         bits/mman-linux.h resting place.
48922         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
48923         * bits/mman-linux.h: ... here.
48925 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48927         * conform/conformtest.pl: Add standard definition when calling C
48928         preprocessor on data files.
48929         (checknamespace): Remove unused variable.
48931 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
48933         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
48934         minus_oflow, plus_uflow and minus_uflow in expected results.
48935         * math/libm-test.inc (scalbn_test_data): Add more tests of
48936         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
48937         minus_uflow.
48938         (scalbn_test): Use ALL_RM_TEST.
48939         (scalbln_test_data): Add more tests of negative arguments.  Use
48940         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
48941         (scalbln_test): Use ALL_RM_TEST.
48943 2014-03-18  Roland McGrath  <roland@hack.frob.com>
48945         * scripts/abilist.awk: Ignore symbols marked with .hidden.
48947 2014-03-18  Will Newton  <will.newton@linaro.org>
48949         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
48950         inaccurate comment.
48952 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
48954         * Makerules [!subdir] (check-abi): Exit with error status if a
48955         test failed.
48957 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
48959         * math/libm-test.inc (nearbyint_test_data): Include all tests used
48960         for rint.  Include results for all rounding modes.
48961         (nearbyint_test): Use ALL_RM_TEST.
48962         (rint_test_data): Include all tests used for nearbyint.
48964 2014-03-17  Will Newton  <will.newton@linaro.org>
48966         * nptl/sysdeps/pthread/pthread.h: Revert previous
48967         change.
48969         * sysdeps/generic/ldsodefs.h: Revert previous
48970         change.
48972         * libio/genops.c: Revert previous change.
48973         * libio/libioP.h: Likewise.
48974         * stdio-common/vfprintf.c: Likewise.
48976         * sysdeps/generic/math_private.h: Revert previous
48977         change.
48979         * sysdeps/generic/math_private.h: Check whether
48980         HAVE_RM_CTX is defined with #ifdef rather
48981         than #if.
48983         * argp/argp-fmtstream.h: Check whether
48984         __STRICT_ANSI__ is defined with #ifdef rather
48985         than #if.
48986         * argp/argp.h: Likewise.
48988         * libio/genops.c: Check whether
48989         _IO_JUMPS_OFFSET is defined with #ifdef rather
48990         than #if.
48991         * libio/libioP.h: Likewise.
48992         * stdio-common/vfprintf.c: Likewise.
48994         * sysdeps/generic/ldsodefs.h: Check whether
48995         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
48996         than #if.
48998         * nptl/sysdeps/pthread/pthread.h: Check
48999         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
49000         its value.
49002 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
49004         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
49005         setting O_APPEND.
49006         * libio/tst-ftell-active-handler.c (do_append_test): Add a
49007         test case.
49009         [BZ #16680]
49010         * libio/fileops.c (_IO_file_open): Seek to end of file but
49011         don't cache the offset.
49012         (get_file_offset): Remove function.
49013         (do_ftell): Use cached offset when available.
49014         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
49015         don't cache the offset.
49016         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
49017         case.
49018         (do_one_test): Call it.
49019         (do_ftell_test): Fix up expected old offset for a+ mode.
49020         * libio/wfileops.c (do_ftell_wide): Used cached offset when
49021         available.
49023         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
49024         up test status with function return status.
49025         (do_write_test): Likewise.
49026         (do_append_test): Likewise.
49028         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
49029         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
49030         Remove.
49032 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
49034         * math/gen-libm-test.pl (parse_args): Handle results specified for
49035         each rounding mode separately.
49036         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
49037         tests and results from lrint_tonearest_test_data,
49038         lrint_towardzero_test_data, lrint_downward_test_data and
49039         lrint_upward_test_data.
49040         (lrint_test): Use ALL_RM_TEST.
49041         (lrint_tonearest_test_data): Remove.
49042         (lrint_test_tonearest): Likewise.
49043         (lrint_towardzero_test_data): Likewise.
49044         (lrint_test_towardzero): Likewise.
49045         (lrint_downward_test_data): Likewise.
49046         (lrint_test_downward): Likewise.
49047         (lrint_upward_test_data): Likewise.
49048         (lrint_test_upward): Likewise.
49049         (llrint_test_data): Merge in per-rounding-mode tests and results
49050         from llrint_tonearest_test_data, llrint_towardzero_test_data,
49051         llrint_downward_test_data and llrint_upward_test_data.
49052         (llrint_test): Use ALL_RM_TEST.
49053         (llrint_tonearest_test_data): Remove.
49054         (llrint_test_tonearest): Likewise.
49055         (llrint_towardzero_test_data): Likewise.
49056         (llrint_test_towardzero): Likewise.
49057         (llrint_downward_test_data): Likewise.
49058         (llrint_test_downward): Likewise.
49059         (llrint_upward_test_data): Likewise.
49060         (llrint_test_upward): Likewise.
49061         (rint_test_data): Merge in per-rounding-mode tests and results
49062         from rint_tonearest_test_data, rint_towardzero_test_data,
49063         rint_downward_test_data and rint_upward_test_data.  Add
49064         per-rounding-mode results for tests not in those arrays.
49065         (rint_test): Use ALL_RM_TEST.
49066         (rint_tonearest_test_data): Remove.
49067         (rint_test_tonearest): Likewise.
49068         (rint_towardzero_test_data): Likewise.
49069         (rint_test_towardzero): Likewise.
49070         (rint_downward_test_data): Likewise.
49071         (rint_test_downward): Likewise.
49072         (rint_upward_test_data): Likewise.
49073         (rint_test_upward): Likewise.
49074         (main): Don't call removed functions.
49076 2014-03-14  Roland McGrath  <roland@hack.frob.com>
49078         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
49079         "Compiled on ..." crapola.  It is anti-useful.
49081 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
49083         * scripts/evaluate-test.sh: Handle fourth argument to determine
49084         whether test run should stop on failure.
49085         * Makeconfig (stop-on-test-failure): New variable.
49086         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
49087         $(stop-on-test-failure).
49088         * Makefile (tests): Give a summary of results from testing and
49089         exit with failure status if they include an ERROR or FAIL.
49090         (xtests): Likewise.
49091         * manual/install.texi (Configuring and compiling): Mention
49092         stop-on-test-failure=y.
49093         * INSTALL: Regenerated.
49095 2014-03-14  Roland McGrath  <roland@hack.frob.com>
49097         * scripts/versionlist.awk: New file.
49098         * Makerules [$(build-shared) = yes]
49099         (postclean-generated): Add Versions.def, not Versions.def.v and
49100         Versions.def.v.i.
49101         ($(common-objpfx)Versions.def.v.i): Target removed.
49102         ($(common-objpfx)Versions.def): New target.
49103         ($(common-objpfx)Versions.all): Depend on that rather that
49104         $(common-objpfx)Versions.def.v.
49105         * Versions.def: File removed.
49107         * Makeconfig (+gccwarn): Add -Wundef.
49108         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
49109         a dl-sysdep.h breaking its contract.
49110         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
49111         * include/stackinfo.h: New file.
49112         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
49113         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
49114         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
49115         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
49116         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
49117         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
49118         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
49119         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
49120         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
49121         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
49122         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
49123         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
49124         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
49125         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
49126         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
49128 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49130         [BZ #16707]
49131         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
49132         implementation.
49133         * math/libm-test.inc (round_test_data): Add more tests.
49135         [BZ #16706]
49136         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
49137         implementation.
49138         * math/libm-test.inc (nearbyint_test_data): Add more tests.
49140         [BZ #16701]
49141         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
49142         implementation.
49143         * math/libm-test.inc (ceil_test_data): Add more tests.
49145         * math/libm-test.inc (trunc_test_data): Add more tests related to
49146         BZ#16414.
49148 2014-03-14  Roland McGrath  <roland@hack.frob.com>
49150         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
49151         with #if rather than #ifdef.
49152         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
49154 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
49156         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
49157         first.  Disable AVX-512 GCC support if assembler doesn't support
49158         it.
49159         * sysdeps/x86_64/configure: Regenerated.
49161 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
49163         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
49164         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
49165         (__old_pthread_attr_setstack): Likewise.
49166         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
49167         [!_STACK_GROWS_DOWN]: Likewise.
49169 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
49171         * config.make.in (have-bash2): Delete.
49172         * configure.ac (libc_cv_have_bash2): Delete.
49173         * configure: Regenerate.
49174         * elf/Makefile (common-ldd-rewrite): Rename to ...
49175         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
49176         (sh-ldd-rewrite): Delete.
49177         (bash-ldd-rewrite): Delete.
49178         (have-bash2): Delete checks.
49179         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
49180         ldd-rewrite.
49182         * config.make.in (have-ksh): Delete.
49183         (KSH): Delete.
49184         * configure.ac (libc_cv_have_ksh): Delete.
49185         * configure: Regenerate.
49187         * elf/Makefile: Delete $(have-ksh) check.
49188         ($(objpfx)sotruss): Change KSH to BASH.
49189         * elf/sotruss.ksh: Rename to ...
49190         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
49191         function style to match POSIX.  Drop ksh vim mode setting.
49193         * manual/time.texi (Specifying the Time Zone with TZ): Change
49194         Tuesday to Thursday.
49196         * debug/tst-longjmp_chk2.c: Update header comment.
49197         (stackoverflow_handler): Add comment.  Call assert on pass value.
49199 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
49201         [BZ #16194]
49202         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
49203         (HAVE_AVX512_ASM_SUPPORT): Likewise.
49204         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
49205         (La_x86_64_vector): Add zmm.
49206         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
49207         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
49208         ($(objpfx)tst-audit10): New target.
49209         ($(objpfx)tst-audit10.out): Likewise.
49210         (tst-audit10-ENV): New.
49211         (AVX512-CFLAGS): Likewise.
49212         (CFLAGS-tst-audit10.c): Likewise.
49213         (CFLAGS-tst-auditmod10a.c): Likewise.
49214         (CFLAGS-tst-auditmod10b.c): Likewise.
49215         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
49216         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
49217         * sysdeps/x86_64/configure: Regenerated.
49218         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
49219         AVX-512 zmm register support.
49220         (_dl_x86_64_save_sse): Likewise.
49221         (_dl_x86_64_restore_sse): Likewise.
49222         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
49223         size vector registers.
49224         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
49225         (ZMM_SIZE): Likewise.
49226         * sysdeps/x86_64/tst-audit10.c: New file.
49227         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
49228         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
49230 2014-03-13  Roland McGrath  <roland@hack.frob.com>
49232         * configure.ac (HAVE_EHDR_START): New check.
49233         * configure: Regenerated.
49234         * config.h.in (HAVE_EHDR_START): New #undef.
49235         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
49236         assuming the lowest-addressed segment maps the start of the file.
49238 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
49240         * INSTALL: Regenerated.
49242 2014-03-13  Will Newton  <will.newton@linaro.org>
49244         * manual/setjmp.texi (System V contexts): Improve
49245         clarity and grammar of documentation.
49247 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
49249         [BZ #16381]
49250         * elf/Makefile (tests): Add tst-pie2.
49251         (tests-pie): Add tst-pie2.
49252         * elf/tst-pie2.c: New file.
49253         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
49254         for ET_EXEC.
49255         * elf/rtld.c (map_doit): Load executable as lt_executable.
49256         (dl_main): Likewise.
49258 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
49260         [BZ #16642]
49261         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
49262         (__ASSUME_PSELECT): Undefine.
49264 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49266         [BZ #16689]
49267         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
49268         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
49269         static build.
49270         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
49271         selector for static builds.
49273 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
49275         [BZ #16695]
49276         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
49277         key in the buffer.
49279 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49281         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
49282         IFUNC selector for static builds.
49284 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
49286         * sysdeps/mips/math_private.h [__mips_hard_float]
49287         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
49288         libc_feresetround_mips_ctx.
49289         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
49290         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
49291         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
49293         [BZ #16677]
49294         * math/s_nextafter.c (__nextafter): Do not return value from
49295         overflowing computation.
49296         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
49297         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
49298         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
49299         Likewise.
49300         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
49301         Likewise.
49302         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
49303         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
49305 2014-03-11  Roland McGrath  <roland@hack.frob.com>
49307         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
49308         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
49309         Move sfi_sp use from the load-multiple (that no longer sets sp) to
49310         the new mov targetting sp.
49312 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49314         [BZ #16683]
49315         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
49316         Define it for static builds as well.
49317         (NO_BZERO_IMPL): Likewise.
49319 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
49321         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
49322         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
49323         multiarch strspn for PPC64.
49324         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
49325         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
49326         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
49327         (__libc_ifunc_impl_list): Likewise.
49328         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
49329         multiarch optimizations
49330         * string/strspn.c (strspn): Using macro to redefine symbol name.
49332 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
49333             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49335         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
49336         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
49337         multiarch strncat for PPC64.
49338         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
49339         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
49340         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
49341         (__libc_ifunc_impl_list): Likewise.
49342         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
49343         multiarch optimizations
49345 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
49347         [BZ #16639]
49348         * nscd/nscd.service: Make service type forking.
49350 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49352         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
49353         sign in non default rounding modes.
49354         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
49356 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
49358         * math/libm-test.inc (ALL_RM_TEST): New macro.
49359         (ceil_test): Use ALL_RM_TEST.
49360         (cimag_test): Likewise.
49361         (conj_test): Likewise.
49362         (copysign_test): Likewise.
49363         (cproj_test): Likewise.
49364         (creal_test): Likewise.
49365         (fabs_test): Likewise.
49366         (floor_test): Likewise.
49367         (fmax_test): Likewise.
49368         (fmin_test): Likewise.
49369         (fmod_test): Likewise.
49370         (fpclassify_test): Likewise.
49371         (frexp_test): Likewise.
49372         (ilogb_test): Likewise.
49373         (isfinite_test): Likewise.
49374         (finite_test): Likewise.
49375         (isgreater_test): Likewise.
49376         (isgreaterequal_test): Likewise.
49377         (isinf_test): Likewise.
49378         (isless_test): Likewise.
49379         (islessequal_test): Likewise.
49380         (islessgreater_test): Likewise.
49381         (isnan_test): Likewise.
49382         (isnormal_test): Likewise.
49383         (issignaling_test): Likewise.
49384         (isunordered_test): Likewise.
49385         (logb_test): Likewise.
49386         (logb_downward_test_data): Remove.
49387         (logb_test_downward): Likewise.
49388         (lround_test): Use ALL_RM_TEST.
49389         (llround_test): Likewise.
49390         (modf_test): Likewise.
49391         (nexttoward_test): Likewise.
49392         (remainder_test): Likewise.
49393         (drem_test): Likewise.
49394         (remainder_tonearest_test_data): Likewise.
49395         (remainder_test_tonearest): Likewise.
49396         (drem_test_tonearest): Likewise.
49397         (remainder_towardzero_test_data): Likewise.
49398         (remainder_test_towardzero): Likewise.
49399         (drem_test_towardzero): Likewise.
49400         (remainder_downward_test_data): Likewise.
49401         (remainder_test_downward): Likewise.
49402         (drem_test_downward): Likewise.
49403         (remainder_upward_test_data): Likewise.
49404         (remainder_test_upward): Likewise.
49405         (drem_test_upward): Likewise.
49406         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
49407         (round_test): Use ALL_RM_TEST.
49408         (signbit_test): Likewise.
49409         (trunc_test): Likewise.
49410         (significand_test): Likewise.
49411         (main): Don't call removed functions.
49413 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
49415         [BZ #16674]
49416         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
49417         || __USE_XOPEN2K8].
49418         (ILL_ILLOPN): Likewise.
49419         (ILL_ILLADR): Likewise.
49420         (ILL_ILLTRP): Likewise.
49421         (ILL_PRVOPC): Likewise.
49422         (ILL_PRVREG): Likewise.
49423         (ILL_COPROC): Likewise.
49424         (ILL_BADSTK): Likewise.
49425         (FPE_INTDIV): Likewise.
49426         (FPE_INTOVF): Likewise.
49427         (FPE_FLTDIV): Likewise.
49428         (FPE_FLTOVF): Likewise.
49429         (FPE_FLTUND): Likewise.
49430         (FPE_FLTRES): Likewise.
49431         (FPE_FLTINV): Likewise.
49432         (FPE_FLTSUB): Likewise.
49433         (SEGV_MAPERR): Likewise.
49434         (SEGV_ACCERR): Likewise.
49435         (BUS_ADRALN): Likewise.
49436         (BUS_ADRERR): Likewise.
49437         (BUS_OBJERR): Likewise.
49438         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
49439         (TRAP_TRACE): Likewise.
49440         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
49441         __USE_XOPEN2K8].
49442         (CLD_KILLED): Likewise.
49443         (CLD_DUMPED): Likewise.
49444         (CLD_TRAPPED): Likewise.
49445         (CLD_STOPPED): Likewise.
49446         (CLD_CONTINUED): Likewise.
49447         (POLL_IN): Likewise.
49448         (POLL_OUT): Likewise.
49449         (POLL_MSG): Likewise.
49450         (POLL_ERR): Likewise.
49451         (POLL_PRI): Likewise.
49452         (POLL_HUP): Likewise.
49453         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
49454         Likewise.
49455         (ILL_ILLOPN): Likewise.
49456         (ILL_ILLADR): Likewise.
49457         (ILL_ILLTRP): Likewise.
49458         (ILL_PRVOPC): Likewise.
49459         (ILL_PRVREG): Likewise.
49460         (ILL_COPROC): Likewise.
49461         (ILL_BADSTK): Likewise.
49462         (FPE_INTDIV): Likewise.
49463         (FPE_INTOVF): Likewise.
49464         (FPE_FLTDIV): Likewise.
49465         (FPE_FLTOVF): Likewise.
49466         (FPE_FLTUND): Likewise.
49467         (FPE_FLTRES): Likewise.
49468         (FPE_FLTINV): Likewise.
49469         (FPE_FLTSUB): Likewise.
49470         (SEGV_MAPERR): Likewise.
49471         (SEGV_ACCERR): Likewise.
49472         (BUS_ADRALN): Likewise.
49473         (BUS_ADRERR): Likewise.
49474         (BUS_OBJERR): Likewise.
49475         (BUS_MCEERR_AR): Likewise.
49476         (BUS_MCEERR_AO): Likewise.
49477         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
49478         (TRAP_TRACE): Likewise.
49479         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
49480         __USE_XOPEN2K8].
49481         (CLD_KILLED): Likewise.
49482         (CLD_DUMPED): Likewise.
49483         (CLD_TRAPPED): Likewise.
49484         (CLD_STOPPED): Likewise.
49485         (CLD_CONTINUED): Likewise.
49486         (POLL_IN): Likewise.
49487         (POLL_OUT): Likewise.
49488         (POLL_MSG): Likewise.
49489         (POLL_ERR): Likewise.
49490         (POLL_PRI): Likewise.
49491         (POLL_HUP): Likewise.
49492         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
49493         (ILL_ILLOPN): Likewise.
49494         (ILL_ILLADR): Likewise.
49495         (ILL_ILLTRP): Likewise.
49496         (ILL_PRVOPC): Likewise.
49497         (ILL_PRVREG): Likewise.
49498         (ILL_COPROC): Likewise.
49499         (ILL_BADSTK): Likewise.
49500         (FPE_INTDIV): Likewise.
49501         (FPE_INTOVF): Likewise.
49502         (FPE_FLTDIV): Likewise.
49503         (FPE_FLTOVF): Likewise.
49504         (FPE_FLTUND): Likewise.
49505         (FPE_FLTRES): Likewise.
49506         (FPE_FLTINV): Likewise.
49507         (FPE_FLTSUB): Likewise.
49508         (SEGV_MAPERR): Likewise.
49509         (SEGV_ACCERR): Likewise.
49510         (BUS_ADRALN): Likewise.
49511         (BUS_ADRERR): Likewise.
49512         (BUS_OBJERR): Likewise.
49513         (BUS_MCEERR_AR): Likewise.
49514         (BUS_MCEERR_AO): Likewise.
49515         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
49516         (TRAP_TRACE): Likewise.
49517         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
49518         __USE_XOPEN2K8].
49519         (CLD_KILLED): Likewise.
49520         (CLD_DUMPED): Likewise.
49521         (CLD_TRAPPED): Likewise.
49522         (CLD_STOPPED): Likewise.
49523         (CLD_CONTINUED): Likewise.
49524         (POLL_IN): Likewise.
49525         (POLL_OUT): Likewise.
49526         (POLL_MSG): Likewise.
49527         (POLL_ERR): Likewise.
49528         (POLL_PRI): Likewise.
49529         (POLL_HUP): Likewise.
49530         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
49531         Likewise.
49532         (ILL_ILLOPN): Likewise.
49533         (ILL_ILLADR): Likewise.
49534         (ILL_ILLTRP): Likewise.
49535         (ILL_PRVOPC): Likewise.
49536         (ILL_PRVREG): Likewise.
49537         (ILL_COPROC): Likewise.
49538         (ILL_BADSTK): Likewise.
49539         (ILL_BADIADDR): Likewise.
49540         (ILL_BREAK): Likewise.
49541         (FPE_INTDIV): Likewise.
49542         (FPE_INTOVF): Likewise.
49543         (FPE_FLTDIV): Likewise.
49544         (FPE_FLTOVF): Likewise.
49545         (FPE_FLTUND): Likewise.
49546         (FPE_FLTRES): Likewise.
49547         (FPE_FLTINV): Likewise.
49548         (FPE_FLTSUB): Likewise.
49549         (FPE_DECOVF): Likewise.
49550         (FPE_DECDIV): Likewise.
49551         (FPE_DECERR): Likewise.
49552         (FPE_INVASC): Likewise.
49553         (FPE_INVDEC): Likewise.
49554         (SEGV_MAPERR): Likewise.
49555         (SEGV_ACCERR): Likewise.
49556         (SEGV_PSTKOVF): Likewise.
49557         (BUS_ADRALN): Likewise.
49558         (BUS_ADRERR): Likewise.
49559         (BUS_OBJERR): Likewise.
49560         (BUS_MCEERR_AR): Likewise.
49561         (BUS_MCEERR_AO): Likewise.
49562         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
49563         (TRAP_TRACE): Likewise.
49564         (TRAP_BRANCH): Likewise.
49565         (TRAP_HWBKPT): Likewise.
49566         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
49567         __USE_XOPEN2K8].
49568         (CLD_KILLED): Likewise.
49569         (CLD_DUMPED): Likewise.
49570         (CLD_TRAPPED): Likewise.
49571         (CLD_STOPPED): Likewise.
49572         (CLD_CONTINUED): Likewise.
49573         (POLL_IN): Likewise.
49574         (POLL_OUT): Likewise.
49575         (POLL_MSG): Likewise.
49576         (POLL_ERR): Likewise.
49577         (POLL_PRI): Likewise.
49578         (POLL_HUP): Likewise.
49579         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
49580         (ILL_ILLOPN): Likewise.
49581         (ILL_ILLADR): Likewise.
49582         (ILL_ILLTRP): Likewise.
49583         (ILL_PRVOPC): Likewise.
49584         (ILL_PRVREG): Likewise.
49585         (ILL_COPROC): Likewise.
49586         (ILL_BADSTK): Likewise.
49587         (FPE_INTDIV): Likewise.
49588         (FPE_INTOVF): Likewise.
49589         (FPE_FLTDIV): Likewise.
49590         (FPE_FLTOVF): Likewise.
49591         (FPE_FLTUND): Likewise.
49592         (FPE_FLTRES): Likewise.
49593         (FPE_FLTINV): Likewise.
49594         (FPE_FLTSUB): Likewise.
49595         (SEGV_MAPERR): Likewise.
49596         (SEGV_ACCERR): Likewise.
49597         (BUS_ADRALN): Likewise.
49598         (BUS_ADRERR): Likewise.
49599         (BUS_OBJERR): Likewise.
49600         (BUS_MCEERR_AR): Likewise.
49601         (BUS_MCEERR_AO): Likewise.
49602         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
49603         (TRAP_TRACE): Likewise.
49604         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
49605         __USE_XOPEN2K8].
49606         (CLD_KILLED): Likewise.
49607         (CLD_DUMPED): Likewise.
49608         (CLD_TRAPPED): Likewise.
49609         (CLD_STOPPED): Likewise.
49610         (CLD_CONTINUED): Likewise.
49611         (POLL_IN): Likewise.
49612         (POLL_OUT): Likewise.
49613         (POLL_MSG): Likewise.
49614         (POLL_ERR): Likewise.
49615         (POLL_PRI): Likewise.
49616         (POLL_HUP): Likewise.
49617         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
49618         (ILL_ILLOPN): Likewise.
49619         (ILL_ILLADR): Likewise.
49620         (ILL_ILLTRP): Likewise.
49621         (ILL_PRVOPC): Likewise.
49622         (ILL_PRVREG): Likewise.
49623         (ILL_COPROC): Likewise.
49624         (ILL_BADSTK): Likewise.
49625         (FPE_INTDIV): Likewise.
49626         (FPE_INTOVF): Likewise.
49627         (FPE_FLTDIV): Likewise.
49628         (FPE_FLTOVF): Likewise.
49629         (FPE_FLTUND): Likewise.
49630         (FPE_FLTRES): Likewise.
49631         (FPE_FLTINV): Likewise.
49632         (FPE_FLTSUB): Likewise.
49633         (SEGV_MAPERR): Likewise.
49634         (SEGV_ACCERR): Likewise.
49635         (BUS_ADRALN): Likewise.
49636         (BUS_ADRERR): Likewise.
49637         (BUS_OBJERR): Likewise.
49638         (BUS_MCEERR_AR): Likewise.
49639         (BUS_MCEERR_AO): Likewise.
49640         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
49641         (TRAP_TRACE): Likewise.
49642         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
49643         __USE_XOPEN2K8].
49644         (CLD_KILLED): Likewise.
49645         (CLD_DUMPED): Likewise.
49646         (CLD_TRAPPED): Likewise.
49647         (CLD_STOPPED): Likewise.
49648         (CLD_CONTINUED): Likewise.
49649         (POLL_IN): Likewise.
49650         (POLL_OUT): Likewise.
49651         (POLL_MSG): Likewise.
49652         (POLL_ERR): Likewise.
49653         (POLL_PRI): Likewise.
49654         (POLL_HUP): Likewise.
49655         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
49656         (ILL_ILLOPN): Likewise.
49657         (ILL_ILLADR): Likewise.
49658         (ILL_ILLTRP): Likewise.
49659         (ILL_PRVOPC): Likewise.
49660         (ILL_PRVREG): Likewise.
49661         (ILL_COPROC): Likewise.
49662         (ILL_BADSTK): Likewise.
49663         (FPE_INTDIV): Likewise.
49664         (FPE_INTOVF): Likewise.
49665         (FPE_FLTDIV): Likewise.
49666         (FPE_FLTOVF): Likewise.
49667         (FPE_FLTUND): Likewise.
49668         (FPE_FLTRES): Likewise.
49669         (FPE_FLTINV): Likewise.
49670         (FPE_FLTSUB): Likewise.
49671         (SEGV_MAPERR): Likewise.
49672         (SEGV_ACCERR): Likewise.
49673         (BUS_ADRALN): Likewise.
49674         (BUS_ADRERR): Likewise.
49675         (BUS_OBJERR): Likewise.
49676         (BUS_MCEERR_AR): Likewise.
49677         (BUS_MCEERR_AO): Likewise.
49678         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
49679         (TRAP_TRACE): Likewise.
49680         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
49681         __USE_XOPEN2K8].
49682         (CLD_KILLED): Likewise.
49683         (CLD_DUMPED): Likewise.
49684         (CLD_TRAPPED): Likewise.
49685         (CLD_STOPPED): Likewise.
49686         (CLD_CONTINUED): Likewise.
49687         (POLL_IN): Likewise.
49688         (POLL_OUT): Likewise.
49689         (POLL_MSG): Likewise.
49690         (POLL_ERR): Likewise.
49691         (POLL_PRI): Likewise.
49692         (POLL_HUP): Likewise.
49693         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
49694         (ILL_ILLOPN): Likewise.
49695         (ILL_ILLADR): Likewise.
49696         (ILL_ILLTRP): Likewise.
49697         (ILL_PRVOPC): Likewise.
49698         (ILL_PRVREG): Likewise.
49699         (ILL_COPROC): Likewise.
49700         (ILL_BADSTK): Likewise.
49701         (ILL_DBLFLT): Likewise.
49702         (ILL_HARDWALL): Likewise.
49703         (FPE_INTDIV): Likewise.
49704         (FPE_INTOVF): Likewise.
49705         (FPE_FLTDIV): Likewise.
49706         (FPE_FLTOVF): Likewise.
49707         (FPE_FLTUND): Likewise.
49708         (FPE_FLTRES): Likewise.
49709         (FPE_FLTINV): Likewise.
49710         (FPE_FLTSUB): Likewise.
49711         (SEGV_MAPERR): Likewise.
49712         (SEGV_ACCERR): Likewise.
49713         (BUS_ADRALN): Likewise.
49714         (BUS_ADRERR): Likewise.
49715         (BUS_OBJERR): Likewise.
49716         (BUS_MCEERR_AR): Likewise.
49717         (BUS_MCEERR_AO): Likewise.
49718         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
49719         (TRAP_TRACE): Likewise.
49720         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
49721         __USE_XOPEN2K8].
49722         (CLD_KILLED): Likewise.
49723         (CLD_DUMPED): Likewise.
49724         (CLD_TRAPPED): Likewise.
49725         (CLD_STOPPED): Likewise.
49726         (CLD_CONTINUED): Likewise.
49727         (POLL_IN): Likewise.
49728         (POLL_OUT): Likewise.
49729         (POLL_MSG): Likewise.
49730         (POLL_ERR): Likewise.
49731         (POLL_PRI): Likewise.
49732         (POLL_HUP): Likewise.
49733         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
49734         (ILL_ILLOPN): Likewise.
49735         (ILL_ILLADR): Likewise.
49736         (ILL_ILLTRP): Likewise.
49737         (ILL_PRVOPC): Likewise.
49738         (ILL_PRVREG): Likewise.
49739         (ILL_COPROC): Likewise.
49740         (ILL_BADSTK): Likewise.
49741         (FPE_INTDIV): Likewise.
49742         (FPE_INTOVF): Likewise.
49743         (FPE_FLTDIV): Likewise.
49744         (FPE_FLTOVF): Likewise.
49745         (FPE_FLTUND): Likewise.
49746         (FPE_FLTRES): Likewise.
49747         (FPE_FLTINV): Likewise.
49748         (FPE_FLTSUB): Likewise.
49749         (SEGV_MAPERR): Likewise.
49750         (SEGV_ACCERR): Likewise.
49751         (BUS_ADRALN): Likewise.
49752         (BUS_ADRERR): Likewise.
49753         (BUS_OBJERR): Likewise.
49754         (BUS_MCEERR_AR): Likewise.
49755         (BUS_MCEERR_AO): Likewise.
49756         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
49757         (TRAP_TRACE): Likewise.
49758         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
49759         __USE_XOPEN2K8].
49760         (CLD_KILLED): Likewise.
49761         (CLD_DUMPED): Likewise.
49762         (CLD_TRAPPED): Likewise.
49763         (CLD_STOPPED): Likewise.
49764         (CLD_CONTINUED): Likewise.
49765         (POLL_IN): Likewise.
49766         (POLL_OUT): Likewise.
49767         (POLL_MSG): Likewise.
49768         (POLL_ERR): Likewise.
49769         (POLL_PRI): Likewise.
49770         (POLL_HUP): Likewise.
49771         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
49772         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
49774         [BZ #16670]
49775         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
49776         before #include of <time.h>.
49777         [!__USE_XOPEN2K] (__need_timespec): Likewise.
49778         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
49779         (test-xfail-UNIX98/sched.h/conform): Likewise.
49781 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
49783         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
49784         error absence of trapping exception support.
49785         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
49787 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
49789         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
49790         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
49791         * timezone/Makefile (testdata): Move definition above include of
49792         Rules.
49793         (test-zones): New variable.
49794         (tests-special): Add zone files.
49795         (build-testdata): Use $(evaluate-test).
49797         * elf/Makefile (tests-special): Rename tests to end with .out.
49798         ($(objpfx)noload-mem): Likewise.
49799         ($(objpfx)tst-leaks1-mem): Likewise.
49800         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
49801         * iconv/Makefile (xtests-special): Change test-iconvconfig to
49802         $(objpfx)test-iconvconfig.out.
49803         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
49804         set -e inside subshell and redirect output to file.
49805         * iconvdata/Makefile (generated): Rename tests to end with .out.
49806         Correct type.
49807         (tests-special): Rename tests to end with .out.
49808         ($(objpfx)mtrace-tst-loading): Likewise.
49809         * intl/Makefile (generated): Likewise.
49810         (tests-special): Likewise.
49811         ($(objpfx)mtrace-tst-gettext): Likewise.
49812         * misc/Makefile (generated): Likewise.
49813         (tests-special): Likewise.
49814         ($(objpfx)tst-error1-mem): Likewise.
49815         * nptl/Makefile (tests-special): Likewise.
49816         ($(objpfx)tst-stack3-mem): Likewise.
49817         (generated): Likewise.
49818         * posix/Makefile (generated): Likewise.
49819         (tests-special): Likewise.
49820         (xtests-special): Likewise.
49821         ($(objpfx)tst-fnmatch-mem): Likewise.
49822         ($(objpfx)bug-regex2-mem): Likewise.
49823         ($(objpfx)bug-regex14-mem): Likewise.
49824         ($(objpfx)bug-regex21-mem): Likewise.
49825         ($(objpfx)bug-regex31-mem): Likewise.
49826         ($(objpfx)tst-vfork3-mem): Likewise.
49827         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
49828         ($(objpfx)tst-pcre-mem): Likewise.
49829         ($(objpfx)tst-boost-mem): Likewise.
49830         ($(objpfx)bug-ga2-mem): Likewise.
49831         ($(objpfx)bug-glob2-mem): Likewise.
49832         * resolv/Makefile (generate): Likewise.
49833         (tests-special): Likewise.
49834         (xtests-special): Likewise.
49835         (generated): Likewise.
49836         ($(objpfx)mtrace-tst-leaks): Likewise.
49837         ($(objpfx)mtrace-tst-leaks2): Likewise.
49839         * scripts/merge-test-results.sh: New file.
49840         * Makefile (tests-special-notdir): New variable.
49841         (tests): Run merge-test-results.sh.
49842         (xtests): Likewise.
49843         * Rules (tests-special-notdir): New variable.
49844         (xtests-special-notdir): Likewise.
49845         (tests): Run merge-test-results.sh
49846         (xtests): Likewise.
49848         * Makeconfig (test-xfail-name): New variable.
49849         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
49850         compute variable name for expected failures.
49851         * conform/Makefile (conformtest-headers-data): New variable.
49852         (conformtest-standards): Likewise.
49853         (conformtest-headers-ISO): Likewise.
49854         (conformtest-headers-ISO99): Likewise.
49855         (conformtest-headers-ISO11): Likewise.
49856         (conformtest-headers-POSIX): Likewise.
49857         (conformtest-headers-XPG3): Likewise.
49858         (conformtest-headers-XPG4): Likewise.
49859         (conformtest-headers-UNIX98): Likewise.
49860         (conformtest-headers-XOPEN2K): Likewise.
49861         (conformtest-headers-POSIX2008): Likewise.
49862         (conformtest-headers-XOPEN2K8): Likewise.
49863         (conformtest-header-list-base): Likewise.
49864         (conformtest-header-list-tests): Likewise.
49865         (conformtest-header-base): Likewise.
49866         (conformtest-header-tests): Likewise.
49867         (tests-special): Add $(conformtest-header-list-tests).  If
49868         [$(fast-check) && !$(cross-compiling)], add
49869         $(conformtest-header-tests) instead of
49870         $(objpfx)run-conformtest.out.
49871         (generated): Add $(conformtest-header-list-base).  If
49872         [$(fast-check) && !$(cross-compiling)], add
49873         $(conformtest-header-base).  Remove previous setting.
49874         ($(conformtest-header-list-tests)): New target.
49875         (test-xfail-run-conformtest): Remove variable.
49876         ($(objpfx)run-conformtest.out): Remove target.
49877         (test-xfail-ISO11/complex.h/conform): New variable.
49878         (test-xfail-ISO11/stdalign.h/conform): Likewise.
49879         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
49880         (test-xfail-XPG3/varargs.h/conform): Likewise.
49881         (test-xfail-XPG4/varargs.h/conform): Likewise.
49882         (test-xfail-UNIX98/varargs.h/conform): Likewise.
49883         (test-xfail-XPG4/ndbm.h/conform): Likewise.
49884         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
49885         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
49886         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
49887         (test-xfail-XPG3/fcntl.h/conform): Likewise.
49888         (test-xfail-XPG3/ftw.h/conform): Likewise.
49889         (test-xfail-XPG3/grp.h/conform): Likewise.
49890         (test-xfail-XPG3/langinfo.h/conform): Likewise.
49891         (test-xfail-XPG3/limits.h/conform): Likewise.
49892         (test-xfail-XPG3/pwd.h/conform): Likewise.
49893         (test-xfail-XPG3/search.h/conform): Likewise.
49894         (test-xfail-XPG3/signal.h/conform): Likewise.
49895         (test-xfail-XPG3/stdio.h/conform): Likewise.
49896         (test-xfail-XPG3/stdlib.h/conform): Likewise.
49897         (test-xfail-XPG3/string.h/conform): Likewise.
49898         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
49899         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
49900         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
49901         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
49902         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
49903         (test-xfail-XPG3/sys/types.h/conform): Likewise.
49904         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
49905         (test-xfail-XPG3/termios.h/conform): Likewise.
49906         (test-xfail-XPG3/time.h/conform): Likewise.
49907         (test-xfail-XPG3/unistd.h/conform): Likewise.
49908         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
49909         (test-xfail-XPG4/fcntl.h/conform): Likewise.
49910         (test-xfail-XPG4/langinfo.h/conform): Likewise.
49911         (test-xfail-XPG4/netdb.h/conform): Likewise.
49912         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
49913         (test-xfail-XPG4/signal.h/conform): Likewise.
49914         (test-xfail-XPG4/stdio.h/conform): Likewise.
49915         (test-xfail-XPG4/stdlib.h/conform): Likewise.
49916         (test-xfail-XPG4/stropts.h/conform): Likewise.
49917         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
49918         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
49919         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
49920         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
49921         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
49922         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
49923         (test-xfail-XPG4/sys/time.h/conform): Likewise.
49924         (test-xfail-XPG4/sys/types.h/conform): Likewise.
49925         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
49926         (test-xfail-XPG4/termios.h/conform): Likewise.
49927         (test-xfail-XPG4/ucontext.h/conform): Likewise.
49928         (test-xfail-XPG4/unistd.h/conform): Likewise.
49929         (test-xfail-XPG4/utmpx.h/conform): Likewise.
49930         (test-xfail-POSIX/sched.h/conform): Likewise.
49931         (test-xfail-POSIX/signal.h/conform): Likewise.
49932         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
49933         (test-xfail-POSIX/tar.h/conform): Likewise.
49934         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
49935         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
49936         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
49937         (test-xfail-UNIX98/netdb.h/conform): Likewise.
49938         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
49939         (test-xfail-UNIX98/sched.h/conform): Likewise.
49940         (test-xfail-UNIX98/signal.h/conform): Likewise.
49941         (test-xfail-UNIX98/stdio.h/conform): Likewise.
49942         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
49943         (test-xfail-UNIX98/stropts.h/conform): Likewise.
49944         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
49945         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
49946         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
49947         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
49948         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
49949         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
49950         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
49951         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
49952         (test-xfail-UNIX98/unistd.h/conform): Likewise.
49953         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
49954         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
49955         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
49956         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
49957         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
49958         (test-xfail-XOPEN2K/math.h/conform): Likewise.
49959         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
49960         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
49961         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
49962         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
49963         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
49964         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
49965         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
49966         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
49967         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
49968         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
49969         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
49970         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
49971         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
49972         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
49973         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
49974         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
49975         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
49976         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
49977         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
49978         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
49979         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
49980         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
49981         (test-xfail-POSIX2008/signal.h/conform): Likewise.
49982         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
49983         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
49984         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
49985         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
49986         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
49987         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
49988         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
49989         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
49990         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
49991         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
49992         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
49993         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
49994         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
49995         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
49996         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
49997         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
49998         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
49999         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
50000         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
50001         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
50002         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
50003         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
50004         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
50005         (conformtest-cc-flags): Likewise.
50006         ($(conformtest-header-tests): New target.
50007         * conform/check-header-lists.sh: New file.
50008         * conform/run-conformtest.sh: Remove.
50010         * conform/conformtest.pl: Allow ' and \ in values given for
50011         constants.
50012         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
50013         inclusion.
50014         [POSIX] (sys/types.h): Likewise.
50015         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
50016         inclusion.
50017         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
50018         inclusion.
50019         * conform/data/signal.h-data (SIGIO): Remove expectation.
50020         [XPG3] (SIGBUS): Do not expect.
50021         [POSIX || XPG3] (SIGPOLL): Likewise.
50022         [POSIX || XPG3] (SIGPROF): Likewise.
50023         [POSIX || XPG3] (SIGSYS): Likewise.
50024         [XPG3] (SIGTRAP): Likewise.
50025         [POSIX || XPG3] (SIGURG): Likewise.
50026         [POSIX || XPG3] (SIGVTALRM): Likewise.
50027         [POSIX || XPG3] (SIGXCPU): Likewise.
50028         [POSIX || XPG3] (SIGXFSZ): Likewise.
50029         [POSIX] (SA_SIGINFO): Expect.
50030         [XPG3] (siginfo_t): Do not expect type or contents.
50031         [POSIX] (si_pid): Do not expect element.
50032         [POSIX] (si_uid): Likewise.
50033         [POSIX] (si_addr): Likewise.
50034         [POSIX] (si_status): Likewise.
50035         [POSIX] (si_band): Likewise.
50036         [XPG4] (si_value): Likewise.
50037         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
50038         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
50039         [POSIX || XPG3] (ILL_ILLADR): Likewise.
50040         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
50041         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
50042         [POSIX || XPG3] (ILL_PRVREG): Likewise.
50043         [POSIX || XPG3] (ILL_COPROC): Likewise.
50044         [POSIX || XPG3] (ILL_BADSTK): Likewise.
50045         [POSIX || XPG3] (FPE_INTDIV): Likewise.
50046         [POSIX || XPG3] (FPE_INTOVF): Likewise.
50047         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
50048         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
50049         [POSIX || XPG3] (FPE_FLTUND): Likewise.
50050         [POSIX || XPG3] (FPE_FLTRES): Likewise.
50051         [POSIX || XPG3] (FPE_FLTINV): Likewise.
50052         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
50053         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
50054         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
50055         [POSIX || XPG3] (BUS_ADRALN): Likewise.
50056         [POSIX || XPG3] (BUS_ADRERR): Likewise.
50057         [POSIX || XPG3] (BUS_OBJERR): Likewise.
50058         [POSIX || XPG3] (CLD_EXITED): Likewise.
50059         [POSIX || XPG3] (CLD_KILLED): Likewise.
50060         [POSIX || XPG3] (CLD_DUMPED): Likewise.
50061         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
50062         [POSIX || XPG3] (CLD_STOPPED): Likewise.
50063         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
50064         [POSIX || XPG3] (POLL_IN): Likewise.
50065         [POSIX || XPG3] (POLL_OUT): Likewise.
50066         [POSIX || XPG3] (POLL_MSG): Likewise.
50067         [POSIX || XPG3] (POLL_ERR): Likewise.
50068         [POSIX || XPG3] (POLL_PRI): Likewise.
50069         [POSIX || XPG3] (POLL_HUP): Likewise.
50070         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
50071         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
50072         (SIG*): Do not allow.
50073         [XPG3] (si_*): Likewise.
50074         [XPG3] (SI_*): Likewise.
50075         [XPG3 || XPG4] (sigev_*): Likewise.
50076         [XPG3 || XPG4] (SIGEV_*): Likewise.
50077         [XPG3 || XPG4] (sival_*): Likewise.
50078         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
50079         [POSIX || XPG3] (BUS_*): Likewise.
50080         [POSIX || XPG3] (CLD_*): Likewise.
50081         [POSIX || XPG3] (FPE_*): Likewise.
50082         [POSIX || XPG3] (ILL_*): Likewise.
50083         [POSIX || XPG3] (POLL_*): Likewise.
50084         [POSIX || XPG3] (SEGV_*): Likewise.
50085         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
50086         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
50087         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
50088         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
50089         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
50090         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
50091         Specify type and value.
50092         (TVERSLEN): Likewise.
50093         (REGTYPE): Likewise.
50094         (AREGTYPE): Likewise.
50095         (LNKTYPE): Likewise.
50096         (SYMTYPE): Likewise.
50097         (CHRTYPE): Likewise.
50098         (BLKTYPE): Likewise.
50099         (DIRTYPE): Likewise.
50100         (FIFOTYPE): Likewise.
50101         (CONTTYPE): Likewise.
50102         (TSUID): Likewise.
50103         (TSGID): Likewise.
50104         (TSVTX): Likewise.
50105         (TUREAD): Likewise.
50106         (TUWRITE): Likewise.
50107         (TUEXEC): Likewise.
50108         (TGREAD): Likewise.
50109         (TGWRITE): Likewise.
50110         (TGEXEC): Likewise.
50111         (TOREAD): Likewise.
50112         (TOWRITE): Likewise.
50113         (TOEXEC): Likewise.
50114         [POSIX] (TSVTX): Expect constant.
50116 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
50118         * Makefile (tests): Change dependencies to ....
50119         (tests-special): ... additions to this variable.
50120         (tests): Depend on $(tests-special).
50121         * Makerules (check-abi-list): New variable.
50122         (check-abi): Depend on $(check-abi-list).
50123         [$(subdir) = elf] (tests-special): Add
50124         $(objpfx)check-abi-libc.out.
50125         [$(build-shared) = yes && subdir] (tests-special): Add
50126         $(check-abi-list).
50127         [$(build-shared) = yes && subdir] (tests): Do not depend on
50128         check-abi.
50129         * Rules (tests): Depend on $(tests-special).
50130         (xtests): Depend on $(xtests-special).
50131         * catgets/Makefile (tests): Change dependencies to ....
50132         (tests-special): ... additions to this variable.
50133         * conform/Makefile (tests): Change dependencies to ....
50134         (tests-special): ... additions to this variable.
50135         * elf/Makefile (tests): Change dependencies to ....
50136         (tests-special): ... additions to this variable.
50137         * grp/Makefile (tests): Change dependencies to ....
50138         (tests-special): ... additions to this variable.
50139         * iconv/Makefile (xtests): Change dependencies to ....
50140         (xtests-special): ... additions to this variable.
50141         * iconvdata/Makefile (tests): Change dependencies to ....
50142         (tests-special): ... additions to this variable.
50143         * intl/Makefile (tests): Change dependencies to ....
50144         (tests-special): ... additions to this variable.  Also add
50145         $(objpfx)tst-gettext.out.
50146         * io/Makefile (tests): Change dependencies to ....
50147         (tests-special): ... additions to this variable.
50148         * libio/Makefile (tests): Change dependencies to ....
50149         (tests-special): ... additions to this variable.
50150         * malloc/Makefile (tests): Change dependencies to ....
50151         (tests-special): ... additions to this variable.
50152         * misc/Makefile (tests): Change dependencies to ....
50153         (tests-special): ... additions to this variable.
50154         * nptl/Makefile (tests): Change dependencies to ....
50155         (tests-special): ... additions to this variable.
50156         * nptl_db/Makefile (tests): Change dependencies to ....
50157         (tests-special): ... additions to this variable.
50158         * posix/Makefile (tests): Change dependencies to ....
50159         (tests-special): ... additions to this variable.
50160         (xtests): Change dependencies to ....
50161         (xtests-special): ... additions to this variable.
50162         * resolv/Makefile (tests): Change dependencies to ....
50163         (tests-special): ... additions to this variable.
50164         (xtests): Change dependencies to ....
50165         (xtests-special): ... additions to this variable.
50166         * stdio-common/Makefile (tests): Change dependencies to ....
50167         (tests-special): ... additions to this variable.
50168         (do-tst-unbputc): Remove target.
50169         (do-tst-printf): Likewise.
50170         * stdlib/Makefile (tests): Change dependencies to ....
50171         (tests-special): ... additions to this variable.
50172         * string/Makefile (tests): Change dependencies to ....
50173         (tests-special): ... additions to this variable.
50174         * sysdeps/x86/Makefile (tests): Change dependencies to ....
50175         (tests-special): ... additions to this variable.
50177         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
50178         whole file.
50179         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
50180         whole file.
50181         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
50182         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
50184         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
50185         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
50186         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
50187         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
50188         * conform/data/libgen.h-data [XPG3]: Likewise.
50189         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
50190         * conform/data/ndbm.h-data [XPG3]: Likewise.
50191         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
50192         * conform/data/netdb.h-data [XPG3]: Likewise.
50193         * conform/data/netinet/in.h-data [XPG3]: Likewise.
50194         * conform/data/poll.h-data [XPG3]: Likewise.
50195         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
50196         * conform/data/strings.h-data [XPG3]: Likewise.
50197         * conform/data/stropts.h-data [XPG3]: Likewise.
50198         * conform/data/sys/mman.h-data [XPG3]: Likewise.
50199         * conform/data/sys/resource.h-data [XPG3]: Likewise.
50200         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
50201         Likewise.
50202         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
50203         * conform/data/sys/time.h-data [XPG3]: Likewise.
50204         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
50205         * conform/data/sys/uio.h-data [XPG3]: Likewise.
50206         * conform/data/sys/un.h-data [XPG3]: Likewise.
50207         * conform/data/syslog.h-data [XPG3]: Likewise.
50208         * conform/data/ucontext.h-data [XPG3]: Likewise.
50209         * conform/data/utmpx.h-data [XPG3]: Likewise.
50210         * conform/data/varargs.h-data [UNIX98]: Enable file.
50212         * manual/Makefile (INSTALL_INFO): Remove variable setting.
50214         * math/libm-test.inc (struct test_f_f_data): Move expected results
50215         into structure for each rounding mode.
50216         (struct test_ff_f_data): Likewise.
50217         (struct test_ff_f_data_nexttoward): Likewise.
50218         (struct test_fi_f_data): Likewise.
50219         (struct test_fl_f_data): Likewise.
50220         (struct test_if_f_data): Likewise.
50221         (struct test_fff_f_data): Likewise.
50222         (struct test_c_f_data): Likewise.
50223         (struct test_f_f1_data): Likewise.
50224         (struct test_fF_f1_data): Likewise.
50225         (struct test_ffI_f1_data): Likewise.
50226         (struct test_c_c_data): Likewise.
50227         (struct test_cc_c_data): Likewise.
50228         (struct test_f_i_data): Likewise.
50229         (struct test_ff_i_data): Likewise.
50230         (struct test_f_l_data): Likewise.
50231         (struct test_f_L_data): Likewise.
50232         (struct test_fFF_11_data): Likewise.
50233         (RM_): New macro.
50234         (RM_FE_DOWNWARD): Likewise.
50235         (RM_FE_TONEAREST): Likewise.
50236         (RM_FE_TOWARDZERO): Likewise.
50237         (RM_FE_UPWARD): Likewise.
50238         (RUN_TEST_LOOP_f_f): Update references to expected results.
50239         (RUN_TEST_LOOP_2_f): Likewise.
50240         (RUN_TEST_LOOP_fff_f): Likewise.
50241         (RUN_TEST_LOOP_c_f): Likewise.
50242         (RUN_TEST_LOOP_f_f1): Likewise.
50243         (RUN_TEST_LOOP_fF_f1): Likewise.
50244         (RUN_TEST_LOOP_fI_f1): Likewise.
50245         (RUN_TEST_LOOP_ffI_f1): Likewise.
50246         (RUN_TEST_LOOP_c_c): Likewise.
50247         (RUN_TEST_LOOP_cc_c): Likewise.
50248         (RUN_TEST_LOOP_f_i): Likewise.
50249         (RUN_TEST_LOOP_f_i_tg): Likewise.
50250         (RUN_TEST_LOOP_ff_i_tg): Likewise.
50251         (RUN_TEST_LOOP_f_b): Likewise.
50252         (RUN_TEST_LOOP_f_b_tg): Likewise.
50253         (RUN_TEST_LOOP_f_l): Likewise.
50254         (RUN_TEST_LOOP_f_L): Likewise.
50255         (RUN_TEST_LOOP_fFF_11): Likewise.
50256         * math/gen-libm-test.pl (parse_args): Output four copies of
50257         expected results for each test.
50259         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
50260         (__ASSUME_UTIMES): Remove.
50261         * sysdeps/unix/sysv/linux/tile/kernel-features.h
50262         (__ASSUME_UTIMES): Likewise.
50264         * math/gen-auto-libm-tests.c: Update comment on output format.
50265         (output_for_one_input_case): Generate before-rounding and
50266         after-rounding information as conditions on output flags not
50267         floating-point format.
50268         * math/auto-libm-test-out: Regenerated.
50269         * math/gen-libm-test.pl (cond_value): New function.
50270         (or_cond_value): Use cond_value.
50271         (generate_testfile): Handle conditional exceptions.
50273 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
50275         * math/libm-test.inc (max_valid_error): New variable.
50276         (init_max_error): Take new argument specifying whether function
50277         results are exactly determined.  Set max_valid_error and bound
50278         other variables for errors based on this argument.
50279         (set_max_error): Do not record results above max_valid_error.
50280         (check_float_internal): Only accept errors of up to 0.5ulps if
50281         also at most max_valid_error.
50282         (START): Take new argument EXACT and pass it to init_max_error.
50283         (acos_test): Update call to START.
50284         (acos_test_tonearest): Likewise.
50285         (acos_test_towardzero): Likewise.
50286         (acos_test_downward): Likewise.
50287         (acos_test_upward): Likewise.
50288         (acosh_test): Likewise.
50289         (asin_test): Likewise.
50290         (asin_test_tonearest): Likewise.
50291         (asin_test_towardzero): Likewise.
50292         (asin_test_downward): Likewise.
50293         (asin_test_upward): Likewise.
50294         (asinh_test): Likewise.
50295         (atan_test): Likewise.
50296         (atanh_test): Likewise.
50297         (atan2_test): Likewise.
50298         (cabs_test): Likewise.
50299         (cacos_test): Likewise.
50300         (cacosh_test): Likewise.
50301         (carg_test): Likewise.
50302         (casin_test): Likewise.
50303         (casinh_test): Likewise.
50304         (catan_test): Likewise.
50305         (catanh_test): Likewise.
50306         (cbrt_test): Likewise.
50307         (ccos_test): Likewise.
50308         (ccosh_test): Likewise.
50309         (ceil_test): Likewise.
50310         (cexp_test): Likewise.
50311         (cimag_test): Likewise.
50312         (clog_test): Likewise.
50313         (clog10_test): Likewise.
50314         (conj_test): Likewise.
50315         (copysign_test): Likewise.
50316         (cos_test): Likewise.
50317         (cos_test_tonearest): Likewise.
50318         (cos_test_towardzero): Likewise.
50319         (cos_test_downward): Likewise.
50320         (cos_test_upward): Likewise.
50321         (cosh_test): Likewise.
50322         (cosh_test_tonearest): Likewise.
50323         (cosh_test_towardzero): Likewise.
50324         (cosh_test_downward): Likewise.
50325         (cosh_test_upward): Likewise.
50326         (cpow_test): Likewise.
50327         (cproj_test): Likewise.
50328         (creal_test): Likewise.
50329         (csin_test): Likewise.
50330         (csinh_test): Likewise.
50331         (csqrt_test): Likewise.
50332         (ctan_test): Likewise.
50333         (ctan_test_tonearest): Likewise.
50334         (ctan_test_towardzero): Likewise.
50335         (ctan_test_downward): Likewise.
50336         (ctan_test_upward): Likewise.
50337         (ctanh_test): Likewise.
50338         (ctanh_test_tonearest): Likewise.
50339         (ctanh_test_towardzero): Likewise.
50340         (ctanh_test_downward): Likewise.
50341         (ctanh_test_upward): Likewise.
50342         (erf_test): Likewise.
50343         (erfc_test): Likewise.
50344         (exp_test): Likewise.
50345         (exp_test_tonearest): Likewise.
50346         (exp_test_towardzero): Likewise.
50347         (exp_test_downward): Likewise.
50348         (exp_test_upward): Likewise.
50349         (exp10_test): Likewise.
50350         (exp10_test_tonearest): Likewise.
50351         (exp10_test_towardzero): Likewise.
50352         (exp10_test_downward): Likewise.
50353         (exp10_test_upward): Likewise.
50354         (pow10_test): Likewise.
50355         (exp2_test): Likewise.
50356         (expm1_test): Likewise.
50357         (expm1_test_tonearest): Likewise.
50358         (expm1_test_towardzero): Likewise.
50359         (expm1_test_downward): Likewise.
50360         (expm1_test_upward): Likewise.
50361         (fabs_test): Likewise.
50362         (fdim_test): Likewise.
50363         (floor_test): Likewise.
50364         (fma_test): Likewise.
50365         (fma_test_towardzero): Likewise.
50366         (fma_test_downward): Likewise.
50367         (fma_test_upward): Likewise.
50368         (fmax_test): Likewise.
50369         (fmin_test): Likewise.
50370         (fmod_test): Likewise.
50371         (fpclassify_test): Likewise.
50372         (frexp_test): Likewise.
50373         (hypot_test): Likewise.
50374         (ilogb_test): Likewise.
50375         (isfinite_test): Likewise.
50376         (finite_test): Likewise.
50377         (isgreater_test): Likewise.
50378         (isgreaterequal_test): Likewise.
50379         (isinf_test): Likewise.
50380         (isless_test): Likewise.
50381         (islessequal_test): Likewise.
50382         (islessgreater_test): Likewise.
50383         (isnan_test): Likewise.
50384         (isnormal_test): Likewise.
50385         (issignaling_test): Likewise.
50386         (isunordered_test): Likewise.
50387         (j0_test): Likewise.
50388         (j1_test): Likewise.
50389         (jn_test): Likewise.
50390         (ldexp_test): Likewise.
50391         (lgamma_test): Likewise.
50392         (gamma_test): Likewise.
50393         (lrint_test): Likewise.
50394         (lrint_test_tonearest): Likewise.
50395         (lrint_test_towardzero): Likewise.
50396         (lrint_test_downward): Likewise.
50397         (lrint_test_upward): Likewise.
50398         (llrint_test): Likewise.
50399         (llrint_test_tonearest): Likewise.
50400         (llrint_test_towardzero): Likewise.
50401         (llrint_test_downward): Likewise.
50402         (llrint_test_upward): Likewise.
50403         (log_test): Likewise.
50404         (log10_test): Likewise.
50405         (log1p_test): Likewise.
50406         (log2_test): Likewise.
50407         (logb_test): Likewise.
50408         (logb_test_downward): Likewise.
50409         (lround_test): Likewise.
50410         (llround_test): Likewise.
50411         (modf_test): Likewise.
50412         (nearbyint_test): Likewise.
50413         (nextafter_test): Likewise.
50414         (nexttoward_test): Likewise.
50415         (pow_test): Likewise.
50416         (pow_test_tonearest): Likewise.
50417         (pow_test_towardzero): Likewise.
50418         (pow_test_downward): Likewise.
50419         (pow_test_upward): Likewise.
50420         (remainder_test): Likewise.
50421         (drem_test): Likewise.
50422         (remainder_test_tonearest): Likewise.
50423         (drem_test_tonearest): Likewise.
50424         (remainder_test_towardzero): Likewise.
50425         (drem_test_towardzero): Likewise.
50426         (remainder_test_downward): Likewise.
50427         (drem_test_downward): Likewise.
50428         (remainder_test_upward): Likewise.
50429         (drem_test_upward): Likewise.
50430         (remquo_test): Likewise.
50431         (rint_test): Likewise.
50432         (rint_test_tonearest): Likewise.
50433         (rint_test_towardzero): Likewise.
50434         (rint_test_downward): Likewise.
50435         (rint_test_upward): Likewise.
50436         (round_test): Likewise.
50437         (scalb_test): Likewise.
50438         (scalbn_test): Likewise.
50439         (scalbln_test): Likewise.
50440         (signbit_test): Likewise.
50441         (sin_test): Likewise.
50442         (sin_test_tonearest): Likewise.
50443         (sin_test_towardzero): Likewise.
50444         (sin_test_downward): Likewise.
50445         (sin_test_upward): Likewise.
50446         (sincos_test): Likewise.
50447         (sinh_test): Likewise.
50448         (sinh_test_tonearest): Likewise.
50449         (sinh_test_towardzero): Likewise.
50450         (sinh_test_downward): Likewise.
50451         (sinh_test_upward): Likewise.
50452         (sqrt_test): Likewise.
50453         (sqrt_test_tonearest): Likewise.
50454         (sqrt_test_towardzero): Likewise.
50455         (sqrt_test_downward): Likewise.
50456         (sqrt_test_upward): Likewise.
50457         (tan_test): Likewise.
50458         (tan_test_tonearest): Likewise.
50459         (tan_test_towardzero): Likewise.
50460         (tan_test_downward): Likewise.
50461         (tan_test_upward): Likewise.
50462         (tanh_test): Likewise.
50463         (tgamma_test): Likewise.
50464         (trunc_test): Likewise.
50465         (y0_test): Likewise.
50466         (y1_test): Likewise.
50467         (yn_test): Likewise.
50468         (significand_test): Likewise.
50470         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
50471         individual tests in comment.
50472         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
50473         (prev_max_error): New variable.
50474         (prev_real_max_error): Likewise.
50475         (prev_imag_max_error): Likewise.
50476         (compare_ulp_data): Don't refer to test names in comment.
50477         (find_test_ulps): Remove function.
50478         (find_function_ulps): Likewise.
50479         (find_complex_function_ulps): Likewise.
50480         (init_max_error): Take function name as argument.  Look up ulps
50481         for that function.
50482         (print_ulps): Remove function.
50483         (print_max_error): Use prev_max_error instead of calling
50484         find_function_ulps.
50485         (print_complex_max_error): Use prev_real_max_error and
50486         prev_imag_max_error instead of calling find_complex_function_ulps.
50487         (check_float_internal): Take max_ulp parameter instead of calling
50488         find_test_ulps.  Don't call print_ulps.
50489         (check_float): Update call to check_float_internal.
50490         (check_complex): Update calls to check_float_internal.
50491         (START): Pass argument to init_max_error.
50492         * math/gen-libm-test.pl (%results): Don't include "kind"
50493         information.
50494         (parse_ulps): Don't handle ulps of individual tests.
50495         (print_ulps_file): Likewise.
50496         (output_ulps): Likewise.
50497         * math/README.libm-test: Update.
50498         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
50499         individual tests.
50500         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
50501         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
50502         * sysdeps/arm/libm-test-ulps: Likewise.
50503         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
50504         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
50505         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
50506         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
50507         * sysdeps/microblaze/libm-test-ulps: Likewise.
50508         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
50509         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
50510         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
50511         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
50512         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
50513         * sysdeps/sh/libm-test-ulps: Likewise.
50514         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
50515         * sysdeps/tile/libm-test-ulps: Likewise.
50516         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50518 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
50520         * math/libm-test.inc (print_complex_max_error): Check separately
50521         whether real and imaginary errors are within allowed range and
50522         pass 0 to print_complex_function_ulps instead of value within
50523         allowed range.
50525 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
50527         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
50528         formatting.
50529         (get_handles_fopen): Likewise.
50530         (do_write_test): Likewise.
50532         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
50534         * libio/fileops.c (do_ftell): Use cached offset when
50535         available.
50536         * libio/iofwide.c (do_ftell_wide): Likewise.
50537         * libio/iofdopen.c (_IO_new_fdopen): Don't use
50538         _IO_file_attach.
50539         * libio/wfileops.c (_IO_fwide): Don't cache offset.
50541         [BZ #16532]
50542         * libio/libioP.h (get_file_offset): New function.
50543         * libio/fileops.c (get_file_offset): Likewise.
50544         (do_ftell): Likewise.
50545         (_IO_new_file_seekoff): Split out ftell logic.
50546         * libio/wfileops.c (do_ftell_wide): Likewise.
50547         (_IO_wfile_seekoff): Split out ftell logic.
50548         * libio/tst-ftell-active-handler.c: New test case.
50549         * libio/Makefile (tests): Add it.
50551 2014-03-03  Roland McGrath  <roland@hack.frob.com>
50553         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
50554         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
50556 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
50558         [BZ #16639]
50559         * nscd/connections.c (nscd_init): Call do_exit.
50560         (start_threads): Call do_exit and notify_parent.
50561         (begin_drop_privileges): Call do_exit.
50562         (finish_drop_privileges): Likewise.
50563         * nscd/selinux.c (preserve_capabilities): Likewise.
50564         (install_real_capabilities): Likewise.
50565         (nscd_selinux_enabled): Likewise.
50566         (avc_create_thread): Likewise.
50567         (avc_alloc_lock): Likewise.
50568         (nscd_avc_init): Likewise.
50569         * nscd/nscd.c (parent_fd): New static variable.
50570         (main): Create a pipe between parent and child processes.
50571         Skip closing parent_fd.
50572         (monitor_child): New function.
50573         (do_exit): Likewise.
50574         (notify_parent): Likewise.
50575         * nscd/nscd.h (notify_parent): Likewise.
50576         (do_exit): Likewise.
50578 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
50580         * malloc/malloc.c (__libc_calloc): Revert last change.
50582 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50584         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50586 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
50588         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
50589         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
50590         implementation.
50591         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
50592         (__libc_ifunc_impl_list): Likewise.
50593         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
50594         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
50595         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
50596         * string/strrchr.c: Define STRRCHR.
50598 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
50600         * benchtest/bench-strtok.c (simple_strtok): Delete.
50601         (strtok_string): Use as benchmark.
50602         * string/strtok (STRTOK): New macro.
50604 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
50606         * manual/threads.texi: Add header and standard comments to all
50607         functions.
50609         * elf/dl-lookup.c (check_match): New function.
50610         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
50611         (do_lookup_x): Remove nested function check_match. Use non-nested
50612         function check_match.
50614 2014-02-28  Roland McGrath  <roland@hack.frob.com>
50616         * csu/Makefile (generated, before-compile): Use += rather than =.
50617         * catgets/Makefile (generated, generated-dirs): Likewise.
50618         * debug/Makefile (generated): Likewise.
50619         * dlfcn/Makefile (generated): Likewise.
50620         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
50621         * iconvdata/Makefile (before-compile, generated): Likewise.
50622         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
50623         * libio/Makefile (generated): Likewise.
50624         * malloc/Makefile (generated): Likewise.
50625         * manual/Makefile (generated, generated-dirs): Likewise.
50626         * misc/Makefile (generated): Likewise.
50627         * posix/Makefile (generated): Likewise.
50628         * resolv/Makefile (generated): Likewise.
50629         * sunrpc/Makefile (generated, generated-dirs): Likewise.
50630         * timezone/Makefile (generated, generated-dirs): Likewise.
50632         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
50634 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50636         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
50637         power8 implementation.
50638         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
50639         file: POWER8 llround ifunc implementation.
50640         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
50641         (__lllround): Add POWER8 implementation.
50642         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
50643         POWER8 llround implementation.
50645         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
50646         power8 implementation.
50647         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
50648         file: POWER8 llrint ifunc implementation.
50649         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
50650         Add POWER8 implementation.
50651         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
50652         POWER8 llrint implementation.
50654         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
50655         power8 implementation.
50656         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
50657         file: POWER8 finite ifunc implementation.
50658         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
50659         Add POWER8 implementation.
50660         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
50661         Likewise.
50662         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
50663         POWER8 finite implementation.
50664         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
50666         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
50667         power8 implementation.
50668         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
50669         file: POWER8 isinf ifunc implementation.
50670         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
50671         POWER8 implementation.
50672         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
50673         Likewise.
50674         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
50675         isinf implementation.
50676         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
50678         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
50679         (INIT_ARCH): Add hwcap2 initialization.
50680         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
50681         power8 implementation.
50682         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
50683         file: POWER8 isnan ifunc implementation.
50684         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
50685         POWER8 implementation.
50686         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
50687         Likewise.
50688         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
50689         isnan implementation.
50690         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
50692 2014-02-27  Joey Ye  <joey.ye@arm.com>
50694         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
50695         (_FP_NANFRAC_Q): Set to zero.
50697 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
50699         [BZ #16623]
50700         * math/auto-libm-test-in: New test inputs.
50701         * math/auto-libm-test-out: Regenerate.
50702         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
50703         and DA.
50704         (__cos): Likewise.
50705         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
50707 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
50709         * scripts/evaluate-test.sh: Take new argument indicating whether
50710         failure is expected.
50711         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
50712         indicating whether failure is expected.
50713         * conform/Makefile (test-xfail-run-conformtest): New variable.
50714         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
50715         level.
50716         * posix/Makefile (test-xfail-annexc): New variable.
50717         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
50719 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
50721         * argp/Makefile: Include Makeconfig immediately after defining
50722         subdir.
50723         * assert/Makefile: Likewise.
50724         * benchtests/Makefile: Likewise.
50725         * catgets/Makefile: Likewise.
50726         * conform/Makefile: Likewise.
50727         * crypt/Makefile: Likewise.
50728         * csu/Makefile: Likewise.
50729         (all): Remove target.
50730         * ctype/Makefile: Include Makeconfig immediately after defining
50731         subdir.
50732         * debug/Makefile: Likewise.
50733         * dirent/Makefile: Likewise.
50734         * dlfcn/Makefile: Likewise.
50735         * gmon/Makefile: Likewise.
50736         * gnulib/Makefile: Likewise.
50737         * grp/Makefile: Likewise.
50738         * gshadow/Makefile: Likewise.
50739         * hesiod/Makefile: Likewise.
50740         * hurd/Makefile: Likewise.
50741         (all): Remove target.
50742         * iconvdata/Makefile: Include Makeconfig immediately after
50743         defining subdir.
50744         * inet/Makefile: Likewise.
50745         * intl/Makefile: Likewise.
50746         * io/Makefile: Likewise.
50747         * libio/Makefile: Likewise.
50748         (all): Remove target.
50749         * locale/Makefile: Include Makeconfig immediately after defining
50750         subdir.
50751         * login/Makefile: Likewise.
50752         * mach/Makefile: Likewise.
50753         (all): Remove target.
50754         * malloc/Makefile: Include Makeconfig immediately after defining
50755         subdir.
50756         (all): Remove target.
50757         * manual/Makefile: Include Makeconfig immediately after defining
50758         subdir.
50759         * math/Makefile: Likewise.
50760         * misc/Makefile: Likewise.
50761         * nis/Makefile: Likewise.
50762         * nss/Makefile: Likewise.
50763         * po/Makefile: Likewise.
50764         (all): Remove target.
50765         * posix/Makefile: Include Makeconfig immediately after defining
50766         subdir.
50767         * pwd/Makefile: Likewise.
50768         * resolv/Makefile: Likewise.
50769         * resource/Makefile: Likewise.
50770         * rt/Makefile: Likewise.
50771         * setjmp/Makefile: Likewise.
50772         * shadow/Makefile: Likewise.
50773         * signal/Makefile: Likewise.
50774         * socket/Makefile: Likewise.
50775         * soft-fp/Makefile: Likewise.
50776         * stdio-common/Makefile: Likewise.
50777         * stdlib/Makefile: Likewise.
50778         * streams/Makefile: Likewise.
50779         * string/Makefile: Likewise.
50780         * sunrpc/Makefile: Likewise.
50781         (all): Remove target.
50782         * sysvipc/Makefile: Include Makeconfig immediately after defining
50783         subdir.
50784         * termios/Makefile: Likewise.
50785         * time/Makefile: Likewise.
50786         * timezone/Makefile: Likewise.
50787         (all): Remove target.
50788         * wcsmbs/Makefile: Include Makeconfig immediately after defining
50789         subdir.
50790         * wctype/Makefile: Likewise.
50792 2014-02-26  Steve Ellcey  <sellcey@mips.com>
50794         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
50795         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
50796         (libc_feholdexcept_setround_mips): Ditto.
50797         (libc_feholdsetround): New.
50798         (libc_feholdsetroundf): New.
50799         (libc_feholdsetroundl): New.
50800         (libc_feupdateenv_test_mips): New.
50801         (libc_feupdateenv_test): New.
50802         (libc_feupdateenv_testf): New.
50803         (libc_feupdateenv_testl): New.
50804         (libc_feresetround): New.
50805         (libc_feresetroundf): New.
50806         (libc_feresetroundl): New.
50807         (libc_fetestexcept_mips): New.
50808         (libc_fetestexcept): New.
50809         (libc_fetestexceptf): New.
50810         (libc_fetestexceptl): New.
50811         (HAVE_RM_CTX): New.
50812         (libc_feholdexcept_setround_mips_ctx): New.
50813         (libc_feholdexcept_setround_ctx): New.
50814         (libc_feholdexcept_setroundf_ctx): New.
50815         (libc_feholdexcept_setroundl_ctx): New.
50816         (libc_fesetenv_mips_ctx): New.
50817         (libc_fesetenv_ctx): New.
50818         (libc_fesetenv_ctxf): New.
50819         (libc_fesetenv_ctxl): New.
50820         (libc_feupdateenv_mips_ctx): New.
50821         (libc_feupdateenv_ctx): New.
50822         (libc_feupdateenvf_ctx): New.
50823         (libc_feupdateenvl_ctx): New.
50824         (libc_feholdsetround_mips_ctx): New.
50825         (libc_feholdsetround_ctx): New.
50826         (libc_feholdsetroundf_ctx): New.
50827         (libc_feholdsetroundl_ctx): New.
50828         (libc_feresetround_mips_ctx): New.
50829         (libc_feresetround_ctx): New.
50830         (libc_feresetroundf_ctx): New.
50831         (libc_feresetroundl_ctx): New.
50833 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
50835         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
50837         * manual/ipc.texi: New file.
50838         * manual/Makefile (chapters): Add ipc.
50839         * manual/job.texi: Add "Inter-Process Communication" to next.
50840         * manual/process.texi: Add "Inter-Process Communication" to prev.
50842 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50844         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50846 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
50848         * malloc/malloc.c (__libc_calloc): Simplify implementation.
50850         * manual/arith.texi: Fix spaces after sentences.
50851         * manual/charset.texi: Likewise.
50852         * manual/errno.texi: Likewise.
50853         * manual/install.texi: Likewise.
50854         * manual/llio.texi: Likewise.
50855         * manual/locale.texi: Likewise.
50856         * manual/maint.texi: Likewise.
50857         * manual/math.texi: Likewise.
50858         * manual/memory.texi: Likewise.
50859         * manual/message.texi: Likewise.
50860         * manual/probes.texi: Likewise.
50861         * manual/resource.texi: Likewise.
50862         * manual/signal.texi: Likewise.
50863         * manual/socket.texi: Likewise.
50864         * manual/stdio.texi: Likewise.
50865         * manual/string.texi: Likewise.
50866         * manual/time.texi: Likewise.
50867         * manual/users.texi: Likewise.
50869 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
50871         [BZ #16632]
50872         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
50873         _DEFAULT_SOURCE is defined.
50875 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
50876             Carlos O'Donell  <carlos@redhat.com>
50878         [BZ #16613]
50879         * elf/dl-tls.c (_dl_count_modids): New function.
50880         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
50881         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
50882         audit library and increment generation counter.
50883         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
50884         * elf/tst-audit9.c: New file.
50885         * elf/tst-auditmod9a.c: New file.
50886         * elf/tst-auditmod9b.c: New file.
50887         * elf/Makefile: Add rules to build and run tst-audit9.
50889 2014-02-25  Florian Weimer  <fweimer@redhat.com>
50891         [BZ #15347]
50892         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
50894 2014-02-25  Will Newton  <will.newton@linaro.org>
50896         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
50897         (__longjmp): Restore sp and lr before restoring callee
50898         saved registers.  Add longjmp and longjmp_target
50899         SystemTap probe point.
50900         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
50901         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
50902         Define to zero to match jmpbuf layout.
50903         * sysdeps/arm/setjmp.S: Include stap-probe.h.
50904         (__sigsetjmp): Save sp and lr before saving callee
50905         saved registers.  Add setjmp SystemTap probe point.
50907 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
50909         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
50911 2014-02-24  Andreas Schwab  <schwab@suse.de>
50913         [BZ #15804]
50914         * elf/pldd.c (wait_for_ptrace_stop): New function.
50915         (main): Call it after attaching.
50917 2014-02-22  Roland McGrath  <roland@hack.frob.com>
50919         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
50920         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
50921         Versions files is now verboten.
50922         * hurd/Versions (libc: GLIBC_2.0):
50923         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
50924         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
50925         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
50926         * mach/Versions: Likewise.
50928         * csu/Versions: Remove unused %include.
50929         * resolv/Versions: Likewise.
50931 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
50933         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
50934         ($(objpfx)check-local-headers.out): Likewise.
50935         ($(objpfx)begin-end-check.out): Likewise.
50936         * Makerules (check-abi-%.out): Likewise.
50937         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
50938         ($(objpfx)test2.cat): Likewise.
50939         ($(objpfx)de/libc.cat): Likewise.
50940         ($(objpfx)test-gencat.out): Likewise.
50941         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
50942         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
50943         ($(objpfx)noload-mem): Likewise.
50944         ($(objpfx)tst-pathopt.out): Likewise.
50945         ($(objpfx)tst-rtld-load-self.out): Likewise.
50946         ($(objpfx)tst-array1-cmp.out): Likewise.
50947         ($(objpfx)tst-array1-static-cmp.out): Likewise.
50948         ($(objpfx)tst-array2-cmp.out): Likewise.
50949         ($(objpfx)tst-array3-cmp.out): Likewise.
50950         ($(objpfx)tst-array4-cmp.out): Likewise.
50951         ($(objpfx)tst-array5-cmp.out): Likewise.
50952         ($(objpfx)tst-array5-static-cmp.out): Likewise.
50953         ($(objpfx)check-textrel.out): Likewise.
50954         ($(objpfx)check-execstack.out): Likewise.
50955         ($(objpfx)check-localplt.out): Likewise.
50956         ($(objpfx)order2-cmp.out): Likewise.
50957         ($(objpfx)tst-leaks1-mem): Likewise.
50958         ($(objpfx)tst-leaks1-static-mem): Likewise.
50959         ($(objpfx)tst-initorder-cmp.out): Likewise.
50960         ($(objpfx)tst-initorder2-cmp.out): Likewise.
50961         ($(objpfx)tst-unused-dep.out): Likewise.
50962         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
50963         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
50964         * iconv/Makefile (test-iconvconfig): Likewise.
50965         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
50966         ($(objpfx)iconv-test.out): Likewise.
50967         ($(objpfx)tst-tables.out): Likewise.
50968         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
50969         ($(objpfx)tst-gettext.out): Likewise.
50970         ($(objpfx)tst-translit.out): Likewise.
50971         ($(objpfx)tst-gettext2.out): Likewise.
50972         ($(objpfx)tst-gettext4.out): Likewise.
50973         ($(objpfx)tst-gettext6.out): Likewise.
50974         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
50975         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
50976         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
50977         ($(objpfx)tst-fopenloc-mem.out): Likewise.
50978         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
50979         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
50980         * posix/Makefile ($(objpfx)globtest.out): Likewise.
50981         ($(objpfx)wordexp-tst.out): Likewise.
50982         ($(objpfx)annexc.out): Likewise.
50983         ($(objpfx)tst-fnmatch-mem): Likewise.
50984         ($(objpfx)bug-regex2-mem): Likewise.
50985         ($(objpfx)bug-regex14-mem): Likewise.
50986         ($(objpfx)bug-regex21-mem): Likewise.
50987         ($(objpfx)bug-regex31-mem): Likewise.
50988         ($(objpfx)tst-vfork3-mem): Likewise.
50989         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
50990         ($(objpfx)tst-pcre-mem): Likewise.
50991         ($(objpfx)tst-boost-mem): Likewise.
50992         ($(objpfx)tst-getconf.out): Likewise.
50993         ($(objpfx)bug-ga2-mem): Likewise.
50994         ($(objpfx)bug-glob2-mem): Likewise.
50995         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
50996         ($(objpfx)mtrace-tst-leaks2): Likewise.
50997         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
50998         ($(objpfx)tst-printf.out): Likewise.
50999         ($(objpfx)tst-setvbuf1.out): Likewise.
51000         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
51001         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
51002         ($(objpfx)tst-fmtmsg.out): Likewise.
51003         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
51004         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
51006         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
51007         * bits/sigaction.h [__USE_MISC]: Likewise.
51008         * bits/waitstatus.h: Update #endif comments.
51009         * ctype/ctype.h: Likewise.
51010         * dirent/dirent.h: Likewise.
51011         [__USE_MISC]: Remove redundant conditionals.
51012         * grp/grp.h: Update #endif comments.
51013         [__USE_GNU]: Remove redundant conditionals.
51014         [__USE_MISC]: Likewise.
51015         * inet/netinet/in.h [__USE_GNU]: Likewise.
51016         * io/sys/stat.h [__USE_MISC]: Likewise.
51017         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
51018         * libio/bits/stdio.h: Update #endif comments.
51019         [__USE_MISC]: Remove redundant conditionals.
51020         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
51021         * libio/stdio.h: Update #endif comments.
51022         [__USE_MISC]: Remove redundant conditionals.
51023         * math/bits/math-finite.h [__USE_MISC]: Likewise.
51024         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
51025         * math/math.h: Update #else and #endif comments.
51026         [__USE_MISC]: Remove redundant conditionals.
51027         * misc/sys/uio.h: Update #endif comments.
51028         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
51029         * posix/glob.h [__USE_MISC]: Likewise.
51030         * posix/sys/types.h: Update #endif comments.
51031         [__USE_MISC]: Remove redundant conditionals.
51032         * posix/sys/wait.h: Update #endif comments.
51033         [__USE_MISC]: Remove redundant conditionals.
51034         * posix/unistd.h: Update #endif comments.
51035         [__USE_MISC]: Remove redundant conditionals.
51036         * pwd/pwd.h [__USE_GNU]: Likewise.
51037         [__USE_MISC]: Likewise.
51038         * resolv/netdb.h [__USE_GNU]: Likewise.
51039         * signal/signal.h: Update #endif comments.
51040         [__USE_MISC]: Remove redundant conditionals.
51041         * stdlib/stdlib.h: Update #else and #endif comments.
51042         [__USE_MISC]: Remove redundant conditionals.
51043         [__USE_GNU]: Likewise.
51044         * string/bits/string2.h [__USE_MISC]: Likewise.
51045         * string/string.h: Update #endif comments.
51046         [__USE_MISC]: Remove redundant conditionals.
51047         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
51048         Likewise.
51049         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
51050         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
51051         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
51052         Likewise.
51053         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
51054         Likewise.
51055         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
51056         comments.
51057         [__USE_MISC]: Remove redundant conditionals.
51058         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
51059         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
51060         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
51061         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
51062         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
51063         Likewise.
51064         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
51065         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
51066         Likewise.
51067         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
51068         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
51069         Likewise.
51070         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
51071         Likewise.
51072         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
51073         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
51074         Likewise.
51075         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
51076         Likewise.
51077         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
51078         * sysdeps/x86/bits/string.h: Update #endif comments.
51079         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
51080         conditionals.
51081         * time/sys/time.h: Update #endif comments.
51082         * time/time.h: Likewise.
51083         [__USE_MISC]: Remove redundant conditionals.
51085 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
51087         [BZ #16600]
51088         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
51090 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
51092         * Versions.def (librt): Add GLIBC_2.17.
51094 2014-02-21  Adam Conrad  <adconrad@0c3.net>
51096         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
51097         synonym for _SYS_AUXV_H to allow direct inclusion.
51098         * sysdeps/sparc/bits/hwcap.h: Likewise.
51099         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
51100         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
51101         * sysdeps/sparc/sysdep.h: Likewise.
51103 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
51105         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
51107 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
51109         * benchtests/bench-strrchr.c: Print length instead of position.
51111 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
51113         [BZ #16611]
51114         * sysdeps/unix/sysv/linux/kernel-features.h
51115         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
51116         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
51117         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
51118         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
51119         Likewise.
51120         [__i386__ || __powerpc__ || __sh__ || __sparc__]
51121         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
51122         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
51123         (__ASSUME_SENDMMSG): Define instead of using previous
51124         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
51125         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
51126         (__ASSUME_SENDMMSG_SYSCALL): Define.
51127         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
51128         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
51129         Likewise.
51130         * sysdeps/unix/sysv/linux/arm/kernel-features.h
51131         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
51132         Likewise.
51133         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
51134         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
51135         Likewise.
51136         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
51137         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
51138         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
51139         [__ASSUME_SENDMMSG]: Change conditionals to
51140         [__ASSUME_SENDMMSG_SOCKETCALL].
51141         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
51142         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
51143         Define.
51144         * sysdeps/unix/sysv/linux/mips/kernel-features.h
51145         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
51146         Likewise.
51147         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
51148         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
51149         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
51150         [!__ASSUME_SENDMMSG]: Change conditional to
51151         [!__ASSUME_SENDMMSG_SOCKETCALL].
51152         * sysdeps/unix/sysv/linux/tile/kernel-features.h
51153         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
51154         Define.
51156         [BZ #16610]
51157         * sysdeps/unix/sysv/linux/kernel-features.h
51158         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
51159         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
51160         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
51161         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
51162         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
51163         [__i386__ || __sparc__]
51164         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
51165         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
51166         (__ASSUME_RECVMMSG): Define instead of using previous
51167         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
51168         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
51169         (__ASSUME_RECVMMSG_SYSCALL): Define.
51170         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
51171         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
51172         Likewise.
51173         * sysdeps/unix/sysv/linux/arm/kernel-features.h
51174         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
51175         Likewise.
51176         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
51177         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
51178         Likewise.
51179         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
51180         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
51181         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
51182         [__ASSUME_RECVMMSG]: Change condition to
51183         [__ASSUME_RECVMMSG_SOCKETCALL].
51184         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
51185         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
51186         Define.
51187         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
51188         * sysdeps/unix/sysv/linux/mips/kernel-features.h
51189         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
51190         Likewise.
51191         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
51192         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
51193         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
51194         [!__ASSUME_RECVMMSG]: Change condition to
51195         [!__ASSUME_RECVMMSG_SOCKETCALL].
51196         * sysdeps/unix/sysv/linux/tile/kernel-features.h
51197         (__ASSUME_RECVMMSG_SYSCALL): Define.
51199         [BZ #16609]
51200         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
51201         __powerpc__ || __s390__ || __sh__ || __sparc__]
51202         (__ASSUME_SOCKETCALL): Define.
51203         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
51204         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
51205         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
51206         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
51207         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
51208         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
51209         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
51210         (__ASSUME_ACCEPT4): Define instead of using previous
51211         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
51212         __powerpc__ || __sparc__ || __s390__)] condition.
51213         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
51214         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
51215         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
51216         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
51217         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
51218         [!__ASSUME_ACCEPT4]: Change condition to
51219         [!__ASSUME_ACCEPT4_SOCKETCALL].
51220         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
51221         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
51222         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
51223         * sysdeps/unix/sysv/linux/arm/kernel-features.h
51224         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
51225         __ASSUME_ACCEPT4_SYSCALL.
51226         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
51227         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
51228         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
51229         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
51230         __ASSUME_ACCEPT4_SYSCALL.
51231         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
51232         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
51233         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
51234         [__ASSUME_ACCEPT4]: Change condition to
51235         [__ASSUME_ACCEPT4_SOCKETCALL].
51236         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
51237         (__ASSUME_SOCKETCALL): Define.
51238         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
51239         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
51240         (__ASSUME_SOCKETCALL): Define.
51241         (__ASSUME_ACCEPT4): Remove.
51242         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
51243         Define.
51244         * sysdeps/unix/sysv/linux/mips/kernel-features.h
51245         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
51246         Likewise.
51247         * sysdeps/unix/sysv/linux/tile/kernel-features.h
51248         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
51250         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
51251         macro.
51252         (HWCAP_ARM_LPAE): Likewise.
51253         (HWCAP_ARM_EVTSTRM): Likewise.
51254         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
51255         Add vpfd32, lpae and evtstrm.
51256         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
51257         Increase to 22.
51259 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
51261         * math/auto-libm-test-in: Add tests of clog10.
51262         * math/auto-libm-test-out: Regenerated.
51263         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
51264         * sysdeps/i386/fpu/libm-test-ulps: Update.
51265         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51267 2014-02-18  Andreas Schwab  <schwab@suse.de>
51269         [BZ #16574]
51270         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
51271         Store non-zero if the second buffer was newly allocated.
51272         (send_dg): Likewise.
51273         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
51274         to send_vc and send_dg.
51275         (res_nsend): Pass NULL for ansp2_malloced.
51276         * resolv/res_query.c (__libc_res_nquery): Add parameter
51277         answerp2_malloced and pass it down to __libc_res_nsend.
51278         (res_nquery): Pass additional NULL to __libc_res_nquery.
51279         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
51280         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
51281         second answer buffer if answerp2_malloced was set.
51282         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
51283         (__libc_res_nquerydomain): Add parameter
51284         answerp2_malloced and pass it down to __libc_res_nquery.
51285         (res_nquerydomain): Pass additional NULL to
51286         __libc_res_nquerydomain.
51287         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
51288         additional NULL to __libc_res_nsend and __libc_res_nquery.
51289         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
51290         additional NULL to __libc_res_nsearch.
51291         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
51292         parameter of __libc_res_nsearch to check for separately allocated
51293         second buffer.
51294         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
51295         __libc_res_nquery.
51296         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
51297         additional NULL to __libc_res_nquery.
51298         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
51299         __libc_res_nsearch.
51300         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
51301         * include/resolv.h: Update prototypes of __libc_res_nquery,
51302         __libc_res_nsearch, __libc_res_nsend.
51304 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
51306         * math/auto-libm-test-in: Add tests of fma.
51307         * math/auto-libm-test-out: Regenerated.
51308         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
51309         (fma_towardzero_test_data): Likewise.
51310         (fma_downward_test_data): Likewise.
51311         (fma_upward_test_data): Likewise.
51312         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
51313         mpc_mode.
51314         (rounding_modes): Add values for new field.
51315         (func_calc_method): Add value mpfr_fff_f.
51316         (func_calc_desc): Add mpfr_fff_f union field.
51317         (test_function): Add field exact_args.
51318         (FUNC): Add macro argument EXACT_ARGS.
51319         (FUNC_mpfr_f_f): Update call to FUNC.
51320         (FUNC_mpfr_f_f): Likewise.
51321         (FUNC_mpfr_ff_f): Likewise.
51322         (FUNC_mpfr_if_f): Likewise.
51323         (FUNC_mpc_c_f): Likewise.
51324         (FUNC_mpc_c_c): Likewise.
51325         (test_functions): Add fma.  Update calls to FUNC.
51326         (handle_input_arg): Add argument exact_args.
51327         (add_test): Update call to handle_input_arg.
51328         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
51329         (output_for_one_input_case): Update call to calc_generic_results.
51330         Recalculate exact zero results in each rounding mode.
51332         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
51333         non-negative before setting low bit.
51334         * math/auto-libm-test-in: Mark one asin test possibly having
51335         spurious underflow.
51336         * math/auto-libm-test-out: Regenerated.
51337         * sysdeps/i386/fpu/libm-test-ulps: Update.
51338         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51340 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
51342         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
51343         * sysdeps/unix/sysv/linux/microblaze: Move directory from
51344         ports/sysdeps/unix/sysv/linux/microblaze.
51345         * README: Add missing listing for microblaze*-*-linux-gnu.
51347 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
51349         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
51350         duplicate code
51352 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
51354         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
51355         * sysdeps/unix/sysv/linux/ia64: Move directory from
51356         ports/sysdeps/unix/sysv/linux/ia64.
51357         * README: Update listing for ia64-*-linux-gnu.
51359 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
51360             Joseph Myers  <joseph@codesourcery.com>
51362         * Makeconfig (test-name): New variable.
51363         (evaluate-test): Likewise.
51364         * Makerules (do-test-clean): Remove .test-result files.
51365         (common-mostlyclean): Likewise.
51366         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
51367         * scripts/evaluate-test.sh: New file.
51369 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
51371         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
51372         separate $(objpfx)tst-fopenloc-cmp.out and
51373         $(objpfx)tst-fopenloc-mem.out targets.
51374         (tests): Update dependencies.
51375         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
51376         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
51377         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
51378         (tst-rxspencer-no-utf8-ARGS): New variable.
51379         (tst-rxspencer-no-utf8-ENV): Likewise.
51380         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
51381         instead of $(objpfx)tst-rxspencer-mem.
51382         ($(objpfx)tst-rxspencer-mem): Change target to
51383         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
51384         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
51385         * posix/tst-rxspencer-no-utf8.c: New file.
51387         * elf/Makefile ($(objpfx)order.out): Remove rule.
51388         [$(run-built-tests) = yes] (tests): Depend on
51389         $(objpfx)order-cmp.out.
51390         ($(objpfx)order-cmp.out): New rule.
51391         [$(run-built-tests) = yes] (tests): Depend on
51392         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
51393         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
51394         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
51395         $(objpfx)tst-array5-static-cmp.out.
51396         ($(objpfx)tst-array1.out): Remove rule.
51397         ($(objpfx)tst-array1-cmp.out): New rule.
51398         ($(objpfx)tst-array1-static.out): Remove rule.
51399         ($(objpfx)tst-array1-static-cmp.out): New rule.
51400         ($(objpfx)tst-array2.out): Remove rule.
51401         ($(objpfx)tst-array2-cmp.out): New rule.
51402         ($(objpfx)tst-array3.out): Remove rule.
51403         ($(objpfx)tst-array3-cmp.out): New rule.
51404         ($(objpfx)tst-array4.out): Remove rule.
51405         ($(objpfx)tst-array4-cmp.out): New rule.
51406         ($(objpfx)tst-array5.out): Remove rule.
51407         ($(objpfx)tst-array5-cmp.out): New rule.
51408         ($(objpfx)tst-array5-static.out): Remove rule.
51409         ($(objpfx)tst-array5-static-cmp.out): New rule.
51410         [$(run-built-tests) = yes] (tests): Depend on
51411         $(objpfx)order2-cmp.out.
51412         ($(objpfx)order2.out): Remove rule.
51413         ($(objpfx)order2-cmp.out): New rule.
51414         ($(objpfx)tst-initorder.out): Remove rule.
51415         [$(run-built-tests) = yes] (tests): Depend on
51416         $(objpfx)tst-initorder-cmp.out.
51417         ($(objpfx)tst-initorder-cmp.out): New rule.
51418         ($(objpfx)tst-initorder2.out): Remove rule.
51419         [$(run-built-tests) = yes] (tests): Depend on
51420         $(objpfx)tst-initorder2-cmp.out.
51421         ($(objpfx)tst-initorder2-cmp.out): New rule.
51422         [$(run-built-tests) = yes] (tests): Depend on
51423         $(objpfx)tst-unused-dep-cmp.out.
51424         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
51425         ($(objpfx)tst-unused-dep-cmp.out): New rule.
51426         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
51427         on $(objpfx)tst-setvbuf1-cmp.out.
51428         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
51429         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
51430         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
51431         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
51432         ($(objpfx)tst-svc.out): Remove rule.
51433         ($(objpfx)tst-svc-cmp.out): New rule.
51435 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
51437         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
51438         * ctype/ctype.h [__USE_MISC]: Likewise.
51439         * dirent/dirent.h [__USE_MISC]: Likewise.
51440         * grp/grp.h [__USE_MISC]: Likewise.
51441         * io/fcntl.h [__USE_MISC]: Likewise.
51442         * io/sys/stat.h [__USE_MISC]: Likewise.
51443         * libio/stdio.h [__USE_MISC]: Likewise.
51444         * posix/unistd.h [__USE_MISC]: Likewise.
51445         * pwd/pwd.h [__USE_MISC]: Likewise.
51446         * stdlib.h [__USE_MISC]: Likewise.
51447         * string/bits/string2.h [__USE_MISC]: Likewise.
51448         * string/string.h [__USE_MISC]: Likewise.
51449         * time/time.h [__USE_MISC]: Likewise.
51451 2014-02-13  Andreas Schwab  <schwab@suse.de>
51453         [BZ #16574]
51454         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
51455         second answer buffer if it was separately allocated.
51457 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
51459         * sysdeps/mips/math-tests.h: Include <features.h>.
51460         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
51461         (ROUNDING_TESTS_long_double): Do not define.
51462         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
51463         (EXCEPTION_TESTS_long_double): Likewise.
51464         * sysdeps/mips/mips64/libm-test-ulps: Update.
51466         * include/features.h (__USE_BSD): Remove macro definitions.
51467         (__USE_SVID): Likewise.
51468         (_BSD_SOURCE): Likewise.
51469         (_SVID_SOURCE): Likewise.
51470         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
51471         from definition of _DEFAULT_SOURCE.
51472         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
51473         [_DEFAULT_SOURCE].
51474         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
51475         * bits/mman.h [__USE_BSD]: Likewise.
51476         * bits/termios.h [__USE_BSD]: Likewise.
51477         * bits/waitstatus.h [__USE_BSD]: Likewise.
51478         * ctype/ctype.h [__USE_SVID]: Likewise.
51479         * dirent/dirent.h [__USE_BSD]: Likewise.
51480         * grp/grp.h [__USE_SVID]: Likewise.
51481         [__USE_BSD]: Likewise.
51482         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
51483         * io/fcntl.h [__USE_BSD]: Likewise.
51484         * io/ftw.h [__USE_BSD]: Likewise.
51485         * io/sys/stat.h [__USE_BSD]: Likewise.
51486         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
51487         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
51488         * libio/stdio.h [__USE_SVID]: Likewise.
51489         [__USE_BSD]: Likewise.
51490         * math/math.h [__USE_SVID]: Likewise.
51491         [__USE_BSD]: Likewise.
51492         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
51493         * misc/bits/syslog.h [__USE_BSD]: Likewise.
51494         * misc/search.h [__USE_SVID]: Likewise.
51495         * misc/sys/mman.h [__USE_BSD]: Likewise.
51496         * misc/sys/syslog.h [__USE_BSD]: Likewise.
51497         * misc/sys/uio.h [__USE_BSD]: Likewise.
51498         * posix/bits/unistd.h [__USE_BSD]: Likewise.
51499         * posix/glob.h [__USE_BSD]: Likewise.
51500         * posix/regex.h [__USE_BSD]: Likewise.
51501         * posix/sys/types.h [__USE_BSD]: Likewise.
51502         [__USE_SVID]: Likewise.
51503         * posix/sys/utsname.h [__USE_SVID]: Likewise.
51504         * posix/sys/wait.h [__USE_BSD]: Likewise.
51505         [__USE_SVID]: Likewise.
51506         * posix/unistd.h [__USE_BSD]: Likewise.
51507         [__USE_SVID]: Likewise.
51508         * pwd/pwd.h [__USE_SVID]: Likewise.
51509         * resolv/netdb.h [__USE_BSD]: Likewise.
51510         * setjmp/setjmp.h [__USE_BSD]: Likewise.
51511         * signal/signal.h [__USE_BSD]: Likewise.
51512         [__USE_SVID]: Likewise.
51513         * socket/sys/socket.h [__USE_BSD]: Likewise.
51514         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
51515         * stdlib/stdlib.h [__USE_BSD]: Likewise.
51516         [__USE_SVID]: Likewise.
51517         * string/bits/string2.h [__USE_BSD]: Likewise.
51518         [__USE_SVID]: Likewise.
51519         * string/bits/string3.h [__USE_BSD]: Likewise.
51520         * string/endian.h [__USE_BSD]: Likewise.
51521         * string/string.h [__USE_SVID]: Likewise.
51522         [__USE_BSD]: Likewise.
51523         * string/strings.h [__USE_BSD]: Likewise.
51524         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
51525         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
51526         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
51527         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
51528         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
51529         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
51530         Likewise.
51531         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
51532         Likewise.
51533         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
51534         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
51535         Likewise.
51536         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
51537         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
51538         Likewise.
51539         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
51540         Likewise.
51541         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
51542         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
51543         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
51544         Likewise.
51545         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
51546         Likewise.
51547         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
51548         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
51549         * termios/termios.h [__USE_BSD]: Likewise.
51550         * time/sys/time.h [__USE_BSD]: Likewise.
51551         * time/time.h [__USE_BSD]: Likewise.
51552         [__USE_SVID]: Likewise.
51554         * Makefile (subdir_targets): Remove subdir_lint.out.
51556         * stdio-common/Makefile (do-tst-unbputc): Remove target.
51557         (do-tst-printf): Likewise.
51558         (tests): Depend directly on $(objpfx)tst-unbputc.out and
51559         $(objpfx)tst-printf.out.
51561         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
51563         * Makerules (check-abi-%): Change target to
51564         $(objpfx)check-abi-%.out.
51565         (check-abi target): Update dependencies.
51566         (check-abi-pattern variable): Redirect output of diff to $@.
51567         (check-abi variable): Likewise.
51568         * elf/Makefile (check-abi): Update dependencies.
51570         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
51571         unused.
51572         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
51573         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
51574         subnormal range.
51575         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
51576         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
51577         value has largest subnormal exponent.
51578         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
51579         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
51580         * sysdeps/aarch64/soft-fp/sfp-machine.h
51581         (_FP_TININESS_AFTER_ROUNDING): New macro.
51582         * sysdeps/alpha/soft-fp/sfp-machine.h
51583         (_FP_TININESS_AFTER_ROUNDING): Likewise.
51584         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
51585         Likewise.
51586         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
51587         (_FP_TININESS_AFTER_ROUNDING): Likewise.
51588         * sysdeps/mips/soft-fp/sfp-machine.h
51589         (_FP_TININESS_AFTER_ROUNDING): Likewise.
51590         * sysdeps/powerpc/soft-fp/sfp-machine.h
51591         (_FP_TININESS_AFTER_ROUNDING): Likewise.
51592         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
51593         Likewise.
51594         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
51595         (_FP_TININESS_AFTER_ROUNDING): Likewise.
51596         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
51597         (_FP_TININESS_AFTER_ROUNDING): Likewise.
51598         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
51599         Likewise.
51601 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
51603         [BZ #16545]
51604         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
51605         model 1.
51607 2014-02-12  Richard Henderson  <rth@redhat.com>
51609         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
51610         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
51611         * sysdeps/unix/sysv/linux/alpha: Move directory from
51612         ports/sysdeps/unix/sysv/linux/alpha.
51613         * README: Update listing for alpha-*-linux-gnu.
51615 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
51617         * include/features.h: Update comment documenting feature test
51618         macros.
51619         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
51620         _DEFAULT_SOURCE.
51621         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
51622         (_SVID_SOURCE): Likewise.
51623         (_DEFAULT_SOURCE): Update description of default features.
51624         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
51625         with _GNU_SOURCE.
51626         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
51627         (S_ISVTX): Likewise.
51628         * manual/math.texi (Mathematical Constants): Likewise.
51629         * manual/signal.texi (Interrupted Primitives): Likewise.
51630         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
51631         * math/test-matherr.c (_SVID_SOURCE): Do not define.
51632         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
51633         Don't refer to _SVID_SOURCE in warning text.
51635         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
51637         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
51638         already defined.
51639         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
51640         * sysdeps/mips/dl-lookup.c: Remove.
51641         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
51643 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
51645         [BZ #16447]
51646         * math/auto-libm-test-in: Add testcase for expl.
51647         * math/auto-libm-test-out: Regenerate.
51648         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
51649         calculation of unsafe.
51650         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
51652 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
51654         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
51655         * sysdeps/unix/sysv/linux/aarch64: Move directory from
51656         ports/sysdeps/unix/sysv/linux/aarch64.
51657         * README: Update listing for aarch64*-*-linux-gnu.
51659 2014-02-11  Will Newton  <will.newton@linaro.org>
51661         * manual/probes.texi (Mathematical Function Probes): Use
51662         "triggered" instead of "hit".
51664         * manual/probes.texi (Internal Probes): Add documentation
51665         of setjmp, longjmp and longjmp_target probes.
51667         * include/stap-probe.h: Add comment about probe argument
51668         format.
51670         * malloc/mtrace.c (attribute_hidden): Remove unused macro
51671         definition.  (tr_where, tr_freehook, tr_mallochook,
51672         tr_reallochook, tr_memalignhook): Use ANSI protoype.
51674 2014-02-11  David S. Miller  <davem@davemloft.net>
51676         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
51677         processing int_tests.
51679 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
51681         * sysdeps/mips: Move directory from ports/sysdeps/mips.
51682         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
51683         * sysdeps/unix/sysv/linux/mips: Move directory from
51684         ports/sysdeps/unix/sysv/linux/mips.
51685         * README: Update listing for mips-*-linux-gnu and
51686         mips64-*-linux-gnu.
51688 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
51690         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
51691         * sysdeps/unix/sysv/linux/m68k: Move directory from
51692         ports/sysdeps/unix/sysv/linux/m68k.
51693         * README: Update listing for m68k-*-linux-gnu.
51695 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
51697         * sysdeps/tile: Move directory from ports/sysdeps/tile.
51698         * sysdeps/unix/sysv/linux/generic: Move directory from
51699         ports/sysdeps/unix/sysv/linux/generic.
51700         * sysdeps/unix/sysv/linux/tile: Move directory from
51701         ports/sysdeps/unix/sysv/linux/tile.
51702         * README: Update listing for tile*-*-linux-gnu.
51704 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
51706         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
51707         __builtin_expect.
51708         * benchtests/bench-memmem.c (simple_memmem): Likewise.
51709         * catgets/open_catalog.c (__open_catalog): Likewise.
51710         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
51711         * debug/confstr_chk.c: Likewise.
51712         * debug/fread_chk.c (__fread_chk): Likewise.
51713         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
51714         * debug/getgroups_chk.c: Likewise.
51715         * debug/mbsnrtowcs_chk.c: Likewise.
51716         * debug/mbsrtowcs_chk.c: Likewise.
51717         * debug/mbstowcs_chk.c: Likewise.
51718         * debug/memcpy_chk.c: Likewise.
51719         * debug/memmove_chk.c: Likewise.
51720         * debug/mempcpy_chk.c: Likewise.
51721         * debug/memset_chk.c: Likewise.
51722         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
51723         * debug/strcat_chk.c (__strcat_chk): Likewise.
51724         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
51725         * debug/strncat_chk.c (__strncat_chk): Likewise.
51726         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
51727         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
51728         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
51729         * debug/wcpncpy_chk.c: Likewise.
51730         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
51731         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
51732         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
51733         * debug/wcsncpy_chk.c: Likewise.
51734         * debug/wcsnrtombs_chk.c: Likewise.
51735         * debug/wcsrtombs_chk.c: Likewise.
51736         * debug/wcstombs_chk.c: Likewise.
51737         * debug/wmemcpy_chk.c: Likewise.
51738         * debug/wmemmove_chk.c: Likewise.
51739         * debug/wmempcpy_chk.c: Likewise.
51740         * debug/wmemset_chk.c: Likewise.
51741         * dirent/scandirat.c (SCANDIRAT): Likewise.
51742         * dlfcn/dladdr1.c (dladdr1): Likewise.
51743         * dlfcn/dladdr.c (dladdr): Likewise.
51744         * dlfcn/dlclose.c (dlclose_doit): Likewise.
51745         * dlfcn/dlerror.c (__dlerror): Likewise.
51746         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
51747         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
51748         * dlfcn/dlopen.c (dlopen_doit): Likewise.
51749         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
51750         * dlfcn/dlsym.c (dlsym_doit): Likewise.
51751         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
51752         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
51753         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
51754         Likewise.
51755         * elf/dl-conflict.c: Likewise.
51756         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
51757         * elf/dl-dst.h: Likewise.
51758         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
51759         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
51760         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
51761         * elf/dl-init.c (call_init, _dl_init): Likewise.
51762         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
51763         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
51764         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
51765         Likewise.
51766         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
51767         Likewise.
51768         * elf/dl-minimal.c (__libc_memalign): Likewise.
51769         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
51770         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
51771         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
51772         * elf/dl-sym.c (do_sym): Likewise.
51773         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
51774         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
51775         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
51776         * elf/dl-writev.h (_dl_writev): Likewise.
51777         * elf/ldconfig.c (search_dir): Likewise.
51778         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
51779         (dl_main): Likewise.
51780         * elf/setup-vdso.h (setup_vdso): Likewise.
51781         * grp/compat-initgroups.c (compat_call): Likewise.
51782         * grp/fgetgrent.c (fgetgrent): Likewise.
51783         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
51784         * grp/putgrent.c (putgrent): Likewise.
51785         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
51786         Likewise.
51787         * hurd/hurdinit.c: Likewise.
51788         * iconvdata/8bit-gap.c (struct): Likewise.
51789         * iconvdata/ansi_x3.110.c : Likewise.
51790         * iconvdata/big5.c : Likewise.
51791         * iconvdata/big5hkscs.c : Likewise.
51792         * iconvdata/cp1255.c: Likewise.
51793         * iconvdata/cp1258.c : Likewise.
51794         * iconvdata/cp932.c : Likewise.
51795         * iconvdata/euc-cn.c: Likewise.
51796         * iconvdata/euc-jisx0213.c : Likewise.
51797         * iconvdata/euc-jp.c: Likewise.
51798         * iconvdata/euc-jp-ms.c : Likewise.
51799         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
51800         * iconvdata/gb18030.c : Likewise.
51801         * iconvdata/gbbig5.c (const): Likewise.
51802         * iconvdata/gbgbk.c: Likewise.
51803         * iconvdata/gbk.c : Likewise.
51804         * iconvdata/ibm1364.c : Likewise.
51805         * iconvdata/ibm930.c : Likewise.
51806         * iconvdata/ibm932.c: Likewise.
51807         * iconvdata/ibm933.c : Likewise.
51808         * iconvdata/ibm935.c : Likewise.
51809         * iconvdata/ibm937.c : Likewise.
51810         * iconvdata/ibm939.c : Likewise.
51811         * iconvdata/ibm943.c: Likewise.
51812         * iconvdata/iso_11548-1.c: Likewise.
51813         * iconvdata/iso-2022-cn.c : Likewise.
51814         * iconvdata/iso-2022-cn-ext.c : Likewise.
51815         * iconvdata/iso-2022-jp-3.c: Likewise.
51816         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
51817         * iconvdata/iso-2022-kr.c : Likewise.
51818         * iconvdata/iso646.c (gconv_end): Likewise.
51819         * iconvdata/iso_6937-2.c : Likewise.
51820         * iconvdata/iso_6937.c : Likewise.
51821         * iconvdata/iso8859-1.c: Likewise.
51822         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
51823         * iconvdata/shift_jisx0213.c : Likewise.
51824         * iconvdata/sjis.c : Likewise.
51825         * iconvdata/t.61.c : Likewise.
51826         * iconvdata/tcvn5712-1.c : Likewise.
51827         * iconvdata/tscii.c: Likewise.
51828         * iconvdata/uhc.c : Likewise.
51829         * iconvdata/unicode.c (gconv_end): Likewise.
51830         * iconvdata/utf-16.c (gconv_end): Likewise.
51831         * iconvdata/utf-32.c (gconv_end): Likewise.
51832         * iconvdata/utf-7.c (base64): Likewise.
51833         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
51834         * iconv/gconv_close.c (__gconv_close): Likewise.
51835         * iconv/gconv_open.c (__gconv_open): Likewise.
51836         * iconv/gconv_simple.c (internal_ucs4_loop_single)
51837         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
51838         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
51839         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
51840         (ucs4le_internal_loop_single): Likewise.
51841         * iconv/iconv.c (iconv): Likewise.
51842         * iconv/iconv_close.c: Likewise.
51843         * iconv/loop.c (SINGLE): Likewise.
51844         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
51845         * include/atomic.h: Likewise.
51846         * inet/inet6_option.c (option_alloc): Likewise.
51847         * intl/bindtextdom.c (set_binding_values): Likewise.
51848         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
51849         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
51850         * intl/localealias.c (read_alias_file): Likewise.
51851         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
51852         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
51853         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
51854         * libio/fmemopen.c (fmemopen): Likewise.
51855         * libio/iofgets.c (_IO_fgets): Likewise.
51856         * libio/iofgets_u.c (fgets_unlocked): Likewise.
51857         * libio/iofgetws.c (fgetws): Likewise.
51858         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
51859         * libio/iogetdelim.c (_IO_getdelim): Likewise.
51860         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
51861         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
51862         * locale/findlocale.c (_nl_find_locale): Likewise.
51863         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
51864         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
51865         Likewise.
51866         * locale/setlocale.c (setlocale): Likewise.
51867         * login/programs/pt_chown.c (main): Likewise.
51868         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
51869         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
51870         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
51871         (mmap, mmap64, mremap, munmap): Likewise.
51872         * math/e_exp2l.c: Likewise.
51873         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
51874         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
51875         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
51876         * math/s_catan.c (__catan): Likewise.
51877         * math/s_catanf.c (__catanf): Likewise.
51878         * math/s_catanh.c (__catanh): Likewise.
51879         * math/s_catanhf.c (__catanhf): Likewise.
51880         * math/s_catanhl.c (__catanhl): Likewise.
51881         * math/s_catanl.c (__catanl): Likewise.
51882         * math/s_ccosh.c (__ccosh): Likewise.
51883         * math/s_ccoshf.c (__ccoshf): Likewise.
51884         * math/s_ccoshl.c (__ccoshl): Likewise.
51885         * math/s_cexp.c (__cexp): Likewise.
51886         * math/s_cexpf.c (__cexpf): Likewise.
51887         * math/s_cexpl.c (__cexpl): Likewise.
51888         * math/s_clog10.c (__clog10): Likewise.
51889         * math/s_clog10f.c (__clog10f): Likewise.
51890         * math/s_clog10l.c (__clog10l): Likewise.
51891         * math/s_clog.c (__clog): Likewise.
51892         * math/s_clogf.c (__clogf): Likewise.
51893         * math/s_clogl.c (__clogl): Likewise.
51894         * math/s_csin.c (__csin): Likewise.
51895         * math/s_csinf.c (__csinf): Likewise.
51896         * math/s_csinh.c (__csinh): Likewise.
51897         * math/s_csinhf.c (__csinhf): Likewise.
51898         * math/s_csinhl.c (__csinhl): Likewise.
51899         * math/s_csinl.c (__csinl): Likewise.
51900         * math/s_csqrt.c (__csqrt): Likewise.
51901         * math/s_csqrtf.c (__csqrtf): Likewise.
51902         * math/s_csqrtl.c (__csqrtl): Likewise.
51903         * math/s_ctan.c (__ctan): Likewise.
51904         * math/s_ctanf.c (__ctanf): Likewise.
51905         * math/s_ctanh.c (__ctanh): Likewise.
51906         * math/s_ctanhf.c (__ctanhf): Likewise.
51907         * math/s_ctanhl.c (__ctanhl): Likewise.
51908         * math/s_ctanl.c (__ctanl): Likewise.
51909         * math/w_pow.c: Likewise.
51910         * math/w_powf.c: Likewise.
51911         * math/w_powl.c: Likewise.
51912         * math/w_scalb.c (sysv_scalb): Likewise.
51913         * math/w_scalbf.c (sysv_scalbf): Likewise.
51914         * math/w_scalbl.c (sysv_scalbl): Likewise.
51915         * misc/error.c (error_tail): Likewise.
51916         * misc/pselect.c (__pselect): Likewise.
51917         * nis/nis_callback.c (__nis_create_callback): Likewise.
51918         * nis/nis_call.c (__nisfind_server): Likewise.
51919         * nis/nis_creategroup.c (nis_creategroup): Likewise.
51920         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
51921         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
51922         * nis/nis_getservlist.c (nis_getservlist): Likewise.
51923         * nis/nis_lookup.c (nis_lookup): Likewise.
51924         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
51925         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
51926         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
51927         * nis/nis_xdr.c (xdr_endpoint): Likewise.
51928         * nis/nss_compat/compat-grp.c (getgrent_next_file)
51929         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
51930         * nis/nss_compat/compat-initgroups.c (add_group)
51931         (internal_getgrent_r): Likewise.
51932         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
51933         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
51934         * nis/nss_compat/compat-spwd.c (getspent_next_file)
51935         (internal_getspnam_r): Likewise.
51936         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
51937         (_nss_nis_getaliasbyname_r): Likewise.
51938         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
51939         (_nss_nis_getntohost_r): Likewise.
51940         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
51941         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
51942         (_nss_nis_getgrgid_r): Likewise.
51943         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
51944         (internal_nis_gethostent_r, internal_gethostbyname2_r)
51945         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
51946         (_nss_nis_gethostbyname4_r): Likewise.
51947         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
51948         (initgroups_netid): Likewise.
51949         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
51950         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
51951         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
51952         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
51953         (_nss_nis_getprotobynumber_r): Likewise.
51954         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
51955         (_nss_nis_getsecretkey): Likewise.
51956         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
51957         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
51958         (_nss_nis_getpwuid_r): Likewise.
51959         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
51960         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
51961         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
51962         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
51963         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
51964         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
51965         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
51966         Likewise.
51967         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
51968         (_nss_nisplus_getntohost_r): Likewise.
51969         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
51970         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
51971         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
51972         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
51973         Likewise.
51974         * nis/nss_nisplus/nisplus-initgroups.c
51975         (_nss_nisplus_initgroups_dyn): Likewise.
51976         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
51977         (_nss_nisplus_getnetbyaddr_r): Likewise.
51978         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
51979         (_nss_nisplus_getprotobynumber_r): Likewise.
51980         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
51981         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
51982         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
51983         Likewise.
51984         * nis/nss_nisplus/nisplus-service.c
51985         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
51986         (_nss_nisplus_getservbyport_r): Likewise.
51987         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
51988         (_nss_nisplus_getspnam_r): Likewise.
51989         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
51990         Likewise.
51991         * nscd/aicache.c (addhstaiX): Likewise.
51992         * nscd/cache.c (cache_search, prune_cache): Likewise.
51993         * nscd/connections.c (register_traced_file, send_ro_fd)
51994         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
51995         (main_loop_epoll): Likewise.
51996         * nscd/grpcache.c (addgrbyX): Likewise.
51997         * nscd/hstcache.c (addhstbyX): Likewise.
51998         * nscd/initgrcache.c (addinitgroupsX): Likewise.
51999         * nscd/mem.c (gc, mempool_alloc): Likewise.
52000         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
52001         (addinnetgrX): Likewise.
52002         * nscd/nscd-client.h (__nscd_acquire_maplock)
52003         (__nscd_drop_map_ref): Likewise.
52004         * nscd/nscd_getai.c (__nscd_getai): Likewise.
52005         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
52006         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
52007         Likewise.
52008         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
52009         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
52010         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
52011         (__nscd_get_map_ref): Likewise.
52012         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
52013         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
52014         Likewise.
52015         * nscd/pwdcache.c (addpwbyX): Likewise.
52016         * nscd/selinux.c (preserve_capabilities): Likewise.
52017         * nscd/servicescache.c (addservbyX): Likewise.
52018         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
52019         * posix/fnmatch.c (fnmatch): Likewise.
52020         * posix/getopt.c (_getopt_internal_r): Likewise.
52021         * posix/glob.c (glob, glob_in_dir): Likewise.
52022         * posix/wordexp.c (exec_comm_child): Likewise.
52023         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
52024         (getanswer_r, gaih_getanswer_slice): Likewise.
52025         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
52026         * resolv/res_init.c: Likewise.
52027         * resolv/res_mkquery.c (res_nmkquery): Likewise.
52028         * resolv/res_query.c (__libc_res_nquery): Likewise.
52029         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
52030         Likewise.
52031         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
52032         * stdio-common/perror.c (perror): Likewise.
52033         * stdio-common/printf_fp.c (___printf_fp): Likewise.
52034         * stdio-common/tmpnam.c (tmpnam): Likewise.
52035         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
52036         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
52037         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
52038         Likewise.
52039         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
52040         * stdlib/putenv.c (putenv): Likewise.
52041         * stdlib/setenv.c (__add_to_environ): Likewise.
52042         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
52043         * stdlib/strtol_l.c (INTERNAL): Likewise.
52044         * string/memmem.c (memmem): Likewise.
52045         * string/strerror.c (strerror): Likewise.
52046         * string/strnlen.c (__strnlen): Likewise.
52047         * string/test-memmem.c (simple_memmem): Likewise.
52048         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
52049         * sunrpc/pm_getport.c (__get_socket): Likewise.
52050         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
52051         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
52052         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
52053         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
52054         Likewise.
52055         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
52056         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
52057         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
52058         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
52059         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
52060         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
52061         Likewise.
52062         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
52063         Likewise.
52064         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
52065         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
52066         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
52067         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
52068         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
52069         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
52070         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
52071         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
52072         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
52073         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
52074         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
52075         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
52076         Likewise.
52077         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
52078         Likewise.
52079         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
52080         Likewise.
52081         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
52082         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
52083         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
52084         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
52085         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
52086         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
52087         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
52088         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
52089         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
52090         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
52091         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
52092         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
52093         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
52094         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
52095         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
52096         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
52097         Likewise.
52098         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
52099         Likewise.
52100         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
52101         Likewise.
52102         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
52103         Likewise.
52104         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
52105         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
52106         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
52107         Likewise.
52108         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
52109         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
52110         * sysdeps/posix/opendir.c (__opendirat): Likewise.
52111         * sysdeps/posix/sleep.c: Likewise.
52112         * sysdeps/posix/tempname.c: Likewise.
52113         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
52114         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
52115         Likewise.
52116         * sysdeps/powerpc/powerpc32/dl-machine.h
52117         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
52118         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
52119         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
52120         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
52121         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
52122         Likewise.
52123         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
52124         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
52125         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
52126         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
52127         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
52128         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
52129         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
52130         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
52131         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
52132         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
52133         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
52134         (elf_machine_lazy_rel): Likewise.
52135         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
52136         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
52137         (elf_machine_lazy_rel): Likewise.
52138         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
52139         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
52140         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
52141         * sysdeps/unix/grantpt.c (grantpt): Likewise.
52142         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
52143         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
52144         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
52145         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
52146         Likewise.
52147         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
52148         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
52149         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
52150         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
52151         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
52152         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
52153         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
52154         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
52155         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
52156         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
52157         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
52158         Likewise.
52159         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
52160         (__posix_fallocate64_l64): Likewise.
52161         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
52162         (posix_fallocate): Likewise.
52163         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
52164         Likewise.
52165         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
52166         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
52167         (getifaddrs_internal): Likewise.
52168         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
52169         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
52170         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
52171         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
52172         * sysdeps/unix/sysv/linux/posix_fallocate64.c
52173         (__posix_fallocate64_l64): Likewise.
52174         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
52175         Likewise.
52176         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
52177         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
52178         (__get_clockfreq): Likewise.
52179         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
52180         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
52181         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
52182         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
52183         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
52184         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
52185         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
52186         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
52187         Likewise.
52188         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
52189         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
52190         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
52191         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
52192         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
52193         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
52194         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
52195         Likewise.
52196         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
52197         (posix_fallocate): Likewise.
52198         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
52199         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
52200         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
52201         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
52202         (elf_machine_rela, elf_machine_rela_relative)
52203         (elf_machine_lazy_rel): Likewise.
52204         * time/asctime.c (asctime_internal): Likewise.
52205         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
52206         * time/tzset.c (__tzset_parse_tz): Likewise.
52207         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
52208         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
52209         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
52210         * wcsmbs/wcsmbsload.h: Likewise.
52212         [BZ #15894]
52213         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
52215         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
52216         (arena_get2): Remove THREAD_STATS conditionals.
52217         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
52218         (__malloc_stats, int): Likewise.
52220 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
52222         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
52223         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
52225         * manual/setjmp.texi: Fix typos/grammar errors.
52227         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
52228         Only return early when n is <= 0.  Delete unused return statement.
52230         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
52231         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
52232         * debug/tst-longjmp_chk3.c: New file.
52234         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
52235         (test_main): Replace code with set_fortify_handler call.
52236         * debug/test-strcpy_chk.c: Likewise.
52237         * debug/tst-chk1.c: Likewise.
52238         * debug/tst-longjmp_chk.c: Likewise.
52239         * test-skeleton.c: Include fcntl.h & paths.h
52240         (set_fortify_handler): Define.
52242         * debug/tst-longjmp_chk.c: Add header comment and include
52243         ../test-skeleton.c.
52244         (do_test): Mark static.
52245         (TEST_FUNCTION): Define.
52247         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
52248         (IP_PMTUDISC_INTERFACE): Likewise.
52249         (IP_MULTICAST_IF): Likewise.
52250         (IP_MULTICAST_TTL): Likewise.
52251         (IP_MULTICAST_LOOP): Likewise.
52252         (IP_ADD_MEMBERSHIP): Likewise.
52253         (IP_DROP_MEMBERSHIP): Likewise.
52254         (IP_UNBLOCK_SOURCE): Likewise.
52255         (IP_BLOCK_SOURCE): Likewise.
52256         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
52257         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
52258         (IP_MSFILTER): Likewise.
52259         (MCAST_JOIN_GROUP): Likewise.
52260         (MCAST_BLOCK_SOURCE): Likewise.
52261         (MCAST_UNBLOCK_SOURCE): Likewise.
52262         (MCAST_LEAVE_GROUP): Likewise.
52263         (MCAST_JOIN_SOURCE_GROUP): Likewise.
52264         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
52265         (MCAST_MSFILTER): Likewise.
52266         (IP_MULTICAST_ALL): Likewise.
52267         (IP_UNICAST_IF): Likewise.
52269         * timezone/Makefile: Delete $(have-ksh) check.
52270         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
52271         * timezone/tzselect.ksh: Add +x mode bits.
52273         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
52274         (ANON_INODE_FS_MAGIC): Likewise.
52275         (BDEVFS_MAGIC): Likewise.
52276         (BINFMTFS_MAGIC): Likewise.
52277         (BTRFS_TEST_MAGIC): Likewise.
52278         (CRAMFS_MAGIC_WEND): Likewise.
52279         (DEBUGFS_MAGIC): Likewise.
52280         (ECRYPTFS_SUPER_MAGIC): Likewise.
52281         (EXT3_SUPER_MAGIC): Likewise.
52282         (EXT4_SUPER_MAGIC): Likewise.
52283         (FUTEXFS_SUPER_MAGIC): Likewise.
52284         (HOSTFS_SUPER_MAGIC): Likewise.
52285         (HUGETLBFS_MAGIC): Likewise.
52286         (MINIX3_SUPER_MAGIC): Likewise.
52287         (MTD_INODE_FS_MAGIC): Likewise.
52288         (NILFS_SUPER_MAGIC): Likewise.
52289         (OPENPROM_SUPER_MAGIC): Likewise.
52290         (PIPEFS_MAGIC): Likewise.
52291         (PSTOREFS_MAGIC): Likewise.
52292         (QNX6_SUPER_MAGIC): Likewise.
52293         (RAMFS_MAGIC): Likewise.
52294         (REISERFS_SUPER_MAGIC_STRING): Likewise.
52295         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
52296         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
52297         (SECURITYFS_MAGIC): Likewise.
52298         (SELINUX_MAGIC): Likewise.
52299         (SMACK_MAGIC): Likewise.
52300         (SOCKFS_MAGIC): Likewise.
52301         (SQUASHFS_MAGIC): Likewise.
52302         (STACK_END_MAGIC): Likewise.
52303         (TMPFS_MAGIC): Likewise.
52304         (USBDEVICE_SUPER_MAGIC): Likewise.
52305         (V9FS_MAGIC): Likewise.
52306         (XENFS_SUPER_MAGIC): Likewise.
52307         (CRAMFS_MAGIC): Fix typo in comment.
52308         (EXT2_SUPER_MAGIC): Update comment.
52309         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
52311 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
52313         * sysdeps/arm: Move directory from ports/sysdeps/arm.
52314         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
52315         * sysdeps/unix/sysv/linux/arm: Move directory from
52316         ports/sysdeps/unix/sysv/linux/arm.
52317         * README: Update listing for arm-*-linux-gnueabi.
52319         * README: Remove mention of am33.
52321 2014-02-07  Roland McGrath  <roland@hack.frob.com>
52323         * bits/sigset.h (__sigemptyset): Use a statement expression rather
52324         than the comma operator, to avoid "rhs of comma has no effect"
52325         compiler warnings.
52326         (__sigfillset, __sigandset, __sigorset): Likewise.
52327         * include/signal.h (__sigemptyset): Likewise.
52328         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
52330 2014-02-07  Allan McRae  <allan@archlinux.org>
52332         * version.h (RELEASE): Set to "development".
52333         (VERSION): Set to "2.19.90"
52334         * NEWS: Add 2.20 section.
52336 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
52338         [BZ #16529]
52339         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
52341 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
52343         * manual/contrib.texi: Update entry for Carlos O'Donell,
52344         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
52346 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
52348         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
52350         * sysdeps/unix/sysv/linux/kernel-features.h
52351         [__LINUX_KERNEL_VERSION >= 0x020621]
52352         (__ASSUME_PROC_PID_TASK_COMM): Define.
52354 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
52356         [BZ #16398]
52357         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
52358         conversion when destination buffer does not have enough space.
52359         * libio/tst-ftell-partial-wide.c: New test case.
52360         * libio/Makefile (tests): Add tst-ftell-partial-wide.
52362         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
52363         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
52364         Leonard and Allan McRae.
52366 2014-02-04  David S. Miller  <davem@davemloft.net>
52368         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
52369         32-bit.
52371 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52373         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
52374         New file
52375         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
52376         New file
52377         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
52378         New file.
52379         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
52380         New file.
52381         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
52382         New file.
52383         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
52384         New file.
52385         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
52386         New file.
52387         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
52388         New file.
52389         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
52390         New file.
52391         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
52392         New file.
52393         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
52394         New file.
52395         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
52396         New file.
52397         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
52398         New file.
52400 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52402         * nptl/shlib-versions: Change powerpc*le start to 2.17.
52403         * shlib-versions: Likewise.
52405 2014-02-04  Roland McGrath  <roland@hack.frob.com>
52406             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52408         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
52409         (abilist-pattern): New variable, set to %-le.abilist.
52411         * Makerules (abilist-pattern): New variable.
52412         (vpath): Use $(abilist-pattern) in place of %.abilist.
52413         (check-abi-% pattern rule): Likewise.
52414         (check-abi, update-abi): Likewise.
52416 2014-02-04  Eric Wong  <normalperson@yhbt.net>
52418         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
52420 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
52422         * manual/startup.texi: Add next, previous, and top entries for
52423         the `Program Arguments' and `Environment Variables' nodes.
52425 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
52427         * manual/macros.texi: Add comments before MTASC-safety macros.
52429         * manual/users.texi: Document MTASC-safety properties.
52431         * manual/threads.texi (pthread_key_create, pthread_key_delete)
52432         (pthread_getspecific, pthread_setspecific): Format with
52433         @deftypefun, and add @safety note.
52434         * manual/signal.texi: Move comments that analyze the above
52435         functions to their home place.
52437 2014-02-03  Allan McRae  <allan@archlinux.org>
52439         * po/sl.po: Update Slovenian translation from translation project.
52441 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
52443         * manual/time.texi (timegm): Add missing blank after @c.
52444         Reported by Joseph Myers <joseph@codesourcery.com>.
52446 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
52448         * manual/check-safety.sh: New.
52449         * manual/Makefile ($(objpfx)stamp-summary): Run it.
52451         * manual/terminal.texi: Document MTASC-safety properties.
52453         * manual/filesys.texi: Document MTASC-safety properties.
52455         * manual/errno.texi: Document MTASC-safety properties.
52457         * manual/intro.texi: Document safety identifiers and
52458         conditionals.
52460         * manual/string.texi (wcstok): Fix prototype.
52461         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
52463         * manual/time.texi: Document MTASC-safety properties.
52465         * manual/string.texi: Document MTASC-safety properties.
52467         * manual/threads.texi: Document MTASC-safety properties.
52469         * manual/stdio.texi: Document MTASC-safety properties.
52471         * manual/syslog.texi: Document MTASC-safety properties.
52473         * manual/sysinfo.texi: Document MTASC-safety properties.
52475         * manual/startup.texi: Document MTASC-safety properties.
52477         * manual/socket.texi: Document MTASC-safety properties.
52479         * manual/signal.texi: Document MTASC-safety properties.
52481 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
52483         * manual/setjmp.texi: Document MTASC-safety properties.
52485         * manual/search.texi: Document MTASC-safety properties.
52487         * manual/resource.texi: Document MTASC-safety properties.
52489         * manual/process.texi: Document MTASC-safety properties.
52491         * manual/platform.texi: Document MTASC-safety properties.
52493         * manual/pipe.texi: Document MTASC-safety properties.
52495         * manual/pattern.texi: Document MTASC-safety properties.
52497         * manual/message.texi: Document MTASC-safety properties.
52499         [BZ #12751]
52500         * manual/memory.texi: Document MTASC-safety properties.
52502         * manual/math.texi: Document MTASC-safety properties.
52504         * manual/locale.texi: Document MTASC-safety properties.
52506         * manual/llio.texi: Document MTASC-safety properties.
52508         * manual/libdl.texi: New.
52510         * manual/lang.texi: Document MTASC-safety properties.
52512         * manual/job.texi: Document MTASC-safety properties.
52514         * manual/getopt.texi: Document MTASC-safety properties.
52516         * manual/ctype.texi: Document MTASC-safety properties.
52518 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
52520         [BZ #16046]
52521         * csu/libc-tls.c (static_map): Remove variable.
52522         (__libc_setup_tls): Use main executable's link map for TLS data.
52523         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
52524         casing for LM_ID_BASE and GL(dl_nns).
52525         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
52526         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
52527         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
52528         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
52529         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
52530         member.
52531         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
52532         l_phnum members.
52534 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
52536         * manual/debug.texi: Document MTASC-safety properties.
52538 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
52540         [BZ #16510]
52541         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
52542         of __x86_64__ when disabling x87 inline functions.
52544 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
52546         * manual/charset.texi: Document MTASC-safety properties.
52548         * manual/crypt.texi: Document MTASC-safety properties.
52550         * manual/conf.texi: Document MTASC-safety properties.
52552         * manual/arith.texi: Document MTASC-safety properties.
52554         * manual/argp.texi: Document MTASC-safety properties.
52556         * manual/macros.texi: Introduce macros to document multi
52557         thread, asynchronous signal and asynchronous cancellation
52558         safety properties.
52559         * manual/intro.texi: Introduce the properties themselves.
52561 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
52563         * sysdeps/sh/sh4/Makefile: New file.
52565 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
52567         * math/gen-libm-test.pl ($srcdir): New variable.
52568         ($auto_input): Use it.
52570 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
52572         [BZ #16506]
52573         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
52574         access beyond array bounds when parsing netgroups file.
52576         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
52577         the old buffer before realloc.
52579 2014-01-27  Allan McRae  <allan@archlinux.org>
52581         * po/fr.po: Update French translation from translation project.
52583 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
52585         * sysdeps/sh/libm-test-ulps: Regenerate.
52587 2014-01-24  David S. Miller  <davem@davemloft.net>
52589         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
52591 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
52593         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
52594         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
52596 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
52598         [BZ #16474]
52599         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
52600         string pointers after reallocation.
52602 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
52604         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
52605         __SH4A__ instead of __SH_FPU_ANY__.
52607 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
52609         * sysdeps/sh/fpu_control.h: New file.
52610         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
52611         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
52612         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
52613         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
52614         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
52615         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
52616         * sysdeps/sh/sys/ucontext.h: Remove.
52617         * sysdeps/sh/sys: Remove directory.
52619 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
52621         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
52622         s390/sys/ucontext.h.
52623         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
52624         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
52626 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
52628         [BZ #15605]
52629         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
52631 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52633         [BZ #16431]
52634         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
52635         Adjust the vDSO correctly for internal calls.
52636         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
52638 2014-01-20  Allan McRae  <allan@archlinux.org>
52640         * po/ca.po: Update Catalan translation from translation project.
52642 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
52644         * sysdeps/s390/sotruss-lib.c: New file.
52646 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52648         [BZ #16430]
52649         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
52650         (__GI___gettimeofday): Alias for a different internal symbol to avoid
52651         local calls issues by not having a PLT stub required for IFUNC calls.
52652         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
52654 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
52656         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
52657         * math/test-fpucw-static.c: Likewise.
52659 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
52661         [BZ #16453]
52662         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
52664 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52666         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
52667         implementation for powerpc.
52669 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
52671         [BZ #14782]
52672         * sysdeps/posix/system.c (__libc_system): Do not enable
52673         asynchronous cancellation.
52675 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
52677         [BZ #16427]
52678         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
52679         handling only for numbers special also in the IEEE case.
52681 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
52683         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
52685 2014-01-11  Allan McRae  <allan@archlinux.org>
52687         * po/bg.po: Update Bulgarian translation from translation project.
52689         * po/de.po: Update German translation from translation project.
52691 2014-01-10  Roland McGrath  <roland@hack.frob.com>
52693         * sysdeps/generic/gcc-compat.h: New file.
52695 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
52697         * benchtests/asin-inputs: Correct slow inputs.
52698         * benchtests/acos-inputs: Likewise.
52700 2014-01-10  Allan McRae  <allan@archlinux.org>
52702         * po:sv.po: Update Swedish translation from translation project.
52704         * po/vi.po: Update Vietnamese translation from translation project.
52706         * po/eo.po: Update Esperanto translation from translation project.
52708         * po/cs.po: Update Czech translation from translation project.
52710         * po/nl.po: Update Dutch translation from translation project.
52712         * po/pl.po: Update Polish translation from translation project.
52714         * po/ru.po: Update Russian translation from translation project.
52716         * po/uk.po: Update Ukrainian translation from translation project.
52718 2014-01-08  Brooks Moses  <bmoses@google.com>
52720         * elf/dl-load.c: Fix comment typo.
52722 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
52724         * po/header.pot: Rename to...
52725         * po/pot.header: ... this.
52726         * po/Makefile: Use pot.header.
52728 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
52729             Maxim Kuvyrkov  <maxim@kugelworks.com>
52731         [BZ #16394]
52732         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
52733         SRC and DEST against LEN.
52735 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52737         [BZ #16414]
52738         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
52739         implementation.
52740         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
52742 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52744         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52746 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
52748         [BZ #16408]
52749         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
52750         for large positive arguments.
52752 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
52754         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
52756         * math/auto-libm-test-in: Mark various tests with
52757         xfail-rounding:ldbl-128ibm.
52758         * math/auto-libm-test-out: Regenerated.
52760         [BZ #16407]
52761         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
52762         Increase overflow threshold.
52764 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
52766         [BZ #14286]
52767         * stdio-common/vfprintf.c: Check for integer overflow.
52769 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
52771         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
52772         the first argument and return value of __tls_get_addr_internal.
52774 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
52776         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
52777         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
52779 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
52781         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
52782         * sysdeps/s390/rtld-global-offsets.sym: New file.
52783         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
52784         GLIBC_2.19 symbol.
52785         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
52786         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
52787         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
52788         ... this.
52789         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
52790         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
52791         ... this.
52792         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
52793         Regenerate.
52794         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
52795         Regenerate.
52796         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
52797         halfs of GPRs for high_gprs contexts.
52798         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
52799         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
52800         field.
52801         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
52802         uc_flags field.
52803         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
52804         64 bit versions:
52805         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
52806         for high GPRs (uc_high_gprs) and for future extensions
52807         (__reserved).
52808         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
52809         for future extensions (__reserved).
52810         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
52811         64 bit versions:
52812         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
52813         SC_HIGHGPRS offset definition.
52814         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
52815         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
52817         * Versions.def: Add GLIBC_2.19 for libpthread.
52818         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
52819         siglongjmp for libpthread with GLIBC_2.19 symver.
52820         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
52821         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
52822         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
52823         * sysdeps/s390/__longjmp.c: New file.
52824         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
52825         * sysdeps/s390/longjmp.c: New file.
52826         * sysdeps/s390/setjmp.S: New file.
52827         * sysdeps/s390/sigjmp.S: New file.
52828         * sysdeps/s390/v1-longjmp.c: New file.
52829         * sysdeps/s390/v1-setjmp.h: New file.
52830         * sysdeps/s390/v1-sigjmp.c: New file.
52831         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
52832         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
52833         GLIBC_2.19 version.
52834         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
52835         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
52836         versioned symbols for ____longjmp_chk.
52837         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
52838         Likewise.
52839         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
52840         Regenerate.
52841         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
52842         Regenerate.
52843         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
52844         Regenerate.
52845         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
52846         Regenerate.
52847         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
52848         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
52849         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
52850         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
52851         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
52852         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
52853         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
52854         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
52855         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
52856         * sysdeps/s390/rtld-__longjmp.c: New file.
52857         * sysdeps/s390/rtld-setjmp.S: New file.
52859 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
52861         [BZ #16400]
52862         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
52863         Return -__logl (x) for small positive arguments without evaluating
52864         a polynomial.
52866 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
52868         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
52869         Rename to ...
52870         (__ptrace_peeksiginfo_args): ... this.
52871         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
52872         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
52873         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
52875 2014-01-06  Allan McRae  <allan@archlinux.org>
52877         * inet/netinet/in.h: Fix typo in comment.
52879 2014-01-05  Andreas Jaeger  <aj@suse.de>
52881         * sysdeps/i386/fpu/libm-test-ulps: Update.
52883 2014-01-05  Allan McRae  <allan@archlinux.org>
52885         * po/libc.pot: Regenerated.
52887         * malloc/memusagestat.c: Fix gettext call formatting.
52889 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
52891         * nscd/nscd.c: Improve usage() output.
52893 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
52895         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
52896         * sysdeps/unix/sysv/linux/configure: Regenerated.
52897         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
52898         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
52900 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
52902         [BZ #16390]
52903         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
52904         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
52906 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52908         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
52909         extra tokens at end of #undef directive.
52910         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
52911         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
52912         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
52914 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
52916         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
52918         * math/auto-libm-test-in: Mark various tests with
52919         xfail-rounding:ldbl-128ibm.
52920         * math/auto-libm-test-out: Regenerated.
52922 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
52924         [BZ #16386]
52925         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
52926         numbers with subnormal high part when calculating exponent.
52928         [BZ #16385]
52929         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
52930         fabs.
52932         [BZ #16384]
52933         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
52934         M_LN2l.
52935         (__ieee754_acoshl): Use __log1pl not __log1p.
52937 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
52939         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
52940         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
52941         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
52942         (grow_heap, heap_trim, _int_new_arena, get_free_list)
52943         (reused_arena, arena_get2): Convert to GNU style.
52944         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
52945         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
52946         (memalign_check, __malloc_set_state): Likewise.
52947         * malloc/mallocbug.c (main): Likewise.
52948         * malloc/malloc.c (__malloc_assert, malloc_init_state)
52949         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
52950         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
52951         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
52952         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
52953         (__posix_memalign, malloc_info): Likewise.
52954         * malloc/malloc.h: Likewise.
52955         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
52956         (mallochook, memalignhook, reallochook, mabort): Likewise.
52957         * malloc/mcheck.h: Likewise.
52958         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
52959         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
52960         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
52961         * malloc/morecore.c (__default_morecore): Likewise.
52962         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
52963         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
52964         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
52965         (print_and_abort): Likewise.
52966         * malloc/obstack.h: Likewise.
52967         * malloc/set-freeres.c (__libc_freeres): Likewise.
52968         * malloc/tst-mallocstate.c (main): Likewise.
52969         * malloc/tst-mtrace.c (main): Likewise.
52970         * malloc/tst-realloc.c (do_test): Likewise.
52972 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
52974         [BZ #16366]
52975         * nscd/netgroupcache.c (do_notfound): New function.
52976         (addgetnetgrentX): Use it.
52978         [BZ # 16365]
52979         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
52980         NSS_STATUS_NOTFOUND.
52982 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
52984         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
52985         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52987 2014-01-01  Allan McRae  <allan@archlinux.org>
52989         * scripts/update-copyrights: Update configure input file suffix.
52991         * NEWS: Update copyright year.
52992         * catgets/gencat.c: Likewise.
52993         * csu/version.c: Likewise.
52994         * debug/catchsegv.sh: Likewise.
52995         * debug/pcprofiledump.c: Likewise.
52996         * debug/xtrace.sh: Likewise.
52997         * elf/ldconfig.c: Likewise.
52998         * elf/ldd.bash.in: Likewise.
52999         * elf/pldd.c: Likewise.
53000         * elf/sotruss.ksh: Likewise.
53001         * elf/sprof.c: Likewise.
53002         * iconv/iconv_prog.c: Likewise.
53003         * iconv/iconvconfig.c: Likewise.
53004         * locale/programs/locale.c: Likewise.
53005         * locale/programs/localedef.c: Likewise.
53006         * login/programs/pt_chown.c: Likewise.
53007         * malloc/memusage.sh: Likewise.
53008         * malloc/memusagestat.c: Likewise.
53009         * malloc/mtrace.pl: Likewise.
53010         * manual/libc.texinfo: Likewise.
53011         * nscd/nscd.c: Likewise.
53012         * nss/getent.c: Likewise.
53013         * nss/makedb.c: Likewise.
53014         * posix/getconf.c: Likewise.
53015         * scripts/test-installation.pl: Likewise.
53017         * All files with FSF copyright notices: Update copyright dates
53018         using scripts/update-copyrights.
53019         * intl/plural.c: Regenerated.
53020         * locale/programs/charmap-kw.h: Likewise.
53021         * locale/programs/locfile-kw.h: Likewise.
53023 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
53025         * sysdeps/unix/sysv/linux/configure: Regenerated.
53026         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
53027         the linux/fanotify.h header.
53028         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
53029         HAVE_LINUX_FANOTIFY_H is defined.
53031 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
53033         * benchtests/cos-inputs: New inputs.
53034         * benchtests/sin-inputs: Likewise.
53036         * benchtests/atan-inputs: New inputs. Fix name of multiple
53037         precision fallback inputs.
53039         * benchtests/atanh-inputs: New inputs.
53040         * benchtests/tanh-inputs: Likewise.
53042         * benchtests/acosh-inputs: New inputs.
53043         * benchtests/asinh-inputs: Likewise.
53045         * benchtests/cosh-inputs: New inputs.
53046         * benchtests/sinh-inputs: Likewise.
53048         * benchtests/acos-inputs: Add more inputs.
53049         * benchtests/asin-inputs: Likewise.
53051 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
53053         [BZ #16375]
53054         * manual/arith.texi: Fix spelling.
53055         * manual/charset.texi: Likewise.
53056         * manual/errno.texi: Likewise.
53057         * manual/filesys.texi: Likewise.
53058         * manual/lang.texi: Likewise.
53059         * manual/llio.texi: Likewise.
53060         * manual/locale.texi: Likewise.
53061         * manual/message.texi: Likewise.
53062         * manual/resource.texi: Likewise.
53063         * manual/search.texi: Likewise.
53064         * manual/setjmp.texi: Likewise.
53065         * manual/stdio.texi: Likewise.
53066         * manual/string.texi: Likewise.
53067         * manual/sysinfo.texi: Likewise.
53068         * manual/time.texi: Likewise.
53070 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
53072         * po/sl.po: New file.
53074 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
53076         * .gitignore: Add core/.gdbinit/.gdb_history.
53078 2013-12-27  Allan McRae  <allan@archlinux.org>
53080         [BZ #16369]
53081         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
53082         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
53084 2013-12-24  Brooks Moses  <bmoses@google.com>
53086         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
53087         all compilers that claim C++98 compliance, not just GCC.
53088         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
53089         Likewise.
53091 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
53093         * NEWS: Restore accidentally deleted bug-fix entries.
53095 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
53096             Ondřej Bílka  <neleai@seznam.cz>
53098         [BZ #15073]
53099         * malloc/malloc.c (_int_free): Perform sanity check only if we
53100         have_lock.
53102 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
53104         [BZ #12986]
53105         * manual/stdio.texi (String Input Conversions): Clarify that character
53106         classes are not supported.
53108 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53110         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53112 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
53114         [BZ #16337]
53115         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
53116         Calculate results for small negative arguments directly rather
53117         than using reflection formula with special underflow handling.
53119         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
53120         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
53121         sysdeps/unix/bsd/bsd4.4/syscalls.list.
53122         (fchflags): Likewise.
53123         (revoke): Likewise.
53124         (setlogin): Likewise.
53125         (sigaltstack): Likewise.
53126         (wait4): Likewise.
53127         (sigblock): Remove.
53128         (sigsetmask): Likewise.
53129         (wait3): Likewise.
53130         (waitpid): Likewise.
53131         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
53132         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
53133         file.
53134         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
53135         * sysdeps/unix/bsd/Makefile: ... here.
53136         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
53137         * sysdeps/unix/bsd/Versions: ... here.
53138         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
53139         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
53140         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
53141         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
53142         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
53143         * sysdeps/unix/bsd/sigblock.c: ... here.
53144         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
53145         * sysdeps/unix/bsd/sigsetmask.c: ... here.
53146         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
53147         * sysdeps/unix/bsd/sigvec.c: ... here.
53148         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
53149         * sysdeps/unix/bsd/tcdrain.c: ... here.
53150         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
53151         * sysdeps/unix/bsd/tcgetattr.c: ... here.
53152         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
53153         * sysdeps/unix/bsd/tcsetattr.c: ... here.
53154         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
53155         * sysdeps/unix/bsd/wait.c: ... here.
53156         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
53157         * sysdeps/unix/bsd/wait3.c: ... here.
53158         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
53159         * sysdeps/unix/bsd/waitpid.c: ... here.
53161 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
53163         [BZ #16356]
53164         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
53165         round-to-nearest for [!USE_AS_EXPM1L].
53166         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
53167         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
53168         more tests of exp and exp10.  Expect some exp10 tests to miss
53169         exceptions or fail in directed rounding modes.
53170         * math/auto-libm-test-out: Regenerated.
53171         * math/libm-test.inc (exp10_tonearest_test_data): New array.
53172         (exp10_test_tonearest): New function.
53173         (exp10_towardzero_test_data): New array.
53174         (exp10_test_towardzero): New function.
53175         (exp10_downward_test_data): New array.
53176         (exp10_test_downward): New function.
53177         (exp10_upward_test_data): New array.
53178         (exp10_test_upward): New function.
53179         (main): Call the new functions.
53180         * sysdeps/i386/fpu/libm-test-ulps: Update.
53181         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53183 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
53185         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
53186         asinh, atan, atan2, atanh, cbrt, cos and cosh.
53187         * math/auto-libm-test-out: Regenerated.
53188         * math/libm-test.inc (acosh_test_data): Add more tests.
53189         (atanh_test_data): Likewise.
53190         (ceil_test_data): Likewise.
53191         (copysign_test_data): Likewise.
53192         * sysdeps/i386/fpu/libm-test-ulps: Update.
53193         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53195         * timezone/checktab.awk: Update from tzcode 2013i.
53196         * timezone/private.h: Likewise.
53197         * timezone/scheck.c: Likewise.
53198         * timezone/tzfile.h: Likewise.
53199         * timezone/tzselect.ksh: Likewise.
53200         * timezone/zdump.c: Likewise.
53201         * timezone/zic.c: Likewise.
53203         * math/auto-libm-test-in: Add tests of cpow.
53204         * math/auto-libm-test-out: Regenerated.
53205         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
53206         * math/gen-auto-libm-tests.c (func_calc_method): Add value
53207         mpc_cc_c.
53208         (func_calc_desc): Add mpc_cc_c union field.
53209         (test_functions): Add cpow.
53210         (special_fill_2pi): New function.
53211         (special_real_inputs): Add 2pi.
53212         (calc_generic_results): Handle mpc_cc_c.
53213         * sysdeps/i386/fpu/libm-test-ulps: Update.
53214         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53216         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
53217         csqrt, ctan and ctanh.
53218         * math/auto-libm-test-out: Regenerated.
53219         * math/libm-test.inc (TEST_COND_x86_64): New macro.
53220         (TEST_COND_x86): Likewise.
53221         (ccos_test_data): Use AUTO_TESTS_c_c.
53222         (ccosh_test_data): Likewise.
53223         (cexp_test_data): Likewise.
53224         (clog_test_data): Likewise.
53225         (csqrt_test_data): Likewise.
53226         (ctan_test_data): Likewise.
53227         (ctan_tonearest_test_data): Likewise.
53228         (ctan_towardzero_test_data): Likewise.
53229         (ctan_downward_test_data): Likewise.
53230         (ctan_upward_test_data): Likewise.
53231         (ctanh_test_data): Likewise.
53232         (ctanh_tonearest_test_data): Likewise.
53233         (ctanh_towardzero_test_data): Likewise.
53234         (ctanh_downward_test_data): Likewise.
53235         (ctanh_upward_test_data): Likewise.
53236         * math/gen-auto-libm-tests.c (func_calc_method): Add value
53237         mpc_c_c.
53238         (func_calc_desc): Add mpc_c_c union field.
53239         (FUNC_mpc_c_c): New macro.
53240         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
53241         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
53242         ctanh.
53243         (special_fill_min_subnorm_p120): New function.
53244         (special_real_inputs): Add min_subnorm_p120.
53245         (calc_generic_results): Handle mpc_c_c.
53246         * sysdeps/i386/fpu/libm-test-ulps: Update.
53247         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53249 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
53251         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
53252         (do_sin_slow): New functions.
53253         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
53254         (cslow2, csloww1, csloww2): Use the new functions.
53256         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
53257         Use M to change sign of result instead of X.  Assume X is
53258         positive.
53259         (csloww1): Likewise.
53260         (__sin): Adjust.
53261         (__cos): Adjust.
53263         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
53264         arguments A and DA.
53265         (__sin): Adjust.
53266         (__cos): Likewise.
53268         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
53269         (__cos): Likewise.
53270         (sloww1): Don't adjust sign of DX.
53271         (csloww1): Likewise.
53272         (sloww2): Use X directly and don't adjust sign of DX.
53273         (csloww2): Likewise.
53275 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
53277         * math/auto-libm-test-in: Add tests of cabs and carg.
53278         * math/auto-libm-test-out: Regenerated.
53279         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
53280         (carg_test_data): Likewise.
53281         * math/gen-auto-libm-tests.c (func_calc_method): Add value
53282         mpc_c_f.
53283         (func_calc_desc): Add mpc_c_f union field.
53284         (test_functions): Add cabs and carg.
53285         (calc_generic_results): Handle mpc_c_f.
53287         * sysdeps/powerpc/powerpc32/libgcc-compat.S
53288         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
53289         as a macro and a compat symbol.
53290         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
53291         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
53292         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
53293         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
53294         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
53295         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
53296         not use .hidden.
53297         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
53298         Likewise.
53299         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
53300         Likewise.
53301         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
53302         Likewise.
53303         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
53304         Likewise.
53305         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
53306         Likewise.
53307         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
53308         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
53309         from GLIBC_2.3.2.
53311 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53313         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53315 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
53317         * manual/texinfo.tex: Update to version 2013-11-26.10 with
53318         trailing whitespace removed.
53319         * scripts/config.guess: Update to version 2013-11-29.
53320         * scripts/config.sub: Update to version 2013-10-01.
53322         * math/auto-libm-test-in: Add tests of sincos.
53323         * math/auto-libm-test-out: Regenerated.
53324         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
53325         * math/gen-auto-libm-tests.c (func_calc_method): Add value
53326         mpfr_f_11.
53327         (func_calc_desc): Add mpfr_f_11 union field.
53328         (test_functions): Add sincos.
53329         (calc_generic_results): Handle mpfr_f_11.
53330         * sysdeps/i386/fpu/libm-test-ulps: Update.
53331         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53333 2013-12-19  Andreas Schwab  <schwab@suse.de>
53335         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
53336         CALL_MCOUNT.
53337         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
53338         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
53339         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
53341 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
53343         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
53344         * sysdeps/i386/fpu/libm-test-ulps: Update.
53345         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53347         [BZ #16293]
53348         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
53349         round-to-nearest mode when using frndint.
53350         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
53351         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
53352         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
53353         Likewise.
53354         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
53355         sinh test to fail.
53356         * math/auto-libm-test-out: Regenerated.
53357         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
53358         (TEST_COND_x86): Likewise.
53359         (expm1_tonearest_test_data): New array.
53360         (expm1_test_tonearest): New function.
53361         (expm1_towardzero_test_data): New array.
53362         (expm1_test_towardzero): New function.
53363         (expm1_downward_test_data): New array.
53364         (expm1_test_downward): New function.
53365         (expm1_upward_test_data): New array.
53366         (expm1_test_upward): New function.
53367         (main): Run the new test functions.
53368         * sysdeps/i386/fpu/libm-test-ulps: Update.
53369         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53371         * include/features.h: Update comment documenting feature test
53372         macros.  Mention _DEFAULT_SOURCE in comment.
53373         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
53374         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
53375         _BSD_SOURCE and _SVID_SOURCE.
53376         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
53377         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
53378         !_SVID_SOURCE]: Likewise.
53379         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
53380         (__USE_POSIX_IMPLICITLY): Define.
53381         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
53382         (_POSIX_SOURCE): Undefine and redefine.
53383         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
53384         (_POSIX_C_SOURCE): Likewise.
53385         * manual/creature.texi (_DEFAULT_SOURCE): Document.
53386         (Feature Test Macros): Update documentation of default features.
53388 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
53390         * benchtests/Makefile: Add bench-strtok.
53391         * benchtests/bench-strtok.c: New file: strtok benchtest.
53393 2013-12-19  Allan McRae  <allan@archlinux.org>
53395         * manual/install.texi: Suppress menu for plain text output.
53396         * INSTALL: Regenerated.
53398 2013-12-18  Brooks Moses  <bmoses@google.com>
53400         [BZ #15846]
53401         * misc/getauxval.c: Include errno.h.
53402         (__getauxval): Set errno to ENOENT if the requested type is not
53403         found.
53404         * misc/sys/auxv.h (getauxval): Document that it may set errno;
53405         don't declare with __attribute_const__.
53406         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
53407         * manual/startup.texi: Document that getauxval sets errno.
53409 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
53411         * math/auto-libm-test-in: Add tests of jn and yn.
53412         * math/auto-libm-test-out: Regenerated.
53413         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
53414         (yn_test_data): Likewise.
53415         * math/gen-auto-libm-tests.c (func_calc_method): Add value
53416         mpfr_if_f.
53417         (func_calc_desc): Add mpfr_if_f union field.
53418         (FUNC_mpfr_if_f): New macro.
53419         (test_functions): Add jn and yn.
53420         (calc_generic_results): Assert type of second input for
53421         mpfr_ff_f.  Handle mpfr_if_f.
53422         (output_for_one_input_case): Disable all checking for arguments
53423         fitting floating-point types in case of an integer argument.
53424         * sysdeps/i386/fpu/libm-test-ulps: Update.
53425         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53427         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
53428         Don't expect fegetround reference in libm.so.
53430 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
53432         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
53433         $(config-cflags-nofma).
53435 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
53437         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
53438         * math/auto-libm-test-out: Regenerated.
53440         [BZ #16338]
53441         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
53442         to determine exponent and adjust argument to have exponent of -1.
53443         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
53444         log2.
53445         * math/auto-libm-test-out: Regenerated.
53446         * sysdeps/i386/fpu/libm-test-ulps: Update.
53447         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53449 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
53451         * manual/probes.texi: Remove cases when per-thread arenas are
53452         disabled.
53454 2013-12-18  Andreas Schwab  <schwab@suse.de>
53456         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
53457         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
53458         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
53459         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
53460         * sysdeps/i386/i686/multiarch/Makefile: Update.
53461         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
53463 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
53465         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
53466         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
53468 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
53470         [BZ #15968]
53471         Support TZ transition times < 00:00:00.
53472         This is needed for version-3 tz-format files; it supports time
53473         stamps past 2037 for America/Godthab (the only entry in the tz
53474         database for which this change is relevant).
53475         * manual/time.texi (TZ Variable): Document transition times
53476         from -167:59:59 through -00:00:01.
53477         * time/tzset.c (tz_rule): Time of day is now signed.
53478         (__tzset_parse_tz): Parse negative time of day.
53480         Document TZ transition times >= 25:00:00.
53481         * manual/time.texi (TZ Variable): Document transition times from
53482         25:00:00 through 167:59:59.  These are already supported, and this
53483         support will help with version-3 tz-format files.
53485         * manual/time.texi (TZ Variable): Modernize North America example
53486         to reflect current (i.e., 2007-and-later) daylight saving rules.
53488         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
53490 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
53492         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
53493         * sysdeps/unix/bsd/bits/stat.h: Likewise.
53494         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
53495         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
53496         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
53497         * sysdeps/unix/bsd/bsdstat.h: Likewise.
53498         * sysdeps/unix/bsd/clock.c: Likewise.
53499         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
53500         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
53501         * sysdeps/unix/bsd/init-posix.c: Likewise.
53502         * sysdeps/unix/bsd/poll.c: Likewise.
53503         * sysdeps/unix/bsd/ptsname.c: Likewise.
53504         * sysdeps/unix/bsd/seekdir.c: Likewise.
53505         * sysdeps/unix/bsd/setegid.c: Likewise.
53506         * sysdeps/unix/bsd/seteuid.c: Likewise.
53507         * sysdeps/unix/bsd/setgid.c: Likewise.
53508         * sysdeps/unix/bsd/setrgid.c: Likewise.
53509         * sysdeps/unix/bsd/setruid.c: Likewise.
53510         * sysdeps/unix/bsd/setsid.c: Likewise.
53511         * sysdeps/unix/bsd/setuid.c: Likewise.
53512         * sysdeps/unix/bsd/sigaction.c: Likewise.
53513         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
53514         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
53515         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
53516         * sysdeps/unix/bsd/telldir.c: Likewise.
53517         * sysdeps/unix/bsd/times.c: Likewise.
53518         * sysdeps/unix/bsd/usleep.c: Likewise.
53520         * misc/Makefile (install-lib): Remove libbsd-compat.a.
53521         ($(objpfx)libbsd-compat.a): Remove rule.
53523         * include/features.h (__FAVOR_BSD): Do not define.
53524         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
53525         features conflicting with POSIX.
53526         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
53527         (_BSD_SOURCE): Remove description of not being a subset of other
53528         feature test macros.
53529         * manual/job.texi (getpgrp): Do not document BSD version.
53530         (getpgid): Do not document by reference to BSD getpgrp.
53531         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
53532         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
53533         * signal/signal.h [__FAVOR_BSD]: Likewise.
53534         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
53535         instead of making contents conditional on [__FAVOR_BSD].
53536         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
53538 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53540         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53542 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
53544         [BZ #16314]
53545         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
53546         values below 2**-450, not 2**-500.
53547         * math/auto-libm-test-in: Don't allow spurious underflow from
53548         hypot.
53549         * math/auto-libm-test-out: Regenerated.
53551         [BZ #16316]
53552         [BZ #16330]
53553         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
53554         values of ha and hb and sort them after adjusting subnormal
53555         arguments.
53556         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
53557         Likewise.
53558         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
53559         values of ea and eb and sort them after adjusting subnormal
53560         arguments.
53561         * math/auto-libm-test-in: Do not expect some hypot tests of
53562         subnormals to fail.  Add more hypot tests.
53563         * math/auto-libm-test-out: Regenerated.
53565 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
53567         [BZ #13304]
53568         * sysdeps/sh/s_fma.c: New file.
53569         * sysdeps/sh/s_fmaf.c: New file.
53570         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
53571         version.
53572         * sysdeps/sh/Implies: Add sh/soft-fp.
53574 2013-12-16  Roland McGrath  <roland@hack.frob.com>
53576         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
53577         level of indirection to members `objname', `errstring', `malloced'.
53578         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
53579         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
53580         it as the __longjmp argument (just pass 1 instead).
53581         (_dl_catch_error): Initialize C with argument pointers and address of
53582         volatile local ERRCODE rather than copying values out of C at return.
53584 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
53586         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
53587         * math/auto-libm-test-out: Regenerated.
53588         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
53589         (hypot_test_data): Likewise.
53590         (pow_test_data): Likewise.
53591         (pow_tonearest_test_data): Likewise.
53592         * math/gen-auto-libm-tests.c (func_calc_method): Add value
53593         mpfr_ff_f.
53594         (func_calc_desc): Add mpfr_ff_f union field.
53595         (FUNC_mpfr_ff_f): New macro.
53596         (test_functions): Add atan2, hypot and pow.
53597         (special_fill_min): New function.
53598         (special_fill_minus_min): Likewise.
53599         (special_fill_min_subnorm): Likewise.
53600         (special_fill_minus_min_subnorm): Likewise.
53601         (special_real_inputs): Add min, -min, min_subnorm and
53602         -min_subnorm.
53603         (calc_generic_results): Handle mpfr_ff_f.
53604         * sysdeps/i386/fpu/libm-test-ulps: Update.
53605         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53607 2013-12-16  Will Newton  <will.newton@linaro.org>
53609         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
53610         (Aligned Memory Blocks): Add documentation for aligned_alloc
53611         and suggest it as an alternative to posix_memalign.
53612         (Hooks for Malloc): Document __memalign_hook is also called
53613         for aligned_alloc.  (Summary of Malloc): Add summary for
53614         aligned alloc.  Document __memalign_hook is also called
53615         for aligned_alloc.
53617 2013-12-16  Will Newton  <will.newton@linaro.org>
53619         * manual/memory.texi (Malloc Examples): Clarify default
53620         alignment documentation.  Suggest posix_memalign rather
53621         than memalign or valloc.
53622         (Aligned Memory Blocks): Remove suggestion to use memalign
53623         or valloc.  Remove obsolete comment about BSD.
53624         Document memalign errno values and mark the function obsolete.
53625         Document posix_memalign returned error codes.  Mark valloc
53626         as obsolete.  (Hooks for Malloc): __memalign_hook is also
53627         called for posix_memalign and valloc.
53628         (Summary of Malloc): Add posix_memalign to function summary.
53629         __memalign_hook is also called for posix_memalign and valloc.
53631 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
53633         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
53634         TAYLOR_SIN.
53635         (__sin): Adjust.
53636         (__cos): Likewise.
53637         (sloww): Use mynumber union.  Expand ternary operator into
53638         if-else statements.
53639         (cslow): use mynumber union.
53641 2013-12-16  Allan McRae  <allan@archlinux.org>
53643         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
53644         * configure: Regenerated.
53646         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
53648         [BZ #14120]
53649         * configure.ac: Added --enable-maintainer-mode. Check for
53650         autoconf when enabled.
53651         * configure: Regenerated.
53653         * nscd/nscd.service: New file.
53654         * nscd/nscd.tmpfiles: New file.
53656 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
53658         [BZ #12100]
53659         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
53660         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
53661         * sysdeps/x86_64/multiarch/strstr.c: ... here.
53662         (strstr): Add __strstr_sse2_unaligned ifunc.
53663         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
53664         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
53665         (strcasestr): Remove __strcasestr_sse42 ifunc.
53666         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
53667         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
53668         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
53670 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
53672         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
53673         * sysdeps/sh/bits/fenv.h: ... here.
53674         * sysdeps/sh/sh4/fpu/bits: Remove directory.
53676 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53678         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
53680         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
53681         hypotf multiarch implementations.
53682         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
53683         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
53684         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
53685         multiarch hypot for PPC64.
53686         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
53687         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
53688         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
53689         multiarch hypotf for PPC64.
53691         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
53692         modff multiarch implementations.
53693         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
53694         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
53695         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
53696         multiarch modf for PPC64.
53697         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
53698         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
53699         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
53700         multiarch modff for PPC64.
53702         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
53703         and logl multiarch implementations.
53704         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
53705         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
53706         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
53707         multiarch logb for PPC64.
53708         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
53709         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
53710         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
53711         multiarch logb for PPC64.
53712         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
53713         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
53714         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
53715         multiarch logb for PPC64.
53717         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
53718         isinff multiarch implementation.
53719         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
53720         file.
53721         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
53722         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
53723         multiarch isinf for PPC64.
53724         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
53725         file.
53726         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
53727         multiarch isinff for PPC64.
53729         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
53730         finitef multiarch implementation.
53731         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
53732         file.
53733         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
53734         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
53735         multiarch finite for PPC64.
53736         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
53737         file.
53738         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
53739         multiarch finitef for PPC64.
53741         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
53742         lrint multiarch implementation.
53743         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
53744         file.
53745         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
53746         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
53747         multiarch llrint for PPC64.
53748         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
53749         multiarch lrint for PPC64.
53751         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
53752         copysignf multiarch implementation.
53753         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
53754         file.
53755         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
53756         file.
53757         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
53758         multiarch copysign for PPC64.
53759         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
53760         multiarch copysignf for PPC64.
53762         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
53763         multiarch implementation.
53764         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
53765         file.
53766         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
53767         file.
53768         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
53769         file.
53770         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
53771         file.
53772         multiarch llround for PPC64.
53773         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
53774         multiarch trunc for PPC64.
53775         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
53776         multiarch truncf for PPC64.
53778         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
53779         multiarch implementation.
53780         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
53781         file.
53782         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
53783         file.
53784         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
53785         file.
53786         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
53787         file.
53788         multiarch llround for PPC64.
53789         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
53790         multiarch round for PPC64.
53791         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
53792         multiarch roundf for PPC64.
53794         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
53795         multiarch implementation.
53796         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
53797         file.
53798         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
53799         file.
53800         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
53801         file.
53802         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
53803         file.
53804         multiarch llround for PPC64.
53805         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
53806         multiarch floor for PPC64.
53807         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
53808         multiarch floorf for PPC64.
53810         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
53811         multiarch implementation.
53812         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
53813         file.
53814         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
53815         file.
53816         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
53817         file.
53818         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
53819         file.
53820         multiarch llround for PPC64.
53821         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
53822         multiarch ceil for PPC64.
53823         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
53824         multiarch ceilf for PPC64.
53826         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
53827         multiarch implementation.
53828         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
53829         file.
53830         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
53831         file.
53832         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
53833         file.
53834         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
53835         multiarch llround for PPC64.
53836         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
53837         multiarch lround for PPC64.
53839         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
53840         multiarch implementation.
53841         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
53842         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
53843         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
53844         file.
53845         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
53846         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
53847         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
53848         multiarch isnan for PPC64.
53849         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
53850         multiarch isnanf for PPC64.
53852         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
53853         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
53854         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
53855         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
53856         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
53857         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
53859         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
53860         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
53861         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
53862         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
53864         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
53865         multiarch implementations.
53866         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
53867         (__libc_ifunc_impl_list): Likewise.
53868         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
53869         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
53870         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
53871         multiarch stpcpy for PPC64.
53873         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
53874         multiarch implementations.
53875         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
53876         (__libc_ifunc_impl_list): Likewise.
53877         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
53878         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
53879         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
53880         multiarch strcpy for PPC64.
53882         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
53883         redefine function name.
53884         (_wordcopy_fwd_dest_aligned): Likewise.
53885         (_wordcopy_bwd_aligned): Likewise.
53886         (_wordcopy_bwd_dest_aligned): Likewise.
53887         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
53888         multiarch implementations.
53889         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
53890         (__libc_ifunc_impl_list): Likewise.
53891         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
53892         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
53893         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
53894         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
53895         multiarch wcscpy for PPC64.
53897         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
53898         multiarch implementations.
53899         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
53900         (__libc_ifunc_impl_list): Likewise.
53901         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
53902         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
53903         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
53904         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
53905         multiarch wcscpy for PPC64.
53907         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
53908         multiarch implementations.
53909         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
53910         (__libc_ifunc_impl_list): Likewise.
53911         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
53912         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
53913         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
53914         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
53915         multiarch wcsrchr for PPC64.
53917         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
53918         multiarch implementations.
53919         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
53920         (__libc_ifunc_impl_list): Likewise.
53921         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
53922         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
53923         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
53924         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
53925         multiarch wcschr for PPC64.
53927         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
53928         multiarch implementations.
53929         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
53930         (__libc_ifunc_impl_list): Likewise.
53931         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
53932         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
53933         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
53934         multiarch strchrnul for PPC64.
53936         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
53937         implementations.
53938         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
53939         (__libc_ifunc_impl_list): Likewise.
53940         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
53941         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
53942         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
53943         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
53944         strchr for PPC64.
53946         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
53947         implementations.
53948         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
53949         (__libc_ifunc_impl_list): Likewise.
53950         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
53951         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
53952         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
53953         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
53954         strncmp for PPC64.
53956         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
53957         multiarch implementations.
53958         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
53959         (__libc_ifunc_impl_list): Likewise.
53960         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
53961         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
53962         strncasecmp for PPC64.
53963         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
53964         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
53965         multiarch strncasecmp_l for PPC64.
53967         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
53968         multiarch implementations.
53969         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
53970         (__libc_ifunc_impl_list): Likewise.
53971         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
53972         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
53973         multiarch strcasecmp for PPC64.
53974         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
53975         file.
53976         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
53977         multiarch strcasecmp_l for PPC64.
53979         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
53980         implementations.
53981         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
53982         (__libc_ifunc_impl_list): Likewise.
53983         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
53984         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
53985         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
53986         strnlen for PPC64.
53988         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
53989         implementations.
53990         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
53991         (__libc_ifunc_impl_list): Likewise.
53992         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
53993         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
53994         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
53995         strlen for PPC64.
53997         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
53998         implementations.
53999         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
54000         (__libc_ifunc_impl_list): Likewise.
54001         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
54002         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
54003         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
54004         rawmemrchr for PPC64.
54006         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
54007         implementation.
54008         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
54009         (__libc_ifunc_impl_list): Likewise.
54010         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
54011         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
54012         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
54013         memrchr for PPC64.
54015         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
54016         implementation.
54017         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
54018         (__libc_ifunc_impl_list): Likewise.
54019         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
54020         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
54021         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
54022         memchr for PPC64.
54024         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
54025         implementation.
54026         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
54027         (__libc_ifunc_impl_list): Likewise.
54028         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
54029         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
54030         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
54031         mempcpy for PPC64.
54033         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
54034         avoid cretion of __bzero symbol.
54035         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
54036         Likewise.
54037         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
54038         Likewise.
54039         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
54040         Likewise.
54041         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
54042         multiarch implementations.
54043         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
54044         (__libc_ifunc_impl_list): Likewise.
54045         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
54046         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
54047         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
54048         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
54049         bzero for PPC32.
54050         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
54051         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
54052         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
54053         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
54054         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
54055         memset for PPC64.
54056         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
54058         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
54059         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
54060         implementations.
54061         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
54062         (__libc_ifunc_impl_list): Likewise.
54063         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
54064         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
54065         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
54066         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
54067         memcmp for PPC64.
54069         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
54070         multiarch for POWER/PPC64.
54071         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
54072         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
54073         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
54074         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
54075         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
54076         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
54077         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
54078         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
54079         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
54080         memcpy for PPC64.
54082         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
54083         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
54084         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
54085         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
54086         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
54087         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
54088         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
54089         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
54090         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
54091         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
54092         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
54093         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
54094         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
54095         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
54096         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
54097         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
54098         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
54099         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
54100         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
54101         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
54102         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
54103         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
54105 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
54107         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
54109 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
54111         * benchtests/Makefile (bench): Add exp2 and log2.
54112         (LDLIBS-bench-exp2): Add -lm.
54113         (LDLIBS-bench-log2): Likewise.
54114         * benchtests/exp2-inputs: New inputs file.
54115         * benchtests/log2-inputs: New inputs file.
54116         * benchtests/log-inputs: Add new inputs.
54117         * benchtests/tan-inputs: Likewise.
54119 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
54121         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
54122         definition...
54123         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
54124         (csloww2): ... from here.
54126         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
54127         instead of structures.
54128         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
54129         (POLYNOMIAL): Likewise.
54130         (TAYLOR_SLOW): Likewise.
54131         (__sin): Likewise.
54132         (__cos): Likewise.
54133         (slow1): Likewise.
54134         (slow2): Likewise.
54135         (sloww): Likewise.
54136         (sloww1); Likewise.
54137         (sloww2): Likewise.
54138         (bsloww1): Likewise.
54139         (bsloww2): Likewise.
54140         (cslow2): Likewise.
54141         (csloww): Likewise.
54142         (csloww1): Likewise.
54143         (csloww2): Likewise.
54145 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
54147         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
54148         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
54149         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
54150         * malloc/hooks.c (realloc_check): Likewise.
54152         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
54153         * malloc/arena.c: Remove PER_THREAD conditional.
54154         [!PER_THREAD]: Remove code.
54155         (ptmalloc_unlock_all2): Likewise.
54156         (ptmalloc_init): Likewise.
54157         (_int_new_arena): Likewise.
54158         (arena_get2): Likewise.
54159         * malloc/hooks.c (__malloc_get_state): Likewise.
54160         (__malloc_set_state): Likewise.
54161         * malloc/malloc.c: Likewise.
54162         (struct malloc_state): Likewise.
54163         (struct malloc_par): Likewise.
54164         (__libc_realloc): Likewise.
54165         (__libc_mallopt): Likewise.
54167 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54169         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
54171 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
54173         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
54174         macro to a function.  Check for zero perturb_byte.
54175         (_int_malloc, _int_free): Remove zero perturb_byte checks.
54177         * malloc/malloc.c: (force_reg): Remove.
54178         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
54179         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
54180         force_reg by atomic_forced_read.
54181         * malloc/arena.c (ptmalloc_init): Likewise.
54182         * malloc/hooks.c (top_check): Likewise.
54184 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54186         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54188 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
54190         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
54192 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
54194         * math/auto-libm-test-in: Add tests of lgamma.
54195         * math/auto-libm-test-out: Regenerated.
54196         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
54197         (M_LOG_2_SQRT_PIl): Likewise.
54198         (lgamma_test_data): Use AUTO_TESTS_f_f1.
54199         * math/gen-auto-libm-tests.c (func_calc_method): Add value
54200         mpfr_f_f1.
54201         (func_calc_desc): Add mpfr_f_f1 union field.
54202         (ARGS1): New macro.
54203         (ARGS2): Likewise.
54204         (ARGS3): Likewise.
54205         (ARGS4): Likewise.
54206         (RET1): Likewise.
54207         (RET2): Likewise.
54208         (CALC): Likewise.
54209         (FUNC): Likewise.
54210         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
54211         (test_functions): Add lgamma.
54212         (calc_generic_results): Handle mpfr_f_f1.
54213         * sysdeps/i386/fpu/libm-test-ulps: Update.
54214         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54216 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54218         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
54219         __mpn_add_n for PowerPC64/POWER7.
54220         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
54221         __mpn_sub_n for PowerPC64/POWER7.
54223         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
54224         __mpn_addmul_1 for PowerPC64.
54225         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
54226         __mpn_submul_1 for PowerPC64.
54227         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
54228         for PowerPC64.
54229         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
54230         for PowerPC64.
54232 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
54234         [BZ #15089]
54235         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
54237 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54239         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
54241         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
54242         add multiarch folders.
54243         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
54244         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
54245         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
54246         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
54247         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
54248         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
54249         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
54250         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
54251         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
54252         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
54253         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
54254         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
54255         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
54256         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
54257         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
54258         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
54259         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
54261         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
54262         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
54263         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
54264         New file.
54265         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
54266         New file.
54267         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
54268         multiarch __ieee754_hypot for PowerPC32.
54269         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
54270         New file.
54271         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
54272         New file.
54273         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
54274         multiarch __ieee754_hypotf for PowerPC32.
54276         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
54277         long_double_symbol only if __logbl is defined.
54278         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
54279         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
54280         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
54281         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
54282         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
54283         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
54284         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
54285         path for implementation.
54286         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
54287         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
54288         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
54289         logb, and logbl multiarch implementations for PowerPC32.
54290         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
54291         file.
54292         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
54293         file.
54294         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
54295         multiarch logb for PowerPC32.
54296         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
54297         file.
54298         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
54299         file.
54300         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
54301         multiarch logbf for PowerPC32.
54302         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
54303         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
54304         file.
54305         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
54306         multiarch logbl implementation for PowerPC32.
54308         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
54309         and modff multiarch implementations.
54310         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
54311         New file.
54312         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
54313         New file.
54314         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
54315         multiarch modf for PowerPC32.
54316         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
54317         New file.
54318         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
54319         New file.
54320         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
54321         multiarch modff for PowerPC32.
54323         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
54324         and lrintf multiarch implementations.
54325         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
54326         New file.
54327         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
54328         New file.
54329         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
54330         multiarch lrint for PowerPC32.
54331         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
54332         file: multiarch lrintf for PowerPC32.
54334         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
54335         and lroundf multiarch implementations.
54336         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
54337         New file.
54338         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
54339         New file.
54340         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
54341         New file.
54342         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
54343         multiarch lround for PowerPC32.
54344         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
54345         file: multiarch lroundf for PowerPC32.
54347         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
54348         copysign and copysignf multiarch implementations.
54349         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
54350         New file.
54351         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
54352         New file.
54353         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
54354         file: multiarch copysign for PowerPC32.
54355         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
54356         file: multiarch copysignf for PowerPC32.
54358         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
54359         and truncf multiarch implementations.
54360         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
54361         New file.
54362         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
54363         file.
54364         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
54365         multiarch trunc for PowerPC32.
54366         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
54367         New file.
54368         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
54369         New file.
54370         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
54371         multiarch truncf for PowerPC32.
54373         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
54374         and roundf multiarch implementations.
54375         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
54376         New file.
54377         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
54378         file.
54379         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
54380         multiarch round for PowerPC32.
54381         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
54382         New file.
54383         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
54384         New file.
54385         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
54386         multiarch roundf for PowerPC32.
54388         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
54389         and floorf multiarch implementations.
54390         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
54391         New file.
54392         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
54393         file.
54394         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
54395         multiarch floor for PowerPC32.
54396         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
54397         New file.
54398         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
54399         New file.
54400         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
54401         multiarch floorf for PowerPC32.
54403         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
54404         and ceilf multiarch implementations.
54405         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
54406         New file.
54407         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
54408         file.
54409         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
54410         multiarch ceil for PowerPC32.
54411         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
54412         New file.
54413         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
54414         file.
54415         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
54416         multiarch ceilf for PowerPC32.
54418         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
54419         is defined.
54420         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
54421         FINITEF is defined.
54422         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
54423         and finitef multiarch implementations.
54424         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
54425         New file.
54426         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
54427         file.
54428         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
54429         multiarch finite for PowerPC32.
54430         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
54431         New file.
54432         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
54433         file: multiarch finitef for PowerPC32.
54435         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
54436         and isinff multiarch implementations.
54437         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
54438         file.
54439         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
54440         file.
54441         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
54442         multiarch isinf for PowerPC32.
54443         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
54444         New file.
54445         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
54446         multiarch isinff for PowerPC32.
54448         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
54449         alias when __isnan is defined.
54450         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
54451         and isnanf multiarch implementations.
54452         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
54453         file.
54454         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
54455         file.
54456         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
54457         file.
54458         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
54459         file.
54460         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
54461         multiarch isnan for PowerPC32.
54462         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
54463         New file.
54464         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
54465         New file.
54466         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
54467         multiarch isnanf for PowerPC32.
54469         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
54470         and sqrtf multiarch implementations.
54471         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
54472         file.
54473         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
54474         file.
54475         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
54476         multiarch sqrt for PowerPC32.
54477         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
54478         file.
54479         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
54480         file.
54481         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
54482         multiarch sqrtf for PowerPC32.
54484         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
54485         and llroundf multiarch implementations.
54486         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
54487         New file.
54488         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
54489         New file.
54490         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
54491         New file.
54492         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
54493         file: multiarch llround for PowerPC32.
54494         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
54495         file: multiarch llroundf for PowerPC32.
54497         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
54498         multiarch PowerPC32 fpu implementations.
54499         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
54500         New file.
54501         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
54502         New file.
54503         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
54504         multiarch llrint for PowerPC32.
54505         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
54506         New file.
54507         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
54508         New file.
54509         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
54510         file.
54512         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
54514         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
54515         file.
54516         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
54517         file.
54518         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
54519         file.
54520         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
54521         multiarch wordcopy for PPC32.
54522         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
54523         wordcopy objects.
54524         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
54525         (__libc_ifunc_impl_list): Likewise.
54526         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
54527         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
54528         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
54529         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
54530         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
54531         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
54533         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
54534         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
54535         file.
54536         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
54537         file.
54538         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
54539         file.
54540         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
54541         multiarch wcscpy for PPC32.
54542         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
54543         multiarch objects.
54544         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
54545         (__libc_ifunc_impl_list): Likewise.
54546         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
54547         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
54548         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
54549         sysdeps/powerpc/power6/wcscpy.c.
54551         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
54552         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
54553         file.
54554         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
54555         file.
54556         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
54557         file.
54558         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
54559         multiarch wcsrchr for PPC32.
54560         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
54561         multiarch objects.
54562         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
54563         (__libc_ifunc_impl_list): Likewise.
54564         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
54565         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
54566         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
54567         sysdeps/powerpc/power6/wcsrchr.c.
54569         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
54570         file.
54571         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
54572         file.
54573         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
54574         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
54575         multiarch wcschr for PPc32.
54576         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
54577         multiarch objects.
54578         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
54579         (__libc_ifunc_impl_list): Likewise.
54580         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
54581         * sysdeps/powerpc/power6/wcschr.c: ... to here.
54582         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
54583         sysdeps/powerpc/power6/wcschr.c.
54585         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
54586         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
54587         file.
54588         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
54589         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
54590         file: multiarch strchr for PPC32.
54591         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
54592         multiarch objects.
54593         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
54594         (__libc_ifunc_impl_list): Likewise.
54596         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
54597         name.
54598         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
54599         file.
54600         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
54601         file.
54602         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
54603         multiarch strchrnul for PPC32.
54604         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
54605         multiarch objects.
54606         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
54607         (__libc_ifunc_impl_list): Likewise.
54609         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
54610         file.
54611         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
54612         multiarch strncasecmp for PPC32.
54613         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
54614         file.
54615         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
54616         multiarch strncasecmp_l for PPC32.
54617         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
54618         strncasecmp multiarch objects.
54619         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
54620         (__libc_ifunc_impl_list): Likewise.
54622         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
54623         file.
54624         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
54625         multiarch strncasecmp for PPC32.
54626         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
54627         New file.
54628         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
54629         multiarch strcasecmp_l for PPC32.
54630         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
54631         multiarch objects.
54632         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
54633         (__libc_ifunc_impl_list): Likewise.
54635         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
54636         file.
54637         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
54638         file.
54639         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
54640         multiarch strncmp for PPC32.
54641         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
54642         multiarch objects.
54643         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
54644         (__libc_ifunc_impl_list): Likewise.
54646         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
54647         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
54648         file.
54649         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
54650         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
54651         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
54652         multiarch objects.
54653         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
54654         (__libc_ifunc_impl_list): Likewise.
54656         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
54657         file.
54658         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
54659         file.
54660         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
54661         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
54662         multiarch objects.
54663         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
54664         (__libc_ifunc_impl_list): Likewise.
54666         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
54667         file.
54668         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
54669         file.
54670         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
54671         multiarch rawmemchr for PPC32.
54672         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
54673         multiarch objects.
54674         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
54675         (__libc_ifunc_impl_list): Likewise.
54677         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
54678         file.
54679         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
54680         file.
54681         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
54682         file: memrchr multiarch for PPC32.
54683         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
54684         multiarch objects.
54685         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
54686         (__libc_ifunc_impl_list): Likewise.
54688         * string/memchr.c (__memchr): Using macro to redefine symbol name.
54689         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
54690         file.
54691         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
54692         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
54693         multiarch memchr for PPC32.
54694         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
54695         multiarch objects.
54696         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
54697         (__libc_ifunc_impl_list): Likewise.
54699         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
54700         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
54701         file.
54702         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
54703         file.
54704         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
54705         file: multiarch mempcpy for PPC32.
54706         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
54707         multiarch objects.
54708         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
54709         (__libc_ifunc_impl_list): Likewise.
54711         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
54712         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
54713         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
54714         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
54715         multiarch bzero for PPC32.
54716         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
54717         file.
54718         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
54719         file.
54720         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
54721         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
54722         file: multiarch memset for PPC32.
54723         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
54724         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
54725         memset multiarch objects.
54726         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
54727         (__libc_ifunc_impl_list): Likewise.
54729         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
54730         file.
54731         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
54732         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
54733         memcmp for PPC32.
54734         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
54735         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
54736         multiarch objects.
54737         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
54738         (__libc_ifunc_impl_list): Likewise.
54740         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
54741         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
54742         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
54743         file.
54744         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
54745         file.
54746         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
54747         file.
54748         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
54749         multiarch memcpy for PPC32.
54750         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
54751         multiarch objects.
54752         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
54753         (__libc_ifunc_impl_list): Likewise.
54755         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
54756         support multiarch for POWER/PPC32.
54757         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
54758         Likewise.
54759         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
54760         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
54761         Implies file to make multiarch folder appers before the fpu and
54762         default folder for power4 configuration.
54764 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
54766         * scripts/bench.pl: Append volatile keyword to type.
54768 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
54770         * sysdeps/sh/sotruss-lib.c: New file.
54771         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
54773 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54775         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54777 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
54779         [BZ #6810]
54780         * math/w_tgamma.c: Include <errno.h>.
54781         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
54782         * math/w_tgammaf.c: Include <errno.h>.
54783         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
54784         * math/w_tgammal.c: Include <errno.h>.
54785         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
54786         * math/auto-libm-test-in: Do not allow missing errno on tgamma
54787         underflow.  Add more tgamma tests.
54788         * math/auto-libm-test-out: Regenerated.
54789         * sysdeps/i386/fpu/libm-test-ulps: Update.
54790         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54792         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
54793         sin, sinh, tan, tanh, tgamma, y0 and y1.
54794         * math/auto-libm-test-out: Regenerated.
54795         * math/libm-test.inc (TEST_COND_x86_64): New macro.
54796         (TEST_COND_x86): Likewise.
54797         (M_E2l): Remove macro.
54798         (M_E3l): Likewise.
54799         (M_2_SQRT_PIl): Likewise.
54800         (M_SQRT_PIl): Likewise.
54801         (M_1_DIV_El): Likewise.
54802         (log_test_data): Use AUTO_TESTS_f_f.
54803         (log10_test_data): Likewise.
54804         (log1p_test_data): Likewise.
54805         (log2_test_data): Likewise.
54806         (sin_test_data): Likewise.
54807         (sin_tonearest_test_data): Likewise.
54808         (sin_towardzero_test_data): Likewise.
54809         (sin_downward_test_data): Likewise.
54810         (sin_upward_test_data): Likewise.
54811         (sinh_test_data): Likewise.
54812         (sinh_tonearest_test_data): Likewise.
54813         (sinh_towardzero_test_data): Likewise.
54814         (sinh_downward_test_data): Likewise.
54815         (sinh_upward_test_data): Likewise.
54816         (tan_test_data): Likewise.
54817         (tan_tonearest_test_data): Likewise.
54818         (tan_towardzero_test_data): Likewise.
54819         (tan_downward_test_data): Likewise.
54820         (tan_upward_test_data): Likewise.
54821         (tanh_test_data): Likewise.
54822         (tgamma_test_data): Likewise.
54823         (y0_test_data): Likewise.
54824         (y1_test_data): Likewise.
54825         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
54826         (special_real_inputs): Add pi/4.
54827         * sysdeps/i386/fpu/libm-test-ulps: Update.
54828         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54830 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54832         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
54833         "longjmp_target" static probes.
54834         (__longjmp): Rename to __longjmp_symbol.
54835         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
54836         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
54837         on which longjmp to generate.
54838         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
54839         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
54840         probe.
54841         (__sigsetjmp): Rename to __sigsetjmp_symbol.
54842         (__sigjmp_save): Rename to __sigjmp_save_symbol.
54843         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
54844         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
54845         and __sigjmp_save_symbol based on which sigsetjmp to generated.
54846         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
54847         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
54848         __longjmp_symbol based on which __longjmp to generate.
54849         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
54850         probe.
54851         (setjmp): Rename to setjmp_symbol.
54852         (__sigsetjmp): Rename to __sigsetjmp_symbol.
54853         (_setjmp): Rename to _setjmp_symbol.
54854         (__sigsetjmp): Rename to __sigsetjmp_symbol.
54855         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
54856         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
54857         which setjmp to generate.
54858         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
54859         "longjmp_target" static probes.
54861 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
54863         * benchtests/README: Add note about output arguments.
54864         * benchtests/bench-sincos.c: Remove file.
54865         * benchtests/sincos-inputs: New file.
54866         * scripts/bench.pl: Identify output arguments and define
54867         static variables for them.
54869         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
54871         [BZ #15941]
54872         * Makefile (INSTALL): Add install-plain.texi as the primary
54873         dependency.
54874         * manual/install-plain.texi: New file.
54875         * manual/install.texi: Include node directive only for
54876         non-plaintext output.
54878 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
54880         * stdlib/longlong.h: Update from GCC.
54882         [BZ #6807]
54883         [BZ #15901]
54884         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
54885         * math/w_j0f.c (y0f): Likewise.
54886         * math/w_j0l.c (__y0l): Likewise.
54887         * math/w_j1.c (y1): Likewise.
54888         * math/w_j1f.c (y1f): Likewise.
54889         * math/w_j1l.c (__y1l): Likewise.
54890         * math/w_jn.c (yn): Likewise.
54891         * math/w_jnf.c (ynf): Likewise.
54892         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
54893         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
54894         value for Bessel function domain errors outside _SVID_ mode.
54895         Adjust sign of return value for yn (negative integer, 0).
54896         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
54897         by zero in return for negative x and set sign appropriately for
54898         negative n.
54899         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
54900         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
54901         * math/libm-test.inc (y0_test_data): Add more tests and adjust
54902         expectations in error cases.
54903         (y1_test_data): Likewise.
54904         (yn_test_data): Likewise.
54905         * sysdeps/i386/fpu/libm-test-ulps: Update.
54906         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54908 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
54910         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
54911         "64" to "64-v1".  Add "64-v2".
54912         (abi-64-options): Rename to ...
54913         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
54914         (abi-64-condition): Rename to ...
54915         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
54916         (abi-64-ld-soname): Rename to ...
54917         (abi-64-v1-ld-soname): ... this.
54918         (abi-64-v2-options): Define.
54919         (abi-64-v2-condition): Likewise.
54920         (abi-64-v2-ld-soname): Likewise.
54921         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
54922         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
54923         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
54924         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
54925         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
54927 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
54928             Alan Modra  <amodra@gmail.com>
54930         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
54931         New versions for use with the ELFv2 ABI.
54932         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
54933         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
54934         declaration.
54935         (struct La_ppc64v2_retval): Likewise.
54936         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
54937         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
54938         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
54939         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
54940         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
54941         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
54942         Do not save or restore CR.
54943         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
54944         (_dl_profile_resolve): Do no save or restore CR.  Support extended
54945         return values for ELFv2 ABI.  Fix location of FPR return registers.
54946         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
54947         updated values for _CALL_ELF == 2.
54948         (La_regs, La_retval, int_retval): Likewise.
54950 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
54952         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
54953         (FRAME_MIN_SIZE_PARM): Likewise.
54954         (FRAME_BACKCHAIN): Likewise.
54955         (FRAME_CR_SAVE): Likewise.
54956         (FRAME_LR_SAVE): Likewise.
54957         (FRAME_TOC_SAVE): Likewise.
54958         (FRAME_PARM_SAVE): Likewise.
54959         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
54960         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
54961         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
54962         (call_mcount_parm_offset): New macro.
54963         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
54964         (PROF): Use symbolic stack frame offsets.
54965         (TAIL_CALL_SYSCALL_ERROR): Likewise.
54966         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
54967         Redefine in terms of FRAME_MIN_SIZE.
54968         (_dl_runtime_resolve): Use symbolic stack frame offsets.
54969         (_dl_profile_resolve): Likewise.  Update comment.
54970         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
54971         symbols stack frame offsets.
54972         (__sigsetjmp): Likewise.
54973         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
54974         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
54975         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
54976         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
54978         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
54979         (FRAME_BACKCHAIN): Remove.
54980         (FRAME_CR_SAVE): Likewise.
54981         (FRAME_LR_SAVE): Likewise.
54982         (FRAME_COMPILER_DW): Likewise.
54983         (FRAME_LINKER_DW): Likewise.
54984         (FRAME_TOC_SAVE): Likewise.
54985         (FRAME_PARM_SAVE): Likewise.
54986         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
54987         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
54988         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
54989         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
54990         (CHECK_SP): Use symbolic stack frame offsets.
54991         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
54992         zone" instead of caller's parameter save area for temp storage.
54993         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
54994         Likewise.  Also, use symbolic stack frame offsets.
54995         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
54996         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
54997         our own stack frame instead of the caller's.
54998         (__socket): Use symbolic stack frame offsets.
55000 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
55001             Alan Modra  <amodra@gmail.com>
55003         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
55004         Define.
55005         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
55006         (PPC64_LOCAL_ENTRY_OFFSET): Define.
55007         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
55008         New function.
55009         (elf_machine_fixup_plt): Call it.
55010         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
55011         reloc arguments.
55012         (elf_machine_rela): Update call to elf_machine_plt_conflict.
55013         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
55014         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
55015         r2 before calling target.
55017 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
55018             Alan Modra  <amodra@gmail.com>
55020         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
55021         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
55022         versions of macros to support ELFv2 ABI.
55023         (LOCALENTRY): New macro.
55024         (ENTRY, EALIGN): Use it.
55025         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
55026         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
55027         fall through into ENTRY entry point.
55028         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
55029         Only define if _CALL_ELF != 2.
55031         (elf_machine_matches_host): Verify ABI version matches.
55032         (RTLD_START): Use LOCALENTRY.
55033         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
55034         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
55035         (PLT_ENTRY_WORDS): New macro.
55036         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
55037         (elf_machine_runtime_setup): Support ELFv2 ABI.
55038         (elf_machine_fixup_plt): Likewise.
55039         (elf_machine_plt_conflict): Likewise.
55040         (resolve_ifunc): Likewise.
55041         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
55042         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
55043         Likewise.
55044         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
55045         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
55046         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
55047         (makecontext): Support ELFv2 ABI.
55048         * elf/elf.h (EF_PPC64_ABI): Define.
55050 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
55052         * sysdeps/powerpc/powerpc64/sysdep.h
55053         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
55054         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
55055         (ENTRY) [ASSEMBLER]: ... but instead here ...
55056         (EALIGN) [ASSEMBLER]: ... and here.
55057         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
55058         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
55059         (ENTRY_2) [!ASSEMBLER]: Use it.
55060         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
55061         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
55062         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
55063         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
55064         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
55065         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
55066         Use PPC64_LOAD_FUNCPTR.
55068         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
55070 2013-12-04  Alan Modra  <amodra@gmail.com>
55072         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
55073         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
55074         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
55075         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
55077         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
55078         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
55079         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
55080         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
55081         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
55082         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
55084 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
55086         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
55087         (__makecontext): Fix incorrect CFI when backtracing out of
55088         context created via makecontext.
55089         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
55090         (__setcontext): Fix incorrect CFI during switch to new context.
55091         (__novec_setcontext): Likewise.
55093 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
55095         [BZ #4772]
55096         * time/strptime_l.c (__strptime_internal): Allow modifiers
55097         in strptime.
55098         * time/tst-strptime.c (day_tests): Add testcase.
55100 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
55102         * scripts/bench.pl: Skip over blank lines.
55104 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
55106         [BZ #926]
55107         * manual/time.texi (Calendar Time): Clarify what timezone functions
55108         use.
55110 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55112         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55114 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
55116         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
55117         implementation.
55118         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
55119         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
55120         * debug/memset_chk.c (__memset_chk): Likewise.
55121         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
55122         * debug/strncpy_chk.c: Likewise.
55124 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
55126         [BZ #15268]
55127         [BZ #15425]
55128         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
55129         (__ieee754_exp): For possibly underflowing results, check size of
55130         result and force underflow exception if required.
55131         * math/auto-libm-test-in: Add more tests of exp.
55132         * math/auto-libm-test-out: Regenerated.
55133         * sysdeps/i386/fpu/libm-test-ulps: Update.
55134         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55136         [BZ #16283]
55137         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
55138         * math/w_exp2f.c (__exp2f): Likewise.
55139         * math/w_exp2l.c (__exp2l): Likewise.
55140         * math/auto-libm-test-in: Do not allow missing errno on exp2
55141         underflow.
55142         * math/auto-libm-test-out: Regenerated.
55144 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
55146         [BZ #16274]
55147         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
55148         handle filename validation.
55149         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
55150         (do_open): Delete.
55152 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
55154         [BZ #6786]
55155         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
55156         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
55157         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
55158         <float.h>.
55159         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
55160         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
55161         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
55162         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
55163         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
55164         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
55165         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
55166         * math/auto-libm-test-in: Don't allow missing errno from erfc.
55167         Add more erfc tests.
55168         * math/auto-libm-test-out: Regenerated.
55169         * sysdeps/i386/fpu/libm-test-ulps: Update.
55170         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55172         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
55173         exp2, expm1, j0 and j1.
55174         * math/auto-libm-test-out: Regenerated.
55175         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
55176         (erfc_test_data): Likewise.
55177         (exp_test_data): Likewise.
55178         (exp_tonearest_test_data): Likewise.
55179         (exp_towardzero_test_data): Likewise.
55180         (exp_downward_test_data): Likewise.
55181         (exp_upward_test_data): Likewise.
55182         (exp10_test_data): Likewise.
55183         (exp2_test_data): Likewise.
55184         (expm1_test_data): Likewise.
55185         (j0_test_data): Likewise.
55186         (j1_test_data): Likewise.
55187         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
55188         (input_flag_type): Add flag_xfail_rounding.
55189         (input_flags): Add xfail-rounding.
55190         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
55191         (output_for_one_input_case): Handle flag_xfail_rounding.
55192         * sysdeps/i386/fpu/libm-test-ulps: Update.
55193         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55195 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
55197         [BZ #16289]
55198         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
55199         division by 0.
55201 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
55203         [BZ #16195]
55204         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
55205         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
55206         (STAP_PROBE0): New macro.
55207         (STAP_PROBE1): Likewise.
55208         (STAP_PROBE2): Likewise.
55209         (STAP_PROBE3): Likewise.
55210         (STAP_PROBE4): Likewise.
55212 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
55214         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
55216 2013-12-02  Steve Ellcey  <sellcey@mips.com>
55218         * benchtests/Makefile (bench): Add sqrt.
55219         (LDLIBS-bench-sqrt): New.
55220         * benchtests/sqrt-input: New.
55222 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
55224         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
55225         (GAIH_EAI): Likewise.
55226         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
55227         (gaih_inet): Likewise.
55228         (getaddrinfo): Don't use GAIH_EAI.
55230         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
55231         (struct gaih): Remove definition.
55233 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
55235         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
55236         Use HERRNOP directly.
55238 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55240         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55242 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
55244         * math/gen-auto-libm-tests.c (test_functions): Add more
55245         single-argument functions.
55246         (special_fill_pi_2): New function.
55247         (special_fill_minus_pi_2): Likewise.
55248         (special_fill_pi_6): Likewise.
55249         (special_fill_minus_pi_6): Likewise.
55250         (special_fill_pi_3): Likewise.
55251         (special_fill_2pi_3): Likewise.
55252         (special_fill_e): Likewise.
55253         (special_fill_1_e): Likewise.
55254         (special_fill_e_minus_1): Likewise.
55255         (special_real_inputs): Add more special inputs.
55256         (output_for_one_input_case): Do not require ERANGE on underflow to
55257         zero if round-to-nearest result does not underflow to zero, unless
55258         exact results required.
55259         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
55260         atan, atanh, cbrt, cos and cosh.
55261         * math/auto-libm-test-out: Regenerated.
55262         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
55263         (acos_tonearest_test_data): Likewise.
55264         (acos_towardzero_test_data): Likewise.
55265         (acos_downward_test_data): Likewise.
55266         (acos_upward_test_data): Likewise.
55267         (acosh_test_data): Likewise.
55268         (asin_test_data): Likewise.
55269         (asin_tonearest_test_data): Likewise.
55270         (asin_towardzero_test_data): Likewise.
55271         (asin_upward_test_data): Likewise.
55272         (asinh_test_data): Likewise.
55273         (atan_test_data): Likewise.
55274         (atanh_test_data): Likewise.
55275         (cbrt_test_data): Likewise.
55276         (cos_test_data): Likewise.
55277         (cos_tonearest_test_data): Likewise.
55278         (cos_towardzero_test_data): Likewise.
55279         (cos_downward_test_data): Likewise.
55280         (cos_upward_test_data): Likewise.
55281         (cosh_test_data): Likewise.
55282         (cosh_tonearest_test_data): Likewise.
55283         (cosh_towardzero_test_data): Likewise.
55284         (cosh_downward_test_data): Likewise.
55285         (cosh_upward_test_data): Likewise.
55286         * sysdeps/i386/fpu/libm-test-ulps: Update.
55287         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55289 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
55291         [BZ #6787]
55292         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
55293         * math/w_exp10f.c (__exp10f): Likewise.
55294         * math/w_exp10l.c (__exp10l): Likewise.
55295         * math/libm-test.inc (exp10_test_data): Add more tests and expect
55296         errno settings in existing tests.
55298         [BZ #14032]
55299         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
55300         precision control set to double precision.
55301         * sysdeps/i386/fpu/w_sqrt.c: New file.
55302         * math/auto-libm-test-in: Add more tests.
55303         * math/auto-libm-test-out: Update.
55305         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
55306         (sqrt_test_tonearest): New function.
55307         (sqrt_towardzero_test_data): New variable.
55308         (sqrt_test_towardzero): New function.
55309         (sqrt_downward_test_data): New variable.
55310         (sqrt_test_downward): New function.
55311         (sqrt_upward_test_data): New variable.
55312         (sqrt_test_upward): New function.
55313         (main): Call the new functions.
55315         * math/gen-auto-libm-tests.c: New file.
55316         * math/auto-libm-test-in: Likewise.
55317         * math/auto-libm-test-out: New generated file.
55318         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
55319         variables.
55320         (%beautify): Add generated representations of zero.
55321         (top level): Set $auto_input and call parse_auto_input.
55322         (beautify): Remove trailing "f" from hex float constants.
55323         (parse_args): Handle XFAIL_TEST.
55324         (convert_condition): New function.
55325         (or_value): Likewise.
55326         (or_cond_value): Likewise.
55327         (generate_testfile): Handle AUTO_TESTS_* lines.
55328         (parse_auto_input): New function.
55329         * math/libm-test.inc (XFAIL_TEST): New macro.
55330         (ERRNO_UNCHANGED): Update value.
55331         (ERRNO_EDOM): Likewise.
55332         (ERRNO_ERANGE): Likewise.
55333         (IGNORE_RESULT): Likewise.
55334         (TEST_COND_flt_32): New macro.
55335         (TEST_COND_dbl_64): Likewise.
55336         (TEST_COND_ldbl_96_intel): Likewise.
55337         (TEST_COND_ldbl_96_m68k): Likewise.
55338         (TEST_COND_ldbl_128): Likewise.
55339         (TEST_COND_ldbl_128ibm): Likewise.
55340         (TEST_COND_long32): Likewise.
55341         (TEST_COND_long64): Likewise.
55342         (TEST_COND_before_rounding): Likewise.
55343         (TEST_COND_after_rounding): Likewise.
55344         (enable_test): Handle XFAIL_TEST flag.
55345         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
55346         with finite results.
55347         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
55348         auto-libm-test-out.
55350 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
55351             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
55353         [BZ #16214]
55354         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
55355         __tls_get_addr_internal instead of __tls_get_offset in order to
55356         avoid GOT pointer dependency.  Make rtld export
55357         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
55358         __tls_get_addr since we are a __tls_get_offset platform.
55359         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
55360         GOT pointer being set up before.
55361         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
55363 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
55365         * manual/math.texi (Errors in Math Functions): Document accuracy
55366         goals.
55368         [BZ #15004]
55369         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
55370         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
55371         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
55372         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
55373         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
55374         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
55375         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
55376         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
55377         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
55378         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
55379         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
55380         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
55381         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
55382         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
55383         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
55384         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
55386         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
55387         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
55388         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
55389         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
55390         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
55391         Likewise.
55392         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
55393         Likewise.
55394         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
55395         Likewise.
55396         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
55397         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
55398         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
55399         atomic-feupdateenv and flt-rounds.
55400         * sysdeps/powerpc/nofpu/Versions (libc): Add
55401         __atomic_feholdexcept, __atomic_feclearexcept,
55402         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
55403         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
55404         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
55405         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
55406         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
55407         here.
55408         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
55409         Update.
55411         * manual/arith.texi (FP Exceptions): Document that exceptions may
55412         not be raised when matherr is used.
55413         (Math Error Reporting): Document overflow in directed rounding
55414         modes.  Document that errno may not be set when finite values are
55415         returned on overflow.  Document intent to set errno on underflow
55416         only for underflow to zero.
55418         [BZ #16271]
55419         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
55420         round-to-nearest then adjust result for other rounding modes.
55421         * include/fenv.h (fegetround): Use libm_hidden_proto.
55422         * math/fegetround.c (fegetround): Use libm_hidden_def.
55423         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
55424         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
55425         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
55426         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
55427         Likewise.
55428         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
55429         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
55430         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
55431         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
55433 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
55435         [BZ #16077]
55436         * nss/Versions (libnss_files): Add
55437         _nss_files_gethostbyname3_r.
55438         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
55439         New function.
55440         (HOST_DB_LOOKUP): Remove macro.
55441         (_nss_files_gethostbyname_r): Implement function without the
55442         HOST_DB_LOOKUP macro.
55443         (_nss_files_gethostbyname2_r): Likewise.
55445 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
55447         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
55449 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
55451         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
55452         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
55453         warning.
55455 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55457         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
55458         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
55459         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
55460         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
55461         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
55462         __fe_nomask_env_priv and attribute_hidden.
55463         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
55464         (libc_feupdateenv_test_ppc): Likewise.
55465         (libc_feresetround_ppc): Likewise.
55466         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
55467         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
55468         compat_symbol macro.
55469         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
55470         (__fe_nomask_env): Likewise.
55471         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
55473 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
55475         * string/Makefile: Remove ifunc tests.
55476         * string/test-string.h: Define TEST_IFUNC.
55477         * string/test-bcopy-ifunc.c: Remove.
55478         * string/test-bzero-ifunc.c: Likewise.
55479         * string/test-memccpy-ifunc.c: Likewise.
55480         * string/test-memchr-ifunc.c: Likewise.
55481         * string/test-memcmp-ifunc.c: Likewise.
55482         * string/test-memcpy-ifunc.c: Likewise.
55483         * string/test-memmem-ifunc.c: Likewise.
55484         * string/test-memmove-ifunc.c: Likewise.
55485         * string/test-mempcpy-ifunc.c: Likewise.
55486         * string/test-memrchr-ifunc.c: Likewise.
55487         * string/test-memset-ifunc.c: Likewise.
55488         * string/test-rawmemchr-ifunc.c: Likewise.
55489         * string/test-stpcpy-ifunc.c: Likewise.
55490         * string/test-stpncpy-ifunc.c: Likewise.
55491         * string/test-strcasecmp-ifunc.c: Likewise.
55492         * string/test-strcasestr-ifunc.c: Likewise.
55493         * string/test-strcat-ifunc.c: Likewise.
55494         * string/test-strchr-ifunc.c: Likewise.
55495         * string/test-strchrnul-ifunc.c: Likewise.
55496         * string/test-strcmp-ifunc.c: Likewise.
55497         * string/test-strcpy-ifunc.c: Likewise.
55498         * string/test-strcspn-ifunc.c: Likewise.
55499         * string/test-strlen-ifunc.c: Likewise.
55500         * string/test-strncasecmp-ifunc.c: Likewise.
55501         * string/test-strncat-ifunc.c: Likewise.
55502         * string/test-strncmp-ifunc.c: Likewise.
55503         * string/test-strncpy-ifunc.c: Likewise.
55504         * string/test-strnlen-ifunc.c: Likewise.
55505         * string/test-strpbrk-ifunc.c: Likewise.
55506         * string/test-strrchr-ifunc.c: Likewise.
55507         * string/test-strspn-ifunc.c: Likewise.
55508         * string/test-strstr-ifunc.c: Likewise.
55510 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
55512         * benchtests/Makefile: Remove ifunc tests.
55513         * benchtests/bench-string.h: Define TEST_IFUNC.
55514         * benchtests/bench-bcopy-ifunc.c: Remove.
55515         * benchtests/bench-bzero-ifunc.c: Likewise.
55516         * benchtests/bench-memccpy-ifunc.c: Likewise.
55517         * benchtests/bench-memchr-ifunc.c: Likewise.
55518         * benchtests/bench-memcmp-ifunc.c: Likewise.
55519         * benchtests/bench-memcpy-ifunc.c: Likewise.
55520         * benchtests/bench-memmem-ifunc.c: Likewise.
55521         * benchtests/bench-memmove-ifunc.c: Likewise.
55522         * benchtests/bench-mempcpy-ifunc.c: Likewise.
55523         * benchtests/bench-memrchr-ifunc.c: Likewise.
55524         * benchtests/bench-memset-ifunc.c: Likewise.
55525         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
55526         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
55527         * benchtests/bench-stpcpy-ifunc.c: Likewise.
55528         * benchtests/bench-stpncpy-ifunc.c: Likewise.
55529         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
55530         * benchtests/bench-strcasestr-ifunc.c: Likewise.
55531         * benchtests/bench-strcat-ifunc.c: Likewise.
55532         * benchtests/bench-strchr-ifunc.c: Likewise.
55533         * benchtests/bench-strchrnul-ifunc.c: Likewise.
55534         * benchtests/bench-strcmp-ifunc.c: Likewise.
55535         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
55536         * benchtests/bench-strcpy-ifunc.c: Likewise.
55537         * benchtests/bench-strcspn-ifunc.c: Likewise.
55538         * benchtests/bench-strlen-ifunc.c: Likewise.
55539         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
55540         * benchtests/bench-strncat-ifunc.c: Likewise.
55541         * benchtests/bench-strncmp-ifunc.c: Likewise.
55542         * benchtests/bench-strncpy-ifunc.c: Likewise.
55543         * benchtests/bench-strnlen-ifunc.c: Likewise.
55544         * benchtests/bench-strpbrk-ifunc.c: Likewise.
55545         * benchtests/bench-strrchr-ifunc.c: Likewise.
55546         * benchtests/bench-strsep-ifunc.c: Likewise.
55547         * benchtests/bench-strspn-ifunc.c: Likewise.
55548         * benchtests/bench-strstr-ifunc.c: Likewise.
55550 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
55552         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
55554 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
55556         * resolv/netdb.h: Use __glibc_reserved instead __unused.
55557         * rt/aio.h: Likewise.
55558         * sysdeps/gnu/bits/utmp.h: Likewise.
55559         * sysdeps/gnu/bits/utmpx.h: Likewise.
55560         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
55561         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
55562         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
55563         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
55564         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
55565         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
55566         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
55567         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
55568         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
55569         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
55570         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
55571         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
55572         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
55573         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
55574         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
55575         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
55576         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
55577         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
55578         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
55579         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
55580         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
55581         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
55582         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
55583         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
55584         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
55585         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
55586         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
55587         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
55588         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
55589         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
55590         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
55591         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
55592         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
55593         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
55594         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
55595         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
55596         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
55597         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
55598         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
55599         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
55600         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
55601         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
55603 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
55605         [BZ #16245]
55606         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
55607         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
55609 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
55611         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
55612         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
55613         Likewise.
55615 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55617         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
55618         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
55619         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
55620         (__fesetround): Remove define.
55621         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
55622         rounding and exceptions handling.
55623         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
55624         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
55625         (__fe_nomask_env): Likewise.
55626         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
55627         __fegetround instead of fegetround.
55628         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
55629         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
55631 2013-11-21  Roland McGrath  <roland@hack.frob.com>
55633         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
55634         it's there.
55636         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
55638 2013-11-21  Meador Inge  <meadori@codesourcery.com>
55640         [BZ #11157]
55641         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
55642         (encrypt_r): Likewise.
55643         * malloc/obstack.h (obstack_free): Likewise.
55644         * posix/unistd.h (encrypt): Likewise.
55646 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
55648         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
55649         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
55650         DL_CALL_DT_FINI() that call the functions directly.
55651         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
55652         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
55653         * elf/dl-fini.c: Likewise.
55655 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
55657         * malloc/hooks.c (memalign_check): Add alignment rounding.
55658         * malloc/malloc.c (_mid_memalign): New function.
55659         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
55660         Implement by calling _mid_memalign.
55661         * manual/probes.texi (Memory Allocation Probes): Remove
55662         memory_valloc_retry and memory_pvalloc_retry.
55664 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
55666         * locale/programs/locarchive.c (open_archive): Add const
55667         qualifier to ARCHIVEFNAME and copy default fname to
55668         DEFAULT_FNAME.
55670         [BZ #15601]
55671         * libio/tst-widetext.input: Rename Oriya to Odia.
55672         * locale/iso-639.def: Likewise.
55674         * manual/probes.texi (Mathematical Function Probes): Add
55675         documentation for sin, cos, asin and acos probes.
55676         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
55677         (__sin32): Add slowasin probe.
55678         (__cos32): Add slowacos probe.
55679         (__mpsin): Add slowsin probe.
55680         (__mpcos): Add slowcos probe.
55682 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
55684         [BZ #15483]
55685         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
55686         thread-local __sim_exceptions_thread and global
55687         __sim_exceptions_global.
55688         (__sim_disabled_exceptions): Change to thread-local
55689         __sim_disabled_exceptions_thread and global
55690         __sim_disabled_exceptions_global.
55691         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
55692         and global __sim_round_mode_global.
55693         (__simulate_exceptions): Use thread-local floating-point state and
55694         set global state from it as needed.
55695         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
55696         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
55697         __sim_round_mode_thread.
55698         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
55699         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
55700         and global __sim_exceptions_global.
55701         (__sim_disabled_exceptions): Change to thread-local
55702         __sim_disabled_exceptions_thread and global
55703         __sim_disabled_exceptions_global.
55704         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
55705         and global __sim_round_mode_global.
55706         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
55707         (SIM_SET_GLOBAL): Likewise.
55708         * sysdeps/powerpc/soft-fp/sfp-machine.h
55709         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
55710         __sim_round_mode_thread.
55711         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
55712         __sim_disabled_exceptions_thread.
55713         (__sim_exceptions): Change to __sim_exceptions_thread.
55714         (__sim_disabled_exceptions): Change to
55715         __sim_disabled_exceptions_thread.
55716         (__sim_round_mode): Change to __sim_round_mode_thread.
55717         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
55718         thread-local floating-point state and set global state from it as
55719         needed.
55720         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
55721         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
55722         (__sim_disabled_exceptions): Remove extern declaration.
55723         (feenableexcept): Use thread-local floating-point state and set
55724         global state from it as needed.
55725         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
55726         extern declaration.
55727         (__sim_disabled_exceptions): Likewise.
55728         (__sim_round_mode): Likewise.
55729         (__fegetenv): Use thread-local floating-point state.
55730         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
55731         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
55732         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
55733         floating-point state and set global state from it as needed.
55734         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
55735         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
55736         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
55737         Likewise.
55738         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
55739         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
55740         Likewise.
55741         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
55742         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
55743         Use __sim_round_mode_thread.
55744         * math/test-fenv-tls.c: New file.
55745         * math/Makefile (tests): Add test-fenv-tls.
55746         ($(objpfx)test-fenv-tls): Depend on
55747         $(common-objpfx)nptl/libpthread.so.
55749 2013-11-19  Andreas Schwab  <schwab@suse.de>
55751         * locale/programs/locale.c (show_info): Decode wordarray elements.
55752         * locale/categories.def (LC_MONETARY): Add element for
55753         _NL_MONETARY_CRNCYSTR.
55754         * locale/C-monetary.c (conversion_rate): New variable.
55755         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
55756         element.
55758 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
55760         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
55761         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
55763 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
55765         * elf/Makefile (tst-auxv): New test.
55766         * elf/tst-auxv.c: New
55767         * elf/rtld.c (dl_main): Adjust AT_EXECFN
55769 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
55771         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
55772         (hidden_proto): Caller changed.
55773         (hidden_tls_proto): New macro.
55774         (libc_hidden_tls_proto): Likewise.
55775         (rtld_hidden_tls_proto): Likewise.
55776         (libm_hidden_tls_proto): Likewise.
55777         (libresolv_hidden_tls_proto): Likewise.
55778         (librt_hidden_tls_proto): Likewise.
55779         (libdl_hidden_tls_proto): Likewise.
55780         (libnss_files_hidden_tls_proto): Likewise.
55781         (libnsl_hidden_tls_proto): Likewise.
55782         (libnss_nisplus_hidden_tls_proto): Likewise.
55783         (libutil_hidden_tls_proto): Likewise.
55785 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
55787         [BZ #10253]
55788         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
55789         (decompose_rpath): Defer expansion to fillin_rpath.
55790         (_dl_init_paths): Pass linkmap to fillin_rpath.
55792 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
55794         * benchtests/Makefile: Add strsep.
55795         * benchtests/bench-strsep.c: New file: strsep benchtest.
55796         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
55798 2013-11-18  Andreas Schwab  <schwab@suse.de>
55800         * locale/programs/locale.c (show_info) [case byte]: Check for
55801         '\377' instead of '\177'.
55802         * locale/C-monetary.c (not_available): Always use "\377".
55803         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
55804         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
55805         detect unavailable sign_posn locale elements.
55806         * locale/localeconv.c (__localeconv): For grouping and
55807         mon_grouping handle "\177" and "\377" like no grouping.
55808         (INT_ELEM): New macro.  Use it to set all numeric members.
55809         * locale/programs/ld-monetary.c (monetary_read)
55810         <tok_mon_grouping>: Normalize single -1 to the empty string.
55811         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
55812         Likewise.
55814 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
55816         [BZ #16055]
55817         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
55818         when we match (nil).
55819         * stdio-common/tst-sscanf.c (struct test): Add testcase.
55821 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
55823         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
55824         (NO_TEST_INLINE): Update value.
55825         (ERRNO_UNCHANGED): Likewise.
55826         (ERRNO_EDOM): Likewise.
55827         (ERRNO_ERANGE): Likewise.
55828         (IGNORE_RESULT): Likewise.
55829         (check_float_internal): Check signs of NaN results if
55830         TEST_NAN_SIGN used.
55831         (check_complex): Pass TEST_NAN_SIGN flag through to second
55832         check_float_internal call.
55833         (copysign_test_data): Add tests with quiet NaNs as second
55834         argument.  Use TEST_NAN_SIGN.
55835         (fabs_test_data): Add test of negative quiet NaN argument.  Use
55836         TEST_NAN_SIGN.
55837         (signbit_test_data): Add tests of quiet NaN argument.
55838         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
55840         * math/gen-libm-test.pl (show_exceptions): Take extra argument
55841         $ignore_result.
55842         (parse_args): Handle function results specified as IGNORE.
55843         * math/libm-test.inc (IGNORE_RESULT): New macro.
55844         (check_float_internal): Do not check numerical result if flag
55845         IGNORE_RESULT set.
55846         (check_complex): Pass through IGNORE_RESULT to second
55847         check_float_internal call.
55848         (check_int): Do not check numerical result if flag IGNORE_RESULT
55849         set.
55850         (check_long): Likewise.
55851         (check_bool): Likewise.
55852         (check_longlong): Likewise.
55853         (lrint_test_data): Add tests of infinite and NaN arguments.
55854         (lrint_tonearest_test_data): Likewise.
55855         (lrint_towardzero_test_data): Likewise.
55856         (lrint_downward_test_data): Likewise.
55857         (lrint_upward_test_data): Likewise.
55858         (llrint_test_data): Likewise.
55859         (llrint_tonearest_test_data): Likewise.
55860         (llrint_towardzero_test_data): Likewise.
55861         (llrint_downward_test_data): Likewise.
55862         (llrint_upward_test_data): Likewise.
55863         (lround_test_data): Likewise.
55864         (llround_test_data): Likewise.
55866         * math/libm-test.inc (NO_TEST_INLINE): New macro.
55867         (ERRNO_UNCHANGED): Update value.
55868         (ERRNO_EDOM): Likewise.
55869         (ERRNO_ERANGE): Likewise.
55870         (NO_TEST_INLINE_FLOAT): New macro.
55871         (NO_TEST_INLINE_DOUBLE): Likewise.
55872         (enable_test): New function.
55873         (RUN_TEST_f_f): Check enable_test before running test.
55874         (RUN_TEST_2_f): Likewise.
55875         (RUN_TEST_fff_f): Likewise.
55876         (RUN_TEST_c_f): Likewise.
55877         (RUN_TEST_f_f1): Likewise.
55878         (RUN_TEST_fF_f1): Likewise.
55879         (RUN_TEST_fI_f1): Likewise.
55880         (RUN_TEST_ffI_f1): Likewise.
55881         (RUN_TEST_c_c): Likewise.
55882         (RUN_TEST_cc_c): Likewise.
55883         (RUN_TEST_f_i): Likewise.
55884         (RUN_TEST_f_i_tg): Likewise.
55885         (RUN_TEST_ff_i_tg): Likewise.
55886         (RUN_TEST_f_b): Likewise.
55887         (RUN_TEST_f_b_tg): Likewise.
55888         (RUN_TEST_f_l): Likewise.
55889         (RUN_TEST_f_L): Likewise.
55890         (RUN_TEST_fFF_11): Likewise.
55891         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
55892         conditionals.
55893         (cosh_test_data): Likewise.
55894         (exp_test_data): Likewise.
55895         (expm1_test_data): Likewise.
55896         (hypot_test_data): Likewise.
55897         (pow_test_data): Likewise.
55898         (sinh_test_data): Likewise.
55899         (tanh_test_data): Likewise.
55900         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
55901         flags argument.
55903         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
55904         tests with quiet NaN input and output.
55905         (acosh_test_data): Likewise.
55906         (asin_test_data): Likewise.
55907         (asinh_test_data): Likewise.
55908         (atan_test_data): Likewise.
55909         (atanh_test_data): Likewise.
55910         (atan2_test_data): Likewise.
55911         (cbrt_test_data): Likewise.
55912         (cos_test_data): Likewise.
55913         (cosh_test_data): Likewise.
55914         (erf_test_data): Likewise.
55915         (erfc_test_data): Likewise.
55916         (exp_test_data): Likewise.
55917         (exp10_test_data): Likewise.
55918         (exp2_test_data): Likewise.
55919         (expm1_test_data): Likewise.
55920         (hypot_test_data): Likewise.
55921         (j0_test_data): Likewise.
55922         (j1_test_data): Likewise.
55923         (jn_test_data): Likewise.
55924         (lgamma_test_data): Likewise.
55925         (log_test_data): Likewise.
55926         (log10_test_data): Likewise.
55927         (log1p_test_data): Likewise.
55928         (log2_test_data): Likewise.
55929         (pow_test_data): Likewise.
55930         (scalb_test_data): Likewise.
55931         (sin_test_data): Likewise.
55932         (sincos_test_data): Likewise.
55933         (sinh_test_data): Likewise.
55934         (tan_test_data): Likewise.
55935         (tanh_test_data): Likewise.
55936         (tgamma_test_data): Likewise.
55937         (y0_test_data): Likewise.
55938         (y1_test_data): Likewise.
55939         (yn_test_data): Likewise.
55941         [BZ #16167]
55942         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
55943         argument being NaN and avoid computations with second argument in
55944         that case.
55945         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
55946         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
55947         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
55949 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
55951         * locale/iso-639.def: Add Chitwani Tharu (the).
55953 2013-11-14  Andreas Schwab  <schwab@suse.de>
55955         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
55956         word instead of empty string.
55958 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55960         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
55961         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
55962         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
55963         (__fe_nomask_env): Likewise.
55965 2013-11-13  Steve Ellcey  <sellcey@mips.com>
55967         * benchtests/bench-timing.h: Include time.h.
55969 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
55971         [BZ #15997]
55972         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
55973         to 3.4.0 for x32.
55974         * sysdeps/unix/sysv/linux/configure: Regenerated.
55976 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
55978         [BZ #16151]
55979         * stdlib/strtod_l.c (round_and_return): Do not consider
55980         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
55981         exponent one less than half the least subnormal exponent.
55982         * stdlib/test-strtod-round-data: Add more tests.
55983         * stdlib/tst-strtod-round.c (tests): Regenerated.
55985 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55987         [BZ #14143]
55988         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
55989         (__fe_mask_env): Likewise.
55990         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
55991         libm_hidden_proto and add function prototype.
55992         (__fe_mask_env): Add function prototype.
55993         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
55994         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
55995         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
55996         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
55997         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
55998         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
56000 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
56002         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
56003         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
56005 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
56007         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
56008         of htab_find_slot().
56010 2013-11-11  David S. Miller  <davem@davemloft.net>
56012         [BZ #16150]
56013         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
56014         symbol in the non-vis3 case in static builds.
56015         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
56016         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
56017         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
56018         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
56020 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
56022         [BZ #387]
56023         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
56024         it is empty.
56026 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56028         * benchtests/Makefile: Add bench-strtod.
56029         * benchtests/bench-strtod.c: New file: strtod benchtest
56031 2013-11-11  Andreas Schwab  <schwab@suse.de>
56033         [BZ #16153]
56034         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
56035         terminating NUL in key length.
56037 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56039         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
56040         Add artificial ODP entry for vDSO symbol for PPC64.
56041         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
56042         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
56044 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
56046         [BZ #15374]
56047         * nss/getent.c (services_keys): Recognize services starting with digit.
56049 2013-11-06  David S. Miller  <davem@davemloft.net>
56051         [BZ #15985]
56052         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
56053         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
56055 2013-11-06  Will Newton  <will.newton@linaro.org>
56057         * manual/memory.texi (Malloc Examples): Remove register
56058         keyword from examples.
56060 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
56062         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
56064 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
56066         [BZ #6981]
56067         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
56068         depending on [__GCC_IEC_559 > 0].
56069         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
56070         depending on [__GCC_IEC_559_COMPLEX > 0].
56072 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
56074         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
56075         to iso-639.def.
56077 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
56079         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
56081 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
56083         [BZ #16112]
56084         * malloc/malloc (malloc_info): Do not handle first bin as
56085         special case.
56087 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
56089         * locale/iso-639.def: Add Central Nahuatl (nhn).
56091 2013-11-01  Bruno Haible  <bruno@clisp.org>
56093         [BZ #7003]
56094         * manual/math.texi (BSD Random): Specify range upper bound as
56095         in POSIX.
56097 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
56099         * locale/iso-639.def: Add Meadow Mari (mhr).
56101 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
56103         [BZ #14752], [BZ #15763]
56104         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
56105         Validate name.
56106         * rt/tst_shm.c: Add test for escaping directory.
56108 2013-10-31  Andreas Schwab  <schwab@suse.de>
56110         [BZ #15917]
56111         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
56112         followed by 'x' as part of digit sequence.
56113         * stdio-common/tst-sscanf.c (double_tests2): New tests.
56115 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
56117         [BZ #16037]
56118         * configure.ac: allow GNU Make 4.0 and greater.
56119         * configure: Regenerated.
56121 2013-10-30  Will Newton  <will.newton@linaro.org>
56123         [BZ #16038]
56124         * malloc/hooks.c (memalign_check): Limit alignment to the
56125         maximum representable power of two.
56126         * malloc/malloc.c (__libc_memalign): Likewise.
56127         * malloc/tst-memalign.c (do_test): Add test for very
56128         large alignment values.
56129         * malloc/tst-posix_memalign.c (do_test): Likewise.
56131 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
56133         [BZ #11087]
56134         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
56135         (munmap_chunk): Likewise.
56136         (mremap_chunk): Likewise.
56138 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
56140         [BZ #15799]
56141         * stdlib/div.c (div): Remove obsolete code.
56142         * stdlib/ldiv.c (ldiv): Likewise.
56143         * stdlib/lldiv.c (lldiv): Likewise.
56145 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
56147         [BZ #16071]
56148         * nss/nss_files/files-XXX.c (get_contents_ret): New
56149         enumerator.
56150         (get_contents): New function.
56151         (internal_getent): Use it.  Expand size of LINEBUFLEN.
56153 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
56155         * configure.in: Moved to ...
56156         * configure.ac: ... here. Change reference to configure.in
56157         to configure.ac.
56158         * sysdeps/arm/preconfigure.ac: ... here.
56159         configure.in to configure.ac.
56160         * sysdeps/gnu/configure.in: Moved to ...
56161         * sysdeps/gnu/configure.ac: ... here.
56162         * sysdeps/i386/configure.in: Moved to ...
56163         * sysdeps/i386/configure.ac: ... here.
56164         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
56165         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
56166         * sysdeps/mach/configure.in: Moved to ...
56167         * sysdeps/mach/configure.ac: ... here.
56168         * sysdeps/mach/hurd/configure.in: Moved to ...
56169         * sysdeps/mach/hurd/configure.ac: ... here.
56170         * sysdeps/powerpc/configure.in: Moved to ...
56171         * sysdeps/powerpc/configure.ac: ... here.
56172         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
56173         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
56174         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
56175         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
56176         * sysdeps/s390/s390-32/configure.in: Moved to ...
56177         * sysdeps/s390/s390-32/configure.ac: ... here.
56178         * sysdeps/s390/s390-64/configure.in: Moved to ...
56179         * sysdeps/s390/s390-64/configure.ac: ... here.
56180         * sysdeps/sh/configure.in: Moved to ...
56181         * sysdeps/sh/configure.ac: ... here.
56182         * sysdeps/sparc/configure.in: Moved to ...
56183         * sysdeps/sparc/configure.ac: ... here.
56184         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
56185         * sysdeps/unix/sysv/linux/configure.ac: ... here.
56186         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
56187         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
56188         * sysdeps/x86_64/configure.in: Moved to ...
56189         * sysdeps/x86_64/configure.ac: ... here.
56190         * sysdeps/x86_64/preconfigure.in: Moved to ...
56191         * sysdeps/x86_64/preconfigure.ac: ... here.
56192         * aclocal.m4: Change reference to configure.in to configure.ac.
56193         * config.h.in: Likewise.
56194         * manual/install.texi: Likewise.
56195         * manual/maint.texi: Likewise.
56196         * Makefile: Likewise.
56197         * malloc/Makefile: Likewise.
56198         * nscd/Makefile: Likewise.
56199         * Makeconfig: Change reference to configure.in and
56200         preconfigure.in to configure.ac and preconfigure.ac
56201         respectively.
56202         * INSTALL: Regenerated.
56203         * configure: Likewise.
56204         * sysdeps/gnu/configure: Likewise.
56205         * sysdeps/i386/configure: Likewise.
56206         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
56207         * sysdeps/mach/configure: Likewise.
56208         * sysdeps/mach/hurd/configure: Likewise.
56209         * sysdeps/powerpc/configure: Likewise.
56210         * sysdeps/powerpc/powerpc32/configure: Likewise.
56211         * sysdeps/powerpc/powerpc64/configure: Likewise.
56212         * sysdeps/s390/s390-32/configure: Likewise.
56213         * sysdeps/s390/s390-64/configure: Likewise.
56214         * sysdeps/sh/configure: Likewise.
56215         * sysdeps/sparc/configure: Likewise.
56216         * sysdeps/unix/sysv/linux/configure: Likewise.
56217         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
56218         * sysdeps/x86_64/configure: Likewise.
56219         * sysdeps/x86_64/preconfigure: Likewise.
56221 2013-10-29  Andreas Schwab  <schwab@suse.de>
56223         * stdio-common/Makefile (tst-swscanf-ENV): Define.
56225 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
56227         * benchtests/pow-inputs: Add new inputs.
56229         * benchtests/exp-inputs: Add new inputs.
56231         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
56232         conditional check for return value.
56233         (__cos32): Likewise.
56235 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56237         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
56238         to provide a boost for large inputs with word alignment.
56239         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
56240         implementation based on optimized PPC64 strcpy.
56241         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
56242         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
56243         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
56244         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
56246 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
56248         [BZ #2801]
56249         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
56251 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
56253         [BZ #14876]
56254         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
56255         * time/tst-strptime.c (day_tests): Add testcase.
56257 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
56259         [BZ #14029]
56260         * manual/pattern.texi: Acknowledge that fnmatch can fail.
56262 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
56264         [BZ #16074]
56265         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
56266         MAP_FAILED on error.
56268 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
56270         [BZ #16072]
56271         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
56272         heap for large requests.
56274 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
56276         [BZ #9954]
56277         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
56278         result if the result has no associated interface.
56279         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
56280         interface for all 127.X.Y.Z addresses.
56282 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
56284         * locale/iso-639.def: Add Ligurian (lij)
56286 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
56288         [BZ #15825]
56289         * sunrpc/rpc_main.c: Document rpcgen -5.
56291 2013-10-19  Michael Stahl  <mstahl@redhat.com>
56293         * elf/rtld.c (do_preload): Print the reason why preloading failed.
56295 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
56297         [BZ #10278]
56298         * posix/glob.c: Match only directories when trailing slash is present.
56299         * posix/tst-gnuglob.c (my_opendir): Do not open files.
56300         (main): Add testcase.
56302 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
56304         [BZ #15670]
56305         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
56307 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
56309         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
56310         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
56311         AUTH_DES and cindex for FIPS 140-2.
56312         (DES Encryption): Add cindex FIPS 46-3.
56314         * locale/locarchive.h (struct locarhandle): Add fname.
56315         * locale/programs/localedef.c (main): Pass ARGV[remaining]
56316         if an optional argument was specified to --list-archive,
56317         otherwise NULL.
56318         * locale/programs/locarchive.c (show_archive_content): Take new
56319         argument fname and pass it via ah.fname to open_archive.
56320         * locale/programs/localedef.h: Update decl.
56321         (open_archive): If AH->fname is non-null, open that file
56322         rather than the default file name, and don't ignore ENOENT.
56323         (create_archive): Set AH.fname to NULL.
56324         (delete_locales_from_archive): Likewise.
56325         (add_locales_to_archive): Likewise.
56326         * locale/programs/locfile.c (write_all_categories): Likewise.
56328 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
56329             Aldy Hernandez  <aldyh@redhat.com>
56331         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
56332         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
56333         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
56334         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
56335         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
56336         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
56337         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
56338         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
56339         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
56340         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
56341         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
56342         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
56343         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
56344         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
56345         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
56346         Likewise.
56347         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
56348         Likewise.
56349         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
56350         Likewise.
56351         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
56352         Likewise.
56353         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
56354         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
56355         Likewise.
56356         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
56357         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
56358         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
56359         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
56360         Likewise.
56361         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
56362         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
56363         * sysdeps/powerpc/preconfigure: Likewise.
56364         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
56365         Likewise.
56366         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
56367         Replace contents of file by #include of <fenv_libc.h>.
56368         * sysdeps/powerpc/soft-fp/sfp-machine.h
56369         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
56370         and <sys/prctl.h>.
56371         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
56372         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
56373         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
56374         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
56375         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
56376         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
56377         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
56378         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
56379         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
56380         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
56381         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
56382         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
56383         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
56384         Allow copysignl PLT reference to be missing.
56386 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
56387             Joseph Myers  <joseph@codesourcery.com
56389         [BZ #15948]
56390         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
56391         single character.
56392         (add_to_tablewc): Assert sequence of wide characters is nonempty.
56394 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
56396         * elf/tst-tls-dlinfo.c: Don't include tls.h.
56397         * elf/tst-tls1.c: Likewise.
56398         * elf/tst-tls10.h: Likewise.
56399         * elf/tst-tls14.c: Likewise.
56400         * elf/tst-tls2.c: Likewise.
56401         * elf/tst-tls3.c: Likewise.
56402         * elf/tst-tls4.c: Likewise.
56403         * elf/tst-tls5.c: Likewise.
56404         * elf/tst-tls6.c: Likewise.
56405         * elf/tst-tls7.c: Likewise.
56406         * elf/tst-tls8.c: Likewise.
56407         * elf/tst-tls9.c: Likewise.
56408         * elf/tst-tlsmod1.c: Likewise.
56409         * elf/tst-tlsmod13.c: Likewise.
56410         * elf/tst-tlsmod13a.c: Likewise.
56411         * elf/tst-tlsmod14a.c: Likewise.
56412         * elf/tst-tlsmod16a.c: Likewise.
56413         * elf/tst-tlsmod16b.c: Likewise.
56414         * elf/tst-tlsmod2.c: Likewise.
56415         * elf/tst-tlsmod3.c: Likewise.
56416         * elf/tst-tlsmod4.c: Likewise.
56417         * elf/tst-tlsmod5.c: Likewise.
56418         * elf/tst-tlsmod6.c: Likewise.
56420 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
56422         [BZ #12486]
56423         * malloc/malloc.c: remove checks for statistics.
56425 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
56427         [BZ #15277]
56428         * inet/inet_net.c (inet_network): Detect additional invalid strings.
56429         * inet/tst-network.c: Add testcase.
56431 2013-10-17  Andreas Schwab  <schwab@suse.de>
56433         [BZ #15218]
56434         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
56435         to determine canonical name.
56437 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
56439         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
56440         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
56441         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
56442         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
56443         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
56444         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
56445         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
56446         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
56447         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
56448         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
56449         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
56450         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
56451         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
56452         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
56453         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
56454         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
56455         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
56456         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
56457         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
56458         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
56459         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
56460         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
56461         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
56462         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
56463         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
56464         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
56465         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
56466         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
56467         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
56468         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
56469         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
56470         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
56471         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
56472         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
56473         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
56474         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
56475         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
56476         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
56477         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
56478         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
56479         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
56480         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
56481         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
56482         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
56483         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
56484         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
56485         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
56486         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
56487         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
56488         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
56489         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
56490         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
56491         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
56492         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
56493         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
56494         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
56495         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
56496         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
56498 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
56500         [BZ #16041]
56501         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
56502         make result into a quiet NaN.
56504 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
56506         * soft-fp/adddf3.c: Fix horizontal whitespace.
56507         * soft-fp/addsf3.c: Likewise.
56508         * soft-fp/addtf3.c: Likewise.
56509         * soft-fp/divdf3.c: Likewise.
56510         * soft-fp/divsf3.c: Likewise.
56511         * soft-fp/divtf3.c: Likewise.
56512         * soft-fp/double.h: Likewise.
56513         * soft-fp/eqdf2.c: Likewise.
56514         * soft-fp/eqsf2.c: Likewise.
56515         * soft-fp/eqtf2.c: Likewise.
56516         * soft-fp/extenddftf2.c: Likewise.
56517         * soft-fp/extended.h: Likewise.
56518         * soft-fp/extendsfdf2.c: Likewise.
56519         * soft-fp/extendsftf2.c: Likewise.
56520         * soft-fp/extendxftf2.c: Likewise.
56521         * soft-fp/fixdfdi.c: Likewise.
56522         * soft-fp/fixdfsi.c: Likewise.
56523         * soft-fp/fixdfti.c: Likewise.
56524         * soft-fp/fixsfdi.c: Likewise.
56525         * soft-fp/fixsfsi.c: Likewise.
56526         * soft-fp/fixsfti.c: Likewise.
56527         * soft-fp/fixtfdi.c: Likewise.
56528         * soft-fp/fixtfsi.c: Likewise.
56529         * soft-fp/fixtfti.c: Likewise.
56530         * soft-fp/fixunsdfdi.c: Likewise.
56531         * soft-fp/fixunsdfsi.c: Likewise.
56532         * soft-fp/fixunsdfti.c: Likewise.
56533         * soft-fp/fixunssfdi.c: Likewise.
56534         * soft-fp/fixunssfsi.c: Likewise.
56535         * soft-fp/fixunssfti.c: Likewise.
56536         * soft-fp/fixunstfdi.c: Likewise.
56537         * soft-fp/fixunstfsi.c: Likewise.
56538         * soft-fp/fixunstfti.c: Likewise.
56539         * soft-fp/floatdidf.c: Likewise.
56540         * soft-fp/floatdisf.c: Likewise.
56541         * soft-fp/floatditf.c: Likewise.
56542         * soft-fp/floatsidf.c: Likewise.
56543         * soft-fp/floatsisf.c: Likewise.
56544         * soft-fp/floatsitf.c: Likewise.
56545         * soft-fp/floattidf.c: Likewise.
56546         * soft-fp/floattisf.c: Likewise.
56547         * soft-fp/floattitf.c: Likewise.
56548         * soft-fp/floatundidf.c: Likewise.
56549         * soft-fp/floatundisf.c: Likewise.
56550         * soft-fp/floatunditf.c: Likewise.
56551         * soft-fp/floatunsidf.c: Likewise.
56552         * soft-fp/floatunsisf.c: Likewise.
56553         * soft-fp/floatunsitf.c: Likewise.
56554         * soft-fp/floatuntidf.c: Likewise.
56555         * soft-fp/floatuntisf.c: Likewise.
56556         * soft-fp/floatuntitf.c: Likewise.
56557         * soft-fp/fmadf4.c: Likewise.
56558         * soft-fp/fmasf4.c: Likewise.
56559         * soft-fp/fmatf4.c: Likewise.
56560         * soft-fp/gedf2.c: Likewise.
56561         * soft-fp/gesf2.c: Likewise.
56562         * soft-fp/getf2.c: Likewise.
56563         * soft-fp/ledf2.c: Likewise.
56564         * soft-fp/lesf2.c: Likewise.
56565         * soft-fp/letf2.c: Likewise.
56566         * soft-fp/muldf3.c: Likewise.
56567         * soft-fp/mulsf3.c: Likewise.
56568         * soft-fp/multf3.c: Likewise.
56569         * soft-fp/negdf2.c: Likewise.
56570         * soft-fp/negsf2.c: Likewise.
56571         * soft-fp/negtf2.c: Likewise.
56572         * soft-fp/op-1.h: Likewise.
56573         * soft-fp/op-2.h: Likewise.
56574         * soft-fp/op-4.h: Likewise.
56575         * soft-fp/op-8.h: Likewise.
56576         * soft-fp/op-common.h: Likewise.
56577         * soft-fp/quad.h: Likewise.
56578         * soft-fp/single.h: Likewise.
56579         * soft-fp/soft-fp.h: Likewise.
56580         * soft-fp/sqrtdf2.c: Likewise.
56581         * soft-fp/sqrtsf2.c: Likewise.
56582         * soft-fp/sqrttf2.c: Likewise.
56583         * soft-fp/subdf3.c: Likewise.
56584         * soft-fp/subsf3.c: Likewise.
56585         * soft-fp/subtf3.c: Likewise.
56586         * soft-fp/truncdfsf2.c: Likewise.
56587         * soft-fp/trunctfdf2.c: Likewise.
56588         * soft-fp/trunctfsf2.c: Likewise.
56589         * soft-fp/trunctfxf2.c: Likewise.
56590         * soft-fp/unorddf2.c: Likewise.
56591         * soft-fp/unordsf2.c: Likewise.
56592         * soft-fp/unordtf2.c: Likewise.
56594 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
56596         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
56597         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
56599 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
56601         * elf/dl-libc.c: Clear initfini list after freeing.
56603 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
56605         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
56606         * soft-fp/addsf3.c: Likewise.
56607         * soft-fp/addtf3.c: Likewise.
56608         * soft-fp/divdf3.c: Likewise.
56609         * soft-fp/divsf3.c: Likewise.
56610         * soft-fp/divtf3.c: Likewise.
56611         * soft-fp/double.h: Likewise.
56612         * soft-fp/eqdf2.c: Likewise.
56613         * soft-fp/eqsf2.c: Likewise.
56614         * soft-fp/eqtf2.c: Likewise.
56615         * soft-fp/extenddftf2.c: Likewise.
56616         * soft-fp/extended.h: Likewise.
56617         * soft-fp/extendsfdf2.c: Likewise.
56618         * soft-fp/extendsftf2.c: Likewise.
56619         * soft-fp/extendxftf2.c: Likewise.
56620         * soft-fp/fixdfdi.c: Likewise.
56621         * soft-fp/fixdfsi.c: Likewise.
56622         * soft-fp/fixdfti.c: Likewise.
56623         * soft-fp/fixsfdi.c: Likewise.
56624         * soft-fp/fixsfsi.c: Likewise.
56625         * soft-fp/fixsfti.c: Likewise.
56626         * soft-fp/fixtfdi.c: Likewise.
56627         * soft-fp/fixtfsi.c: Likewise.
56628         * soft-fp/fixtfti.c: Likewise.
56629         * soft-fp/fixunsdfdi.c: Likewise.
56630         * soft-fp/fixunsdfsi.c: Likewise.
56631         * soft-fp/fixunsdfti.c: Likewise.
56632         * soft-fp/fixunssfdi.c: Likewise.
56633         * soft-fp/fixunssfsi.c: Likewise.
56634         * soft-fp/fixunssfti.c: Likewise.
56635         * soft-fp/fixunstfdi.c: Likewise.
56636         * soft-fp/fixunstfsi.c: Likewise.
56637         * soft-fp/fixunstfti.c: Likewise.
56638         * soft-fp/floatdidf.c: Likewise.
56639         * soft-fp/floatdisf.c: Likewise.
56640         * soft-fp/floatditf.c: Likewise.
56641         * soft-fp/floatsidf.c: Likewise.
56642         * soft-fp/floatsisf.c: Likewise.
56643         * soft-fp/floatsitf.c: Likewise.
56644         * soft-fp/floattidf.c: Likewise.
56645         * soft-fp/floattisf.c: Likewise.
56646         * soft-fp/floattitf.c: Likewise.
56647         * soft-fp/floatundidf.c: Likewise.
56648         * soft-fp/floatundisf.c: Likewise.
56649         * soft-fp/floatunsidf.c: Likewise.
56650         * soft-fp/floatunsisf.c: Likewise.
56651         * soft-fp/floatuntidf.c: Likewise.
56652         * soft-fp/floatuntisf.c: Likewise.
56653         * soft-fp/floatuntitf.c: Likewise.
56654         * soft-fp/fmadf4.c: Likewise.
56655         * soft-fp/fmasf4.c: Likewise.
56656         * soft-fp/fmatf4.c: Likewise.
56657         * soft-fp/gedf2.c: Likewise.
56658         * soft-fp/gesf2.c: Likewise.
56659         * soft-fp/getf2.c: Likewise.
56660         * soft-fp/ledf2.c: Likewise.
56661         * soft-fp/lesf2.c: Likewise.
56662         * soft-fp/letf2.c: Likewise.
56663         * soft-fp/muldf3.c: Likewise.
56664         * soft-fp/mulsf3.c: Likewise.
56665         * soft-fp/multf3.c: Likewise.
56666         * soft-fp/negdf2.c: Likewise.
56667         * soft-fp/negsf2.c: Likewise.
56668         * soft-fp/negtf2.c: Likewise.
56669         * soft-fp/op-1.h: Likewise.
56670         * soft-fp/op-2.h: Likewise.
56671         * soft-fp/op-4.h: Likewise.
56672         * soft-fp/op-8.h: Likewise.
56673         * soft-fp/op-common.h: Likewise.
56674         * soft-fp/quad.h: Likewise.
56675         * soft-fp/single.h: Likewise.
56676         * soft-fp/soft-fp.h: Likewise.
56677         * soft-fp/sqrtdf2.c: Likewise.
56678         * soft-fp/sqrtsf2.c: Likewise.
56679         * soft-fp/sqrttf2.c: Likewise.
56680         * soft-fp/subdf3.c: Likewise.
56681         * soft-fp/subsf3.c: Likewise.
56682         * soft-fp/subtf3.c: Likewise.
56683         * soft-fp/truncdfsf2.c: Likewise.
56684         * soft-fp/trunctfdf2.c: Likewise.
56685         * soft-fp/trunctfsf2.c: Likewise.
56686         * soft-fp/trunctfxf2.c: Likewise.
56687         * soft-fp/unorddf2.c: Likewise.
56688         * soft-fp/unordsf2.c: Likewise.
56689         * soft-fp/unordtf2.c: Likewise.
56691 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
56693         [BZ #15672]
56694         * misc/error.c (error_tail): Fix possible buffer overflow.
56696 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
56698         [BZ #13028]
56699         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
56700         address.
56702 2013-10-14  P. J. McDermott  <pj@pehjota.net>
56704         [BZ #832]
56705         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
56706         testing pipefail option.
56708 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
56710         * soft-fp/double.h: Indent preprocessor directives inside #if.
56711         * soft-fp/extended.h: Likewise.
56712         * soft-fp/op-2.h: Likewise.
56713         * soft-fp/op-4.h: Likewise.
56714         * soft-fp/op-common.h: Likewise.
56715         * soft-fp/quad.h: Likewise.
56716         * soft-fp/single.h: Likewise.
56717         * soft-fp/soft-fp.h: Likewise.
56719 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
56721         * iconv/iconv_prog.c: Fix typos.
56722         * stdio-common/psiginfo-data.h: Likewise.
56724 2013-10-12   Reuben Thomas <rrt@sc3d.org>
56726         [BZ #15764]
56727         * locale/setlocale.c: Fix typo.
56729 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
56731         [BZ #16036]
56732         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
56733         signaling NaN arguments.
56734         * soft-fp/unordsf2.c (__unordsf2): Likewise.
56735         * soft-fp/unordtf2.c (__unordtf2): Likewise.
56737         [BZ #14910]
56738         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
56739         unordered operands.
56740         * soft-fp/gesf2.c (__gesf2): Likewise.
56741         * soft-fp/getf2.c (__getf2): Likewise.
56742         * soft-fp/ledf2.c (__ledf2): Likewise.
56743         * soft-fp/lesf2.c (__lesf2): Likewise.
56744         * soft-fp/letf2.c (__letf2): Likewise.
56746         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
56747         * soft-fp/eqsf2.c (__eqsf2): Likewise.
56748         * soft-fp/eqtf2.c (__eqtf2): Likewise.
56749         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
56750         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
56751         * soft-fp/fixdfti.c (__fixdfti): Likewise.
56752         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
56753         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
56754         * soft-fp/fixsfti.c (__fixsfti): Likewise.
56755         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
56756         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
56757         * soft-fp/fixtfti.c (__fixtfti): Likewise.
56758         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
56759         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
56760         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
56761         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
56762         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
56763         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
56764         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
56765         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
56766         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
56767         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
56768         * soft-fp/floatdisf.c (__floatdisf): Likewise.
56769         * soft-fp/floatsisf.c (__floatsisf): Likewise.
56770         * soft-fp/floattidf.c (__floattidf): Likewise.
56771         * soft-fp/floattisf.c (__floattisf): Likewise.
56772         * soft-fp/floattitf.c (__floattitf): Likewise.
56773         * soft-fp/floatundidf.c (__floatundidf): Likewise.
56774         * soft-fp/floatundisf.c (__floatundisf): Likewise.
56775         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
56776         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
56777         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
56778         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
56779         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
56780         * soft-fp/gesf2.c (__gesf2): Likewise.
56781         * soft-fp/getf2.c (__getf2): Likewise.
56782         * soft-fp/ledf2.c (__ledf2): Likewise.
56783         * soft-fp/lesf2.c (__lesf2): Likewise.
56784         * soft-fp/letf2.c (__letf2): Likewise.
56786         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
56787         Undefine and redefine.
56788         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
56789         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
56790         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
56791         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
56792         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
56793         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
56794         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
56795         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
56796         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
56797         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
56798         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
56799         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
56800         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
56801         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
56802         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
56804         [BZ #16032]
56805         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
56806         without decrementing exponent if mantissa >= that for the
56807         denominator, not >.
56808         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
56809         denominator, not >.  Decrement exponent in < case instead of
56810         incrementing in >= case.
56811         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
56812         without decrementing exponent if mantissa >= that for the
56813         denominator, not >.
56815         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
56816         computing saturated result for unsigned overflow.
56818 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
56819             Jeff Law  <law@redhat.com>
56821         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
56822         (atan2Mp): Add systemtap probe marker.
56823         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
56824         (__ieee754_log): Add systemtap probe marker.
56825         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
56826         (atanMp): Add systemtap probe marker.
56827         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
56828         (tanMp): Add systemtap probe marker.
56829         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
56830         (__slowexp): Add systemtap probe marker.
56831         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
56832         (__slowpow): Add systemtap probe marker.
56833         * manual/probes.texi: Document probes.
56835 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
56837         [BZ #15362]
56838         * libio/fileops.c (_IO_new_file_write): Return count of bytes
56839         written.
56840         (_IO_new_file_xsputn): Don't return EOF if nothing has been
56841         written.
56842         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
56843         written to buffer but not flushed.
56844         * libio/iofwrite_u.c:  Likewise.
56845         * libio/iopadn.c:  Return bytes returned even if EOF was
56846         encountered.
56847         * libio/iowpadn.c:  Likewise.
56848         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
56849         if _IO_padn does not write the whole buffer.
56850         [!COMPILE_WPRINTF] (PAD): Likewise.
56852 2013-10-10  David S. Miller  <davem@davemloft.net>
56854         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
56855         directory block.
56857 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
56859         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
56860         instead of FSF address.
56861         * soft-fp/fixdfti.c: Likewise.
56862         * soft-fp/fixsfti.c: Likewise.
56863         * soft-fp/fixtfti.c: Likewise.
56864         * soft-fp/fixunsdfti.c: Likewise.
56865         * soft-fp/fixunssfti.c: Likewise.
56866         * soft-fp/fixunstfti.c: Likewise.
56867         * soft-fp/floattidf.c: Likewise.
56868         * soft-fp/floattisf.c: Likewise.
56869         * soft-fp/floattitf.c: Likewise.
56870         * soft-fp/floatuntidf.c: Likewise.
56871         * soft-fp/floatuntisf.c: Likewise.
56872         * soft-fp/floatuntitf.c: Likewise.
56873         * soft-fp/trunctfxf2.c: Likewise.
56875         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
56876         * soft-fp/fixdfti.c: Likewise.
56877         * soft-fp/fixsfti.c: Likewise.
56878         * soft-fp/fixtfti.c: Likewise.
56879         * soft-fp/fixunsdfti.c: Likewise.
56880         * soft-fp/fixunssfti.c: Likewise.
56881         * soft-fp/fixunstfti.c: Likewise.
56882         * soft-fp/floattidf.c: Likewise.
56883         * soft-fp/floattisf.c: Likewise.
56884         * soft-fp/floattitf.c: Likewise.
56885         * soft-fp/floatuntidf.c: Likewise.
56886         * soft-fp/floatuntisf.c: Likewise.
56887         * soft-fp/floatuntitf.c: Likewise.
56888         * soft-fp/trunctfxf2.c: Likewise.
56890 2013-10-10  David S. Miller  <davem@davemloft.net>
56892         * sysdeps/sparc/fpu/libm-test-ulps: Update.
56894 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
56896         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
56897         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
56898         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
56899         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
56900         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
56901         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
56902         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
56904         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
56905         for NaNs before doing comparisons on argument.
56906         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
56907         Likewise.
56909 2013-10-10  Will Newton  <will.newton@linaro.org>
56911         * malloc/hooks.c (memalign_check): Ensure the value of bytes
56912         passed to _int_memalign does not overflow.
56914 2013-10-10  Torvald Riegel  <triegel@redhat.com>
56916         * scripts/bench.pl: Add include-sources directive.
56917         * benchtests/README: Update documentation.
56919 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
56921         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
56922         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
56923         instead of FP_INIT_ROUNDMODE.
56924         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
56925         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
56927         [BZ #16034]
56928         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
56929         copy class of input value.
56930         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
56931         not handle exceptions.
56932         * soft-fp/negsf2.c (__negsf2): Likewise.
56933         * soft-fp/negtf2.c (__negtf2): Likewise.
56934         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
56936 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
56938         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
56939         semicolon.  From Linux kernel.
56941 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
56943         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
56945 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
56947         [BZ #156]
56948         * manual/socket.texi: Added statement about buffer
56949         for gethostbyname2_r.
56951 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
56953         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
56954         Use .p2align directive instead, throughout.
56955         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
56956         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
56957         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
56958         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
56959         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
56960         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
56961         * sysdeps/x86_64/strchr.S: Likewise.
56962         * sysdeps/x86_64/strrchr.S: Likewise.
56964 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
56966         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
56968         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
56970         * sysdeps/generic/math_private.h (__mpsin1): Remove
56971         declaration.
56972         (__mpcos1): Likewise.
56973         (__mpsin): New argument __range_reduce.
56974         (__mpcos): Likewise.
56975         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
56976         (slow): Use __mpsin and __mpcos.
56977         (slow1): Likewise.
56978         (slow2): Likewise.
56979         (sloww): Likewise.
56980         (sloww1): Likewise.
56981         (sloww2): Likewise.
56982         (bsloww): Likewise.
56983         (bsloww1): Likewise.
56984         (bsloww2): Likewise.
56985         (cslow2): Likewise.
56986         (csloww): Likewise.
56987         (csloww1): Likewise.
56988         (csloww2): Likewise.
56989         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
56990         range_reduce.  Merge in __mpsin1.
56991         (__mpcos): Likewise.
56992         (__mpsin1): Remove.
56993         (__mpcos1): Likewise.
56995 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
56997         * locale/loadlocale.c (_nl_intern_locale_data): Use
56998         LOCFILE_ALIGNED_P.
56999         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
57000         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
57001         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
57002         obstack data is appropriately aligned.
57003         (obstack_int32_grow_fast): Likewise.
57004         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
57005         * locale/programs/locfile.c (add_locale_uint32): Likewise.
57006         (add_locale_uint32_array): Likewise.
57008 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
57010         * benchtests/Makefile: Remove ARGLIST and RET variables.
57011         ($(objpfx)bench-%.c): Pass only function name to the script.
57012         * benchtests/README: Update documentation.
57013         * benchtests/acos-inputs: Add new directives.
57014         * benchtests/acosh-inputs: Likewise.
57015         * benchtests/asin-inputs: Likewise.
57016         * benchtests/asinh-inputs: Likewise.
57017         * benchtests/atan-inputs: Likewise.
57018         * benchtests/atanh-inputs: Likewise.
57019         * benchtests/cos-inputs: Likewise.
57020         * benchtests/cosh-inputs: Likewise.
57021         * benchtests/exp-inputs: Likewise.
57022         * benchtests/log-inputs: Likewise.
57023         * benchtests/pow-inputs: Likewise.
57024         * benchtests/rint-inputs: Likewise.
57025         * benchtests/sin-inputs: Likewise.
57026         * benchtests/sinh-inputs: Likewise.
57027         * benchtests/tan-inputs: Likewise.
57028         * benchtests/tanh-inputs: Likewise.
57029         * scripts/bench.pl: Add support for new directives.
57031 2013-10-07  Alan Modra  <amodra@gmail.com>
57033         * README: Fix careless merge.
57035 2013-10-05  Alan Modra  <amodra@gmail.com>
57037         * NEWS: Mention powerpc64le support and bugs fixed.
57038         * README: Both big-endian and little-endian powerpc64 supported.
57040 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
57042         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
57043         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
57044         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
57045         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
57047 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
57049         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
57050         match prototype.
57052 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
57054         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
57055         Move -mhard-float appending from
57056         ports/sysdeps/powerpc/powerpc32/Makefile.
57057         [$(with-fp) = yes] (ASFLAGS): Likewise.
57058         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
57059         * sysdeps/powerpc/nofpu: Move directory from
57060         ports/sysdeps/powerpc/nofpu.
57061         * sysdeps/powerpc/soft-fp: Move directory from
57062         ports/sysdeps/powerpc/soft-fp.
57063         * sysdeps/powerpc/powerpc32/405: Move directory from
57064         ports/sysdeps/powerpc/powerpc32/405.
57065         * sysdeps/powerpc/powerpc32/440: Move directory from
57066         ports/sysdeps/powerpc/powerpc32/440.
57067         * sysdeps/powerpc/powerpc32/464: Move directory from
57068         ports/sysdeps/powerpc/powerpc32/464.
57069         * sysdeps/powerpc/powerpc32/476: Move directory from
57070         ports/sysdeps/powerpc/powerpc32/476.
57071         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
57072         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
57073         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
57074         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
57075         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
57076         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
57077         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
57078         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
57079         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
57080         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
57081         * README: Update for powerpc-*-linux-gnu software floating point
57082         support in libc.
57084         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
57085         case to powerpc/powerpc32*.
57086         * sysdeps/unix/sysv/linux/configure: Regenerated.
57088         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
57089         (_FPU_MASK_OM): Define as 0x04.
57090         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
57091         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
57092         0x00c10080.
57093         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
57094         0x0000003c.
57095         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
57097         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
57098         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
57099         getcontext_e500.
57100         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
57101         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
57102         setcontext_e500.
57103         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
57104         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
57105         and setcontext_e500.
57107 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
57109         * locale/iso-3166.def: Update iso-1366.def and related occurrences
57111 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
57113         * manual/threads.texi (Default Thread Attributes): Fix typo.
57115 2013-10-04  Will Newton  <will.newton@linaro.org>
57117         * malloc/Makefile: Add tst-memalign.
57118         * malloc/tst-memalign.c: New file.
57120         * malloc/tst-posix_memalign.c: Add comments.
57121         (do_test): Add comments and call free on all potentially
57122         allocated pointers. Add space after cast.
57124         * malloc/tst-pvalloc.c: Add comments.
57125         (do_test): Add comments and call free on all potentially
57126         allocated pointers. Remove duplicate check for NULL pointer.
57127         Add space after cast.
57129         * malloc/tst-valloc.c: Add comments.
57130         (do_test): Add comments and call free on all potentially
57131         allocated pointers. Remove duplicate check for NULL pointer.
57132         Add space after cast.
57134 2013-10-04  Alan Modra  <amodra@gmail.com>
57136         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
57137         Use stdint types in rather than __attribute__((mode())).
57138         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
57140 2013-10-04  Alan Modra  <amodra@gmail.com>
57142         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
57143         Correct handling of unaligned relocs for little-endian.
57144         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
57146 2013-10-04  Alan Modra  <amodra@gmail.com>
57148         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
57149         * configure: Regenerate.
57150         * nptl/shlib-versions: Powerpc*le starts at 2.18.
57151         * shlib-versions: Likewise.
57153 2013-10-04  Alan Modra  <amodra@gmail.com>
57155         * string/tester.c (test_memrchr): Increment reported test cycle.
57157 2013-10-04  Alan Modra  <amodra@gmail.com>
57159         * string/test-memcpy.c (do_one_test): When reporting errors, print
57160         string address and don't overrun end of string.
57162 2013-10-04  Alan Modra  <amodra@gmail.com>
57164         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
57165         insrdi.  Make better use of reg selection to speed exit slightly.
57166         Schedule entry path a little better.  Remove useless "are we done"
57167         checks on entry to main loop.  Handle wrapping around zero address.
57168         Correct main loop count.  Handle single left-over word from main
57169         loop inline rather than by using loop_small.  Remove extra word
57170         case in loop_small caused by wrong loop count.  Add little-endian
57171         support.
57172         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
57173         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
57174         cache hint.
57175         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
57176         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
57177         support.  Avoid rlwimi.
57178         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
57180 2013-10-04  Alan Modra  <amodra@gmail.com>
57182         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
57183         insrdi.  Formatting.
57184         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
57185         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
57186         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
57187         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
57188         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
57189         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
57191 2013-10-04  Alan Modra  <amodra@gmail.com>
57193         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
57194         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
57195         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
57196         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
57197         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
57198         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
57199         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
57200         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
57201         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
57202         use of regs.  Use power7 mtocrf.  Tidy function tails.
57204 2013-10-04  Alan Modra  <amodra@gmail.com>
57206         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
57207         Formatting.  Consistently use rXXX register defines or rN defines.
57208         Use early exit labels that avoid restoring unused non-volatile regs.
57209         Make cr field use more consistent with rWORDn compares.  Rename
57210         regs used as shift registers for unaligned loop, using rN defines
57211         for short lifetime/multiple use regs.
57212         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
57213         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
57214         addi 1,1,64 to pop stack frame.  Simplify return value code.
57215         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
57217 2013-10-04  Alan Modra  <amodra@gmail.com>
57219         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
57220         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
57221         rather than rlwimi.
57222         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
57223         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
57224         little-endian support.  Correct typos.
57225         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
57226         rather than rlwimi.
57227         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
57228         in loop and entry code to keep "and." results.
57229         (strchr): Add little-endian support.  Comment.  Move cntlzd
57230         earlier in tail.
57231         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
57233 2013-10-04  Alan Modra  <amodra@gmail.com>
57235         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
57236         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
57237         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
57238         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
57240 2013-10-04  Alan Modra  <amodra@gmail.com>
57242         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
57243         (rTMP): Define as r11.
57244         (strcmp): Add little-endian support.  Optimise tail.
57245         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
57246         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
57247         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
57248         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
57249         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
57250         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
57251         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
57253 2013-10-04  Alan Modra  <amodra@gmail.com>
57255         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
57256         little-endian support.  Remove unnecessary "are we done" tests.
57257         Handle "s" wrapping around zero and extremely large "size".
57258         Correct main loop count.  Handle single left-over word from main
57259         loop inline rather than by using small_loop.  Correct comments.
57260         Delete "zero" tail, use "end_max" instead.
57261         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
57263 2013-10-04  Alan Modra  <amodra@gmail.com>
57265         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
57266         support.  Don't branch over align.
57267         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
57268         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
57269         support.  Rearrange tmp reg use to suit.  Comment.
57270         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
57272 2013-10-04  Alan Modra  <amodra@gmail.com>
57274         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
57276 2013-10-04  Alan Modra  <amodra@gmail.com>
57278         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
57279         conditional form of branch and link when obtaining pc.
57280         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
57282 2013-10-04  Alan Modra  <amodra@gmail.com>
57284         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
57285         HIWORD/LOWORD.
57286         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
57287         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
57289 2013-10-04  Alan Modra  <amodra@gmail.com>
57291         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
57292         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
57293         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
57294         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
57295         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
57296         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
57297         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
57298         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
57299         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
57300         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
57302 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
57303             Alistair Popple <alistair@ozlabs.au.ibm.com>
57304             Alan Modra <amodra@gmail.com>
57306         [BZ #15723]
57307         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
57308         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
57309         _dl_hwcap access for little-endian.
57310         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
57311         destroy vmx regs when saving unaligned.
57312         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
57313         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
57314         destroy vmx regs when saving unaligned.
57316 2013-10-04  Alan Modra  <amodra@gmail.com>
57318         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
57319         Don't use a union to pack hi/low value.
57321 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
57323         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
57324         for little-endian.
57325         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
57326         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
57327         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
57328         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
57329         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
57331 2013-10-04  Alan Modra  <amodra@gmail.com>
57333         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
57334         constants to usual value for .cst8 section, and remove redundant
57335         high address load.
57336         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
57337         constant for 0x1p52.  Load little-endian words of double from
57338         correct stack offsets.
57340 2013-10-04  Alan Modra  <amodra@gmail.com>
57342         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
57343         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
57344         words of double from correct stack offsets.
57345         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
57346         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
57347         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
57348         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
57349         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
57350         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
57351         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
57352         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
57353         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
57354         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
57355         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
57356         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
57357         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
57358         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
57359         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
57360         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
57361         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
57363 2013-10-04  Alan Modra  <amodra@gmail.com>
57365         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
57366         64-bit int/double union.
57367         (_FPU_SETCW): Likewise.
57368         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
57369         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
57371 2013-10-04  Alan Modra  <amodra@gmail.com>
57373         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
57374         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
57376 2013-10-04  Alan Modra  <amodra@gmail.com>
57378         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
57379         use vector int constants.
57380         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
57382 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
57384         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
57385         array with long long.
57386         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
57387         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
57388         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
57389         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
57390         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
57391         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
57392         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
57393         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
57394         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
57395         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
57396         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
57397         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
57398         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
57400 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
57402         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
57403         (__signbit): Likewise.  Correct for little-endian.
57404         (__signbitl): Call __signbit.
57405         (lrint): Correct for little-endian.
57406         (lrintf): Call lrint.
57408 2013-10-04  Alan Modra  <amodra@gmail.com>
57410         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
57411         union 32-bit int array member with 64-bit int array.
57412         (t515, tm256): Double rather than long double.
57413         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
57415 2013-10-04  Alan Modra  <amodra@gmail.com>
57417         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
57418         Delete.
57419         (IEEE854_LONG_DOUBLE_BIAS): Delete.
57420         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
57421         version of math_ldbl.h.
57423 2013-10-04  Alan Modra  <amodra@gmail.com>
57425         [BZ #15734], [BZ #15735]
57426         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
57427         all uses of ieee875 long double macros and unions.  Simplify test
57428         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
57429         ldbl_extract_mantissa value for ix,iy exponents.  Properly
57430         normalize after ldbl_extract_mantissa, and don't add hidden bit
57431         already handled.  Don't treat low word of ieee854 mantissa like
57432         low word of IBM long double and mask off bit when testing for
57433         zero.
57434         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
57435         all uses of ieee875 long double macros and unions.  Simplify tests
57436         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
57437         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
57438         two1022, instead use their values.  Recognise that tests for large
57439         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
57440         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
57441         Rewrite all uses of ieee875 long double macros and unions.  Simplify
57442         test for 0.0L and nan.  Correct negation.
57443         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
57444         ieee875 long double macros and unions.  Correct output for large
57445         magnitude x.  Correct absolute value calculation.
57446         (__erfcl): Likewise.
57447         * math/libm-test.inc: Add tests for errors discovered in IBM long
57448         double versions of fmodl, remainderl, erfl and erfcl.
57450 2013-10-04  Alan Modra  <amodra@gmail.com>
57452         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
57453         all uses of ieee854 long double macros and unions.  Simplify tests
57454         for long doubles that are fully specified by the high double.
57455         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
57456         Likewise.
57457         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
57458         Remove dead code too.
57459         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
57460         (__ieee754_ynl): Likewise.
57461         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
57462         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
57463         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
57464         Remove dead code too.
57465         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
57466         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
57467         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
57468         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
57469         Simplify.
57470         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
57471         Simplify.
57472         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
57473         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
57474         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
57475         Comment on variable precision.
57476         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
57477         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
57478         Likewise.
57479         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
57480         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
57481         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
57482         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
57483         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
57485 2013-10-04  Alan Modra  <amodra@gmail.com>
57487         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
57488         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
57489         all uses of ieee854 long double macros and unions.
57490         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
57491         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
57492         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
57493         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
57494         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
57495         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
57496         Likewise.
57497         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
57498         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
57499         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
57500         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
57501         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
57502         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
57503         Simplify sign and nan test too.
57504         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
57505         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
57506         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
57507         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
57508         Likewise.
57509         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
57510         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
57511         Likewise.
57512         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
57513         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
57514         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
57515         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
57516         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
57517         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
57519 2013-10-04  Alan Modra  <amodra@gmail.com>
57521         * stdio-common/printf_size.c (__printf_size): Don't use
57522         union ieee854_long_double in fpnum union.
57523         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
57524         signbit macro to retrieve sign from long double.
57525         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
57526         retrieve sign from long double.
57527         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
57528         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
57529         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
57530         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
57531         * math/test-misc.c (main): Don't use union ieee854_long_double.
57533 2013-10-04  Alan Modra  <amodra@gmail.com>
57535         [BZ #15680]
57536         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
57537         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
57538         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
57539         calculation.  Remove unnecessary test for denormal exponent.
57540         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
57541         Correct handling of denormals.  Avoid undefined shift behaviour.
57542         Correct normalisation of low mantissa when low double is denormal.
57543         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
57544         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
57545         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
57546         Correct normalisation of low mantissa.  Test for overflow of high
57547         mantissa and normalise.
57548         (ldbl_nearbyint): Use more readable constant for two52.
57549         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
57550         (__mpn_construct_long_double): Fix test for overflow of high
57551         mantissa and correct normalisation.  Avoid undefined shift.
57553 2013-10-04  Alan Modra  <amodra@gmail.com>
57555         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
57556         (union ibm_extended_long_double): Define as an array of ieee754_double.
57557         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
57558         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
57559         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
57560         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
57561         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
57562         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
57563         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
57564         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
57565         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
57566         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
57567         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
57569 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
57571         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
57572         page size instead of calling getpagesize.
57574         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
57575         (LOCFILE_ALIGN_MASK): Likewise.
57576         (LOCFILE_ALIGN_UP): Likewise.
57577         (LOCFILE_ALIGNED_P): Likewise.
57578         * locale/programs/ld-collate.c (collate_output): Use the new
57579         macros instead of __alignof__ (int32_t).
57580         * locale/weight.h (findidx): Likewise.
57582 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
57584         [BZ #431]
57585         * manual/string.texi: Fix strncat and wcsncat.
57587 2013-10-03  Brooks Moses  <bmoses@google.com>
57589         [BZ #15915]
57590         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
57591         * Makerules: ...here, and adjust associated comments.
57593 2013-10-02  Will Newton  <will.newton@linaro.org>
57595         * malloc/Makefile: Add tst-pvalloc.
57596         * malloc/tst-pvalloc.c: New file.
57598 2013-10-02  Will Newton  <will.newton@linaro.org>
57600         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
57601         improve test coverage.
57603 2013-10-02  Will Newton  <will.newton@linaro.org>
57605         * malloc/Makefile: Add tst-posix_memalign.
57606         * malloc/tst-posix_memalign.c: New file.
57608 2013-10-01  Eric Blake  <eblake@redhat.com>
57610         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
57611         Use __THROWNL rather than __THROW on static functions.
57613 2013-09-30  Petr Machata  <pmachata@redhat.com>
57615         * elf/elf.h (R_AARCH64_ABS16): New macro.
57616         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
57617         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
57618         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
57619         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
57620         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
57621         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
57622         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
57623         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
57624         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
57625         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
57626         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
57627         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
57628         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
57629         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
57630         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
57631         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
57632         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
57633         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
57634         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
57635         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
57636         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
57637         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
57638         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
57639         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
57640         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
57641         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
57642         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
57643         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
57644         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
57645         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
57646         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
57647         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
57648         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
57649         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
57650         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
57651         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
57652         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
57653         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
57654         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
57655         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
57656         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
57657         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
57658         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
57659         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
57660         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
57661         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
57662         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
57663         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
57664         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
57665         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
57666         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
57667         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
57668         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
57669         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
57670         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
57671         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
57672         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
57673         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
57674         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
57675         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
57676         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
57677         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
57678         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
57679         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
57680         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
57681         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
57682         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
57683         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
57684         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
57685         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
57686         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
57687         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
57688         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
57689         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
57690         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
57691         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
57692         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
57693         (R_AARCH64_TLSDESC_LDR): Likewise.
57694         (R_AARCH64_TLSDESC_ADD): Likewise.
57695         (R_AARCH64_TLSDESC_CALL): Likewise.
57697 2013-09-30  Andreas Schwab  <schwab@suse.de>
57699         [BZ #15048]
57700         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
57701         the nss database lookup.
57702         * nscd/initgrcache.c (addinitgroupsX): Likewise.
57703         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
57705 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
57707         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
57709 2013-09-28  P. J. McDermott  <pj@pehjota.net>
57711         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
57712         ${Bash-specific parameter/pattern/string} parameter expansion.
57713         * sysdeps/unix/make-syscalls.sh: Likewise.
57715 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
57717         * sysdeps/sh/stackguard-macros.h: New file.
57719 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
57721         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
57722         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
57723         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
57724         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
57725         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
57726         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
57728 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57730         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
57731         Fix thread ID register.
57733 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
57735         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
57736         [POSIX || UNIX98]: Require rather than permitting all symbols from
57737         <time.h>.
57738         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
57739         element of struct sched_param.
57740         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
57741         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
57742         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
57743         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
57744         constant.
57746 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
57748         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
57749         argument calculation.
57751 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
57753         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
57754         Expect macro.
57755         [POSIX] (pthread_attr_t): Do not require type.
57756         [POSIX] (pthread_cond_t): Likewise.
57757         [POSIX] (pthread_condattr_t): Likewise.
57758         [POSIX] (pthread_key_t): Likewise.
57759         [POSIX] (pthread_mutex_t): Likewise.
57760         [POSIX] (pthread_mutexattr_t): Likewise.
57761         [POSIX] (pthread_once_t): Likewise.
57762         [POSIX] (pthread_t): Likewise.
57763         [POSIX-based standards] (pthread_atfork): Expect function.
57765 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
57766             Richard Sandiford  <richard@codesourcery.com>
57768         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
57769         (swap_endianness_p): New extern variable.
57770         (set_big_endian): New inline function.
57771         (maybe_swap_uint32): Likewise.
57772         (maybe_swap_uint32_array): Likewise.
57773         (maybe_swap_uint32_obstack): Likewise.
57774         * locale/programs/locfile.c: Include <stdbool.h>.
57775         (swap_endianness_p): New variable.
57776         (add_locale_uint32): Call maybe_swap_uint32.
57777         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
57778         (write_locale_data): Call maybe_swap_uint32_array.
57779         * locale/programs/ld-collate.c (obstack_int32_grow): Call
57780         maybe_swap_uint32.
57781         (obstack_int32_grow_fast): Likewise.
57782         (output_weightwc): Call maybe_swap_uint32_obstack.
57783         (collate_output): Likewise.
57784         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
57785         (OPT_LITTLE_ENDIAN): Likewise.
57786         (options): Add --little-endian and --big-endian options.
57787         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
57788         * locale/programs/locarchive.c: Include "locfile.h".
57789         (GET): New macro.
57790         (SET): Likewise.
57791         (INC): Likewise.
57792         (create_archive): Use the new macros to access fields of
57793         structures directly mapped from or written to locale archives.
57794         (oldlocrecentcmp): Likewise.
57795         (enlarge_archive): Likewise.
57796         (insert_name): Likewise.
57797         (add_alias): Likewise.
57798         (add_locale): Likewise.
57799         (delete_locales_from_archive): Likewise.
57800         (show_archive_content): Likewise.
57801         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
57802         locale data.
57804 2013-09-24  Roland McGrath  <roland@hack.frob.com>
57806         * manual/freemanuals.texi: Updated from (newly) canonical copy at
57807         http://www.gnu.org/doc/freemanuals.texi.
57808         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
57810 2013-09-24  Will Newton  <will.newton@linaro.org>
57812         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
57813         macro.
57815 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
57817         * locale/hashval.h (compute_hashval): Interpret bytes of key as
57818         unsigned char.
57820 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
57822         * manual/threads.texi (POSIX Threads): Fix a typo.
57824 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
57826         [BZ #14547]
57827         * string/tst-strcoll-overflow.c: New test case.
57828         * string/Makefile (xtests): Add tst-strcoll-overflow.
57829         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
57830         cache if string sizes may cause integer overflow.
57832         [BZ #14547]
57833         * string/strcoll_l.c (coll_seq): New members rule, idx,
57834         save_idx and back_us.
57835         (get_next_seq_nocache): New function.
57836         (do_compare_nocache): New function.
57837         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
57838         when malloc fails.
57840 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
57842         [BZ #15754]
57843         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
57844         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
57845         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
57847         [BZ #15754]
57848         * elf/Makefile (tests): Add tst-ptrguard1.
57849         (tests-static): Add tst-ptrguard1-static.
57850         (tst-ptrguard1-ARGS): Define.
57851         (tst-ptrguard1-static-ARGS): Define.
57852         * elf/tst-ptrguard1.c: New file.
57853         * elf/tst-ptrguard1-static.c: New file.
57854         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
57855         * sysdeps/i386/stackguard-macros.h: Likewise.
57856         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
57857         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
57858         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
57859         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
57860         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
57861         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
57863 2013-09-23  Hector Marco  <hecmargi@upv.es>
57864             Ismael Ripoll  <iripoll@disca.upv.es>
57865             Carlos O'Donell  <carlos@redhat.com>
57867         [BZ #15754]
57868         * sysdeps/generic/stackguard-macros.h: Define
57869         __pointer_chk_guard_local and POINTER_CHK_GUARD.
57870         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
57871         Define __pointer_chk_guard_local.
57872         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
57873         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
57875 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
57877         [BZ #15859]
57878         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
57880 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
57882         * include/string.h (__ffs): Declare as hidden.
57883         * string/ffs.c (__ffs): Define as hidden.
57884         * sysdeps/i386/ffs.c (__ffs): Likewise.
57885         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
57886         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
57887         * sysdeps/s390/ffs.c (__ffs): Likewise.
57888         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
57890 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
57892         * NEWS: Mention malloc probes.
57894         * malloc/arena.c (new_heap): New memory_heap_new probe.
57895         (grow_heap): New memory_heap_more probe.
57896         (shrink_heap): New memory_heap_less probe.
57897         (heap_trim): New memory_heap_free probe.
57898         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
57899         (systrim): New memory_sbrk_less probe.
57900         * manual/probes.texi: Document them.
57902         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
57903         * manual/probes.texi: Document it.
57905         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
57906         (__libc_realloc): Add memory_realloc_retry probe.
57907         (__libc_memalign): Add memory_memalign_retry probe.
57908         (__libc_valloc): Add memory_valloc_retry probe.
57909         (__libc_pvalloc): Add memory_pvalloc_retry probe.
57910         (__libc_calloc): Add memory_calloc_retry probe.
57911         * manual/probes.texi: Document them.
57913         * malloc/arena.c (get_free_list): Add probe
57914         memory_arena_reuse_free_list.
57915         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
57916         and memory_arena_reuse.
57917         (arena_get2) [!PER_THREAD]: Likewise.
57918         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
57919         memory_arena_reuse_realloc.
57920         * manual/probes.texi: Document them.
57922         * malloc/malloc.c (__libc_free): Add
57923         memory_mallopt_free_dyn_thresholds probe.
57924         (__libc_mallopt): Add multiple memory_mallopt probes.
57925         * manual/probes.texi: Document them.
57927         * malloc/malloc.c: Include stap-probe.h.
57928         (__libc_mallopt): Add memory_mallopt probe.
57929         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
57930         * manual/probes.texi: New.
57931         * manual/Makefile (chapters): Add probes.
57932         * manual/threads.texi: Set next node.
57934 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
57936         [BZ #15963, #13985]
57937         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
57938         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
57939         Add `Chinese' to `nan' entry name.
57941 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
57943         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
57944         (POLYNOMIAL): Likewise.
57945         (TAYLOR_SINCOS): Likewise.
57946         (TAYLOR_SLOW): Likewise.
57947         (__sin): Use TAYLOR_SINCOS.
57948         (__cos): Likewise.
57949         (slow): Use TAYLOR_SLOW.
57950         (sloww): Likewise.
57951         (bsloww): Likewise.
57952         (csloww): Likewise.
57954 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
57956         * stdlib/strtod_l.c: Fix buffer overrun.
57958 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
57960         * benchtests/Makefile (bench): Add sincos.
57961         * benchtests/bench-sincos.c: New file.
57963         * math/libm-test.inc (cos_test_data): New test inputs.
57964         (sin_test_data): Likewise.
57966         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
57967         macro.
57968         (__sin): Use it.
57969         (__cos): Likewise.
57970         (slow1): Likewise.
57971         (slow2): Likewise.
57972         (sloww1): Likewise.
57973         (sloww2): Likewise.
57974         (bsloww1): Likewise.
57975         (bsloww2): Likewise.
57976         (cslow2): Likewise.
57977         (csloww1): Likewise.
57978         (csloww2): Likewise.
57980         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
57981         function.
57982         (__sin): Use it.
57983         (__cos): Likewise.
57985         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
57986         gotos.
57987         (__cos): Likewise.
57989 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
57991         * config.h.in (HAVE_MIPS_NAN2008): New macro.
57992         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
57993         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
57994         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
57995         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
57996         * elf/cache.c (print_entry): Handle the new cache flags.
57998 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
57999             Aldy Hernandez  <aldyh@redhat.com>
58001         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
58002         Change condition to [_SOFT_FLOAT].
58003         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
58004         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
58005         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
58006         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
58007         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
58008         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
58009         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
58010         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
58011         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
58012         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
58013         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
58014         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
58015         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
58016         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
58017         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
58018         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
58019         declaration.
58021 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
58023         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
58024         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
58025         (__longjmp): Use LOAD_GP to load saved GPRs.
58026         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
58027         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
58028         (__sigsetjmp): Use SAVE_GP to save GPRs.
58030         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
58031         Do not append -msoft-float.
58032         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
58034 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
58036         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
58038 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
58040         [BZ #15966]
58041         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
58042         (_FPU_GETCW): Use initial "__" on variable and field names but not
58043         on macro parameter name.
58044         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
58045         parentheses around reference to macro parameter.
58047 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
58049         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
58050         prototype.
58051         (ctype_startup): Use uint32_t in cast and sizeof for
58052         ctype->charnames.
58054 2013-09-11  Jia Liu  <proljc@gmail.com>
58056         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
58057         __daddr_t_defined.
58058         [__FreeBSD__]: Likewise.
58060 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
58062         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
58063         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
58064         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
58065         (strchr): Remove __strchr_sse42 ifunc selection.
58066         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
58067         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
58069 2013-09-11  Will Newton  <will.newton@linaro.org>
58071         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
58072         parameter to RES. Remove hardcoded 1000 value.
58073         * benchtests/bench-skeleton.c (main): Pass RES parameter
58074         to TIMING_INIT and multiply result by 1000.
58076 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58078         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
58080 2013-09-11  Andreas Schwab  <schwab@suse.de>
58082         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
58083         if not defined.
58084         (O_TMPFILE) [__USE_GNU]: Define.
58085         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
58086         Define.
58088 2013-09-11  Will Newton  <will.newton@linaro.org>
58090         [BZ #15857]
58091         * malloc/malloc.c (__libc_memalign): Check the value of bytes
58092         does not overflow.
58094 2013-09-11  Will Newton  <will.newton@linaro.org>
58096         [BZ #15856]
58097         * malloc/malloc.c (__libc_valloc): Check the value of bytes
58098         does not overflow.
58100 2013-09-11  Will Newton  <will.newton@linaro.org>
58102         [BZ #15855]
58103         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
58104         does not overflow.
58106 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
58108         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
58109         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
58110         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
58111         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
58112         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
58114 2013-09-10  Allan McRae  <allan@archlinux.org>
58116         [BZ #15748]
58117         * manual/arith.texi (Parsing of Floats): Clarify
58118         cross-reference.
58120         [BZ #15849]
58121         * manual/install.texi (Running make install): Mention
58122         --enable-pt-chown.
58123         * INSTALL: Regenerated.
58125 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
58127         * csu/init-first.c (_init): Remove the !SHARED condition around
58128         FPU control word initialization.
58129         * elf/dl-support.c (_dl_fpu_control): New variable.
58130         (_dl_aux_init) <AT_FPUCW>: Initialize it.
58131         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
58132         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
58133         * math/test-fpucw-static.c: New file.
58134         * math/test-fpucw-ieee.c: New file.
58135         * math/test-fpucw-ieee-static.c: New file.
58136         * math/Makefile (tests): Add `test-fpucw-ieee' and
58137         `$(tests-static)'.
58138         (tests-static): New variable.
58139         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
58140         dependency to...
58141         [($(build-shared),yes)]
58142         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
58143         ... this.
58144         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
58145         New dependency.
58147 2013-09-09  Allan McRae  <allan@archlinux.org>
58149         [BZ #15939]
58150         * manual/string.texi (Collation Functions): Fix typo in
58151         strcoll example.
58152         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
58154         [BZ #15893]
58155         * stdlib/isomac.c (get_null_defines): Fix memory leak.
58157         [BZ #15892]
58158         * libio/memstream.c (open_memstream): Fix memory leak.
58159         * libio/wmemstream.c (open_wmemstream): Likewise.
58161         [BZ #15895]
58162         * nscd/netgroupcache.c: Fix nesting of ifdefs.
58164 2013-09-09  Will Newton  <will.newton@linaro.org>
58166         * malloc/Makefile: Add tst-realloc to tests.
58167         * malloc/tst-realloc.c: New file.
58169 2013-09-09  Allan McRae  <allan@archlinux.org>
58171         [BZ #15844]
58172         * COPYING: Update from GNU website to fix FSF address.
58173         * COPYING.LIB: Likewise.
58175 2013-09-06  David S. Miller  <davem@davemloft.net>
58177         * po/zh_TW.po: Update Chinese (traditional) translation from
58178         translation project.
58180 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
58181             Joseph Myers  <joseph@codesourcery.com>
58183         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
58184         "localeinfo.h".
58185         (obstack_chunk_alloc): New macro.
58186         (obstack_chunk_free): Likewise.
58187         (record_offset): New function.
58188         (init_locale_data): Likewise.
58189         (align_locale_data): Likewise.
58190         (add_locale_empty): Likewise.
58191         (add_locale_raw_data): Likewise.
58192         (add_locale_raw_obstack): Likewise.
58193         (add_locale_string): Likewise.
58194         (add_locale_wstring): Likewise.
58195         (add_locale_uint32): Likewise.
58196         (add_locale_uint32_array): Likewise.
58197         (add_locale_char): Likewise.
58198         (start_locale_structure): Likewise.
58199         (end_locale_structure): Likewise.
58200         (start_locale_prelude): Likewise.
58201         (end_locale_prelude): Likewise.
58202         (write_locale_data): Take locale_file structure rather than an
58203         iovec.
58204         * locale/programs/locfile.h: Include "obstack.h".
58205         (struct locale_file): Change to store locale file contents instead
58206         of header.
58207         (init_locale_data): New prototype.
58208         (align_locale_data): Likewise.
58209         (add_locale_empty): Likewise.
58210         (add_locale_raw_data): Likewise.
58211         (add_locale_raw_obstack): Likewise.
58212         (add_locale_string): Likewise.
58213         (add_locale_wstring): Likewise.
58214         (add_locale_uint32): Likewise.
58215         (add_locale_uint32_array): Likewise.
58216         (add_locale_char): Likewise.
58217         (start_locale_structure): Likewise.
58218         (end_locale_structure): Likewise.
58219         (start_locale_prelude): Likewise.
58220         (end_locale_prelude): Likewise.
58221         (write_locale_data): Update prototype.
58222         * locale/programs/3level.h (struct TABLE): Remove result field.
58223         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
58224         Use new locale_file interface.
58225         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
58226         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
58227         * locale/programs/ld-address.c (address_output): Use new
58228         locale_file interface.
58229         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
58230         NO_ADD_LOCALE.
58231         (collate_finish): Don't call collseq_table_finalize.
58232         (collate_output): Use new locale_file interface.
58233         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
58234         in file.
58235         (NO_FINALIZE): Change to NO_ADD_LOCALE.
58236         (TABLE): Move defines earlier in file.
58237         (ELEMENT): Likewise.
58238         (DEFAULT): Likewise.
58239         (wctrans_table_add): Move macro and inline function earlier in
58240         file.
58241         (struct wctype_table): Move type earlier in file.
58242         (add_locale_wctype_table): New static prototype.
58243         (struct locale_ctype_t): Use logical types instead of struct iovec
58244         pointers for members.
58245         (ctype_output): Use new locale_file interface.
58246         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
58247         new locale_file interface.
58248         (allocate_arrays): Update for use of new locale_file interface.
58249         * locale/programs/ld-identification.c (identification_output): Use
58250         new locale_file interface.
58251         * locale/programs/ld-measurement.c (measurement_output): Likewise.
58252         * locale/programs/ld-messages.c (messages_output): Likewise.
58253         * locale/programs/ld-monetary.c (monetary_output): Likewise.
58254         * locale/programs/ld-name.c (name_output): Likewise.
58255         * locale/programs/ld-numeric.c (numeric_output): Likewise.
58256         * locale/programs/ld-paper.c (paper_output): Likewise.
58257         * locale/programs/ld-telephone.c (telephone_output): Likewise.
58258         * locale/programs/ld-time.c (time_output): Likewise.
58260 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58262         * benchtests/Makefile: Add memrchr benchmark.
58263         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
58264         benchmark as memrchr.
58265         * benchtests/bench-memrchr-ifunc.c: New file.
58266         * benchtests/bench-memrchr.c: New file.
58268 2013-09-06   Will Newton  <will.newton@linaro.org>
58270         * benchtests/Makefile (string-bench): Add memcpy.
58272 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
58273             Cong Wang  <amwang@redhat.com>
58275         [BZ #15850]
58276         * sysdeps/unix/sysv/linux/bits/in.h
58277         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
58278         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
58279         before __USE_KERNEL_IPV6_DEFS uses.
58280         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
58281         IPPROTO_BEETPH.
58282         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
58283         sockaddr_in6, or ipv6_mreq.
58285 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58287         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
58288         memory access for final bytes in some large inputs.
58289         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
58291 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58293         * string/test-memrchr.c: New file.
58294         * string/test-memrchr-ifunc.c: New file.
58295         * string/Makefile: Add new memrchr testcase.
58297 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
58299         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
58300         fanotify_init returns EPERM.
58302 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
58304         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
58305         errors.
58306         (top level): Treat second token from macro or constant entries for
58307         allowed headers as allowed.
58308         * include/complex.h: Condition internal declarations on
58309         [!_ISOMAC].
58310         * include/fenv.h: Condition include of <stdbool.h> and internal
58311         declarations on [!_ISOMAC].
58313 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
58315         [BZ #15923]
58316         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
58318 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
58320         * configure.in (--enable-versioning): Remove configure option.
58321         (libc_cv_asm_symver_directive): Remove configure test.
58322         (libc_cv_ld_version_script_option): Likewise.
58323         (VERSIONING): Remove variable and AC_SUBST.
58324         (DO_VERSIONING): Remove AC_DEFINE.
58325         * configure: Regenerated.
58326         * config.h.in (DO_VERSIONING): Remove macro.
58327         * Makerules [$(versioning) = yes]: Change conditionals to
58328         [$(build-shared) = yes].
58329         * config.make.in (versioning): Remove variable.
58330         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
58331         [$(build-shared) = yes].
58332         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
58333         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
58334         * elf/Makefile [$(versioning) = yes]: Change conditionals to
58335         [$(build-shared) = yes].
58336         * extra-lib.mk [$(versioning) = yes]: Likewise.
58337         * hurd/Makefile [$(versioning) = yes]: Likewise.
58338         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
58339         [SHARED].
58340         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
58341         [SHARED].
58342         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
58343         [SHARED && !NO_HIDDEN].
58344         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
58345         [SHARED].
58346         [SHARED && DO_VERSIONING]: Likewise..
58347         * libio/Makefile [$(versioning) = yes]: Change conditionals to
58348         [$(build-shared) = yes].
58349         * manual/install.texi (--disable-versioning): Remove
58350         documentation.
58351         * INSTALL: Regenerated.
58352         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
58353         to [SHARED].
58354         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
58355         [$(build-shared) = yes].
58356         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
58357         * sysdeps/i386/i686/multiarch/strstr-c.c
58358         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
58359         [SHARED && !NO_HIDDEN].
58360         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
58361         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
58362         * sysdeps/powerpc/powerpc32/dl-machine.c
58363         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
58364         * sysdeps/powerpc/powerpc32/sysdep.h
58365         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
58366         to [SHARED && PIC && !NO_HIDDEN].
58367         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
58368         conditional to [SHARED].
58370 2013-09-04   Will Newton  <will.newton@linaro.org>
58372         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
58373         * benchtests/bench-string.h: Include bench-timing.h instead
58374         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
58375         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
58376         call to HP_TIMING_DIFF_INIT.
58377         * benchtests/bench-memccpy.c: Use bench-timing.h macros
58378         instead of hp-timing.h macros.
58379         * benchtests/bench-memchr.c: Likewise.
58380         * benchtests/bench-memcmp.c: Likewise.
58381         * benchtests/bench-memcpy.c: Likewise.
58382         * benchtests/bench-memmem.c: Likewise.
58383         * benchtests/bench-memmove.c: Likewise.
58384         * benchtests/bench-memset.c: Likewise.
58385         * benchtests/bench-rawmemchr.c: Likewise.
58386         * benchtests/bench-strcasecmp.c: Likewise.
58387         * benchtests/bench-strcasestr.c: Likewise.
58388         * benchtests/bench-strcat.c: Likewise.
58389         * benchtests/bench-strchr.c: Likewise.
58390         * benchtests/bench-strcmp.c: Likewise.
58391         * benchtests/bench-strcpy.c: Likewise.
58392         * benchtests/bench-strcpy_chk.c: Likewise.
58393         * benchtests/bench-strlen.c: Likewise.
58394         * benchtests/bench-strncasecmp.c: Likewise.
58395         * benchtests/bench-strncat.c: Likewise.
58396         * benchtests/bench-strncmp.c: Likewise.
58397         * benchtests/bench-strncpy.c: Likewise.
58398         * benchtests/bench-strnlen.c: Likewise.
58399         * benchtests/bench-strpbrk.c: Likewise.
58400         * benchtests/bench-strrchr.c: Likewise.
58401         * benchtests/bench-strspn.c: Likewise.
58402         * benchtests/bench-strstr.c: Likewise.
58404 2013-09-04  Will Newton  <will.newton@linaro.org>
58406         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
58408 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
58410         [BZ #15427]
58411         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
58412         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
58413         * math/libm-test.inc (lgamma_test_data): Add more tests.
58414         * sysdeps/i386/fpu/libm-test-ulps: Update.
58415         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58417 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
58419         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
58420         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
58421         Add ifunc.
58422         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
58423         Add strcmp-sse2-unaligned
58424         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
58426 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
58428         * Versions.def (libc): Add GLIBC_2.19.
58430 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
58432         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
58433         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
58435 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
58437         [BZ #14155]
58438         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
58439         intermediate calculations in recurrence.
58440         (__ieee754_ynf): Likewise.
58441         * math/libm-test.inc (jn_test_data): Do not allow spurious
58442         underflow exception.  Add more tests.
58443         (yn_test_data): Add more tests.
58444         * sysdeps/i386/fpu/libm-test-ulps: Update.
58445         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58447 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
58449         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
58451 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
58453         * csu/init-first.c: Fix then/than typos.
58454         * locale/programs/ld-collate.c: Likewise.
58455         * locale/programs/linereader.h: Likewise.
58456         * manual/charset.texi: Likewise.
58457         * manual/filesys.texi: Likewise.
58458         * manual/stdio.texi: Likewise.
58459         * manual/string.texi: Likewise.
58460         * stdlib/fmtmsg.c: Likewise.
58461         * sysdeps/i386/stpncpy.S: Likewise.
58462         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
58463         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
58464         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
58465         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
58467 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
58469         * elf/dl-open.c: Fix typos.
58470         * iconvdata/gbbig5.c: Likewise.
58471         * iconvdata/iso-2022-jp.c: Likewise.
58472         * iconv/gconv_int.h: Likewise.
58473         * iconv/loop.c: Likewise.
58474         * nis/rpcsvc/nis.h: Likewise.
58475         * resolv/ns_name.c: Likewise.
58476         * stdio-common/vfscanf.c: Likewise.
58477         * streams/stropts.h: Likewise.
58478         * sunrpc/rpc_thread.c: Likewise.
58479         * sysdeps/i386/strpbrk.S: Likewise.
58480         * sysdeps/ieee754/k_standard.c: Likewise.
58481         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
58482         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
58483         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
58484         * sysdeps/mach/hurd/profil.c: Likewise.
58485         * sysdeps/s390/dl-procinfo.h: Likewise.
58486         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
58487         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
58488         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
58489         * sysdeps/x86_64/dl-trampoline.S: Likewise.
58490         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
58492 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
58494         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
58495         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
58497 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
58499         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
58500         aix specific files.
58501         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
58502         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
58503         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
58504         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
58505         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
58506         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
58507         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
58508         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
58510 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
58511             Roland McGrath  <roland@hack.frob.com>
58513         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
58514         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
58516 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
58518         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
58519         __executable_start symbol instead of _start.
58521 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
58523         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
58524         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
58525         Move macros to...
58526         * sysdeps/gnu/ldsodefs.h: ... this new file.
58528         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
58529         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
58530         instead of ELFOSABI_LINUX.
58532         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
58533         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
58534         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
58535         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
58536         Likewise.
58537         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
58538         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
58539         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
58540         Likewise.
58541         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
58542         (ibm_extended_long_double): Add ieee_nan member.
58543         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
58544         (do_test): New function.
58546         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
58547         TEST_TRUNC.
58548         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
58549         functions, renamed from truncdfsf_test, trunctfsf_test,
58550         trunctfdf_test.
58551         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
58552         functions.
58553         (do_test): Run all these.
58555 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
58557         * argp/argp-help.c: Fix typos.
58558         * argp/argp-parse.c: Likewise.
58559         * debug/backtracesyms.c: Likewise.
58560         * elf/elf.h: Likewise.
58561         * malloc/malloc.c: Likewise.
58562         * nis/nis_print.c: Likewise.
58563         * resolv/res_comp.c: Likewise.
58564         * stdlib/stdlib.h: Likewise.
58565         * sunrpc/clnt_tcp.c: Likewise.
58566         * sunrpc/clnt_udp.c: Likewise.
58567         * sunrpc/clnt_unix.c: Likewise.
58568         * sysdeps/unix/bsd/ptsname.c: Likewise.
58569         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
58570         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
58571         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
58572         Likewise.
58573         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
58574         Likewise.
58575         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
58576         Likewise.
58577         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
58579 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
58581         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
58582         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
58584 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
58586         [BZ #15897]
58587         * dlfcn/Makefile (tests): Add bug-dl-leaf.
58588         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
58589         ($(objpfx)bug-dl-leaf): New rule.
58590         ($(objpfx)bug-dl-leaf.so): Likewise.
58591         ($(objpfx)bug-dl-leaf.out): Likewise.
58592         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
58593         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
58594         * dlfcn/bug-dl-leaf.c: New test.
58595         * dlfcn/bug-dl-leaf-lib.c: Likewise.
58596         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
58597         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
58598         (dlclose): Likewise.
58599         (dlmopen): Likewise.
58601 2013-08-27  Roland McGrath  <roland@hack.frob.com>
58603         * include/netdb.h [!_ISOMAC]:
58604         Don't include <tls.h>.
58605         (h_errno, __libc_h_errno): Move declaration and macros out of
58606         [_LIBC_REENTRANT].
58608         * include/resolv.h [_RESOLV_H_]:
58609         Don't include <tls.h>.
58610         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
58611         * resolv/res_libc.c: Don't include <tls.h>.
58612         (_res): Use __attribute__ ((nocommon)) in place of
58613         __attribute__ ((section (".bss"))).
58615         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
58616         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
58618         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
58620         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
58621         only under [SIOCGIFCONF && SIOCGIFNETMASK].
58623         * resolv/res_mkquery.c: Include <sys/time.h>.
58625         * inet/ifreq.c: Moved to ...
58626         * sysdeps/unix/ifreq.c: ... here.
58627         * inet/ifreq.c: New file, true stub version.
58629         * socket/sa_len.c: New file.
58630         * socket/Makefile (aux): Add it.
58631         * sysdeps/unix/sysv/linux/Makefile
58632         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
58633         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
58634         and #include <socket/sa_len.c>.
58635         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
58636         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
58638         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
58639         * bits/socket.h: ... here.
58641         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
58642         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
58643         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
58645 2013-08-27  Andreas Schwab  <schwab@suse.de>
58647         [BZ #15736]
58648         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
58649         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
58650         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
58651         * string/test-strcasecmp.c (test_main): Run tests in several
58652         locales.
58653         * string/test-strncasecmp.c (test_main): Likewise.
58655         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
58656         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
58657         to __strcasecmp_nonascii and __strncasecmp_nonascii.
58658         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
58659         (__strncasecmp_ssse3) [PIC]: Likewise.
58661 2013-08-26  Roland McGrath  <roland@hack.frob.com>
58663         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
58665         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
58666         instead of explicitly declaring xdecrypt.
58667         * nis/nss_nis/nis-publickey.c: Likewise.
58669 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
58671         [BZ #15890]
58672         * nscd/aicache.c: Include res_hconf.h.
58673         (addhstaiX): Initialize res_hconf.
58675 2013-08-26  Andreas Schwab  <schwab@suse.de>
58677         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
58678         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
58680 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
58682         * nscd/aicache.c (addhstaiX): Fix indentation.
58684 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
58686         * configure.ac: Quote $build_pt_chown test.
58687         * configure: Regenerated.
58689 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
58691         [BZ #15532]
58692         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
58693         * math/s_cexpf.c (__cexpf): Likewise.
58694         * math/s_cexpl.c (__cexpl): Likewise.
58695         * math/libm-test.inc (cexp_test_data): Correct expected return
58696         value for NaN + i0.  Add another test.
58698 2013-08-22  David S. Miller  <davem@davemloft.net>
58700         * po/ca.po: Update Catalan translation from translation project.
58701         * po/uk.po: Add Ukrainian translations from translation project.
58703 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
58705         [BZ #15797]
58706         * math/s_fdim.c (__fdim): Check for infinite arguments if result
58707         is infinite, not alongside NaN test.
58708         * math/s_fdimf.c (__fdimf): Likewise.
58709         * math/s_fdiml.c (__fdiml): Likewise.
58710         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
58711         errno is unchanged.
58713 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
58715         * argp/argp-help.c: Fix typos.
58716         * crypt/speeds.c: Likewise.
58717         * csu/check_fds.c: Likewise.
58718         * elf/dl-load.c: Likewise.
58719         * elf/dl-open.c: Likewise.
58720         * elf/reldep3.c: Likewise.
58721         * elf/reldep.c: Likewise.
58722         * elf/sprof.c: Likewise.
58723         * iconv/iconv_charmap.c: Likewise.
58724         * iconv/skeleton.c: Likewise.
58725         * iconv/strtab.c: Likewise.
58726         * io/lockf64.c: Likewise.
58727         * libio/libioP.h: Likewise.
58728         * resolv/gai_notify.c: Likewise.
58729         * resolv/ns_name.c: Likewise.
58730         * resolv/ns_samedomain.c: Likewise.
58731         * resolv/res_send.c: Likewise.
58732         * stdlib/random.c: Likewise.
58733         * sunrpc/rpc/xdr.h: Likewise.
58734         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
58735         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
58736         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
58737         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
58738         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
58739         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
58740         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
58741         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
58742         * sysdeps/mach/hurd/check_fds.c: Likewise.
58743         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
58744         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
58745         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
58746         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
58747         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
58748         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
58749         * sysdeps/pthread/aio_notify.c: Likewise.
58750         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
58751         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
58752         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
58753         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
58754         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
58756 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
58758         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
58759         version if bit_Slow_SSE4_2 is set.
58760         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
58761         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
58763 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58765         [BZ #15867]
58766         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
58767         trampoline stack frame information.
58768         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
58769         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
58770         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
58771         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
58772         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
58773         * sysdeps/unix/sysv/linux/powerpc/init-first.c
58774         (_libc_vdso_platform_setup): Initialize the signal trampolines.
58775         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
58776         sa_flags value.
58777         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
58778         interrupting a syscall and set with option SA_SIGINFO.
58780 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
58782         [BZ #15531]
58783         * math/s_cproj.c (__cproj): Only return an infinity if one part of
58784         argument is infinite.
58785         * math/s_cprojf.c (__cprojf): Likewise.
58786         * math/s_cprojl.c (__cprojl): Likewise.
58787         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
58788         * math/libm-test.inc (cproj_test_data): Add more tests.
58790         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
58792         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
58793         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
58794         size.  Use __ffs to determine corresponding shift.
58796 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
58797             Roland McGrath  <roland@hack.frob.com>
58799         * Makefile (INSTALL): Remove trailing blank lines from output of
58800         makeinfo.
58802 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
58804         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
58805         Align 32 bit compat elf_greg to 8 bytes.
58807 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
58809         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
58811 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
58813         * string/strcoll_l.c (coll_seq): New structure.
58814         (get_next_seq_cached): New function.
58815         (get_next_seq): New function.
58816         (do_compare): New function.
58817         (STRCOLL): Use GNU style definition.  Simplify implementation
58818         by using get_next_seq, get_next_seq_cached and do_compare.
58820 2013-08-16  Florian Weimer  <fweimer@redhat.com>
58822         [BZ #14699]
58823         CVE-2013-4237
58824         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
58825         member.
58826         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
58827         member.
58828         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
58829         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
58830         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
58831         conditional.
58832         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
58833         GETDENTS_64BIT_ALIGNED.
58834         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
58835         * manual/filesys.texi (Reading/Closing Directory): Document
58836         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
58837         strongly.
58838         * manual/conf.texi (Limits for Files): Add portability note to
58839         NAME_MAX, PATH_MAX.
58840         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
58842 2013-08-13  Andreas Schwab  <schwab@suse.de>
58844         [BZ #15749]
58845         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
58846         of fabs.
58847         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
58848         LDBL_MAX_EXP >= 16384]: Add tests for it.
58850 2013-08-12  David S. Miller  <davem@davemloft.net>
58852         * version.h (RELEASE): Set to "development".
58853         (VERSION): Set to "2.18.90".
58854         * NEWS: Add 2.19 section.
58856 2013-08-03  David S. Miller  <davem@davemloft.net>
58858         * po/ko.po: Update Korean translation from translation project.
58860 2013-08-01  David S. Miller  <davem@davemloft.net>
58862         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
58863         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
58864         Bilka.
58866 2013-07-30  David S. Miller  <davem@davemloft.net>
58868         * po/fr.po: Update French translation from translation project.
58870 2013-07-28  David S. Miller  <davem@davemloft.net>
58872         * po/cs.po: Update Czech translation from translation project.
58874         * po/sv.po: Update Swedish translation from translation project.
58876 2013-07-27  David S. Miller  <davem@davemloft.net>
58878         * po/eo.po: Update Esperanto translation from translation project.
58880         * po/vi.po: Update Vietnamese translation from translation project.
58882         * po/de.po: Update German translation from translation project.
58884 2013-07-26  David S. Miller  <davem@davemloft.net>
58886         * po/bg.po: Update Bulgarian translation from translation project.
58888         * po/nl.po: Update Dutch translation from translation project.
58889         * po/pl.po: Update Polish translation from translation project.
58890         * po/ru.po: Update Russian translation from translation project.
58892 2013-07-24  David S. Miller  <davem@davemloft.net>
58894         * po/libc.pot: Update.
58896 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58898         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
58899         variable page size.
58900         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
58901         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
58902         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
58904 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
58906         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
58908 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
58909             Andreas Schwab  <schwab@suse.de>
58910             Roland McGrath  <roland@hack.frob.com>
58911             Joseph Myers  <joseph@codesourcery.com>
58912             Carlos O'Donell  <carlos@redhat.com>
58914         [BZ #15755]
58915         * config.h.in: Define HAVE_PT_CHOWN.
58916         * config.make.in (build-pt-chown): New variable.
58917         * configure.in (--enable-pt_chown): New configure option.
58918         * configure: Regenerate.
58919         * login/Makefile: Include Makeconfig.  Build pt_chown only if
58920         build-pt-chown is enabled.
58921         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
58922         pt_chown to fix pty ownership.
58923         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
58924         CLOSE_ALL_FDS.
58925         * manual/install.texi (Configuring and compiling): Mention
58926         --enable-pt_chown. Add @findex for grantpt.
58927         * INSTALL: Regenerate.
58929 2013-07-20  David S. Miller  <davem@davemloft.net>
58931         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
58932         difference between 32-bit and 64-bit.
58934 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
58936         [BZ #15711]
58937         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
58938         Avoid system header dependency with -ffreestanding.
58939         ($(objpfx)bits/syscall%d): Likewise.
58941 2013-07-13  David S. Miller  <davem@davemloft.net>
58943         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
58944         underflows from atanl/atan2l due to bug 15319.
58945         (casinh_test_data): Likewise.
58947 2013-07-07  David S. Miller  <davem@davemloft.net>
58949         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
58951 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
58953         * sysdeps/i386/fpu/libm-test-ulps: Update.
58954         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58956 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
58958         * configure.in (--enable-lock-elision): Fix message text.
58959         * INSTALL: Regenerate.
58960         * configure: Regenerate.
58962 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58964         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
58966 2013-07-03  Andreas Jaeger  <aj@suse.de>
58968         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
58969         define.
58970         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
58971         (ptrace_peeksiginfo_args): Add.
58972         (__ptrace_peeksiginfo_flags): Add.
58973         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
58974         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
58975         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
58977 2013-07-03  Allan McRae  <allan@archlinux.org>
58979         * sysdeps/i386/fpu/libm-test-ulps: Update.
58981 2013-07-02  David S. Miller  <davem@davemloft.net>
58983         * sysdeps/sparc/fpu/libm-test-ulps: Update.
58985 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
58987         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
58989 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
58991         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
58992         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58994 2013-07-02  Andi Kleen <ak@linux.intel.com>
58996         * config.h.in (ENABLE_LOCK_ELISION): Add.
58997         * configure.in (--enable-lock-elision): Add option.
58998         * manual/install.texi: Document --enable lock elision.
58999         * configure: Regenerate
59000         * INSTALL: Regenerate.
59002 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
59004         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
59005         SSE4.2 strcasecmp for libc.a.
59006         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
59008 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
59010         [BZ #13304]
59011         * soft-fp/op-common.h (_FP_FMA): New macro.
59012         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
59013         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
59014         (_FP_MUL_MEAT_1_imm): ... here.
59015         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
59016         (_FP_MUL_MEAT_1_wide): ... here.
59017         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
59018         (_FP_MUL_MEAT_1_hard): ... here.
59019         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
59020         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
59021         (_FP_MUL_MEAT_2_wide): ... here.
59022         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
59023         (_FP_MUL_MEAT_2_wide_3mul): ... here.
59024         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
59025         (_FP_MUL_MEAT_2_gmp): ... here.
59026         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
59027         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
59028         (_FP_MUL_MEAT_4_wide): ... here.
59029         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
59030         (_FP_MUL_MEAT_4_gmp): ... here.
59031         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
59032         (_FP_WFRACBITS_DW_S): Likewise.
59033         (_FP_WFRACXBITS_DW_S): Likewise.
59034         (_FP_HIGHBIT_DW_S): Likewise.
59035         (FP_FMA_S): Likewise.
59036         (_FP_FRAC_HIGH_DW_S): Likewise.
59037         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
59038         (_FP_WFRACBITS_DW_D): Likewise.
59039         (_FP_WFRACXBITS_DW_D): Likewise.
59040         (_FP_HIGHBIT_DW_D): Likewise.
59041         (FP_FMA_D): Likewise.
59042         (_FP_FRAC_HIGH_DW_D): Likewise.
59043         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
59044         (_FP_WFRACBITS_DW_E): Likewise.
59045         (_FP_WFRACXBITS_DW_E): Likewise.
59046         (_FP_HIGHBIT_DW_E): Likewise.
59047         (FP_FMA_E): Likewise.
59048         (_FP_FRAC_HIGH_DW_E): Likewise.
59049         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
59050         (_FP_WFRACBITS_DW_Q): Likewise.
59051         (_FP_WFRACXBITS_DW_Q): Likewise.
59052         (_FP_HIGHBIT_DW_Q): Likewise.
59053         (FP_FMA_Q): Likewise.
59054         (_FP_FRAC_HIGH_DW_Q): Likewise.
59055         * soft-fp/fmasf4.c: New file.
59056         * soft-fp/fmadf4.c: Likewise.
59057         * soft-fp/fmatf4.c: Likewise.
59059 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
59061         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
59062         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
59063         Silvermont.
59064         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
59065         macro.
59066         (index_Slow_SSE4_2): Likewise.
59067         (index_Prefer_PMINUB_for_stringop): Likewise.
59068         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
59069         bit_Slow_SSE4_2 is set.
59070         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
59071         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
59073 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
59075         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
59076         rtld_global._dl_hwcap2.
59077         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
59078         POWER8.
59079         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
59080         POWER8 feature descriptions defined in _dl_hwcap2.
59081         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
59082         string handling for POWER8 feature bits.
59083         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
59084         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
59085         _dl_powerpc_cap_flags.
59086         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
59087         * sysdeps/powerpc/rtld-global-offsets.sym
59088         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
59089         _dl_hwcap2 in the rtld_global_ro structure.
59091 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
59093         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
59094         hardware capabilities in support of AT_HWCAP2.
59095         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
59096         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
59097         GLRO(dl_hwcap2).
59098         (_dl_show_auxv): Add support for calling _dl_procinfo to display
59099         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
59100         explicitly the unknown a_type display mechanism is used.
59101         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
59102         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
59103         struct member.
59104         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
59105         to macro prototype for AT_HWCAP2 support.
59106         * sysdeps/i386/dl-procinfo.h: Likewise.
59107         * sysdeps/s390/dl-procinfo.h: Likewise.
59108         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
59109         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
59110         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
59111         return -1 for unknown a_type display fallback.
59112         * sysdeps/sparc/dl-procinfo.h: Likewise.
59113         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
59114         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
59116 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
59118         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
59119         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
59121 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
59123         [BZ #12492]
59124         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
59125         mprotect making __stack_prot writable.
59127 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
59128             Joseph Myers  <joseph@codesourcery.com>
59130         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
59131         as being properly aligned.
59133 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
59135         * dlfcn/modstatic5.c: New file.
59136         * dlfcn/tststatic5.c: New file.
59137         * dlfcn/Makefile (tests): Add tststatic5.
59138         (tests-static): Likewise.
59139         (modules-names): Add modstatic5.
59140         (tststatic5-ENV): New variable.
59141         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
59143         [BZ #15022]
59144         * elf/dl-support.c (_dl_main_map): New variable.
59145         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
59146         (_dl_nns, _dl_load_adds): Set to 1.
59147         (_dl_initial_searchlist): Refer to _dl_main_map.
59148         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
59149         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
59150         call to _dl_get_origin.
59151         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
59152         around call_map.
59153         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
59154         * dlfcn/modstatic3.c: New file.
59155         * dlfcn/tststatic3.c: New file.
59156         * dlfcn/tststatic4.c: New file.
59157         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
59158         (tests-static): Likewise.
59159         (modules-names): Add modstatic3.
59160         (tststatic3-ENV, tststatic4-ENV): New variables.
59161         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
59162         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
59164 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
59166         * configure.in (CC): Require GCC version 4.4 or later.
59167         * configure: Regenerated.
59168         * manual/install.texi (Tools for Compilation): Update GCC version
59169         requirement.
59170         * INSTALL: Regenerated.
59172 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
59174         [BZ #15674]
59175         * string/test-memcmp.c (check2): New.
59176         (main): Call check2.
59178         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
59180 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
59182         [BZ #15022]
59183         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
59184         over to...
59185         (dl_open_worker) [!SHARED]: ... here.
59187 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
59189         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
59191 2013-06-25  Richard Henderson  <rth@redhat.com>
59193         * locale/programs/locarchive.c: Include <libc-internal.h>
59195 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
59197         * manual/texinfo.tex: Update to version 2013-06-21.17, with
59198         trailing whitespace removed.
59200 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
59202         [BZ #10283]
59203         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
59204         * locale/programs/locarchive.c: Include libc-mmap.h.
59205         (prepare_address_space): Take two new outputs (the mmap base and len).
59206         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
59207         values.
59208         (create_archive): Declare new mmap base and len values for
59209         prepare_address_space, and store the result in ah.
59210         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
59211         (enlarge_archive): If ah->mmap_base is not NULL, use that and
59212         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
59213         Declare new mmap base and len values for
59214         prepare_address_space, and store the result in new_ah.
59215         (open_archive): Declare new mmap base and len values for
59216         prepare_address_space, and store the result in ah.
59217         (close_archive): If ah->mmap_base is not NULL, use that and
59218         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
59219         * sysdeps/generic/libc-mmap.h: New file.
59221 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
59223         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
59224         (ALIGN_UP): Likewise.
59225         (PTR_ALIGN_DOWN): Likewise.
59226         (PTR_ALIGN_UP): Likewise.
59228 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
59230         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
59231         entry mapped to PPC_PLATFORM_POWER8.
59232         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
59233         POWER8.
59234         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
59235         (_dl_string_platform): Add case for exporting platform position for
59236         POWER8.
59237         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
59238         search path to sysdeps/powerpc/powerpc32/power8 directory.
59239         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
59240         search path to sysdeps/powerpc/powerpc64/power8 directory.
59241         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
59242         power7 directories.
59243         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
59244         power7 directories.
59246 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
59248         * INSTALL: Regenerate.
59250         * nscd/connections.c (nscd_init): Fix comment.
59252 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
59254         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
59256         [BZ #15667]
59257         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
59258         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
59260 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
59262         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
59263         DL_DST_REQ_STATIC.
59264         (DL_DST_REQ_STATIC): Remove macro.
59266 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
59268         [BZ #7006]
59269         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
59270         with a shift of 0 bits.
59272 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
59274         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
59275         $(tststatic-ENV).
59277 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
59279         [BZ #15655]
59280         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
59282 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59284         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
59285         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
59286         accepts -fno-tree-loop-distribute-patterns.
59287         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
59288         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
59289         recursive call.
59290         * string/memset.c (memset): Likewise.
59291         * string/test-memmove.c (simple_memmove): Disable loop transformation
59292         to library calls.
59293         * string/test-memset.c (simple_memset): Likewise.
59294         * benchtests/bench-memmove.c (simple_memmove): Likewise.
59295         * benchtests/bench-memset.c (simple_memset): Likewise.
59296         * configure: Regenerated.
59298 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
59300         * math/test-misc.c (main): Ignore fesetround failure when failures
59301         of subsequent rounding tests would be ignored.
59303         [BZ #15654]
59304         * math/fedisblxcpt.c (fedisableexcept): Return 0.
59305         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
59306         * math/fegetenv.c (__fegetenv): Return 0.
59307         * math/fegetexcept.c (fegetexcept): Return 0.
59308         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
59309         FE_TONEAREST.
59310         * math/feholdexcpt.c (feholdexcept): Return 0.
59311         * math/fesetenv.c (__fesetenv): Return 0.
59312         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
59313         argument FE_TONEAREST.
59314         * math/feupdateenv.c (__feupdateenv): Return 0.
59315         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
59317 2013-06-18  Roland McGrath  <roland@hack.frob.com>
59319         * elf/rtld-Rules (rtld-compile-command.S): New variable.
59320         (rtld-compile-command.s, rtld-compile-command.c): New variables.
59321         ($(objpfx)rtld-%.os rules): Use them.
59323 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59325         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
59326         fields.
59328 2013-06-17  Roland McGrath  <roland@hack.frob.com>
59330         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
59331         length of target pattern, then descending length of dependency pattern.
59332         * configure.in (AWK): Require gawk 3.1.2 or newer.
59333         * manual/install.texi (Tools for Compilation): Say that we do.
59334         * configure: Regenerated.
59336         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
59337         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
59338         * scripts/sysd-rules.awk: ... this new script.
59339         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
59340         than a glob-style pattern.
59342 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
59344         * math/test-misc.c (main): Do not treat incorrectly rounded
59345         conversions as failure unless ROUNDING_TESTS passes.
59347 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
59349         [BZ #15631]
59350         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
59351         restore exception state around main square root computation, then
59352         check for inexactness explicitly.
59354         * math/libm-test.inc (fma_test_data): Add another test.
59356 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
59358         * manual/threads.texi (Non-POSIX Extensions): New document
59359         node.  Document pthread_getattr_default_np and
59360         pthread_setattr_default_np.
59362         * Versions.def (libpthread): Add GLIBC_2.18.
59363         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
59364         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
59365         Likewise.
59366         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
59367         Likewise.
59368         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
59369         Likewise.
59370         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
59371         Likewise.
59372         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
59373         Likewise.
59374         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
59375         Likewise.
59376         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
59377         Likewise.
59378         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
59379         Likewise.
59380         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
59381         Likewise.
59383 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
59385         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
59386         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
59388 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
59389             H.J. Lu  <hjl.tools@gmail.com>
59391         [BZ #15627]
59392         * sysdeps/x86_64/rtld-memset.c: Remove file.
59393         * sysdeps/x86_64/rtld-memset.S: New file.
59395 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
59397         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
59398         (test_in_one_mode): Take arguments for whether the rounding mode
59399         is supported for each floating-point type.
59400         (do_test): Pass new arguments to test_in_one_mode using
59401         ROUNDING_TESTS.
59403 2013-06-13  Roland McGrath  <roland@hack.frob.com>
59405         * posix/tst-waitid.c (do_test): Distinguish different instances of
59406         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
59407         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
59408         before entering the kernel for waitpid.
59410 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
59412         * NEWS: Fix note on clock function precision.  Text by Roland
59413         McGrath.
59415 2013-06-13  Roland McGrath  <roland@hack.frob.com>
59417         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
59418         it into place only when and if the sanity check passes.
59420 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
59422         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
59423         output for whether conversion result is exact.  Take argument
59424         indicating whether type is IBM long double.
59425         (round_for_all): Change need_exact field to ibm_ld.
59426         * stdlib/tst-strtod-round.c (struct exactness): New type.
59427         (struct test): Change bool ld_ok field to struct exactness exact.
59428         (TEST): Update all definitions for change to field.
59429         (tests): Regenerate array contents.
59430         (test_in_one_mode): Take pointer to new field instead of old ld_ok
59431         field value.  Check for IBM long double here.
59432         (do_test): Update calls to test_in_one_mode.
59434 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
59436         [BZ #12515]
59437         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
59438         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
59440 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59442         [BZ #15605]
59443         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
59444         generated by the compiler on loop optimizations.
59445         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
59446         general definitions.
59448 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
59450         * math/bug-nextafter.c: Include <math-tests.h>.
59451         (main): Only test for exceptions if EXCEPTION_TESTS is true for
59452         the relevant type.
59453         * math/bug-nexttoward.c: Include <math-tests.h>.
59454         (main): Only test for exceptions if EXCEPTION_TESTS is true for
59455         the relevant type.
59456         * math/test-misc.c: Include <math-tests.h>.
59457         (main): Only test for exceptions if EXCEPTION_TESTS is true for
59458         the relevant type.
59460 2013-06-12  Andreas Jaeger  <aj@suse.de>
59462         * po/ia.po: Update Interlingua translation from translation
59463         project.
59465 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
59467         * include/fenv.h: Include stdbool.h.
59468         (struct rm_ctx): New structure.
59469         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
59470         Define macro.
59471         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
59472         (SET_RESTORE_ROUNDF): Likewise.
59473         (SET_RESTORE_ROUNDL): Likewise.
59474         (SET_RESTORE_ROUND_NOEX): Likewise.
59475         (SET_RESTORE_ROUND_NOEXF): Likewise.
59476         (SET_RESTORE_ROUND_NOEXL): Likewise.
59477         (SET_RESTORE_ROUND_53BIT): Likewise.
59478         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
59479         (libc_feresetround_noexf_ctx): Likewise.
59480         (libc_feresetround_noexl_ctx): Likewise.
59481         (libc_feholdsetround_53bit_ctx): Likewise.
59482         (libc_feresetround_53bit_ctx): Likewise.
59483         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
59484         (libc_feholdexcept_setround_sse_ctx): New function.
59485         (libc_fesetenv_sse_ctx): Likewise.
59486         (libc_feupdateenv_sse_ctx): Likewise.
59487         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
59488         (libc_feholdexcept_setround_387_ctx): Likewise.
59489         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
59490         (libc_feholdsetround_387_prec_ctx): Likewise.
59491         (libc_feholdsetround_387_ctx): Likewise.
59492         (libc_feholdsetround_387_53bit_ctx): Likewise.
59493         (libc_feholdsetround_sse_ctx): Likewise.
59494         (libc_feresetround_sse_ctx): Likewise.
59495         (libc_feresetround_387_ctx): Likewise.
59496         (libc_feupdateenv_387_ctx): Likewise.
59497         (libc_feholdexcept_setroundf_ctx): Define macro.
59498         (libc_fesetenvf_ctx): Likewise.
59499         (libc_feupdateenvf_ctx): Likewise.
59500         (libc_feholdsetroundf_ctx): Likewise.
59501         (libc_feresetroundf_ctx): Likewise.
59502         (libc_feholdexcept_setround_ctx): Likewise.
59503         (libc_fesetenv_ctx): Likewise.
59504         (libc_feupdateenv_ctx): Likewise.
59505         (libc_feholdsetround_ctx): Likewise.
59506         (libc_feresetround_ctx): Likewise.
59507         (libc_feholdexcept_setroundl_ctx): Likewise.
59508         (libc_feupdateenvl_ctx): Likewise.
59509         (libc_feholdsetroundl_ctx): Likewise.
59510         (libc_feresetroundl_ctx): Likewise.
59511         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
59512         (libc_feresetround_53bit_ctx): Likewise.
59514 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
59516         * locale/iso-639.def: Convert to UTF-8.
59518 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
59520         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
59521         (EXCEPTION_TESTS_double): Likewise.
59522         (EXCEPTION_TESTS_long_double): Likewise.
59523         (EXCEPTION_TESTS): Likewise.
59524         * math/libm-test.inc (test_exceptions): Only test exceptions if
59525         EXCEPTION_TESTS (FLOAT).
59527 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
59529         * benchtests/Makefile (string-bench): Add strcpy_chk and
59530         stpcpy_chk.
59531         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
59532         * benchtests/bench-stpcpy_chk.c: New file.
59533         * benchtests/bench-strcpy_chk-ifunc.c: New file.
59534         * benchtests/bench-strcpy_chk.c: New file.
59535         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
59536         code.
59537         (do_test): Likewise.
59539 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
59541         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
59542         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
59543         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
59544         with tabs where appropriate.
59545         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
59546         dl-procinfo.h.
59547         [PPC_PLATFORM_PPC440]: Likewise.
59548         [PPC_PLATFORM_PPC464]: Likewise.
59549         [PPC_PLATFORM_PPC476]: Likewise.
59550         (_dl_string_platform): Add support for detecting ppc405, ppc440,
59551         ppc464, and ppc476 platform strings merging from ports/
59552         dl-procinfo.h.
59554 2013-06-11  Andreas Schwab  <schwab@suse.de>
59556         [BZ #14991]
59557         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
59558         (from_ucs4_idx): Regenerate.
59559         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
59560         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
59561         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
59562         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
59563         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
59564         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
59565         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
59566         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
59567         from FROM_LOOP and TO_LOOP specific macros.
59568         (BODY): Handle combining characters.
59569         * iconvdata/BIG5HKSCS.irreversible: Update.
59570         * iconvdata/BIG5HKSCS.precomposed: New file.
59571         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
59572         characters.
59573         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
59575 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
59577         * include/sys/time.h: Fix indentation and add copyright header.
59579         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
59580         (do_test): Likewise.
59581         * string/test-memchr.c (do_one_test): Likewise.
59582         (do_test): Likewise.
59583         * string/test-memcmp.c (do_one_test): Likewise.
59584         (do_test): Likewise.
59585         * string/test-memcpy.c (do_one_test): Likewise.
59586         (do_test): Likewise.
59587         * string/test-memmem.c (do_one_test): Likewise.
59588         (do_test): Likewise.
59589         (do_random_tests): Likewise.
59590         * string/test-memmove.c (do_one_test): Likewise.
59591         (do_test): Likewise.
59592         * string/test-memset.c (do_one_test): Likewise.
59593         (do_test): Likewise.
59594         * string/test-rawmemchr.c (do_one_test): Likewise.
59595         (do_test): Likewise.
59596         * string/test-strcasecmp.c (do_one_test): Likewise.
59597         (do_test): Likewise.
59598         * string/test-strcasestr.c (do_one_test): Likewise.
59599         (do_test): Likewise.
59600         * string/test-strcat.c (do_one_test): Likewise.
59601         (do_test): Likewise.
59602         * string/test-strchr.c (do_one_test): Likewise.
59603         (do_test): Likewise.
59604         * string/test-strcmp.c (do_one_test): Likewise.
59605         (do_test): Likewise.
59606         * string/test-strcpy.c (do_one_test): Likewise.
59607         (do_test): Likewise.
59608         * string/test-string.h: Likewise.
59609         (test_init): Likewise.
59610         * string/test-strlen.c (do_one_test): Likewise.
59611         (do_test): Likewise.
59612         * string/test-strncasecmp.c (do_one_test): Likewise.
59613         (do_test): Likewise.
59614         * string/test-strncat.c (do_one_test): Likewise.
59615         (do_test): Likewise.
59616         * string/test-strncmp.c (do_one_test): Likewise.
59617         (do_test_limit): Likewise.
59618         (do_test): Likewise.
59619         * string/test-strncpy.c (do_one_test): Likewise.
59620         (do_test): Likewise.
59621         * string/test-strnlen.c (do_one_test): Likewise.
59622         (do_test): Likewise.
59623         * string/test-strpbrk.c (do_one_test): Likewise.
59624         (do_test): Likewise.
59625         * string/test-strrchr.c (do_one_test): Likewise.
59626         (do_test): Likewise.
59627         * string/test-strspn.c (do_one_test): Likewise.
59628         (do_test): Likewise.
59629         * string/test-strstr.c (do_one_test): Likewise.
59630         (do_test): Likewise.
59632         * benchtests/Makefile (string-bench): Add string benchmarks.
59633         * benchtests/bench-bcopy-ifunc.c: New file.
59634         * benchtests/bench-bcopy.c: New file.
59635         * benchtests/bench-bzero-ifunc.c: New file.
59636         * benchtests/bench-bzero.c: New file.
59637         * benchtests/bench-memccpy-ifunc.c: New file.
59638         * benchtests/bench-memccpy.c: New file.
59639         * benchtests/bench-memchr-ifunc.c: New file.
59640         * benchtests/bench-memchr.c: New file.
59641         * benchtests/bench-memcmp-ifunc.c: New file.
59642         * benchtests/bench-memcmp.c: New file.
59643         * benchtests/bench-memmem-ifunc.c: New file.
59644         * benchtests/bench-memmem.c: New file.
59645         * benchtests/bench-memmove-ifunc.c: New file.
59646         * benchtests/bench-memmove.c: New file.
59647         * benchtests/bench-mempcpy-ifunc.c: New file.
59648         * benchtests/bench-mempcpy.c: New file.
59649         * benchtests/bench-memset-ifunc.c: New file.
59650         * benchtests/bench-memset.c: New file.
59651         * benchtests/bench-rawmemchr-ifunc.c: New file.
59652         * benchtests/bench-rawmemchr.c: New file.
59653         * benchtests/bench-stpcpy-ifunc.c: New file.
59654         * benchtests/bench-stpcpy.c: New file.
59655         * benchtests/bench-stpncpy-ifunc.c: New file.
59656         * benchtests/bench-stpncpy.c: New file.
59657         * benchtests/bench-strcasecmp-ifunc.c: New file.
59658         * benchtests/bench-strcasecmp.c: New file.
59659         * benchtests/bench-strcasestr-ifunc.c: New file.
59660         * benchtests/bench-strcasestr.c: New file.
59661         * benchtests/bench-strcat-ifunc.c: New file.
59662         * benchtests/bench-strcat.c: New file.
59663         * benchtests/bench-strchr-ifunc.c: New file.
59664         * benchtests/bench-strchr.c: New file.
59665         * benchtests/bench-strchrnul-ifunc.c: New file.
59666         * benchtests/bench-strchrnul.c: New file.
59667         * benchtests/bench-strcmp-ifunc.c: New file.
59668         * benchtests/bench-strcmp.c: New file.
59669         * benchtests/bench-strcpy-ifunc.c: New file.
59670         * benchtests/bench-strcpy.c: New file.
59671         * benchtests/bench-strcspn-ifunc.c: New file.
59672         * benchtests/bench-strcspn.c: New file.
59673         * benchtests/bench-strlen-ifunc.c: New file.
59674         * benchtests/bench-strlen.c: New file.
59675         * benchtests/bench-strncasecmp-ifunc.c: New file.
59676         * benchtests/bench-strncasecmp.c: New file.
59677         * benchtests/bench-strncat-ifunc.c: New file.
59678         * benchtests/bench-strncat.c: New file.
59679         * benchtests/bench-strncmp-ifunc.c: New file.
59680         * benchtests/bench-strncmp.c: New file.
59681         * benchtests/bench-strncpy-ifunc.c: New file.
59682         * benchtests/bench-strncpy.c: New file.
59683         * benchtests/bench-strnlen-ifunc.c: New file.
59684         * benchtests/bench-strnlen.c: New file.
59685         * benchtests/bench-strpbrk-ifunc.c: New file.
59686         * benchtests/bench-strpbrk.c: New file.
59687         * benchtests/bench-strrchr-ifunc.c: New file.
59688         * benchtests/bench-strrchr.c: New file.
59689         * benchtests/bench-strspn-ifunc.c: New file.
59690         * benchtests/bench-strspn.c: New file.
59691         * benchtests/bench-strstr-ifunc.c: New file.
59692         * benchtests/bench-strstr.c: New file.
59694         * benchtests/Makefile: Disable parallel execution of targets.
59695         (string-bench): Add memcpy.
59696         (benchset): New variable to store a list of benchmark sets.
59697         (bench-func): Renamed from bench.
59698         (bench-set): New target.
59699         (bench): Depend on bench-func and bench-set.
59700         * benchtests/README: Add section on benchmark sets.
59701         * benchtests/bench-memcpy-ifunc.c: New file.
59702         * benchtests/bench-memcpy.c: New file.
59703         * benchtests/bench-string.h: New file.
59705 2013-06-11  Andreas Schwab  <schwab@suse.de>
59707         [BZ #15577]
59708         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
59709         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
59710         values in the triple.
59711         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
59712         terminator in the group key.
59714 2013-06-11  Andreas Jaeger  <aj@suse.de>
59716         * po/zh_TW.po: Update Chinese (traditional) translation from
59717         translation project.
59719 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
59721         * include/time.h (__clock_gettime): Add libc_hidden_proto.
59722         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
59723         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
59724         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
59725         (clock_getcpuclockid): Likewise.
59726         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
59727         Add weak_alias and libc_hidden_def.
59728         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
59729         * rt/clock_gettime.c (clock_gettime): Rename to
59730         __clock_gettime.  Add weak_alias and libc_hidden_def.
59731         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
59732         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
59733         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
59734         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
59735         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
59736         Likewise.
59737         * rt/clock_settime.c (clock_settime): Rename to
59738         __clock_settime.  Add weak_alias and libc_hidden_def.
59739         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
59741 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
59743         * mach/err_boot.sub: Remove trailing whitespace.
59744         * mach/err_ipc.sub: Likewise.
59745         * mach/err_mach.sub: Likewise.
59747         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
59748         (ROUNDING_TESTS_double): Likewise.
59749         (ROUNDING_TESTS_long_double): Likewise.
59750         (ROUNDING_TESTS): Likewise.
59751         * math/libm-test.inc: Include <math-tests.h>.
59752         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
59753         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
59754         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
59755         (IF_ROUND_INIT_FE_UPWARD): Likewise.
59757 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
59759         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
59760         of assigning.
59762 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
59764         * sysdeps/gnu/errlist.awk: Do not generate space at end of
59765         otherwise empty TRANS lines.
59766         * sysdeps/gnu/errlist.c: Regenerated.
59768         * catgets/gencat.c (error_print): Use (void) in function
59769         definition.
59770         * crypt/crypt_util.c (__init_des): Likewise.
59771         * crypt/speeds.c (Stop): Likewise.
59772         (main): Likewise.
59773         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
59774         * inet/ruserpass.c (token): Likewise.
59775         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
59776         * intl/localealias.c (extend_alias_table): Likewise.
59777         * intl/plural-exp.c (init_germanic_plural): Likewise.
59778         * libio/fcloseall.c (__fcloseall): Likewise.
59779         * libio/genops.c (_IO_flush_all): Likewise.
59780         (_IO_flush_all_linebuffered): Likewise.
59781         (_IO_cleanup): Likewise.
59782         (_IO_iter_begin): Likewise.
59783         (_IO_iter_end): Likewise.
59784         (_IO_list_lock): Likewise.
59785         (_IO_list_unlock): Likewise.
59786         (_IO_list_resetlock): Likewise.
59787         * libio/getchar.c (getchar): Likewise.
59788         * libio/getchar_u.c (getchar_unlocked): Likewise.
59789         * libio/getwchar.c (getwchar): Likewise.
59790         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
59791         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
59792         * login/getpt.c (__getpt): Likewise.
59793         * login/tst-utmp.c (main): Likewise.
59794         * malloc/hooks.c (__malloc_check_init): Likewise.
59795         * malloc/malloc.c (__malloc_stats): Likewise.
59796         * malloc/mtrace.c (tr_break): Likewise.
59797         (mtrace): Likewise.
59798         (muntrace): Likewise.
59799         * misc/fstab.c (endfsent): Likewise.
59800         * misc/getclktck.c (__getclktck): Likewise.
59801         * misc/getdtsz.c (__getdtablesize): Likewise.
59802         * misc/gethostid.c (gethostid): Likewise.
59803         * misc/getpagesize.c (__getpagesize): Likewise.
59804         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
59805         (__get_nprocs): Likewise.
59806         (__get_phys_pages): Likewise.
59807         (__get_avphys_pages): Likewise.
59808         * misc/getttyent.c (getttyent): Likewise.
59809         (setttyent): Likewise.
59810         (endttyent): Likewise.
59811         * misc/getusershell.c (getusershell): Likewise.
59812         (endusershell): Likewise.
59813         (setusershell): Likewise.
59814         (initshells): Likewise.
59815         * misc/hsearch.c (__hdestroy): Likewise.
59816         * misc/sync.c (sync): Likewise.
59817         * misc/syslog.c (closelog_internal): Likewise.
59818         (closelog): Likewise.
59819         * misc/ttyslot.c (ttyslot): Likewise.
59820         * misc/vhangup.c (vhangup): Likewise.
59821         * posix/fork.c (__fork): Likewise.
59822         * posix/getegid.c (__getegid): Likewise.
59823         * posix/geteuid.c (__geteuid): Likewise.
59824         * posix/getgid.c (__getgid): Likewise.
59825         * posix/getpid.c (__getpid): Likewise.
59826         * posix/getppid.c (__getppid): Likewise.
59827         * posix/getuid.c (__getuid): Likewise.
59828         * posix/pause.c (pause): Likewise.
59829         * posix/setpgrp.c (setpgrp): Likewise.
59830         * posix/setsid.c (__setsid): Likewise.
59831         * posix/test-vfork.c (noop): Likewise.
59832         * resolv/gethnamaddr.c (_endhtent): Likewise.
59833         (_gethtent): Likewise.
59834         (ht_endhostent): Likewise.
59835         (gethostent): Likewise.
59836         (dns_service): Likewise.
59837         * stdlib/drand48.c (drand48): Likewise.
59838         * stdlib/lrand48.c (lrand48): Likewise.
59839         * stdlib/mrand48.c (mrand48): Likewise.
59840         * stdlib/rand.c (rand): Likewise.
59841         * stdlib/random.c (__random): Likewise.
59842         * stdlib/setenv.c (clearenv): Likewise.
59843         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
59844         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
59845         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
59846         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
59847         (__get_nprocs): Likewise.
59848         (__get_phys_pages): Likewise.
59849         (__get_avphys_pages): Likewise.
59850         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
59851         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
59852         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
59853         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
59854         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
59855         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
59856         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
59857         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
59858         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
59859         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
59860         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
59861         * sysdeps/mach/hurd/sync.c (sync): Likewise.
59862         * sysdeps/posix/clock.c (clock): Likewise.
59863         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
59864         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
59865         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
59866         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
59867         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
59868         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
59869         (__get_nprocs_conf): Likewise.
59870         (__get_phys_pages): Likewise.
59871         (__get_avphys_pages): Likewise.
59872         * time/clock.c (clock): Likewise.
59873         * time/tzset.c (__tzname_max): Likewise.
59875 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
59877         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
59878         (__bswap_32): Do not use "register".
59879         * crypt/crypt.c (_ufc_doit_r): Likewise.
59880         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
59881         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
59882         * gmon/gmon.c (__monstartup): Likewise.
59883         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
59884         * hurd/hurdmalloc.c (more_memory): Likewise.
59885         (malloc): Likewise.
59886         (free): Likewise.
59887         (realloc): Likewise.
59888         (malloc_fork_prepare): Likewise.
59889         (malloc_fork_parent): Likewise.
59890         (malloc_fork_child): Likewise.
59891         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
59892         (_svcauth_des): Likewise.
59893         * inet/inet_lnaof.c (inet_lnaof): Likewise.
59894         * inet/inet_net.c (inet_network): Likewise.
59895         * inet/inet_netof.c (inet_netof): Likewise.
59896         * inet/rcmd.c (__validuser2_sa): Likewise.
59897         * io/fts.c (fts_open): Likewise.
59898         (fts_load): Likewise.
59899         (fts_close): Likewise.
59900         (fts_read): Likewise.
59901         (fts_children): Likewise.
59902         (fts_build): Likewise.
59903         (fts_stat): Likewise.
59904         (fts_sort): Likewise.
59905         (fts_alloc): Likewise.
59906         (fts_lfree): Likewise.
59907         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
59908         (_IO_file_xsgetn): Likewise.
59909         (_IO_file_xsgetn_mmap): Likewise.
59910         * libio/iofopncook.c (_IO_cookie_read): Likewise.
59911         (_IO_cookie_write): Likewise.
59912         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
59913         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
59914         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
59915         * malloc/obstack.c (_obstack_begin): Likewise.
59916         (_obstack_begin_1): Likewise.
59917         (_obstack_newchunk): Likewise.
59918         (_obstack_allocated_p): Likewise.
59919         (obstack_free): Likewise.
59920         (_obstack_memory_used): Likewise.
59921         * misc/getttyent.c (getttynam): Likewise.
59922         (getttyent): Likewise.
59923         (skip): Likewise.
59924         (value): Likewise.
59925         * misc/getusershell.c (initshells): Likewise.
59926         * misc/syslog.c (__vsyslog_chk): Likewise.
59927         * misc/ttyslot.c (ttyslot): Likewise.
59928         * nis/nis_hash.c (__nis_hash): Likewise.
59929         * posix/fnmatch_loop.c (FCT): Likewise.
59930         * posix/getconf.c (print_all): Likewise.
59931         (main): Likewise.
59932         * posix/getopt.c (exchange): Likewise.
59933         * posix/glob.c (globfree): Likewise.
59934         (prefix_array): Likewise.
59935         (__glob_pattern_type): Likewise.
59936         * resolv/arpa/nameser.h (NS_GET16): Likewise.
59937         (NS_GET32): Likewise.
59938         (NS_PUT16): Likewise.
59939         (NS_PUT32): Likewise.
59940         * resolv/gethnamaddr.c (getanswer): Likewise.
59941         (gethostbyname2): Likewise.
59942         (gethostbyaddr): Likewise.
59943         (_gethtent): Likewise.
59944         (_gethtbyname2): Likewise.
59945         (_gethtbyaddr): Likewise.
59946         * resolv/ns_print.c (dst_s_get_int16): Likewise.
59947         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
59948         * resolv/res_init.c (__res_vinit): Likewise.
59949         (net_mask): Likewise.
59950         * resolv/res_mkquery.c (outchar): Likewise.
59951         (PRINT): Likewise.
59952         * stdio-common/printf_fp.c (outchar): Likewise.
59953         (PRINT): Likewise.
59954         * stdio-common/printf_fphex.c (outchar): Likewise.
59955         (PRINT): Likewise.
59956         * stdio-common/printf_size.c (outchar): Likewise.
59957         (PRINT): Likewise.
59958         * stdio-common/test_rdwr.c (main): Likewise.
59959         * stdio-common/tfformat.c (matches): Likewise.
59960         * stdio-common/vfprintf.c (outchar): Likewise.
59961         (printf_unknown): Likewise.
59962         (buffered_vfprintf): Likewise.
59963         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
59964         * stdio-common/xbug.c (AppendToBuffer): Likewise.
59965         (ReadFile): Likewise.
59966         * stdlib/qsort.c (SWAP): Likewise.
59967         (_quicksort): Likewise.
59968         * stdlib/setenv.c (__add_to_environ): Likewise.
59969         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
59970         * stdlib/strtol_l.c (__strtol_l): Likewise.
59971         * stdlib/tst-strtod.c (main): Likewise.
59972         * stdlib/tst-strtol.c (main): Likewise.
59973         * stdlib/tst-strtoll.c (main): Likewise.
59974         * string/bits/string2.h (__strcmp_cc): Likewise.
59975         (__strcmp_cg): Likewise.
59976         (__strcspn_c1): Likewise.
59977         (__strcspn_c2): Likewise.
59978         (__strcspn_c3): Likewise.
59979         (__strspn_c1): Likewise.
59980         (__strspn_c2): Likewise.
59981         (__strspn_c3): Likewise.
59982         (__strsep_1c): Likewise.
59983         (__strsep_2c): Likewise.
59984         (__strsep_3c): Likewise.
59985         * string/memccpy.c (__memccpy): Likewise.
59986         * string/stpcpy.c (__stpcpy): Likewise.
59987         * string/strcmp.c (strcmp): Likewise.
59988         * string/strrchr.c (strrchr): Likewise.
59989         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
59990         Likewise.
59991         * sysdeps/mach/hurd/getcwd.c
59992         (_hurd_canonicalize_directory_name_internal): Likewise.
59993         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
59994         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
59995         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
59996         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
59997         Likewise, in both definitions.
59998         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
59999         definitions.
60000         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
60001         64] (__bswap_64): Likewise.
60002         * time/test_time.c (main): Likewise.
60003         * time/tzfile.c (__tzfile_read): Likewise.
60004         (__tzfile_compute): Likewise.
60005         * time/tzset.c (__tzset_parse_tz): Likewise.
60006         (tzset_internal): Likewise.
60007         (compute_change): Likewise.
60008         * wcsmbs/wcscat.c (__wcscat): Likewise.
60009         * wcsmbs/wcschr.c (wcschr): Likewise.
60010         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
60011         * wcsmbs/wcscspn.c (wcscspn): Likewise.
60012         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
60013         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
60014         * wcsmbs/wcsspn.c (wcsspn): Likewise.
60015         * wcsmbs/wcsstr.c (wcsstr): Likewise.
60016         * wcsmbs/wmemchr.c (wmemchr): Likewise.
60017         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
60018         * wcsmbs/wmemset.c (wmemset): Likewise.
60020 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
60022         * scripts/config.guess: Update to version 2013-05-16.
60023         * scripts/config.sub: Update to version 2013-04-24.
60024         * scripts/install-sh: Update to version 2011-11-20.07.
60025         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
60026         * scripts/move-if-change: Update to version 2012-01-06 07:23.
60028 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
60030         * debug/fgetws_u_chk.c: Fix leading whitespaces.
60031         * elf/sln.c: Likewise.
60032         * hurd/hurd/ioctl.h: Likewise.
60033         * hurd/hurdmalloc.c: Likewise.
60034         * hurd/xattr.c: Likewise.
60035         * include/shlib-compat.h: Likewise.
60036         * inet/ruserpass.c: Likewise.
60037         * libio/iofgets_u.c: Likewise.
60038         * libio/iofgetws_u.c: Likewise.
60039         * locale/programs/ld-identification.c: Likewise.
60040         * locale/programs/ld-time.c: Likewise.
60041         * mach/msg-destroy.c: Likewise.
60042         * nss/nss_files/files-netgrp.c: Likewise.
60043         * resolv/res_data.c: Likewise.
60044         * soft-fp/op-1.h: Likewise.
60045         * soft-fp/op-2.h: Likewise.
60046         * soft-fp/op-4.h: Likewise.
60047         * soft-fp/op-common.h: Likewise.
60048         * stdio-common/printf_fphex.c: Likewise.
60049         * stdlib/strtod_l.c: Likewise.
60050         * sunrpc/rpc/clnt.h: Likewise.
60051         * sysdeps/generic/framestate.c: Likewise.
60052         * sysdeps/i386/bsd-_setjmp.S: Likewise.
60053         * sysdeps/i386/bsd-setjmp.S: Likewise.
60054         * sysdeps/i386/__longjmp.S: Likewise.
60055         * sysdeps/i386/setjmp.S: Likewise.
60056         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
60057         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
60058         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
60059         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
60060         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
60061         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
60062         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
60063         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
60064         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
60065         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
60066         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
60067         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
60068         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
60069         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
60070         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
60071         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
60072         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
60073         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
60074         * sysdeps/ieee754/support.c: Likewise.
60075         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
60076         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
60077         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
60078         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
60079         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
60080         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
60081         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
60082         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
60083         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
60084         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
60085         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
60086         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
60087         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
60088         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
60089         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
60090         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
60091         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
60092         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
60094 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
60096         * posix/transbug.c: Remove executable mode.
60098 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
60100         * crypt/speeds.c: Remove trailing whitespace.
60101         * dlfcn/default.c: Likewise.
60102         * elf/ifuncdep2.c: Likewise.
60103         * elf/ifuncmain1.c: Likewise.
60104         * elf/ifuncmain1vis.c: Likewise.
60105         * elf/testobj.h: Likewise.
60106         * elf/tst-stackguard1.c: Likewise.
60107         * gmon/sys/gmon.h: Likewise.
60108         * hurd/hurdmsg.c: Likewise.
60109         * hurd/new-fd.c: Likewise.
60110         * hurd/ports-get.c: Likewise.
60111         * iconvdata/ibm1008_420.c: Likewise.
60112         * inet/tst-getni1.c: Likewise.
60113         * inet/tst-getni2.c: Likewise.
60114         * libio/ioungetc.c: Likewise.
60115         * libio/wfiledoalloc.c: Likewise.
60116         * manual/libm-err-tab.pl: Likewise.
60117         * math/w_dremf.c: Likewise.
60118         * misc/ftruncate.c: Likewise.
60119         * posix/bug-glob2.c: Likewise.
60120         * posix/tst-pcre.c: Likewise.
60121         * posix/wait4.c: Likewise.
60122         * resolv/README: Likewise.
60123         * resolv/res_debug.h: Likewise.
60124         * resolv/tst-inet_ntop.c: Likewise.
60125         * setjmp/bug269-setjmp.c: Likewise.
60126         * soft-fp/extended.h: Likewise.
60127         * soft-fp/op-1.h: Likewise.
60128         * soft-fp/op-2.h: Likewise.
60129         * soft-fp/op-4.h: Likewise.
60130         * soft-fp/op-8.h: Likewise.
60131         * soft-fp/testit.c: Likewise.
60132         * stdio-common/bug16.c: Likewise.
60133         * stdlib/random.c: Likewise.
60134         * sunrpc/rpcsvc/rquota.x: Likewise.
60135         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
60136         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
60137         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
60138         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
60139         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
60140         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
60141         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
60142         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
60143         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
60144         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
60145         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
60146         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
60147         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
60148         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
60149         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
60150         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
60151         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
60152         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
60153         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
60154         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
60155         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
60156         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
60157         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
60158         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
60159         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
60160         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
60161         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
60162         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
60163         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
60164         * sysdeps/ieee754/s_lib_version.c: Likewise.
60165         * sysdeps/mach/hurd/check_fds.c: Likewise.
60166         * sysdeps/mach/hurd/getsockname.c: Likewise.
60167         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
60168         * sysdeps/mach/hurd/recvfrom.c: Likewise.
60169         * sysdeps/powerpc/bits/link.h: Likewise.
60170         * sysdeps/powerpc/dl-procinfo.c: Likewise.
60171         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
60172         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
60173         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
60174         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
60175         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
60176         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
60177         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
60178         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
60179         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
60180         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
60181         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
60182         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
60183         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
60184         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
60185         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
60186         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
60187         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
60188         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
60189         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
60190         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
60191         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
60192         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
60193         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
60194         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
60195         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
60196         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
60197         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
60198         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
60199         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
60200         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
60201         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
60202         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
60203         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
60204         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
60205         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
60206         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
60207         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
60208         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
60209         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
60210         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
60211         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
60212         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
60213         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
60214         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
60215         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
60216         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
60217         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
60218         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
60219         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
60220         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
60221         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
60222         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
60223         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
60224         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
60225         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
60226         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
60227         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
60228         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
60229         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
60230         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
60231         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
60232         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
60233         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
60234         * sysdeps/powerpc/sysdep.h: Likewise.
60235         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
60236         * sysdeps/s390/s390-64/sub_n.S: Likewise.
60237         * sysdeps/sh/dl-trampoline.S: Likewise.
60238         * sysdeps/sh/memset.S: Likewise.
60239         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
60240         * sysdeps/sh/strlen.S: Likewise.
60241         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
60242         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
60243         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
60244         * sysdeps/sparc/sparc32/rem.S: Likewise.
60245         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
60246         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
60247         * sysdeps/sparc/sparc32/strchr.S: Likewise.
60248         * sysdeps/sparc/sparc32/udiv.S: Likewise.
60249         * sysdeps/sparc/sparc32/urem.S: Likewise.
60250         * sysdeps/sparc/sparc64/add_n.S: Likewise.
60251         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
60252         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
60253         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
60254         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
60255         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
60256         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
60257         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
60258         * sysdeps/unix/bsd/times.c: Likewise.
60259         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
60260         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
60261         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
60262         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
60263         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
60264         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
60265         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
60266         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
60267         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
60268         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
60269         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
60270         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
60271         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
60272         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
60273         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
60274         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
60275         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
60276         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
60277         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
60278         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
60279         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
60280         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
60281         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
60282         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
60283         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
60284         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
60285         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
60286         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
60287         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
60288         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
60289         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
60290         * sysdeps/x86_64/strcspn.S: Likewise.
60292 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
60294         * locale/C-translit.h: Revert #include <stdint.h> because this is a
60295         generated file.  Regenerate properly from gen-translit.pl.
60296         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
60297         locale/C-translit.h.
60299 2013-06-05  Andreas Schwab  <schwab@suse.de>
60301         [BZ #15100]
60302         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
60303         week as 6 instead of -1.
60304         * time/tst-strptime.c (day_tests): Add test case.
60306 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
60308         * sysdeps/generic/math_private.h
60309         (libc_feholdexcept_setround_53bit): Replace with
60310         libc_feholdsetround_53bit.
60311         (libc_feupdateenv_53bit): Replace with
60312         libc_feresetround_53bit.
60313         (SET_RESTORE_ROUND_53BIT): Adjust.
60315 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
60317         * string/test-strchrnul.c: Add copyright header.
60319         * posix/tst-getaddrinfo4.c: Increase test timeout.
60321 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
60323         [BZ #15536]
60324         * math/libm-test.inc (MAX_EXP): Remove
60325         (MIN_EXP): Define.
60326         (ulp): Use MIN_EXP - MANT_DIG.
60327         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
60329 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
60331         * po/be.po: Revert last change.
60332         * po/zh_CN.po: Likewise.
60333         * po/header.pot: Likewise.
60335 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
60337         * Makefile ($(common-objpfx)linkobj/libc.so): Define
60338         link-libc-deps to empty as target-specific variable.
60339         * Makerules (link-libc-args): New variable.
60340         (libc-for-link): Likewise.
60341         (link-libc-deps): Likewise.
60342         (lib%.so): Depend on $(link-libc-deps).  Link with
60343         $(link-libc-args).
60344         (build-module): Link with $(link-libc-args).
60345         (build-module-asneeded): Likewise.
60346         (build-module-helper-objlist): Filter out $(link-libc-deps) from
60347         list of objects.
60348         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
60349         target-specific variable.
60350         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
60351         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
60352         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
60353         libc.
60354         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
60355         libc and ld.so.
60356         ($(objpfx)libpcprofile.so): Likewise.
60357         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
60358         libc_nonshared.a.
60359         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
60360         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
60361         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
60362         $(link-libc-deps).
60363         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
60364         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
60365         * login/Makefile ($(objpfx)libutil.so): Likewise.
60366         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
60367         * math/Makefile ($(objpfx)libm.so): Likewise.
60368         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
60369         $(objpfx)libnsl.so): Define libc-for-link as target-specific
60370         variable instead of depending directly on libc.
60371         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
60372         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
60373         $(link-libc-deps).
60374         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
60375         libc.
60376         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
60377         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
60378         ($(objpfx)libanl.so): Likewise.
60379         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
60380         ld.so.
60381         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
60382         $(link-libc-deps).
60383         * sysdeps/i386/fpu/Makefile: Remove file.
60384         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
60385         ($(objpfx)libm.so): Remove dependency on ld.so.
60387 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
60389         [BZ # 15553]
60390         * nis/yp_xdr.c (XDRMAXNAME): Define.
60391         (XDRMAXRECORD): Define.
60392         (xdr_domainname): Use XDRMAXNAME.
60393         (xdr_mapname): Likewise.
60394         (xdr_peername): Likewise.
60395         (xdr_keydat): Use XDRMAXRECORD.
60396         (xdr_valdat): Likewise.
60398 2013-05-30  Jeff Law  <law@redhat.com>
60400         [BZ #14256]
60401         * manual/errno.texi (ESTALE): Update to account for more than
60402         just NFS file systems.
60403         * sysdeps/gnu/errlist.c: Regenerated.
60405 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
60407         [BZ #15465]
60408         * elf/Makefile (tests): Add tst-null-argv.
60409         (modules-names):  Add tst-null-argv-lib.
60410         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
60411         (tst-null-argv-ENV): Set environment for tst-null-argv.
60412         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
60413         (RTLD_PROGNAME): New macro.
60414         * elf/tst-null-argv.c: New test case.
60415         * elf/tst-null-argv-lib.c: Library for test case.
60416         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
60417         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
60418         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
60419         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
60420         * elf/dl-init.c (call_init): Likewise.
60421         (_dl_init): Likewise.
60422         * elf/dl-load.c (print_search_path): Likewise.
60423         (_dl_map_object): Likewise.
60424         * elf/dl-lookup.c (do_lookup_x): Likewise.
60425         (add_dependency): Likewise.
60426         (_dl_lookup_symbol_x): Likewise.
60427         (_dl_debug_bindings): Likewise.
60428         * elf/dl-open.c (_dl_show_scope): Likewise.
60429         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
60430         * elf/dl-version.c (match_symbol): Likewise.
60431         (_dl_check_map_versions): Likewise.
60432         * elf/rtld.c (dl_main): Likewise.
60433         (print_unresolved): Use RTLD_PROGNAME.
60434         (print_missing_version): Likewise.
60435         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
60436         (elf_machine_rela): Likewise.
60437         * sysdeps/powerpc/powerpc32/dl-machine.c
60438         (__process_machine_rela): Likewise.
60439         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
60440         Likewise.
60441         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
60442         Likewise.
60443         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
60444         Likewise.
60445         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
60446         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
60447         Likewise.
60448         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
60449         Likewise.
60450         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
60452 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
60454         * po/be.po: Add descriptive title.
60455         * po/zh_CN.po: Likewise.
60456         * po/header.pot: Likewise.
60458 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
60460         * locale/programs/locarchive.c (create_archive): Inlucde fname in
60461         error message.
60462         (enlarge_archive): Likewise.
60464 2013-05-28  Ben North  <ben@redfrontdoor.org>
60466         * manual/arith.texi (frexp): It is the magnitude of the return
60467         value which lies in [0.5, 1), not the return value itself.
60469 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60471         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
60473 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
60475         * stdio-common/bug26.c (main): Correct fscanf template.
60477         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
60478         declare _dl_skip_args.
60480         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
60481         Don't declare.
60483         * manual/platform.texi: Add missing @end deftypefun.
60485 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
60487         [BZ #15529]
60488         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
60489         bit of mantissa of 2^16382.
60490         * math/libm-test.inc (hypot_test_data): Add more tests.
60492         * math/libm-test.inc: Add drem and pow10 to list of tested
60493         functions.
60494         (pow10_test): New function.
60495         (drem_test): Likewise.
60496         (drem_test_tonearest): Likewise.
60497         (drem_test_towardzero): Likewise.
60498         (drem_test_downward): Likewise.
60499         (drem_test_upward): Likewise.
60500         (main): Call the new functions.
60502         * math/libm-test.inc (finite_test_data): Remove.
60503         (finite_test): Run tests from isfinite_test_data.
60504         (gamma_test_data): Remove.
60505         (gamma_test): Run tests from lgamma_test_data.
60506         * sysdeps/i386/fpu/libm-test-ulps: Update.
60507         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60509 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60511         * manual/platform.texi: Add PowerPC PPR function set documentation.
60512         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
60513         implementation.
60515 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
60517         * math/libm-test.inc (MAX_EXP): Define.
60518         (ULPDIFF): Define.
60519         (ulp): New function.
60520         (check_float_internal): Use ULPDIFF.
60521         (cpow_test): Disable failing test.
60522         (check_ulp): Test ulp() implementation.
60523         (main): Call check_ulp before starting tests.
60525 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
60527         * math/gen-libm-test.pl (generate_testfile): Do not handle
60528         START_DATA and END_DATA.
60529         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
60530         END_DATA.
60531         (acos_tonearest_test_data): Likewise.
60532         (acos_towardzero_test_data): Likewise.
60533         (acos_downward_test_data): Likewise.
60534         (acos_upward_test_data): Likewise.
60535         (acosh_test_data): Likewise.
60536         (asin_test_data): Likewise.
60537         (asin_tonearest_test_data): Likewise.
60538         (asin_towardzero_test_data): Likewise.
60539         (asin_downward_test_data): Likewise.
60540         (asin_upward_test_data): Likewise.
60541         (asinh_test_data): Likewise.
60542         (atan_test_data): Likewise.
60543         (atanh_test_data): Likewise.
60544         (atan2_test_data): Likewise.
60545         (cabs_test_data): Likewise.
60546         (cacos_test_data): Likewise.
60547         (cacosh_test_data): Likewise.
60548         (carg_test_data): Likewise.
60549         (casin_test_data): Likewise.
60550         (casinh_test_data): Likewise.
60551         (catan_test_data): Likewise.
60552         (catanh_test_data): Likewise.
60553         (cbrt_test_data): Likewise.
60554         (ccos_test_data): Likewise.
60555         (ccosh_test_data): Likewise.
60556         (ceil_test_data): Likewise.
60557         (cexp_test_data): Likewise.
60558         (cimag_test_data): Likewise.
60559         (clog_test_data): Likewise.
60560         (clog10_test_data): Likewise.
60561         (conj_test_data): Likewise.
60562         (copysign_test_data): Likewise.
60563         (cos_test_data): Likewise.
60564         (cos_tonearest_test_data): Likewise.
60565         (cos_towardzero_test_data): Likewise.
60566         (cos_downward_test_data): Likewise.
60567         (cos_upward_test_data): Likewise.
60568         (cosh_test_data): Likewise.
60569         (cosh_tonearest_test_data): Likewise.
60570         (cosh_towardzero_test_data): Likewise.
60571         (cosh_downward_test_data): Likewise.
60572         (cosh_upward_test_data): Likewise.
60573         (cpow_test_data): Likewise.
60574         (cproj_test_data): Likewise.
60575         (creal_test_data): Likewise.
60576         (csin_test_data): Likewise.
60577         (csinh_test_data): Likewise.
60578         (csqrt_test_data): Likewise.
60579         (ctan_test_data): Likewise.
60580         (ctan_tonearest_test_data): Likewise.
60581         (ctan_towardzero_test_data): Likewise.
60582         (ctan_downward_test_data): Likewise.
60583         (ctan_upward_test_data): Likewise.
60584         (ctanh_test_data): Likewise.
60585         (ctanh_tonearest_test_data): Likewise.
60586         (ctanh_towardzero_test_data): Likewise.
60587         (ctanh_downward_test_data): Likewise.
60588         (ctanh_upward_test_data): Likewise.
60589         (erf_test_data): Likewise.
60590         (erfc_test_data): Likewise.
60591         (exp_test_data): Likewise.
60592         (exp_tonearest_test_data): Likewise.
60593         (exp_towardzero_test_data): Likewise.
60594         (exp_downward_test_data): Likewise.
60595         (exp_upward_test_data): Likewise.
60596         (exp10_test_data): Likewise.
60597         (exp2_test_data): Likewise.
60598         (expm1_test_data): Likewise.
60599         (fabs_test_data): Likewise.
60600         (fdim_test_data): Likewise.
60601         (finite_test_data): Likewise.
60602         (floor_test_data): Likewise.
60603         (fma_test_data): Likewise.
60604         (fma_towardzero_test_data): Likewise.
60605         (fma_downward_test_data): Likewise.
60606         (fma_upward_test_data): Likewise.
60607         (fmax_test_data): Likewise.
60608         (fmin_test_data): Likewise.
60609         (fmod_test_data): Likewise.
60610         (fpclassify_test_data): Likewise.
60611         (frexp_test_data): Likewise.
60612         (gamma_test_data): Likewise.
60613         (hypot_test_data): Likewise.
60614         (ilogb_test_data): Likewise.
60615         (isfinite_test_data): Likewise.
60616         (isgreater_test_data): Likewise.
60617         (isgreaterequal_test_data): Likewise.
60618         (isinf_test_data): Likewise.
60619         (isless_test_data): Likewise.
60620         (islessequal_test_data): Likewise.
60621         (islessgreater_test_data): Likewise.
60622         (isnan_test_data): Likewise.
60623         (isnormal_test_data): Likewise.
60624         (issignaling_test_data): Likewise.
60625         (isunordered_test_data): Likewise.
60626         (j0_test_data): Likewise.
60627         (j1_test_data): Likewise.
60628         (jn_test_data): Likewise.
60629         (ldexp_test_data): Likewise.
60630         (lgamma_test_data): Likewise.
60631         (lrint_test_data): Likewise.
60632         (lrint_tonearest_test_data): Likewise.
60633         (lrint_towardzero_test_data): Likewise.
60634         (lrint_downward_test_data): Likewise.
60635         (lrint_upward_test_data): Likewise.
60636         (llrint_test_data): Likewise.
60637         (llrint_tonearest_test_data): Likewise.
60638         (llrint_towardzero_test_data): Likewise.
60639         (llrint_downward_test_data): Likewise.
60640         (llrint_upward_test_data): Likewise.
60641         (log_test_data): Likewise.
60642         (log10_test_data): Likewise.
60643         (log1p_test_data): Likewise.
60644         (log2_test_data): Likewise.
60645         (logb_test_data): Likewise.
60646         (logb_downward_test_data): Likewise.
60647         (lround_test_data): Likewise.
60648         (llround_test_data): Likewise.
60649         (modf_test_data): Likewise.
60650         (nearbyint_test_data): Likewise.
60651         (nextafter_test_data): Likewise.
60652         (nexttoward_test_data): Likewise.
60653         (pow_test_data): Likewise.
60654         (pow_tonearest_test_data): Likewise.
60655         (pow_towardzero_test_data): Likewise.
60656         (pow_downward_test_data): Likewise.
60657         (pow_upward_test_data): Likewise.
60658         (remainder_test_data): Likewise.
60659         (remainder_tonearest_test_data): Likewise.
60660         (remainder_towardzero_test_data): Likewise.
60661         (remainder_downward_test_data): Likewise.
60662         (remainder_upward_test_data): Likewise.
60663         (remquo_test_data): Likewise.
60664         (rint_test_data): Likewise.
60665         (rint_tonearest_test_data): Likewise.
60666         (rint_towardzero_test_data): Likewise.
60667         (rint_downward_test_data): Likewise.
60668         (rint_upward_test_data): Likewise.
60669         (round_test_data): Likewise.
60670         (scalb_test_data): Likewise.
60671         (scalbn_test_data): Likewise.
60672         (scalbln_test_data): Likewise.
60673         (signbit_test_data): Likewise.
60674         (sin_test_data): Likewise.
60675         (sin_tonearest_test_data): Likewise.
60676         (sin_towardzero_test_data): Likewise.
60677         (sin_downward_test_data): Likewise.
60678         (sin_upward_test_data): Likewise.
60679         (sincos_test_data): Likewise.
60680         (sinh_test_data): Likewise.
60681         (sinh_tonearest_test_data): Likewise.
60682         (sinh_towardzero_test_data): Likewise.
60683         (sinh_downward_test_data): Likewise.
60684         (sinh_upward_test_data): Likewise.
60685         (sqrt_test_data): Likewise.
60686         (tan_test_data): Likewise.
60687         (tan_tonearest_test_data): Likewise.
60688         (tan_towardzero_test_data): Likewise.
60689         (tan_downward_test_data): Likewise.
60690         (tan_upward_test_data): Likewise.
60691         (tanh_test_data): Likewise.
60692         (tgamma_test_data): Likewise.
60693         (trunc_test_data): Likewise.
60694         (y0_test_data): Likewise.
60695         (y1_test_data): Likewise.
60696         (yn_test_data): Likewise.
60697         (significand_test_data): Likewise.
60699         * math/gen-libm-test.pl (@functions): Remove variable.
60700         (generate_testfile): Don't handle START and END lines.
60701         * math/libm-test.inc (START): New macro.
60702         (END): Likewise.
60703         (END_COMPLEX): Likewise.
60704         (acos_test): Use END macro without arguments.
60705         (acos_test_tonearest): Likewise.
60706         (acos_test_towardzero): Likewise.
60707         (acos_test_downward): Likewise.
60708         (acos_test_upward): Likewise.
60709         (acosh_test): Likewise.
60710         (asin_test): Likewise.
60711         (asin_test_tonearest): Likewise.
60712         (asin_test_towardzero): Likewise.
60713         (asin_test_downward): Likewise.
60714         (asin_test_upward): Likewise.
60715         (asinh_test): Likewise.
60716         (atan_test): Likewise.
60717         (atanh_test): Likewise.
60718         (atan2_test): Likewise.
60719         (cabs_test): Likewise.
60720         (cacos_test): Use END_COMPLEX macro without arguments.
60721         (cacosh_test): Likewise.
60722         (carg_test): Use END macro without arguments.
60723         (casin_test): Use END_COMPLEX macro without arguments.
60724         (casinh_test): Likewise.
60725         (catan_test): Likewise.
60726         (catanh_test): Likewise.
60727         (cbrt_test): Use END macro without arguments.
60728         (ccos_test): Use END_COMPLEX macro without arguments.
60729         (ccosh_test): Likewise.
60730         (ceil_test): Use END macro without arguments.
60731         (cexp_test): Use END_COMPLEX macro without arguments.
60732         (cimag_test): Use END macro without arguments.
60733         (clog_test): Use END_COMPLEX macro without arguments.
60734         (clog10_test): Likewise.
60735         (conj_test): Likewise.
60736         (copysign_test): Use END macro without arguments.
60737         (cos_test): Likewise.
60738         (cos_test_tonearest): Likewise.
60739         (cos_test_towardzero): Likewise.
60740         (cos_test_downward): Likewise.
60741         (cos_test_upward): Likewise.
60742         (cosh_test): Likewise.
60743         (cosh_test_tonearest): Likewise.
60744         (cosh_test_towardzero): Likewise.
60745         (cosh_test_downward): Likewise.
60746         (cosh_test_upward): Likewise.
60747         (cpow_test): Use END_COMPLEX macro without arguments.
60748         (cproj_test): Likewise.
60749         (creal_test): Use END macro without arguments.
60750         (csin_test): Use END_COMPLEX macro without arguments.
60751         (csinh_test): Likewise.
60752         (csqrt_test): Likewise.
60753         (ctan_test): Likewise.
60754         (ctan_test_tonearest): Likewise.
60755         (ctan_test_towardzero): Likewise.
60756         (ctan_test_downward): Likewise.
60757         (ctan_test_upward): Likewise.
60758         (ctanh_test): Likewise.
60759         (ctanh_test_tonearest): Likewise.
60760         (ctanh_test_towardzero): Likewise.
60761         (ctanh_test_downward): Likewise.
60762         (ctanh_test_upward): Likewise.
60763         (erf_test): Use END macro without arguments.
60764         (erfc_test): Likewise.
60765         (exp_test): Likewise.
60766         (exp_test_tonearest): Likewise.
60767         (exp_test_towardzero): Likewise.
60768         (exp_test_downward): Likewise.
60769         (exp_test_upward): Likewise.
60770         (exp10_test): Likewise.
60771         (exp2_test): Likewise.
60772         (expm1_test): Likewise.
60773         (fabs_test): Likewise.
60774         (fdim_test): Likewise.
60775         (finite_test): Likewise.
60776         (floor_test): Likewise.
60777         (fma_test): Likewise.
60778         (fma_test_towardzero): Likewise.
60779         (fma_test_downward): Likewise.
60780         (fma_test_upward): Likewise.
60781         (fmax_test): Likewise.
60782         (fmin_test): Likewise.
60783         (fmod_test): Likewise.
60784         (fpclassify_test): Likewise.
60785         (frexp_test): Likewise.
60786         (gamma_test): Likewise.
60787         (hypot_test): Likewise.
60788         (ilogb_test): Likewise.
60789         (isfinite_test): Likewise.
60790         (isgreater_test): Likewise.
60791         (isgreaterequal_test): Likewise.
60792         (isinf_test): Likewise.
60793         (isless_test): Likewise.
60794         (islessequal_test): Likewise.
60795         (islessgreater_test): Likewise.
60796         (isnan_test): Likewise.
60797         (isnormal_test): Likewise.
60798         (issignaling_test): Likewise.
60799         (isunordered_test): Likewise.
60800         (j0_test): Likewise.
60801         (j1_test): Likewise.
60802         (jn_test): Likewise.
60803         (ldexp_test): Likewise.
60804         (lgamma_test): Likewise.
60805         (lrint_test): Likewise.
60806         (lrint_test_tonearest): Likewise.
60807         (lrint_test_towardzero): Likewise.
60808         (lrint_test_downward): Likewise.
60809         (lrint_test_upward): Likewise.
60810         (llrint_test): Likewise.
60811         (llrint_test_tonearest): Likewise.
60812         (llrint_test_towardzero): Likewise.
60813         (llrint_test_downward): Likewise.
60814         (llrint_test_upward): Likewise.
60815         (log_test): Likewise.
60816         (log10_test): Likewise.
60817         (log1p_test): Likewise.
60818         (log2_test): Likewise.
60819         (logb_test): Likewise.
60820         (logb_test_downward): Likewise.
60821         (lround_test): Likewise.
60822         (llround_test): Likewise.
60823         (modf_test): Likewise.
60824         (nearbyint_test): Likewise.
60825         (nextafter_test): Likewise.
60826         (nexttoward_test): Likewise.
60827         (pow_test): Likewise.
60828         (pow_test_tonearest): Likewise.
60829         (pow_test_towardzero): Likewise.
60830         (pow_test_downward): Likewise.
60831         (pow_test_upward): Likewise.
60832         (remainder_test): Likewise.
60833         (remainder_test_tonearest): Likewise.
60834         (remainder_test_towardzero): Likewise.
60835         (remainder_test_downward): Likewise.
60836         (remainder_test_upward): Likewise.
60837         (remquo_test): Likewise.
60838         (rint_test): Likewise.
60839         (rint_test_tonearest): Likewise.
60840         (rint_test_towardzero): Likewise.
60841         (rint_test_downward): Likewise.
60842         (rint_test_upward): Likewise.
60843         (round_test): Likewise.
60844         (scalb_test): Likewise.
60845         (scalbn_test): Likewise.
60846         (scalbln_test): Likewise.
60847         (signbit_test): Likewise.
60848         (sin_test): Likewise.
60849         (sin_test_tonearest): Likewise.
60850         (sin_test_towardzero): Likewise.
60851         (sin_test_downward): Likewise.
60852         (sin_test_upward): Likewise.
60853         (sincos_test): Likewise.
60854         (sinh_test): Likewise.
60855         (sinh_test_tonearest): Likewise.
60856         (sinh_test_towardzero): Likewise.
60857         (sinh_test_downward): Likewise.
60858         (sinh_test_upward): Likewise.
60859         (sqrt_test): Likewise.
60860         (tan_test): Likewise.
60861         (tan_test_tonearest): Likewise.
60862         (tan_test_towardzero): Likewise.
60863         (tan_test_downward): Likewise.
60864         (tan_test_upward): Likewise.
60865         (tanh_test): Likewise.
60866         (tgamma_test): Likewise.
60867         (trunc_test): Likewise.
60868         (y0_test): Likewise.
60869         (y1_test): Likewise.
60870         (yn_test): Likewise.
60871         (significand_test): Likewise.
60873 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
60875         [BZ #15381]
60876         * libio/genops.c (_IO_no_init): Initialize wide struct info.
60878 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
60880         [BZ #14894]
60881         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
60882         __ppc_mdoio and __ppc_mdoom.
60883         * manual/platform.texi: Document new functions __ppc_yield,
60884         __ppc_mdoio and __ppc_mdoom.
60886 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
60888         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
60889         (main): Mention "tls" pseudo-hwcap is legacy.
60890         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
60892 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
60894         * math/gen-libm-test.pl (parse_args): Output only string of
60895         arguments as text for test name, not full call or descriptions of
60896         tests for extra outputs.
60897         (generate_testfile): Do not pass function name to parse_args.
60898         Generate this_func variable from START.
60899         * math/libm-test.inc (struct test_f_f_data): Rename test_name
60900         field to arg_str.
60901         (struct test_ff_f_data): Likewise.
60902         (test_ff_f_data_nexttoward): Likewise.
60903         (struct test_fi_f_data): Likewise.
60904         (struct test_fl_f_data): Likewise.
60905         (struct test_if_f_data): Likewise.
60906         (struct test_fff_f_data): Likewise.
60907         (struct test_c_f_data): Likewise.
60908         (struct test_f_f1_data): Likewise.  Remove field extra_name.
60909         (struct test_fF_f1_data): Likewise.
60910         (struct test_ffI_f1_data): Likewise.
60911         (struct test_c_c_data): Rename test_name field to arg_str.
60912         (struct test_cc_c_data): Likewise.
60913         (struct test_f_i_data): Likewise.
60914         (struct test_ff_i_data): Likewise.
60915         (struct test_f_l_data): Likewise.
60916         (struct test_f_L_data): Likewise.
60917         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
60918         and extra2_name.
60919         (COMMON_TEST_SETUP): New macro.
60920         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
60921         (COMMON_TEST_CLEANUP): Likewise.
60922         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
60923         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
60924         macros.
60925         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
60926         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
60927         macros.
60928         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
60929         (RUN_TEST_fff_f): Take argument string.  Call new setup and
60930         cleanup macros.
60931         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
60932         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
60933         macros.
60934         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
60935         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
60936         macros.
60937         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
60938         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
60939         cleanup macros.
60940         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
60941         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
60942         cleanup macros.
60943         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
60944         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
60945         cleanup macros.
60946         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
60947         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
60948         macros.
60949         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
60950         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
60951         macros.
60952         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
60953         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
60954         macros.
60955         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
60956         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
60957         cleanup macros.
60958         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
60959         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
60960         cleanup macros.
60961         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
60962         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
60963         macros.
60964         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
60965         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
60966         cleanup macros.
60967         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
60968         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
60969         macros.
60970         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
60971         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
60972         macros.
60973         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
60974         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
60975         cleanup macros.
60976         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
60978 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
60980         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
60981         to _sifields.sigfault.
60982         (si_addr_lsb): Define new macro.
60983         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
60984         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
60985         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
60987 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
60989         [BZ #15441]
60990         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
60991         returns -1.
60992         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
60993         null return -1.
60994         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
60995         loading the domain.
60997 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
60999         * math/gen-libm-test.pl (parse_args): Do not include expected
61000         result in test name.
61001         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
61002         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
61003         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
61004         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
61005         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
61006         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61008 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
61010         * benchtests/Makefile: Sort function entries.
61012         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
61013         tanh, asinh, acosh, atanh.
61014         * benchtests/acos-inputs: New file.
61015         * benchtests/acosh-inputs: New file.
61016         * benchtests/asin-inputs: New file.
61017         * benchtests/asinh-inputs: New file.
61018         * benchtests/atanh-inputs: New file.
61019         * benchtests/cosh-inputs: New file.
61020         * benchtests/log-inputs: New file.
61021         * benchtests/sinh-inputs: New file.
61022         * benchtests/tanh-inputs: New file.
61024 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
61026         [BZ #15339]
61027         * posix/tst-getaddrinfo4.c: New test.
61028         * posix/Makefile (tests): Add it.
61030 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
61032         [BZ #15339]
61033         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
61034         when no services were used.
61035         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
61036         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
61038 2013-05-21  Andreas Schwab  <schwab@suse.de>
61040         [BZ #15014]
61041         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
61042         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
61043         successful.
61044         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
61045         redundant variable declarations and reallocation of buffer when
61046         parsing as IPv6 address.  Always set NSS status when called from
61047         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
61048         buffer too small.  Correct computation of needed size.
61049         * nss/Makefile (tests): Add test-digits-dots.
61050         * nss/test-digits-dots.c: New test.
61052 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
61054         * benchtests/Makefile: Remove instructions for adding
61055         benchmark tests.
61056         * benchtests/README: New file to explain how to execute and
61057         enhance the benchmark tests.
61059 2013-05-21  Andreas Schwab  <schwab@suse.de>
61061         [BZ #15493]
61062         * setjmp/Makefile (tests): Add tst-sigsetjmp.
61063         * setjmp/tst-sigsetjmp.c: New test.
61065 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
61067         * sysdeps/x86_64/memset.S (memset): New implementation.
61068         (__bzero): Likewise.
61069         (__memset_tail): New function.
61071 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
61073         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
61074         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
61075         __memcpy_sse2_unaligned ifunc selection.
61076         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
61077         Add memcpy-sse2-unaligned.S.
61078         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
61079         Add: __memcpy_sse2_unaligned.
61081 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
61083         [BZ #15490]
61084         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
61085         math_force_eval before restoring floating-point envrionment.
61086         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
61087         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
61088         Likewise.
61089         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
61090         <math_private.h>.
61091         (__nearbyintl): Use math_force_eval before restoring
61092         floating-point environment.
61093         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
61095         * math/gen-libm-test.pl (special_functions): Remove.
61096         (parse_args): Don't handle TEST_extra.  Handle functions with no
61097         return value.
61098         * math/libm-test.inc (struct test_sincos_data): Replace with
61099         struct test_fFF_11_data.
61100         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
61101         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
61102         (sincos_test_data): Change element type to struct
61103         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
61104         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
61105         RUN_TEST_LOOP_sincos.
61106         * math/README.libm-test: Don't mention special handling of
61107         individual functions.
61108         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
61109         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
61110         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
61111         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
61112         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
61113         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61115         * math/gen-libm-test.pl (get_variable): Remove function.
61116         (parse_args): Don't show pointer parameters to call in test
61117         names.  Use "extra output N" in test names for extra outputs
61118         rather than naming variables.
61120 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
61122         [BZ #15488]
61123         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
61124         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
61125         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
61126         double tests.
61127         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
61128         disable.
61129         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
61130         check_long_double.
61132         * math/gen-libm-test.pl (@tests): Remove variable.
61133         ($count): Likewise.
61134         (new_test): Remove function.
61135         (show_exceptions): New function.
61136         (special_functions): Use show_exceptions instead of new_test.
61137         (parse_args): Likewise.
61138         (generate_testfile): Pass only function name in generated call to
61139         print_max_error or print_complex_max_error.
61140         (get_ulps): Do not handle complex tests specially.
61141         (output_test): Rename to ...
61142         (get_all_ulps_for_test): ... this.  Return a string rather than
61143         printing to a file.  Require ulps to be present.
61144         (output_ulps): Generate arrays rather than #defines.
61145         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
61146         (struct ulp_data): New type.
61147         (BUILD_COMPLEX_ULP): Remove macro.
61148         (compare_ulp_data): New function.
61149         (find_ulps): Likewise.
61150         (find_test_ulps): Likewise.
61151         (find_function_ulps): Likewise.
61152         (find_complex_function_ulps): Likewise.
61153         (print_max_error): Determine allowed ulps using
61154         find_function_ulps.
61155         (print_complex_max_error): Determine allowed ulps using
61156         find_complex_function_ulps.
61157         (check_float_internal): Determine max ulps using find_test_ulps.
61158         (check_float): Do not take max_ulp parameter.  Update call to
61159         check_float_internal.
61160         (check_complex): Likewise.
61161         (check_int): Do not take max_ulp parameter.
61162         (check_long): Likewise.
61163         (check_bool): Likewise.
61164         (check_longlong): Likewise.
61165         (struct test_f_f_data): Remove max_ulp field.
61166         (struct test_ff_f_data): Likewise.
61167         (struct test_ff_f_data_nexttoward): Likewise.
61168         (struct test_fi_f_data): Likewise.
61169         (struct test_fl_f_data): Likewise.
61170         (struct test_if_f_data): Likewise.
61171         (struct test_fff_f_data): Likewise.
61172         (struct test_c_f_data): Likewise.
61173         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
61174         (struct test_fF_f1_data): Likewise.
61175         (struct test_ffI_f1_data): Likewise.
61176         (struct test_c_c_data): Remove max_ulp field.
61177         (struct test_cc_c_data): Likewise.
61178         (struct test_f_i_data): Likewise.
61179         (struct test_ff_i_data): Likewise.
61180         (struct test_f_l_data): Likewise.
61181         (struct test_f_L_data): Likewise.
61182         (struct test_sincos_data): Likewise.
61183         (RUN_TEST_f_f): Do not handle ulps.
61184         (RUN_TEST_LOOP_f_f): Likewise.
61185         (RUN_TEST_2_f): Likewise.
61186         (RUN_TEST_LOOP_2_f): Likewise.
61187         (RUN_TEST_fff_f): Likewise.
61188         (RUN_TEST_LOOP_fff_f): Likewise.
61189         (RUN_TEST_c_f): Likewise.
61190         (RUN_TEST_LOOP_c_f): Likewise.
61191         (RUN_TEST_f_f1): Likewise.
61192         (RUN_TEST_LOOP_f_f1): Likewise.
61193         (RUN_TEST_fF_f1): Likewise.
61194         (RUN_TEST_LOOP_fF_f1): Likewise.
61195         (RUN_TEST_fI_f1): Likewise.
61196         (RUN_TEST_LOOP_fI_f1): Likewise.
61197         (RUN_TEST_ffI_f1): Likewise.
61198         (RUN_TEST_LOOP_ffI_f1): Likewise.
61199         (RUN_TEST_c_c): Likewise.
61200         (RUN_TEST_LOOP_c_c): Likewise.
61201         (RUN_TEST_cc_c): Likewise.
61202         (RUN_TEST_LOOP_cc_c): Likewise.
61203         (RUN_TEST_f_i): Likewise.
61204         (RUN_TEST_LOOP_f_i): Likewise.
61205         (RUN_TEST_f_i_tg): Likewise.
61206         (RUN_TEST_LOOP_f_i_tg): Likewise.
61207         (RUN_TEST_ff_i_tg): Likewise.
61208         (RUN_TEST_LOOP_ff_i_tg): Likewise.
61209         (RUN_TEST_f_b): Likewise.
61210         (RUN_TEST_LOOP_f_b): Likewise.
61211         (RUN_TEST_f_b_tg): Likewise.
61212         (RUN_TEST_LOOP_f_b_tg): Likewise.
61213         (RUN_TEST_f_l): Likewise.
61214         (RUN_TEST_LOOP_f_l): Likewise.
61215         (RUN_TEST_f_L): Likewise.
61216         (RUN_TEST_LOOP_f_L): Likewise.
61217         (RUN_TEST_sincos): Likewise.
61218         (RUN_TEST_LOOP_sincos): Likewise.
61220 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
61222         [BZ #15480]
61223         [BZ #15485]
61224         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
61225         main case of finite arguments, set rounding mode to FE_TONEAREST
61226         and discard exceptions.
61227         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
61228         exceptions.
61229         (remainder_tonearest_test_data): New variable.
61230         (remainder_test_tonearest): New function.
61231         (remainder_towardzero_test_data): New variable.
61232         (remainder_test_towardzero): New function.
61233         (remainder_downward_test_data): New variable.
61234         (remainder_test_downward): New function.
61235         (remainder_upward_test_data): New variable.
61236         (remainder_test_upward): New function.
61237         (main): Call the new test functions.
61239         * math/libm-test.inc (struct test_f_f1_data): Remove field
61240         extra_init.
61241         (struct test_fF_f1_data): Likewise.
61242         (struct test_ffI_f1_data): Likewise.
61243         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
61244         based on value of EXTRA_EXPECTED.
61245         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
61246         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
61247         EXTRA_VAR based on value of EXTRA_EXPECTED.
61248         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
61249         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
61250         EXTRA_VAR based on value of EXTRA_EXPECTED.
61251         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
61252         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
61253         EXTRA_VAR based on value of EXTRA_EXPECTED.
61254         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
61255         * math/gen-libm-test.pl (parse_args): Don't output initializers
61256         for extra output values.
61258         * math/libm-test.inc (check_int): Expect result to be exactly
61259         equal to expected value and do not handle ulps.
61260         (check_long): Likewise.
61261         (check_longlong): Likewise.
61263         * math/libm-test.inc (ceil_test_data): Test for "inexact"
61264         exceptions.
61265         (cimag_test_data): Likewise.
61266         (conj_test_data): Likewise.
61267         (copysign_test_data): Likewise.
61268         (cproj_test_data): Likewise.
61269         (creal_test_data): Likewise.
61270         (fabs_test_data): Likewise.
61271         (fdim_test_data): Likewise.
61272         (finite_test_data): Likewise.
61273         (floor_test_data): Likewise.
61274         (fmax_test_data): Likewise.
61275         (fmin_test_data): Likewise.
61276         (fmod_test_data): Likewise.
61277         (fpclassify_test_data): Likewise.
61278         (frexp_test_data): Likewise.
61279         (ilogb_test_data): Likewise.
61280         (isfinite_test_data): Likewise.
61281         (isgreater_test_data): Likewise.
61282         (isgreaterequal_test_data): Likewise.
61283         (isinf_test_data): Likewise.
61284         (isless_test_data): Likewise.
61285         (islessequal_test_data): Likewise.
61286         (islessgreater_test_data): Likewise.
61287         (isnan_test_data): Likewise.
61288         (isnormal_test_data): Likewise.
61289         (issignaling_test_data): Likewise.
61290         (isunordered_test_data): Likewise.
61291         (ldexp_test_data): Likewise.
61292         (lrint_test_data): Likewise.
61293         (lrint_test_data) [TEST_FLOAT]: Disable one test.
61294         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
61295         (lrint_tonearest_test_data): Test for "inexact" exceptions.
61296         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
61297         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
61298         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
61299         test input.
61300         (lrint_towardzero_test_data): Test for "inexact" exceptions.
61301         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
61302         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
61303         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
61304         that test input.
61305         (lrint_downward_test_data): Test for "inexact" exceptions.
61306         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
61307         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
61308         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
61309         test input.
61310         (lrint_upward_test_data): Test for "inexact" exceptions.
61311         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
61312         test input.
61313         (llrint_test_data): Test for "inexact" exceptions.
61314         (llrint_test_data) [TEST_FLOAT]: Disable one test.
61315         (llrint_tonearest_test_data): Test for "inexact" exceptions.
61316         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
61317         (llrint_towardzero_test_data): Test for "inexact" exceptions.
61318         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
61319         (llrint_downward_test_data): Test for "inexact" exceptions.
61320         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
61321         (llrint_upward_test_data): Test for "inexact" exceptions.
61322         (logb_test_data): Likewise.
61323         (logb_downward_test_data): Likewise.
61324         (nextafter_test_data): Likewise.
61325         (nexttoward_test_data): Likewise.
61326         (remainder_test_data): Likewise.
61327         (remquo_test_data): Likewise.
61328         (scalbn_test_data): Likewise.
61329         (scalbln_test_data): Likewise.
61330         (signbit_test_data): Likewise.
61331         (sqrt_test_data): Likewise.
61332         (significand_test_data): Likewise.
61334 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
61336         [BZ #15424]
61337         * benchtests/bench-modf.c (struct args): Mark arg0 as
61338         volatile.
61339         * scripts/bench.pl: Mark members of struct args as volatile.
61341 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61343         [BZ # 15497]
61344         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
61345         negative infinity on POWER6 or lower.
61346         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
61348 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
61350         [BZ #15442]
61351         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
61352         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
61353         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
61354         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
61355         (_FP_SETQNAN): New macro.
61356         (_FP_SETQNAN_SEMIRAW): Likewise.
61357         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
61358         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
61359         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
61360         (FP_EXTEND): Use _FP_FRAC_SNANP.
61361         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
61362         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
61363         into account.
61364         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
61365         New macro.
61366         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
61367         Likewise.
61369 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
61371         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
61372         with DIVIDE_BY_ZERO_EXCEPTION.
61373         (gamma_test_data): Likewise.
61374         (lgamma_test_data): Likewise.
61375         (log_test_data): Likewise.
61376         (log10_test_data): Likewise.
61377         (log2_test_data): Likewise.
61378         (tgamma_test_data): Likewise.
61380         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
61381         (acos_test_tonearest): Likewise.
61382         (acos_test_towardzero): Likewise.
61383         (acos_test_downward): Likewise.
61384         (acos_test_upward): Likewise.
61385         (acosh_test): Likewise.
61386         (asin_test): Likewise.
61387         (asin_test_tonearest): Likewise.
61388         (asin_test_towardzero): Likewise.
61389         (asin_test_downward): Likewise.
61390         (asin_test_upward): Likewise.
61391         (asinh_test): Likewise.
61392         (atan_test): Likewise.
61393         (atanh_test): Likewise.
61394         (atan2_test): Likewise.
61395         (cabs_test): Likewise.
61396         (cacos_test): Likewise.
61397         (cacosh_test): Likewise.
61398         (casin_test): Likewise.
61399         (casinh_test): Likewise.
61400         (catan_test): Likewise.
61401         (catanh_test): Likewise.
61402         (cbrt_test): Likewise.
61403         (ccos_test): Likewise.
61404         (ccosh_test): Likewise.
61405         (cexp_test): Likewise.
61406         (clog_test): Likewise.
61407         (clog10_test): Likewise.
61408         (cos_test): Likewise.
61409         (cos_test_tonearest): Likewise.
61410         (cos_test_towardzero): Likewise.
61411         (cos_test_downward): Likewise.
61412         (cos_test_upward): Likewise.
61413         (cosh_test): Likewise.
61414         (cosh_test_tonearest): Likewise.
61415         (cosh_test_towardzero): Likewise.
61416         (cosh_test_downward): Likewise.
61417         (cosh_test_upward): Likewise.
61418         (cpow_test): Likewise.
61419         (csin_test): Likewise.
61420         (csinh_test): Likewise.
61421         (csqrt_test): Likewise.
61422         (ctan_test): Likewise.
61423         (ctan_test_tonearest): Likewise.
61424         (ctan_test_towardzero): Likewise.
61425         (ctan_test_downward): Likewise.
61426         (ctan_test_upward): Likewise.
61427         (ctanh_test): Likewise.
61428         (ctanh_test_tonearest): Likewise.
61429         (ctanh_test_towardzero): Likewise.
61430         (ctanh_test_downward): Likewise.
61431         (ctanh_test_upward): Likewise.
61432         (erf_test): Likewise.
61433         (erfc_test): Likewise.
61434         (exp_test): Likewise.
61435         (exp_test_tonearest): Likewise.
61436         (exp_test_towardzero): Likewise.
61437         (exp_test_downward): Likewise.
61438         (exp_test_upward): Likewise.
61439         (exp10_test): Likewise.
61440         (exp2_test): Likewise.
61441         (expm1_test): Likewise.
61442         (fmod_test): Likewise.
61443         (gamma_test): Likewise.
61444         (hypot_test): Likewise.
61445         (j0_test): Likewise.
61446         (j1_test): Likewise.
61447         (jn_test): Likewise.
61448         (lgamma_test): Likewise.
61449         (log_test): Likewise.
61450         (log10_test): Likewise.
61451         (log1p_test): Likewise.
61452         (log2_test): Likewise.
61453         (logb_test_downward): Likewise.
61454         (pow_test): Likewise.
61455         (pow_test_tonearest): Likewise.
61456         (pow_test_towardzero): Likewise.
61457         (pow_test_downward): Likewise.
61458         (pow_test_upward): Likewise.
61459         (remainder_test): Likewise.
61460         (remquo_test): Likewise.
61461         (sin_test): Likewise.
61462         (sin_test_tonearest): Likewise.
61463         (sin_test_towardzero): Likewise.
61464         (sin_test_downward): Likewise.
61465         (sin_test_upward): Likewise.
61466         (sincos_test): Likewise.
61467         (sinh_test): Likewise.
61468         (sinh_test_tonearest): Likewise.
61469         (sinh_test_towardzero): Likewise.
61470         (sinh_test_downward): Likewise.
61471         (sinh_test_upward): Likewise.
61472         (sqrt_test): Likewise.
61473         (tan_test): Likewise.
61474         (tan_test_tonearest): Likewise.
61475         (tan_test_towardzero): Likewise.
61476         (tan_test_downward): Likewise.
61477         (tan_test_upward): Likewise.
61478         (tanh_test): Likewise.
61479         (tgamma_test): Likewise.
61480         (y0_test): Likewise.
61481         (y1_test): Likewise.
61482         (yn_test): Likewise.
61484         * math/gen-libm-test.pl (adjust_arg): Remove function.
61485         (special_function): Remove argument $in_func.  Only handle
61486         generating output for tables of tests, not inside functions.
61487         (parse_args): Likewise.
61488         (generate_testfile): Remove variable $in_func.  Update call to
61489         parse_args.
61490         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
61491         (MINUS_ZERO_INIT): Rename macro to minus_zero.
61492         (PLUS_INFTY_INIT): Rename macro to plus_infty.
61493         (MINUS_INFTY_INIT): Rename macro to minus_infty.
61494         (QNAN_VALUE_INIT): Rename macro to qnan_value.
61495         (MAX_VALUE_INIT): Rename macro to max_value.
61496         (MIN_VALUE_INIT): Rename macro to min_value.
61497         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
61498         (plus_zero): Remove variable.
61499         (minus_zero): Likewise.
61500         (plus_infty): Likewise.
61501         (minus_infty): Likewise.
61502         (qnan_value): Likewise.
61503         (max_value): Likewise.
61504         (min_value): Likewise.
61505         (min_subnorm_value): Likewise.
61507 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
61509         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
61510         uint64_t or uint32_t usage.
61511         * crypt/sha256-block.c: Likewise.
61512         * crypt/sha256-crypt.c: Likewise.
61513         * crypt/sha256.c: Likewise.
61514         * crypt/sha512-block.c: Likewise.
61515         * crypt/sha512-crypt.c: Likewise.
61516         * crypt/sha512.c: Likewise.
61517         * debug/backtrace-tst.c: Likewise.
61518         * debug/pcprofiledump.c: Likewise.
61519         * elf/cache.c: Likewise.
61520         * elf/dl-cache.c: Likewise.
61521         * elf/dl-misc.c: Likewise.
61522         * elf/dl-profile.c: Likewise.
61523         * elf/dl-support.c: Likewise.
61524         * elf/ldconfig.c: Likewise.
61525         * elf/sprof.c: Likewise.
61526         * iconv/dummy-repertoire.c: Likewise.
61527         * iconv/iconv_charmap.c: Likewise.
61528         * iconv/skeleton.c: Likewise.
61529         * iconvdata/8bit-generic.c: Likewise.
61530         * iconvdata/cp737.h: Likewise.
61531         * iconvdata/cp775.h: Likewise.
61532         * iconvdata/ibm1008.h: Likewise.
61533         * iconvdata/ibm1025.h: Likewise.
61534         * iconvdata/ibm1046.h: Likewise.
61535         * iconvdata/ibm1097.h: Likewise.
61536         * iconvdata/ibm1112.h: Likewise.
61537         * iconvdata/ibm1122.h: Likewise.
61538         * iconvdata/ibm1123.h: Likewise.
61539         * iconvdata/ibm1124.h: Likewise.
61540         * iconvdata/ibm1129.h: Likewise.
61541         * iconvdata/ibm1130.h: Likewise.
61542         * iconvdata/ibm1132.h: Likewise.
61543         * iconvdata/ibm1133.h: Likewise.
61544         * iconvdata/ibm1137.h: Likewise.
61545         * iconvdata/ibm1140.h: Likewise.
61546         * iconvdata/ibm1141.h: Likewise.
61547         * iconvdata/ibm1142.h: Likewise.
61548         * iconvdata/ibm1143.h: Likewise.
61549         * iconvdata/ibm1144.h: Likewise.
61550         * iconvdata/ibm1145.h: Likewise.
61551         * iconvdata/ibm1146.h: Likewise.
61552         * iconvdata/ibm1147.h: Likewise.
61553         * iconvdata/ibm1148.h: Likewise.
61554         * iconvdata/ibm1149.h: Likewise.
61555         * iconvdata/ibm1153.h: Likewise.
61556         * iconvdata/ibm1154.h: Likewise.
61557         * iconvdata/ibm1155.h: Likewise.
61558         * iconvdata/ibm1156.h: Likewise.
61559         * iconvdata/ibm1157.h: Likewise.
61560         * iconvdata/ibm1158.h: Likewise.
61561         * iconvdata/ibm1160.h: Likewise.
61562         * iconvdata/ibm1161.h: Likewise.
61563         * iconvdata/ibm1162.h: Likewise.
61564         * iconvdata/ibm1163.h: Likewise.
61565         * iconvdata/ibm1164.h: Likewise.
61566         * iconvdata/ibm1166.h: Likewise.
61567         * iconvdata/ibm1167.h: Likewise.
61568         * iconvdata/ibm12712.h: Likewise.
61569         * iconvdata/ibm1390.h: Likewise.
61570         * iconvdata/ibm1399.h: Likewise.
61571         * iconvdata/ibm16804.h: Likewise.
61572         * iconvdata/ibm4517.h: Likewise.
61573         * iconvdata/ibm4899.h: Likewise.
61574         * iconvdata/ibm4909.h: Likewise.
61575         * iconvdata/ibm4971.h: Likewise.
61576         * iconvdata/ibm5347.h: Likewise.
61577         * iconvdata/ibm803.h: Likewise.
61578         * iconvdata/ibm856.h: Likewise.
61579         * iconvdata/ibm901.h: Likewise.
61580         * iconvdata/ibm902.h: Likewise.
61581         * iconvdata/ibm9030.h: Likewise.
61582         * iconvdata/ibm9066.h: Likewise.
61583         * iconvdata/ibm921.h: Likewise.
61584         * iconvdata/ibm922.h: Likewise.
61585         * iconvdata/ibm9448.h: Likewise.
61586         * iconvdata/isiri-3342.h: Likewise.
61587         * iconvdata/jis0201.h: Likewise.
61588         * include/link.h: Likewise.
61589         * include/netdb.h: Likewise.
61590         * inet/check_native.c: Likewise.
61591         * inet/check_pf.c: Likewise.
61592         * inet/getipv4sourcefilter.c: Likewise.
61593         * inet/getnameinfo.c: Likewise.
61594         * inet/getsourcefilter.c: Likewise.
61595         * inet/htonl.c: Likewise.
61596         * inet/setipv4sourcefilter.c: Likewise.
61597         * inet/setsourcefilter.c: Likewise.
61598         * inet/test-inet6_opt.c: Likewise.
61599         * inet/tst-network.c: Likewise.
61600         * locale/C-collate.c: Likewise.
61601         * locale/C-ctype.c: Likewise.
61602         * locale/C-time.c: Likewise.
61603         * locale/C-translit.h: Likewise.
61604         * locale/loadarchive.c: Likewise.
61605         * locale/programs/3level.h: Likewise.
61606         * locale/programs/charmap.c: Likewise.
61607         * locale/programs/charmap.h: Likewise.
61608         * locale/programs/ld-address.c: Likewise.
61609         * locale/programs/ld-collate.c: Likewise.
61610         * locale/programs/ld-ctype.c: Likewise.
61611         * locale/programs/ld-identification.c: Likewise.
61612         * locale/programs/ld-measurement.c: Likewise.
61613         * locale/programs/ld-messages.c: Likewise.
61614         * locale/programs/ld-monetary.c: Likewise.
61615         * locale/programs/ld-name.c: Likewise.
61616         * locale/programs/ld-numeric.c: Likewise.
61617         * locale/programs/ld-paper.c: Likewise.
61618         * locale/programs/ld-telephone.c: Likewise.
61619         * locale/programs/ld-time.c: Likewise.
61620         * locale/programs/linereader.c: Likewise.
61621         * locale/programs/locale.c: Likewise.
61622         * locale/programs/locarchive.c: Likewise.
61623         * locale/programs/locfile.h: Likewise.
61624         * locale/programs/repertoire.c: Likewise.
61625         * locale/programs/simple-hash.c: Likewise.
61626         * locale/programs/simple-hash.h: Likewise.
61627         * malloc/memusage.c: Likewise.
61628         * malloc/memusagestat.c: Likewise.
61629         * nis/nis_defaults.c: Likewise.
61630         * nis/nis_hash.c: Likewise.
61631         * nis/nis_print.c: Likewise.
61632         * nis/nis_xdr.c: Likewise.
61633         * nscd/connections.c: Likewise.
61634         * nscd/hstcache.c: Likewise.
61635         * nscd/nscd_gethst_r.c: Likewise.
61636         * nscd/nscd_getserv_r.c: Likewise.
61637         * nscd/nscd_helper.c: Likewise.
61638         * nscd/servicescache.c: Likewise.
61639         * nss/makedb.c: Likewise.
61640         * nss/nss_db/db-XXX.c: Likewise.
61641         * nss/nss_db/db-initgroups.c: Likewise.
61642         * nss/nss_db/db-netgrp.c: Likewise.
61643         * nss/nss_files/files-network.c: Likewise.
61644         * nss/nss_files/files-parse.c: Likewise.
61645         * posix/bug-regex5.c: Likewise.
61646         * posix/fnmatch_loop.c: Likewise.
61647         * posix/regcomp.c: Likewise.
61648         * posix/regexec.c: Likewise.
61649         * posix/tst-rfc3484-2.c: Likewise.
61650         * posix/tst-rfc3484-3.c: Likewise.
61651         * posix/tst-rfc3484.c: Likewise.
61652         * resolv/nss_dns/dns-canon.c: Likewise.
61653         * resolv/nss_dns/dns-network.c: Likewise.
61654         * resolv/res_init.c: Likewise.
61655         * resolv/res_mkquery.c: Likewise.
61656         * resolv/tst-aton.c: Likewise.
61657         * stdlib/cxa_atexit.c: Likewise.
61658         * stdlib/cxa_finalize.c: Likewise.
61659         * stdlib/gen-fpioconst.c: Likewise.
61660         * stdlib/strtol_l.c: Likewise.
61661         * string/tst-endian.c: Likewise.
61662         * sunrpc/auth_des.c: Likewise.
61663         * sunrpc/clnt_udp.c: Likewise.
61664         * sunrpc/rtime.c: Likewise.
61665         * sunrpc/svcauth_des.c: Likewise.
61666         * sunrpc/xdr.c: Likewise.
61667         * sunrpc/xdr_intXX_t.c: Likewise.
61668         * sunrpc/xdr_rec.c: Likewise.
61669         * sysdeps/generic/ldconfig.h: Likewise.
61670         * sysdeps/generic/ldsodefs.h: Likewise.
61671         * sysdeps/generic/memusage.h: Likewise.
61672         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
61673         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
61674         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
61675         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
61676         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
61677         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
61678         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
61679         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
61680         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
61681         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
61682         * sysdeps/posix/getaddrinfo.c: Likewise.
61683         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
61684         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
61685         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
61686         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
61687         * sysdeps/powerpc/test-gettimebase.c: Likewise.
61688         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
61689         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
61690         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
61691         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
61692         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
61693         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
61694         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
61695         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
61696         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
61697         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
61698         * sysdeps/x86_64/dl-tls.h: Likewise.
61699         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
61700         * time/alt_digit.c: Likewise.
61701         * time/era.c: Likewise.
61702         * wcsmbs/tst-c16c32-1.c: Likewise.
61704 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
61706         * math/libm-test.inc (struct test_sincos_data): New type.
61707         (RUN_TEST_LOOP_sincos): New macro.
61708         (sincos_test_data): New variable.
61709         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
61711 2013-05-16  Richard Henderson  <rth@redhat.com>
61713         * math/atest-exp2.c (LIMB64): New macro.
61714         (CONSTSZ): New macro.
61715         (mp_exp1, mp_exp_m1, mp_log2): New variables.
61716         (hexdig): Move ...
61717         (print_mpn_fp): ... to function scope.
61718         (read_mpn_hex): Remove.
61719         (get_log2): Remove.
61720         (exp2_mpn): Use mp_log2.
61721         (main): Use mp_exp1.
61723 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
61725         * math/libm-test.inc: Remove comment about not testing "inexact"
61726         exceptions.
61727         (INEXACT_EXCEPTION): New macro.
61728         (NO_INEXACT_EXCEPTION): Likewise.
61729         (INVALID_EXCEPTION_OK): Update value.
61730         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
61731         (OVERFLOW_EXCEPTION_OK): Likewise.
61732         (UNDERFLOW_EXCEPTION_OK): Likewise.
61733         (IGNORE_ZERO_INF_SIGN): Likewise.
61734         (ERRNO_UNCHANGED): Likewise.
61735         (ERRNO_EDOM): Likewise.
61736         (ERRNO_ERANGE): Likewise.
61737         (test_exceptions): Handle testing "inexact" exceptions.
61738         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
61739         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
61740         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
61741         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
61742         INEXACT_EXCEPTION.
61743         (rint_towardzero_test_data): Likewise.
61744         (rint_downward_test_data): Likewise.
61745         (rint_upward_test_data): Likewise.
61747         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
61748         with OVERFLOW_EXCEPTION.
61749         (exp10_test_data): Likewise.
61750         (exp2_test_data): Likewise.
61751         (expm1_test_data): Likewise.
61752         (lgamma_test_data): Likewise.
61753         (pow_test_data): Likewise.
61754         (tgamma_test_data): Likewise.
61755         (yn_test_data): Remove duplicate test of overflow.
61757         * math/libm-test.inc (struct test_cc_c_data): New type.
61758         (RUN_TEST_LOOP_cc_c): New macro.
61759         (cpow_test_data): New variable.
61760         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
61762         * math/libm-test.inc (struct test_f_L_data): New type.
61763         (RUN_TEST_LOOP_f_L): New macro.
61764         (llrint_test_data): New variable.
61765         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
61766         (llrint_tonearest_test_data): New variable.
61767         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
61768         (llrint_towardzero_test_data): New variable.
61769         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
61770         (llrint_downward_test_data): New variable.
61771         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
61772         (llrint_upward_test_data): New variable.
61773         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
61774         (llround_test_data): New variable.
61775         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
61777 2013-05-13  Peter Collingbourne  <pcc@google.com>
61779         * math/atest-exp2.c (get_log2): Remove const attribute.
61781 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
61783         * math/libm-test.inc (struct test_f_l_data): New type.
61784         (RUN_TEST_LOOP_f_l): New macro.
61785         (lrint_test_data): New variable.
61786         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
61787         (lrint_tonearest_test_data): New variable.
61788         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
61789         (lrint_towardzero_test_data): New variable.
61790         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
61791         (lrint_downward_test_data): New variable.
61792         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
61793         (lrint_upward_test_data): New variable.
61794         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
61795         (lround_test_data): New variable.
61796         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
61798 2013-05-15  Peter Collingbourne  <pcc@google.com>
61800         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
61801         (EXTRACT_WORDS64) Use where appropriate.
61802         (INSERT_WORDS64) Likewise.
61804         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
61805         constraints with x constraints.
61806         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
61808         * malloc/obstack.c (_obstack_compat): Add initializer.
61810 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
61812         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
61813         si_trapno and add si_addr_lsb to _sifields.sigfault.
61814         (si_trapno): Remove macro.
61815         (si_addr_lsb): Define new macro.
61816         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
61818 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
61820         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
61821         instead of TEST_f_l.
61822         (llrint_test_tonearest): Likewise.
61823         (llrint_test_towardzero): Likewise.
61824         (llrint_test_downward): Likewise.
61825         (llrint_test_upward): Likewise.
61826         (llround_test): Likewise.
61828         * math/libm-test.inc (struct test_f_i_data): Add comment.
61829         (RUN_TEST_LOOP_f_b): New macro.
61830         (RUN_TEST_LOOP_f_b_tg): Likewise.
61831         (finite_test_data): New variable.
61832         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
61833         (isfinite_test_data): New variable.
61834         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
61835         (isinf_test_data): New variable.
61836         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
61837         (isnan_test_data): New variable.
61838         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
61839         (isnormal_test_data): New variable.
61840         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
61841         (issignaling_test_data): New variable.
61842         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
61843         (signbit_test_data): New variable.
61844         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
61846         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
61847         with INVALID_EXCEPTION.
61848         (acosh_test_data): Likewise.
61849         (asin_test_data): Likewise.
61850         (atanh_test_data): Likewise.
61851         (fmod_test_data): Likewise.
61852         (log_test_data): Likewise.
61853         (log10_test_data): Likewise.
61854         (log2_test_data): Likewise.
61855         (pow_test_data): Likewise.
61856         (sqrt_test_data): Likewise.
61857         (y0_test_data): Likewise.
61858         (y1_test_data): Likewise.
61859         (yn_test_data): Likewise.
61861         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
61862         function contents.
61864         * math/libm-test.inc (struct test_ff_i_data): New type.
61865         (RUN_TEST_LOOP_ff_i_tg): New macro.
61866         (isgreater_test_data): New variable.
61867         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
61868         (isgreaterequal_test_data): New variable.
61869         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
61870         (isless_test_data): New variable.
61871         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
61872         (islessequal_test_data): New variable.
61873         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
61874         (islessgreater_test_data): New variable.
61875         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
61876         (isunordered_test_data): New variable.
61877         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
61879 2013-05-14  David S. Miller  <davem@davemloft.net>
61881         * sysdeps/sparc/fpu/libm-test-ulps: Update.
61883 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
61885         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
61887         * math/libm-test.inc (struct test_fF_f1_data): Change type of
61888         extra_test to int.
61889         (struct test_f_i_data): Change type of max_ulp to int.
61891         * math/libm-test.inc (test_ffI_f1_data): New type.
61892         (RUN_TEST_LOOP_ffI_f1): New macro.
61893         (remquo_test_data): New variable.
61894         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
61896         * setjmp/tst-setjmp-fp.c: New file.
61897         * setjmp/Makefile (tests): Add tst-setjmp-fp.
61898         (link-libm): New variable.
61899         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
61901         * math/libm-test.inc (struct test_f_i_data): New type.
61902         (RUN_TEST_LOOP_f_i): New macro.
61903         (RUN_TEST_LOOP_f_i_tg): Likewise.
61904         (fpclassify_test_data): New variable.
61905         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
61906         (ilogb_test_data): New variable.
61907         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
61909         * math/libm-test.inc (scalbln_test): Correct function name in END
61910         call.
61912         * math/libm-test.inc (struct test_f_f1_data): Add comment.
61913         (RUN_TEST_LOOP_fI_f1): New macro.
61914         (frexp_test_data): New variable.
61915         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
61917         * math/libm-test.inc (struct test_fF_f1_data): New type.
61918         (RUN_TEST_LOOP_fF_f1): New macro.
61919         (modf_test_data): New variable.
61920         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
61922         * math/libm-test.inc (struct test_f_f1_data): New type.
61923         (RUN_TEST_LOOP_f_f1): New macro.
61924         (gamma_test_data): New variable.
61925         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
61926         (lgamma_test_data): New variable.
61927         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
61929 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
61931         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
61932         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
61933         (main): Comment "tls" pseudo-hwcap.
61935 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
61937         * math/libm-test.inc (struct test_fl_f_data): New type.
61938         (RUN_TEST_LOOP_fl_f): New variable.
61939         (scalbln_test_data): New variable.
61940         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
61942         * math/libm-test.inc (struct test_fi_f_data): New type.
61943         (RUN_TEST_LOOP_fi_f): New macro.
61944         (ldexp_test_data): New variable.
61945         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
61946         (scalbn_test_data): New variable.
61947         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
61949         * math/libm-test.inc (struct test_c_f_data): New type.
61950         (RUN_TEST_LOOP_c_f): New macro.
61951         (cabs_test_data): New variable.
61952         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
61953         (carg_test_data): New variable.
61954         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
61955         (cimag_test_data): New variable.
61956         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
61957         (creal_test_data): New variable.
61958         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
61960         * math/libm-test.inc (struct test_if_f_data): New type.
61961         (RUN_TEST_LOOP_if_f): New macro.
61962         (jn_test_data): New variable.
61963         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
61964         (yn_test_data): New variable.
61965         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
61967         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
61969 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61971         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
61972         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
61974 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
61976         * benchtests/Makefile (CPPFLAGS-nonlib): Add
61977         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
61978         (bench-deps): Add bench-timing.h.
61979         * benchtests-bench-skeleton.c: Include bench-timing.h.
61980         (main): Use TIMING_* macros instead of clock_gettime.
61981         * benchtests/bench-timing.h: New file.
61983         [BZ #14582]
61984         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
61985         Renamed from _LIB_VERSION.
61986         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
61988 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
61990         * math/libm-test.inc (struct test_fff_f_data): New type.
61991         (RUN_TEST_LOOP_fff_f): New macro.
61992         (fma_test_data): New variable.
61993         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
61994         (fma_towardzero_test_data): New variable.
61995         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
61996         (fma_downward_test_data): New variable.
61997         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
61998         (fma_upward_test_data): New variable.
61999         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
62001         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
62002         (struct test_c_c_data): New type.
62003         (RUN_TEST_LOOP_c_c): New macro.
62004         (cacos_test_data): New variable.
62005         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
62006         (cacosh_test_data): New variable.
62007         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
62008         (casin_test_data): New variable.
62009         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
62010         (casinh_test_data): New variable.
62011         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
62012         (catan_test_data): New variable.
62013         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
62014         (catanh_test_data): New variable.
62015         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
62016         (ccos_test_data): New variable.
62017         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
62018         (ccosh_test_data): New variable.
62019         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
62020         (cexp_test_data): New variable.
62021         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
62022         (clog_test_data): New variable.
62023         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
62024         (clog10_test_data): New variable.
62025         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
62026         (conj_test_data): New variable.
62027         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
62028         (cproj_test_data): New variable.
62029         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
62030         (csin_test_data): New variable.
62031         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
62032         (csinh_test_data): New variable.
62033         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
62034         (csqrt_test_data): New variable.
62035         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
62036         (ctan_test_data): New variable.
62037         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
62038         (ctan_tonearest_test_data): New variable.
62039         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
62040         (ctan_towardzero_test_data): New variable.
62041         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
62042         (ctan_downward_test_data): New variable.
62043         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
62044         (ctan_upward_test_data): New variable.
62045         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
62046         (ctanh_test_data): New variable.
62047         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
62048         (ctanh_tonearest_test_data): New variable.
62049         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
62050         (ctanh_towardzero_test_data): New variable.
62051         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
62052         (ctanh_downward_test_data): New variable.
62053         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
62054         (ctanh_upward_test_data): New variable.
62055         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
62056         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
62057         of BUILD_COMPLEX.
62059         * math/libm-test.inc (struct test_ff_f_data): New type.
62060         (struct test_ff_f_data_nexttoward): Likewise.
62061         (RUN_TEST_LOOP_2_f): New macro.
62062         (RUN_TEST_LOOP_ff_f): Likewise.
62063         (atan2_test_data): New variable.
62064         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
62065         (copysign_test_data): New variable.
62066         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
62067         (fdim_test_data): New variable.
62068         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
62069         (fmax_test_data): New variable.
62070         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
62071         (fmin_test_data): New variable.
62072         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
62073         (fmod_test_data): New variable.
62074         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
62075         (hypot_test_data): New variable.
62076         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
62077         (nextafter_test_data): New variable.
62078         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
62079         (nexttoward_test_data): New variable.
62080         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
62081         (pow_test_data): New variable.
62082         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
62083         (pow_tonearest_test_data): New variable.
62084         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
62085         (pow_towardzero_test_data): New variable.
62086         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
62087         (pow_downward_test_data): New variable.
62088         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
62089         (pow_upward_test_data): New variable.
62090         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
62091         (remainder_test_data): New variable.
62092         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
62093         (scalb_test_data): New variable.
62094         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
62095         * sysdeps/i386/fpu/libm-test-ulps: Update.
62097 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
62099         * math/libm-test.inc (fma_test): Use max_value instead of local
62100         variable fltmax.
62101         (nextafter_test): Likewise.
62103         * math/libm-test.inc (acos_towardzero_test_data): New variable.
62104         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
62105         (acos_downward_test_data): New variable.
62106         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
62107         (acos_upward_test_data): New variable.
62108         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
62109         (acosh_test_data): New variable.
62110         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
62111         (asin_test_data): New variable.
62112         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
62113         (asin_tonearest_test_data): New variable.
62114         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
62115         (asin_towardzero_test_data): New variable.
62116         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
62117         (asin_downward_test_data): New variable.
62118         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
62119         (asin_upward_test_data): New variable.
62120         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
62121         (asinh_test_data): New variable.
62122         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
62123         (atan_test_data): New variable.
62124         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
62125         (atanh_test_data): New variable.
62126         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
62127         (cbrt_test_data): New variable.
62128         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
62129         (ceil_test_data): New variable.
62130         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
62131         (cos_test_data): New variable.
62132         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
62133         (cos_tonearest_test_data): New variable.
62134         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
62135         (cos_towardzero_test_data): New variable.
62136         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
62137         (cos_downward_test_data): New variable.
62138         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
62139         (cos_upward_test_data): New variable.
62140         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
62141         (cosh_test_data): New variable.
62142         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
62143         (cosh_tonearest_test_data): New variable.
62144         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
62145         (cosh_towardzero_test_data): New variable.
62146         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
62147         (cosh_downward_test_data): New variable.
62148         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
62149         (cosh_upward_test_data): New variable.
62150         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
62151         (erf_test_data): New variable.
62152         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
62153         (erfc_test_data): New variable.
62154         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
62155         (exp_test_data): New variable.
62156         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
62157         (exp_tonearest_test_data): New variable.
62158         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
62159         (exp_towardzero_test_data): New variable.
62160         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
62161         (exp_downward_test_data): New variable.
62162         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
62163         (exp_upward_test_data): New variable.
62164         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
62165         (exp10_test_data): New variable.
62166         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
62167         (exp2_test_data): New variable.
62168         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
62169         (expm1_test_data): New variable.
62170         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
62171         (fabs_test_data): New variable.
62172         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
62173         (floor_test_data): New variable.
62174         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
62175         (j0_test_data): New variable.
62176         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
62177         (j1_test_data): New variable.
62178         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
62179         (log_test_data): New variable.
62180         (log_test): Run tests with RUN_TEST_LOOP_f_f.
62181         (log10_test_data): New variable.
62182         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
62183         (log1p_test_data): New variable.
62184         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
62185         (log2_test_data): New variable.
62186         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
62187         (logb_test_data): New variable.
62188         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
62189         (logb_downward_test_data): New variable.
62190         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
62191         (nearbyint_test_data): New variable.
62192         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
62193         (rint_test_data): New variable.
62194         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
62195         (rint_tonearest_test_data): New variable.
62196         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
62197         (rint_towardzero_test_data): New variable.
62198         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
62199         (rint_downward_test_data): New variable.
62200         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
62201         (rint_upward_test_data): New variable.
62202         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
62203         (round_test_data): New variable.
62204         (round_test): Run tests with RUN_TEST_LOOP_f_f.
62205         (sin_test_data): New variable.
62206         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
62207         (sin_tonearest_test_data): New variable.
62208         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
62209         (sin_towardzero_test_data): New variable.
62210         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
62211         (sin_downward_test_data): New variable.
62212         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
62213         (sin_upward_test_data): New variable.
62214         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
62215         (sinh_test_data): New variable.
62216         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
62217         (sinh_tonearest_test_data): New variable.
62218         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
62219         (sinh_towardzero_test_data): New variable.
62220         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
62221         (sinh_downward_test_data): New variable.
62222         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
62223         (sinh_upward_test_data): New variable.
62224         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
62225         (sqrt_test_data): New variable.
62226         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
62227         (tan_test_data): New variable.
62228         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
62229         (tan_tonearest_test_data): New variable.
62230         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
62231         (tan_towardzero_test_data): New variable.
62232         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
62233         (tan_downward_test_data): New variable.
62234         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
62235         (tan_upward_test_data): New variable.
62236         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
62237         (tanh_test_data): New variable.
62238         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
62239         (tgamma_test_data): New variable.
62240         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
62241         (trunc_test_data): New variable.
62242         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
62243         (y0_test_data): New variable.
62244         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
62245         (y1_test_data): New variable.
62246         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
62247         (significand_test_data): New variable.
62248         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
62250 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
62252         [BZ #12387]
62253         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
62255 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
62257         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
62259 2013-05-10  Andreas Jaeger  <aj@suse.de>
62261         [BZ #15448]
62262         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
62263         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
62265 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
62267         * math/gen-libm-test.pl (adjust_arg): New function.
62268         (special_functions): Handle generating output in both functions
62269         and arrays.
62270         (parse_args): Likewise.
62271         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
62272         $in_func argument to parse_args.
62273         * math/libm-test.inc (struct test_f_f_data): New type.
62274         (IF_ROUND_INIT_): New macro.
62275         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
62276         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
62277         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
62278         (IF_ROUND_INIT_FE_UPWARD): Likewise.
62279         (ROUND_RESTORE_): Likewise.
62280         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
62281         (ROUND_RESTORE_FE_TONEAREST): Likewise.
62282         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
62283         (ROUND_RESTORE_FE_UPWARD): Likewise.
62284         (RUN_TEST_LOOP_f_f): New macro.
62285         (acos_test_data): New variable.
62286         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
62287         (acos_tonearest_test_data): New variable.
62288         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
62290 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
62292         * benchtests/bench-skeleton.c (startup): Fix coding style.
62294 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
62296         [BZ #6809]
62297         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
62298         negative infinity argument.
62299         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
62300         negative infinity argument.
62301         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
62302         negative infinity argument.
62303         * math/libm-test.inc (tgamma_test): Expect errno to be set for
62304         domain errors.
62306 2013-05-10  Florian Weimer  <fweimer@redhat.com>
62308         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
62309         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
62310         * iconv/iconv_prog.c (main): Likewise.
62311         * locale/programs/charmap-dir.c (charmap_readdir)
62312         (fopen_uncompressed): Likewise.
62313         * locale/programs/locfile.c (siblings_uncached)
62314         (write_locale_data): Use lstat64 instead of lstat.
62315         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
62316         stat.
62318 2013-05-10  Andreas Jaeger  <aj@suse.de>
62320         [BZ #15395]
62321         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
62322         localization.
62323         Include <locale.h>.
62325 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
62327         * elf/dl-close.c (_dl_close_worker): Add comments.
62329 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
62331         [BZ #15359]
62332         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
62333         high part of pi/2.
62334         (__ieee754_rem_pio2l): Update comments.
62336         [BZ #15429]
62337         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
62338         high part of pi/2.
62339         (__ieee754_rem_pio2l): Update comments.
62341         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
62342         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
62344         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
62345         M_PI_4l.
62347         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
62348         (M_PI_34_LOG10El): Likewise.
62349         (M_PI2_LOG10El): Likewise.
62350         (M_PI4_LOG10El): Likewise.
62351         (M_PI_LOG10El): Likewise.
62353 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62355         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
62357 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
62359         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
62360         (MINUS_ZERO_INIT): Likewise.
62361         (PLUS_INFTY_INIT): Likewise.
62362         (MINUS_INFTY_INIT): Likewise.
62363         (QNAN_VALUE_INIT): Likewise.
62364         (MAX_VALUE_INIT): Likewise.
62365         (MIN_VALUE_INIT): Likewise.
62366         (MIN_SUBNORM_VALUE_INIT): Likewise.
62367         (plus_zero): Initialize with PLUS_ZERO_INIT.
62368         (minus_zero): Initialize with MINUS_ZERO_INIT.
62369         (plus_infty): Initialize with PLUS_INFTY_INIT.
62370         (minus_infty): Initialize with MINUS_INFTY_INIT.
62371         (qnan_value): Initialize with QNAN_VALUE_INIT.
62372         (max_value): Initialize with MAX_VALUE_INIT.
62373         (min_value): Initialize with MIN_VALUE_INIT.
62374         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
62376         * math/libm-test.inc (RUN_TEST_if_f): New macro.
62377         (jn_test): Use TEST_if_f instead of TEST_ff_f.
62378         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
62379         (yn_test): Use TEST_if_f instead of TEST_ff_f.
62381         * math/libm-test.inc (RUN_TEST_f_f): New macro.
62382         (RUN_TEST_2_f): Likewise.
62383         (RUN_TEST_ff_f): Likewise.
62384         (RUN_TEST_fi_f): Likewise.
62385         (RUN_TEST_fl_f): Likewise.
62386         (RUN_TEST_fff_f): Likewise.
62387         (RUN_TEST_c_f): Likewise.
62388         (RUN_TEST_f_f1): Likewise.
62389         (RUN_TEST_fF_f1): Likewise.
62390         (RUN_TEST_fI_f1): Likewise.
62391         (RUN_TEST_ffI_f1): Likewise.
62392         (RUN_TEST_c_c): Likewise.
62393         (RUN_TEST_cc_c): Likewise.
62394         (RUN_TEST_f_i): Likewise.
62395         (RUN_TEST_f_i_tg): Likewise.
62396         (RUN_TEST_ff_i_tg): Likewise.
62397         (RUN_TEST_f_b): Likewise.
62398         (RUN_TEST_f_b_tg): Likewise.
62399         (RUN_TEST_f_l): Likewise.
62400         (RUN_TEST_f_L): Likewise.
62401         (RUN_TEST_sincos): Likewise.
62402         * math/gen-libm-test.pl (new_test): Take new argument to indicate
62403         whether to show exceptions.  Do not include ");\n" in return
62404         value.
62405         (special_functions): Output call to RUN_TEST_sincos instead of
62406         check_float calls.  Update calls to new_test.
62407         (parse_args): Output call to single RUN_TEST_* macro instead of
62408         check_* calls and other assignments.  Update calls to new_test.
62410         [BZ #2546]
62411         [BZ #2560]
62412         [BZ #5159]
62413         [BZ #15426]
62414         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
62415         input to result for tgamma overflow.
62416         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
62417         (gamma_coeff): New variable.
62418         (NCOEFF): New macro.
62419         (gamma_positive): New function.
62420         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
62421         underflow here.  Use gamma_positive instead of exp (lgamma) for
62422         other arguments.
62423         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
62424         (gamma_coeff): New variable.
62425         (NCOEFF): New macro.
62426         (gammaf_positive): New function.
62427         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
62428         underflow here.  Use gamma_positive instead of exp (lgamma) for
62429         other arguments.
62430         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
62431         (gamma_coeff): New variable.
62432         (NCOEFF): New macro.
62433         (gammal_positive): New function.
62434         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
62435         underflow here.  Use gamma_positive instead of exp (lgamma) for
62436         other arguments.
62437         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
62438         (gamma_coeff): New variable.
62439         (NCOEFF): New macro.
62440         (gammal_positive): New function.
62441         (__ieee754_gammal_r): Handle positive infinity, overflow and
62442         underflow here.  Handle NaN the same as positive infinity.  Remove
62443         check x < 0xffffffff for negative integers.  Use gamma_positive
62444         instead of exp (lgamma) for other arguments.
62445         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
62446         (gamma_coeff): New variable.
62447         (NCOEFF): New macro.
62448         (gammal_positive): New function.
62449         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
62450         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
62451         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
62452         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
62453         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
62454         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
62455         * sysdeps/generic/math_private.h (__gamma_productf): New
62456         prototype.
62457         (__gamma_product): Likewise.
62458         (__gamma_productl): Likewise.
62459         * math/Makefile (libm-calls): Add gamma_product.
62460         * math/libm-test.inc (tgamma_test): Add more tests.
62461         * sysdeps/i386/fpu/libm-test-ulps: Update.
62462         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62464 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
62466         * benchtests/bench-skeleton.c (main): Preheat CPU.
62468 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
62470         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
62472 2013-05-07  Roland McGrath  <roland@hack.frob.com>
62474         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
62475         and _dl_skip_args_internal.
62477 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
62479         * manual/message.texi (Message Translation): Talk about users.
62480         Message to key mapping impacts design.
62482 2013-05-06  Roland McGrath  <roland@hack.frob.com>
62484         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
62486         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
62488         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
62489         * sysdeps/wordsize-64/glob64.c: ... here.
62491         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
62492         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
62493         New macros.
62495         * debug/getlogin_r_chk.c: Moved to ...
62496         * login/getlogin_r_chk.c: ... here.
62497         * debug/Makefile (routines): Move getlogin_r_chk to ...
62498         * login/Makefile (routines): ... here.
62499         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
62500         * login/Versions (libc: GLIBC_2.4): ... here.
62502         * io/poll.c (__poll): Renamed from poll.
62503         Add libc_hidden_def.
62504         (poll): Define as weak alias.
62506         * debug/ptsname_r_chk.c: Moved to ...
62507         * login/ptsname_r_chk.c: ... here.
62508         * debug/Makefile (routines): Move ptsname_r_chk to ...
62509         * login/Makefile (routines): ... here.
62510         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
62511         * login/Versions (libc: GLIBC_2.4): ... here.
62513         * posix/getlogin.c: Moved to ...
62514         * login/getlogin.c: ... here.
62515         * posix/getlogin_r.c: Moved to ...
62516         * login/getlogin_r.c: ... here.
62517         * posix/getlogin_r.c: Moved to ...
62518         * login/getlogin_r.c: ... here.
62519         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
62520         * login/Makefile (routines): ... here.
62521         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
62522         * login/Versions (libc: GLIBC_2.0): ... here.
62524         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
62525         (setrlimit): Define as weak alias.
62527         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
62528         Call __ names for open, ftruncate, and close.
62529         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
62530         (truncate): Define as weak alias.
62532 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
62534         * math/gen-libm-test.pl (parse_args): Initialize x before each
62535         test of frexp, modf and remquo.
62537         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
62538         test signgam value.
62540 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62542         [BZ #15418]
62543         [BZ #15419]
62544         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
62545         internal tests.
62546         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
62548 2013-05-06  Roland McGrath  <roland@hack.frob.com>
62550         * elf/dl-writev.h: New file.
62551         * elf/dl-misc.c: Include it.
62552         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
62553         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
62555 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
62557         * math/libm-test.inc (noXFails): Remove variable.
62558         (noXPasses): Likewise.
62559         (BUILD_COMPLEX_INT): Remove macro.
62560         (print_screen): Remove xfail argument.
62561         (print_screen_max_error): Likewise.
62562         (update_stats): Likewise.
62563         (print_max_error): Likewise.  Update calls to other affected
62564         functions.
62565         (print_complex_max_error): Likewise.
62566         (test_single_exception): Update calls to print_screen.
62567         (test_single_errno): Likewise.
62568         (check_float_internal): Remove xfail argument.  Update calls to
62569         other affected functions.
62570         (check_float): Likewise.
62571         (check_complex): Likewise.
62572         (check_int): Likewise.
62573         (check_long): Likewise.
62574         (check_bool): Likewise.
62575         (check_longlong): Likewise.
62576         (main): Don't print noXFails and noXPasses.
62577         * math/gen-libm-test.pl (top level): Don't mention expected
62578         failure handling in comment.
62579         (new_test): Don't handle expected failures.
62580         (parse_args): Don't mention expected failure handling in comment.
62581         (generate_testfile): Don't handle expected failures.
62582         (parse_ulps): Likewise.
62583         (print_ulps_file): Likewise.
62584         (get_failure): Remove function.
62585         (output_test): Don't handle expected failures.
62586         * make/README.libm-test: Don't mention expected failure handling.
62588         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
62589         (minus_zero): Likewise.
62590         (plus_infty): Likewise.
62591         (minus_infty): Likewise.
62592         (qnan_value): Likewise.
62593         (max_value): Likewise.
62594         (min_value): Likewise.
62595         (min_subnorm_value): Likewise.
62596         (initialize): Do not initialize those variables dynamically.
62598 2013-05-03  Roland McGrath  <roland@hack.frob.com>
62600         * io/open.c (__open_2): Moved to ...
62601         * io/open_2.c: ... this new file.
62602         * io/open64.c (__open64_2): Moved to ...
62603         * io/open64_2.c: ... this new file.
62604         * io/openat.c (__openat_2): Moved to ...
62605         * io/openat_2.c: ... this new file.
62606         * io/openat64.c (__openat64_2): Moved to ...
62607         * io/openat64_2.c: ... this new file.
62608         * io/Makefile (routines): Add them.
62609         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
62610         * sysdeps/unix/sysv/linux/open_2.c: File removed.
62611         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
62612         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
62613         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
62614         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
62615         (__openat64): Add hidden_ver.
62616         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
62617         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
62619         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
62620         Separately conditionalize setting of GLRO(dl_sysinfo) so
62621         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
62622         as well, but the actual setting is only under [NEED_DL_SYSINFO].
62624 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62626         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
62627         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
62628         definition.
62629         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
62630         * sysdeps/unix/sysv/linux/powerpc/init-first.c
62631         (_libc_vdso_platform_setup): Add __vdso_time initialization.
62632         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
62633         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
62635 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
62637         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
62638         test signgam value.
62640         * math/libm-test.inc (hypot_test): Do not use
62641         IGNORE_ZERO_INF_SIGN.
62643 2013-05-03  Andreas Jaeger  <aj@suse.de>
62645         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
62646         Linux 3.9.
62647         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
62648         (PF_MAX): Adjust for VSOCK change.
62650 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62652         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
62654 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
62656         [BZ #15264]
62657         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
62658         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
62659         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
62661 2013-05-02  David S. Miller  <davem@davemloft.net>
62663         * sysdeps/sparc/fpu/libm-test-ulps: Update.
62665 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
62667         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
62669 2013-05-01  Roland McGrath  <roland@hack.frob.com>
62671         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
62673 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
62675         [BZ #14952]
62676         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
62677         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
62678         Use __attribute__ ((__gnu_inline__)).
62679         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
62680         Don't use __attribute__ ((__gnu_inline__)).
62682 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
62684         [BZ #15423]
62685         * math/s_catan.c (__catan): Handle small real or imaginary part of
62686         input specially to avoid spurious underflow.
62687         * math/s_catanf.c (__catanf): Likewise.
62688         * math/s_catanh.c (__catanh): Likewise.
62689         * math/s_catanhf.c (__catanhf): Likewise.
62690         * math/s_catanhl.c (__catanhl): Likewise.
62691         * math/s_catanl.c (__catanl): Likewise.
62692         * math/libm-test.inc (catan_test): Add more tests.
62693         (catanh_test): Likewise.
62694         * sysdeps/i386/fpu/libm-test-ulps: Update.
62695         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62697 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62699         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
62701 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
62703         [BZ #15416]
62704         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
62705         accurately for denominator in atan2.
62706         * math/s_catanf.c (__catanf): Likewise.
62707         * math/s_catanh.c (__catanh): Likewise.
62708         * math/s_catanhf.c (__catanhf): Likewise.
62709         * math/s_catanhl.c (__catanhl): Likewise.
62710         * math/s_catanl.c (__catanl): Likewise.
62711         * math/libm-test.inc (catan_test): Add more tests.
62712         (catanh_test): Likewise.
62713         * sysdeps/i386/fpu/libm-test-ulps: Update.
62714         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62716 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
62718         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
62720         * benchtests/Makefile (bench): Remove slow benchmarks.
62721         * benchtests/atan-inputs: Add slow benchmark inputs.
62722         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
62723         (BENCH_FUNC): Accept variant offset.
62724         (VARIANT): Define.
62725         * benchtests/bench-skeleton.c (main): Run benchmark for each
62726         variant.
62727         * benchtests/cos-inputs: Add slow benchmark inputs.
62728         * benchtests/exp-inputs: Likewise.
62729         * benchtests/pow-inputs: Likewise.
62730         * benchtests/sin-inputs: Likewise.
62731         * benchtests/slowatan-inputs: Remove.
62732         * benchtests/slowatan.c: Remove.
62733         * benchtests/slowcos-inputs: Remove.
62734         * benchtests/slowcos.c: Remove.
62735         * benchtests/slowexp-inputs: Remove.
62736         * benchtests/slowexp.c: Remove.
62737         * benchtests/slowpow-inputs: Remove.
62738         * benchtests/slowpow.c: Remove.
62739         * benchtests/slowsin-inputs: Remove.
62740         * benchtests/slowsin.c: Remove.
62741         * benchtests/slowtan-inputs: Remove.
62742         * benchtests/slowtan.c: Remove.
62743         * benchtests/tan-inputs: Add slow benchmark inputs.
62744         * scripts/bench.pl: Parse comments and directives.
62746         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
62747         in CPPFLAGS.
62748         ($(objpfx)bench-%.c): Remove *-ITER.
62749         * benchtests/bench-modf.c: Remove definition of ITER.
62750         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
62751         (main): Loop for DURATION seconds instead of fixed number of
62752         iterations.
62753         * scripts/bench.pl: Don't expect iterations in parameters.
62755 2013-04-29  Roland McGrath  <roland@hack.frob.com>
62757         * io/fchdir.c (__fchdir): Renamed from fchdir.
62758         (fchdir): Define as weak alias.
62760 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
62762         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
62763         (ERRNO_EDOM): Likewise.
62764         (ERRNO_ERANGE): Likewise.
62765         (noErrnoTests): New variable.
62766         (init_max_error): Set errno to 0.
62767         (test_single_errno): New function.
62768         (test_errno): Likewise.
62769         (check_float_internal): Call test_errno.  Set errno to 0.
62770         (check_complex): Refer to errno tests in comment.
62771         (check_int): Call test_errno.  Set errno to 0.
62772         (check_long): Likewise.
62773         (check_bool): Likewise.
62774         (check_longlong): Likewise.
62775         (cos_test): Use ERRNO_* flags for errno tests instead of
62776         check_int.
62777         (expm1_test): Likewise.
62778         (fmod_test): Likewise.
62779         (ilogb_test): Likewise.
62780         (lgamma_test): Likewise.
62781         (pow_test): Likewise.
62782         (remainder_test): Likewise.
62783         (sin_test): Likewise.
62784         (tan_test): Likewise.
62785         (yn_test): Likewise.
62786         (initialize): Set errno to 0.
62787         (main): Print number of errno tests.
62788         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
62790 2013-04-29  Andreas Jaeger  <aj@suse.de>
62792         [BZ #15084]
62793         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
62794         and RES_USEVC.
62796         [BZ #15085]
62797         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
62798         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
62799         unimplemented.
62801         [BZ #15380]
62802         * stdlib/random.c (__initstate): Return NULL if
62803         __initstate fails.
62805         [BZ #15086]
62806         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
62807         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
62808         RES_SNGLKUPREOP.
62810 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62812         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
62814 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
62816         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
62817         of individual tests.
62818         (casin_test): Likewise.
62819         (casinh_test): Likewise.
62821 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
62823         [BZ #15409]
62824         * math/s_catan.c (__catan): Handle arguments with large real or
62825         imaginary part separately without squaring.
62826         * math/s_catanf.c (__catanf): Likewise.
62827         * math/s_catanh.c (__catanh): Likewise.
62828         * math/s_catanhf.c (__catanhf): Likewise.
62829         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
62830         and redefine.
62831         (__catanhl): Handle arguments with large real or imaginary part
62832         separately without squaring.
62833         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
62834         and redefine.
62835         (__catanl): Handle arguments with large real or imaginary part
62836         separately without squaring.
62837         * math/libm-test.inc (catan_test): Add more tests.
62838         (catanh_test): Likewise.
62839         * sysdeps/i386/fpu/libm-test-ulps: Update.
62840         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62842 2013-04-27  Andreas Jaeger  <aj@suse.de>
62844         [BZ #15007]
62845         * stdlib/stdlib.h: Update guards for qecvt.
62846         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
62847         <stdlib.h>.
62849 2013-04-27  Allan McRae  <allan@archlinux.org>
62851         * sysdeps/i386/fpu/libm-test-ulps: Update.
62853 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
62855         [BZ #15406]
62856         * math/s_catan.c: Include <float.h>.
62857         (__catan): Ensure underflow exception occurs for underflowed
62858         result.
62859         * math/s_catanf.c: Include <float.h>.
62860         (__catanf): Ensure underflow exception occurs for underflowed
62861         result.
62862         * math/s_catanh.c: Include <float.h>.
62863         (__catanh): Ensure underflow exception occurs for underflowed
62864         result.
62865         * math/s_catanhf.c: Include <float.h>.
62866         (__catanhf): Ensure underflow exception occurs for underflowed
62867         result.
62868         * math/s_catanhl.c: Include <float.h>.
62869         (__catanhl): Ensure underflow exception occurs for underflowed
62870         result.
62871         * math/s_catanl.c: Include <float.h>.
62872         (__catanl): Ensure underflow exception occurs for underflowed
62873         result.
62874         * math/libm-test.inc (catan_test): Add more tests.
62875         (catanh_test): Likewise.
62877         [BZ #15405]
62878         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
62879         underflowed result.
62880         * math/s_ccoshf.c (__ccoshf): Likewise.
62881         * math/s_ccoshl.c (__ccoshl): Likewise.
62882         * math/s_csin.c (__csin): Likewise.
62883         * math/s_csinf.c (__csinf): Likewise.
62884         * math/s_csinh.c (__csinh): Likewise.
62885         * math/s_csinhf.c (__csinhf): Likewise.
62886         * math/s_csinhl.c (__csinhl): Likewise.
62887         * math/s_csinl.c (__csinl): Likewise.
62888         * math/libm-test.inc (ccos_test): Add more tests.
62889         (ccosh_test): Likewise.
62890         (csin_test): Likewise.
62891         (csinh_test): Likewise.
62893 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62895         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
62896         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
62897         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
62898         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
62899         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
62900         powerpc/power5+/fpu folders.
62901         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
62904 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
62906         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
62908 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
62910         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
62911         additions to variable.
62912         [$(config-machine) = x86_64] (modules-names): Likewise.
62913         ($(objpfx)tst-audit3): Remove dependency.
62914         ($(objpfx)tst-audit3.out): Likewise.
62915         ($(objpfx)tst-audit4): Likewise.
62916         ($(objpfx)tst-audit4.out): Likewise.
62917         ($(objpfx)tst-audit5): Likewise.
62918         ($(objpfx)tst-audit5.out): Likewise.
62919         ($(objpfx)tst-audit6): Likewise.
62920         ($(objpfx)tst-audit6.out): Likewise.
62921         ($(objpfx)tst-audit7): Likewise.
62922         ($(objpfx)tst-audit7.out): Likewise.
62923         (tst-audit3-ENV): Remove variable.
62924         (tst-audit4-ENV): Likewise.
62925         (tst-audit5-ENV): Likewise.
62926         (tst-audit6-ENV): Likewise.
62927         (tst-audit7-ENV): Likewise.
62928         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
62929         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
62930         addition to variable.
62931         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
62932         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
62933         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
62934         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
62935         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
62936         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
62937         tst-audit3, tst-audit4 and tst-audit5.
62938         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
62939         tst-audit6 and tst-audit7.
62940         [$(subdir) = elf] (modules-names): Add audit modules for those
62941         tests.
62942         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
62943         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
62944         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
62945         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
62946         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
62947         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
62948         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
62949         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
62950         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
62951         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
62952         [$(subdir) = elf] (tst-audit3-ENV): New variable.
62953         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
62954         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
62955         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
62956         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
62957         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
62958         Likewise.
62959         [$(subdir) = elf && $(config-cflags-avx) = yes]
62960         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
62961         [$(subdir) = elf && $(config-cflags-avx) = yes]
62962         (CFLAGS-tst-auditmod4a.c): Likewise.
62963         [$(subdir) = elf && $(config-cflags-avx) = yes]
62964         (CFLAGS-tst-auditmod4b.c): Likewise.
62965         [$(subdir) = elf && $(config-cflags-avx) = yes]
62966         (CFLAGS-tst-auditmod6b.c): Likewise.
62967         [$(subdir) = elf && $(config-cflags-avx) = yes]
62968         (CFLAGS-tst-auditmod6c.c): Likewise.
62969         [$(subdir) = elf && $(config-cflags-avx) = yes]
62970         (CFLAGS-tst-auditmod7b.c): Likewise.
62971         * elf/tst-audit3.c: Move to ...
62972         * sysdeps/x86_64/tst-audit3.c: ... here.
62973         * elf/tst-audit4.c: Move to ...
62974         * sysdeps/x86_64/tst-audit4.c: ... here.
62975         * elf/tst-audit5.c: Move to ...
62976         * sysdeps/x86_64/tst-audit5.c: ... here.
62977         * elf/tst-audit6.c: Move to ...
62978         * sysdeps/x86_64/tst-audit6.c: ... here.
62979         * elf/tst-audit7.c: Move to ...
62980         * sysdeps/x86_64/tst-audit7.c: ... here.
62981         * elf/tst-auditmod3a.c: Move to ...
62982         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
62983         * elf/tst-auditmod3b.c: Move to ...
62984         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
62985         * elf/tst-auditmod4a.c: Move to ...
62986         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
62987         * elf/tst-auditmod4b.c: Move to ...
62988         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
62989         * elf/tst-auditmod5a.c: Move to ...
62990         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
62991         * elf/tst-auditmod5b.c: Move to ...
62992         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
62993         * elf/tst-auditmod6a.c: Move to ...
62994         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
62995         * elf/tst-auditmod6b.c: Move to ...
62996         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
62997         * elf/tst-auditmod6c.c: Move to ...
62998         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
62999         * elf/tst-auditmod7a.c: Move to ...
63000         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
63001         * elf/tst-auditmod7b.c: Move to ...
63002         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
63004 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
63006         [BZ #15366]
63007         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
63008         define unconditionally.
63009         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
63010         define unconditionally.
63011         (INT8_C, INT16_C, etc.): Likewise.
63013 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
63015         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
63016         __ehdr_start with hidden visibility.
63018         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
63020 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
63022         * math/libm-test.inc (cos_test): Use accurate hex constants.
63023         (sincost_test): Likewise.
63025 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
63027         * math/libm-test.inc (catan_test): Add more tests.
63028         (catanh_test): Likewise.
63030         * math/s_catanf.c (__catanf): Use suffixed floating-point
63031         constants.
63032         * math/s_catanhf.c (__catanhf): Likewise.
63033         * math/s_catanhl.c (__catanhl): Likewise.
63034         * math/s_catanl.c (__catanl): Likewise.
63036         [BZ #15394]
63037         * math/s_catan.c (__catan): Calculate imaginary part of result
63038         with log1p not log unless computing log of number close to 0.
63039         * math/s_catanf.c (__catanf): Likewise.
63040         * math/s_catanl.c (__catanl): Likewise.
63041         * math/s_catanh.c (__catanh): Calculate real part of result with
63042         log1p not log unless computing log of number close to 0.
63043         * math/s_catanhf.c (__catanhf): Likewise.
63044         * math/s_catanhl.c (__catanhl): Likewise.
63045         * math/libm-test.inc (catan_test): Add more tests.
63046         (catanh_test): Likewise.
63047         * sysdeps/i386/fpu/libm-test-ulps: Update.
63048         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63050 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
63052         * benchtests/Makefile: Mention files in which fast and slow
63053         paths of math functions are implemented.
63055 2013-04-23  Roland McGrath  <roland@hack.frob.com>
63057         * sysdeps/posix/timespec_get.c: New file.
63059 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63061         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
63062         POWER.
63063         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
63064         for POWER.
63065         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
63066         powerpc/power5/fpu folders.
63067         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
63068         * benchtests/Makefile: Add modf testcase.
63069         * benchtests/bench-modf.c: New file: Benchmark test for mo
63071 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
63073         [BZ #14888]
63074         * time/Makefile (tests): Add tst-strptime-whitespace.
63075         * time/strptime_l.c (get_number): Use ISSPACE.
63076         (__strptime_internal): Likewise.
63077         * time/tst-strptime-whitespace.c: New test case.
63079 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
63081         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
63082         member.
63083         (_nss_files_init): Set it here.
63085 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
63087         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
63088         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
63089         unsigned.
63091 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
63093         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
63095 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
63097         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
63098         size just once.
63100 2013-04-21  David S. Miller  <davem@davemloft.net>
63102         * po/ru.po: Update Russion translation from translation project.
63104 2013-04-17  Adam Conrad  <adconrad@0c3.net>
63106         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
63107         and setfsgid.
63109 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
63111         * configure.in: Remove i386 configure warning. Remove i386 case.
63112         * configure: Regenerate.
63113         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
63114         Add example to error message.
63115         * sysdeps/i386/configure: Regenerate.
63117 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
63119         * benchtests/Makefile (bench): Add cos, tan, slowcos and
63120         slowtan.
63121         * benchtests/cos-inputs: New file.
63122         * benchtests/slowcos-inputs: New file.
63123         * benchtests/slowcos.c: New file.
63124         * benchtests/slowtan-inputs: New file.
63125         * benchtests/slowtan.c: New file.
63126         * benchtests/tan-inputs: New file.
63128 2013-04-16  Roland McGrath  <roland@hack.frob.com>
63130         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
63131         considered kosher.
63133 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
63135         * benchtests/Makefile: Include cppflags-iterator.mk to add
63136         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
63138         * Makefile.in (bench-clean): New target.
63139         * benchtests/Makefile (bench-clean): Likewise.
63141 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
63143         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
63145 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
63147         * stdio-common/tstdiomisc.c: Fix coding-style violation.
63149 2013-04-15  Andreas Schwab  <schwab@suse.de>
63151         * nscd/grpcache.c (cache_addgr): Properly check for short write.
63152         * nscd/initgrcache.c (addinitgroupsX): Likewise.
63153         * nscd/pwdcache.c (cache_addpw): Likewise.
63154         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
63155         more than recsize.
63157 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
63159         * benchtests/Makefile (bench): Write all output to
63160         bench-out.tmp together.
63162 2013-04-15  Andreas Schwab  <schwab@suse.de>
63164         * nscd/nscd.c (main): Don't fork again after closing files.
63166 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
63168         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
63170         * benchtests/Rules (bench-deps): Collect dependencies into a
63171         single variable.  Add Makefile to dependencies.
63172         ($(objpfx)bench-%.c): Depend on bench-deps.
63174 2013-04-12  Roland McGrath  <roland@hack.frob.com>
63175             Xavier Roche  <roche+kml2@exalead.com>
63177         [BZ #15361]
63178         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
63179         just that it's a file descriptor.
63180         * manual/llio.texi (Synchronizing AIO Operations): Update description
63181         for EBADF error from aio_fsync.
63183 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
63185         * Rules (bench): Move target definition...
63186         * benchtests/Makefile: ... here.
63188 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
63190         * math/libm-test.inc (cos_test): Fix PI/2 test.
63191         (sincos_test): Likewise.
63192         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
63193         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
63195 2013-04-11  Andreas Schwab  <schwab@suse.de>
63197         [BZ #13988]
63198         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
63199         accept exponent character only when digits were seen.
63200         * stdio-common/Makefile (tests): Add bug26.
63201         * stdio-common/bug26.c: New file.
63203         [BZ #14293]
63204         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
63205         non-freeable.
63207 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
63209         * Makeconfig (rtld-prefix): Define built linker prefix.
63210         * Rules (run-bench): Use it.
63211         * math/Makefile (run-regen-ulps): Likewise.
63213         * Rules (bench): Remove eval.
63215 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
63216             Roland McGrath  <roland@hack.frob.com>
63217             Ondrej Bilka  <neleai@seznam.cz>
63219         [BZ #15346]
63220         * time/getdate.c: Include ctype.h and alloca.h.
63221         (__getdate_r): Trim leading and trailing spaces of input.
63222         * time/tst-getdate.c (tests): Add tests with leading and
63223         trailing spaces.
63225 2013-04-08  Roland McGrath  <roland@hack.frob.com>
63227         [BZ #14280]
63228         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
63229         when computing value.
63231 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
63233         * math/README.libm-test (How can I generate "libm-test-ulps"?):
63234         Use testrun.sh to run libm tests.
63236         [BZ #15309]
63237         * elf/dl-open.c (dl_open_worker): memset all of seen array.
63239 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
63241         [BZ #15264]
63242         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
63244 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
63246         * Makefile.in (regen-ulps): New target.
63247         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
63248         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
63249         [ifneq (no,$(PERL)] (regen-ulps): New target.
63250         [ifeq (no,$(PERL)] (regen-ulps): New target.
63251         * math/libm-test.inc (ulps_file_name): Define.
63252         (output_dir): New variable.
63253         (options): Add "output-dir" option.
63254         (parse_opt): Handle 'o' case.
63255         (main): If output_dir is non-NULL use it as a prefix
63256         otherwise use "".
63257         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
63259 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
63261         [BZ #10060, #10062]
63262         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
63263         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
63264         fail configure if __sync_val_compare_and_swap is not inlined.
63265         * sysdeps/i386/configure: Regenerate.
63266         * configure.in: Build for i686 when configured for i386.
63267         * configure: Regenerate.
63268         * README: Remove i386 reference.
63270 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
63272         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
63273         * sysdeps/s390/s390-64/sysdep.h: Likewise.
63275 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
63277         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
63278         (lmsnanval): New variables.
63279         (F): Add conversion tests.
63280         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
63281         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
63283         * stdio-common/tstdiomisc.c (F): Properly collect individual
63284         tests' results.
63286         [BZ #14686, #15336]
63287         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
63288         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
63289         Instead, use input NaN values or generate a qNaN by arithmetic
63290         operation.  Also fix bugs to comply with the standard.
63291         * math/libm-test.inc (remainder_test): Add more tests.
63293         [BZ #15335, #15342]
63294         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
63295         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
63296         input NaN values or generate a qNaN by arithmetic operation.
63298         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
63299         unreachable code.
63301         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
63302         definitions.
63304 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
63306         [BZ #14478]
63307         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
63308         underflowed result.
63309         * math/s_cexpf.c (__cexpf): Likewise.
63310         * math/s_cexpl.c (__cexpl): Likewise.
63311         * math/libm-test.inc (cexp_test): Add more tests.
63313 2013-04-03  Andreas Schwab  <schwab@suse.de>
63315         [BZ #15330]
63316         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
63317         order arrays from heap if bigger than alloca cutoff.
63319 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
63321         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
63322         (SNAN_TESTS_double): Refer to GCC PR56831.
63323         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
63324         GCC PR56828.
63326 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
63328         * Rules (bench): Move bench.out after the run is complete.
63330         * Rules (bench): Echo currently running benchmark.
63332         * benchtests/Makefile (bench): Add atan and slowatan.
63333         * benchtests/atan-inputs: New file.
63334         * benchtests/slowatan-inputs: New file.
63335         * benchtests/slowatan.c: New file.
63337         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
63338         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
63339         its value.
63341         [BZ #15305]
63342         * sysdeps/unix/sysv/linux/kernel-features.h
63343         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
63344         __ASSUME_XFS_RESTRICTED_CHOWN.
63345         * sysdeps/unix/sysv/linux/pathconf.c
63346         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
63347         Save and restore errno.
63349 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
63351         [BZ #15327]
63352         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
63353         arguments using __kernel_casinh.
63354         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
63355         arguments using __kernel_casinhf.
63356         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
63357         arguments using __kernel_casinhl.
63358         * math/libm-test.inc (cacosh_test): Add more tests.
63359         * sysdeps/i386/fpu/libm-test-ulps: Update.
63360         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63362 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
63364         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
63365         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
63367         * bench/Makefile (bench): Add sin and slowsin.
63368         * benchtests/sin-inputs: New file.
63369         * benchtests/slowsin-inputs: New file.
63370         * benchtests/slowsin.c: New file.
63372         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
63373         (bench): Add slowexp and slowpow.
63374         (exp-ITER): Increase iterations.
63375         (pow-ITER): Likewise.
63376         * benchtests/exp-inputs: Change input.
63377         * benchtests/pow-inputs: Likewise.
63378         * benchtests/slowexp-inputs: New file.
63379         * benchtests/slowexp.c: New file.
63380         * benchtests/slowpow-inputs: New file.
63381         * benchtests/slowpow.c: New file.
63383 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63385         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
63386         instructions.
63387         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
63388         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
63389         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
63390         * benchtests/Makefile: Add rint benchtest.
63391         * benchtests/rint-inputs: Input for rint benchtest.
63393 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
63395         * Versions.def (libm): Add GLIBC_2.18.
63396         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
63397         hidden libm prototypes.
63398         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
63399         * math/Makefile (libm-calls): Add s_issignaling.
63400         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
63401         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
63402         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
63403         declaration.
63404         * math/math.h [__USE_GNU] (issignaling): New macro.
63405         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
63406         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
63407         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
63408         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
63409         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
63410         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
63411         * manual/arith.texi (issignaling): New section.
63412         * manual/libm-err-tab.pl (@all_functions): Update comment.
63413         * math/gen-libm-test.pl (parse_args): Apply special handling for
63414         issignaling.
63415         * math/libm-test.inc (print_float, issignaling_test): New
63416         functions.
63417         (check_float_internal): Add issignaling checks.
63418         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
63419         default definition.
63420         * sysdeps/powerpc/math-tests.h: New file.
63421         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
63422         tests.
63423         * math/test-snan.c (TEST_FUNC): Likewise.
63425 2013-03-30  David S. Miller  <davem@davemloft.net>
63427         * po/de.po: Update from translation team.
63429 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
63431         [BZ #10357]
63432         * math/k_casinh.c (__kernel_casinh): Handle arguments with
63433         imaginary part less than 1.0 and real part less than 0.5
63434         specially.
63435         * math/k_casinhf.c (__kernel_casinhf): Likewise.
63436         * math/k_casinhl.c (__kernel_casinhl): Likewise.
63437         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
63438         (cacos_test): Add more tests.
63439         (casin_test): Likewise.
63440         (casinh_test): Likewise.
63441         * sysdeps/i386/fpu/libm-test-ulps: Update.
63442         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63444 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
63446         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
63447         ONE with its value.
63449         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
63450         (__pow_mp): Replace ONE and MONE with their values.
63451         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
63452         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
63453         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
63454         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
63455         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
63456         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
63458         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
63460         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
63461         (__pow_mp): Replace ZERO and MZERO with their values.
63462         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
63463         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
63464         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
63465         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
63466         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
63467         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
63468         (__sqr): Likewise.
63470         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
63472         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
63474 2013-03-28  Roland McGrath  <roland@hack.frob.com>
63476         * include/stdlib.h [!SHARED] (__call_tls_dtors):
63477         Declare with __attribute__ ((weak)).
63478         * stdlib/exit.c (__libc_atexit) [!SHARED]:
63479         Call __call_tls_dtors only if it's not NULL.
63481 2013-03-28  Roland McGrath  <roland@hack.frob.com>
63483         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
63484         didn't do it already, then set _dl_phdr and _dl_phnum based on the
63485         magic __ehdr_start linker symbol if it's defined.
63486         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
63487         them up here if it was already done.
63489         * elf/dl-support.c (_dl_phdr): Make pointer to const.
63490         (_dl_aux_init): Use const in cast when setting it.
63491         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
63492         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
63493         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
63495         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
63496         Declare them here.
63497         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
63498         * csu/libc-tls.c: Nor here.
63499         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
63501         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
63502         (__libc_message): Never call vsyslog.
63504 2013-03-28  Alan Modra  <amodra@gmail.com>
63506         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
63507         Define as empty.
63508         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
63509         Likewise.
63511 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63513         [BZ #15214]
63514         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
63515         underflow.
63516         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
63518 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
63520         [BZ #15304]
63521         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
63522         Don't add gid passed as argument.
63524         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
63526 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
63528         [BZ #15307]
63529         * math/k_casinh.c (__kernel_casinh): Handle arguments with
63530         imaginary part between 1.0 and 1.5 and real part less than 0.5
63531         specially.
63532         * math/k_casinhf.c (__kernel_casinhf): Likewise.
63533         * math/k_casinhl.c (__kernel_casinhl): Likewise.
63534         * math/libm-test.inc (cacos_test): Add more tests.
63535         (casin_test): Likewise.
63536         (casinh_test): Likewise.
63537         * sysdeps/i386/fpu/libm-test-ulps: Update.
63538         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63540 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
63542         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
63543         constants.
63544         (norm): Likewise.
63545         (denorm): Likewise.
63546         (__dbl_mp): Likewise.
63547         (add_magnitudes): Likewise.
63548         (sub_magnitudes): Likewise.
63549         (__add): Likewise.
63550         (__sub): Likewise.
63551         (__mul): Likewise.
63552         (__sqr): Likewise.
63553         (__inv): Likewise.
63554         (__dvd): Likewise.
63556         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
63557         commented code.
63558         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
63559         (__dubcos): Likewise.
63560         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
63561         (__ieee754_acos): Likewise.
63562         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
63563         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
63564         (__exp1): Likewise.
63565         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
63566         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
63567         (log1): Likewise.
63568         (my_log2): Likewise.
63569         (checkint): Likewise.
63570         * sysdeps/ieee754/dbl-64/e_remainder.c
63571         (__ieee754_remainder): Likewise.
63572         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
63573         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
63574         (bsloww): Likewise.
63575         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
63577         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
63578         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
63579         MANTISSA_STORE_T to store computations on mantissa.  Use
63580         macros for rounding and division.
63581         (denorm): Likewise.
63582         (__dbl_mp): Likewise.
63583         (add_magnitudes): Likewise.
63584         (sub_magnitudes): Likewise.
63585         (__mul): Likewise.
63586         (__sqr): Likewise.
63587         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
63588         powers of two in terms of TWOPOW macro.
63589         (mp_no): Make type of mantissa as MANTISSA_T.
63590         [!RADIXI]: Define RADIXI.
63591         [!TWO52]: Define TWO52.
63592         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
63594 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63596         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
63597         llroundl symbol when building for PPC32.
63599 2013-03-24  Mark H Weaver  <mhw@netris.org>
63601         * manual/arith.texi (Normalization Functions): Fix prototypes for
63602         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
63604 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63606         [BZ #13889]
63607         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
63608         high value to check if expl overflow.
63609         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
63610         to check for underflow and overflow.
63611         * math/libm-test.inc: Add exp test.
63613 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
63615         [BZ #11120]
63616         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
63617         with NOT_IN_libc.
63619 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63621         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
63622         symbol.
63624 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
63626         * math/gen-libm-test.pl (parse_args, special_functions): Properly
63627         wrap blocks consisting of several statements.
63629         * sysdeps/generic/math-tests.h: New file.
63630         * sysdeps/i386/fpu/math-tests.h: Likewise.
63631         * math/test-snan.c: Include it.
63632         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
63634 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
63636         [BZ #15285]
63637         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
63638         (__ieee754_j0l): Do not improve calculations using cos of twice
63639         input for inputs above LDBL_MAX / 2.0L.
63640         (__ieee754_y0l): Likewise.
63641         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
63642         (__ieee754_j1l): Do not improve calculations using cos of twice
63643         input for inputs above LDBL_MAX / 2.0L.
63644         (__ieee754_y1l): Likewise.
63645         * math/libm-test.inc (j0_test): Add another test.
63646         (j1_test): Likewise.
63647         (y0_test): Likewise.
63648         (y1_test): Likewise.
63649         * sysdeps/i386/fpu/libm-test-ulps: Update.
63651 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
63653         * Rules ($(objpfx)bench-%.c): Include code from a C source
63654         file.
63656 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
63658         [BZ #15287]
63659         * math/k_casinh.c (__kernel_casinh): Handle arguments with
63660         imaginary part 1.0 and real part less than 0.5 specially.
63661         * math/k_casinhf.c (__kernel_casinhf): Likewise.
63662         * math/k_casinhl.c (__kernel_casinhl): Likewise.
63663         * math/libm-test.inc (cacos_test): Add more tests.
63664         (casin_test): Likewise.
63665         (casinh_test): Likewise.
63666         * sysdeps/i386/fpu/libm-test-ulps: Update.
63667         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63669 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
63671         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
63672         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
63674 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
63676         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
63677         * config.make.in (config-cflags-sse4): Remove variable.
63678         (config-cflags-avx): Likewise.
63679         (config-cflags-sse2avx): Likewise.
63680         (config-cflags-novzeroupper): Likewise.
63681         (config-asflags-i686): Likewise.
63682         (have-mfma4): Likewise.
63683         (have-as-vis3): Likewise.
63684         (MIG): Likewise.
63685         * configure.in (MIG): Do not AC_SUBST.
63686         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
63687         (libc_cv_cc_sse4): Do not AC_SUBST.
63688         (libc_cv_cc_avx): Likewise.
63689         (libc_cv_cc_sse2avx): Likewise.
63690         (libc_cv_cc_novzeroupper): Likewise.
63691         (libc_cv_cc_fma4): Likewise.
63692         (libc_cv_as_i686): Likewise.
63693         (libc_cv_sparc_as_vis3): Likewise.
63694         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
63695         LIBC_CONFIG_VAR.
63696         (config-asflags-i686): Likewise.
63697         (config-cflags-avx): Likewise.
63698         (config-cflags-sse2avx): Likewise.
63699         (have-mfma4): Likewise.
63700         (config-cflags-novzeroupper): Likewise.
63701         * sysdeps/mach/configure.in (MIG): Likewise.
63702         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
63703         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
63704         LIBC_CONFIG_VAR.
63705         (config-cflags-avx): Likewise.
63706         (config-cflags-sse2avx): Likewise.
63707         (have-mfma4): Likewise.
63708         (config-cflags-novzeroupper): Likewise.
63709         * configure: Regenerated.
63710         * sysdeps/i386/configure: Likewise.
63711         * sysdeps/mach/configure: Likewise.
63712         * sysdeps/sparc/configure: Likewise.
63713         * sysdeps/x86_64/configure: Likewise.
63715 2013-03-20  Roland McGrath  <roland@hack.frob.com>
63717         [BZ #14812]
63718         * locale/programs/localedef.c (options): Put N_ translation marker
63719         on argument names, not just descriptions.
63721 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
63723         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
63725 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
63727         [BZ #14176]
63728         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
63730 2013-03-19  Roland McGrath  <roland@hack.frob.com>
63732         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
63733         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
63734         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
63735         [!BEFORE_ABORT] (before_abort): New function.
63736         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
63737         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
63738         (writev_for_fatal): New function.
63739         (WRITEV_FOR_FATAL): New macro; call that.
63740         (backtrace_and_maps): New function.
63741         (BEFORE_ABORT): New macro; call that.
63742         (struct str_list): Type removed.
63743         (__libc_message, __libc_fatal): Functions removed.
63744         Include <sysdeps/posix/libc_fatal.c> instead.
63746 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
63748         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
63749         constants.
63750         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
63751         double constants.
63753 2013-03-19  Andreas Schwab  <schwab@suse.de>
63755         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
63756         * sysdeps/gnu/configure: Regenerate.
63758         * configure.in: Substitute libc_cv_rtlddir.
63759         * configure: Regenerate.
63760         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
63761         * Makeconfig (rtlddir, inst_rtlddir): New variables.
63762         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
63763         * elf/Makefile (install-others, CFLAGS-interp.c)
63764         (ldso_install, common-ldd-rewrite): Likewise.
63765         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
63766         $(inst_slibdir)/$(rtld-installed-name).
63767         * scripts/rellns-sh: Add -p option.
63768         * Makerules (make-shlib-link): Use rellns-sh to get relative name
63769         for source.
63771 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
63773         * manual/nptl.texi: Renamed to ...
63774         * manual/threads.texi: ... this.
63775         * manual/Makefile (chapters): Update.
63777 2013-03-18  Roland McGrath  <roland@hack.frob.com>
63779         [BZ #14812]
63780         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
63781         on argument names, not just descriptions.
63782         * malloc/memusagestat.c (options): Likewise.
63783         * nss/getent.c (options): Likewise.
63785 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
63787         [BZ #14812]
63788         * iconv/iconv_prog.c (options): Put N_ translation marker
63789         on argument names, not just descriptions.
63790         * iconv/iconvconfig.c (options): Likewise.
63792 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
63794         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
63795         implementation which is faster on all x86_64 architectures.
63796         Tested on AMD, Intel Nehalem, SNB, IVB.
63797         * sysdeps/x86_64/strnlen.S: Likewise.
63799         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
63800         Remove all multiarch strlen and strnlen versions.
63801         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
63802         Remove strlen and strnlen related parts.
63804         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
63805         Inline strlen part.
63806         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
63808         * sysdeps/x86_64/multiarch/strlen.S: Remove.
63809         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
63810         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
63811         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
63812         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
63813         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
63815 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
63817         * manual/memory.texi (Malloc Tunable Parameters):
63818         Sort parameters alphabetically. Add comments for missing entries.
63820 2013-03-17  David S. Miller  <davem@davemloft.net>
63822         * sysdeps/sparc/fpu/libm-test-ulps: Update.
63824 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
63826         [BZ #15283]
63827         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
63828         for arguments at most half maximum finite value.
63829         * math/libm-test.inc (j0_test): Add more tests.
63830         (j1_test): Likewise.
63831         (y0_test): Likewise.
63832         (y1_test): Likewise.
63833         * sysdeps/i386/fpu/libm-test-ulps: Update.
63834         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63836         [BZ #14155]
63837         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
63838         1 / x and functions P and Q for arguments above 0x1p256L.
63839         (__ieee754_y0l): Likewise.
63840         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
63841         (__ieee754_y1l): Likewise.
63842         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
63843         (j1_test): Likewise.
63844         (y0_test): Likewise.
63845         (y1_test): Likewise.
63847 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
63849         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
63850         variable.
63852 2013-03-15  Roland McGrath  <roland@hack.frob.com>
63854         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
63855         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
63856         zero since it's initialized to EXEC_PAGESIZE.
63858         * sysdeps/unix/sysv/linux/ldsodefs.h
63859         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
63860         * sysdeps/generic/ldsodefs.h: ... here.
63862 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
63864         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
63866         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
63867         math/test-snan.c.
63868         * math/test-snan.c: Renamed from
63869         sysdeps/powerpc/fpu/test-powerpc-snan.c.
63870         * math/Makefile (tests): Add test-snan.
63871         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
63872         test-powerpc-snan.
63874         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
63875         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
63876         functions.
63877         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
63878         __builtin_nan family of functions.
63879         * math/libm-test.inc (initialize): Initialize qnan_value with
63880         __builtin_nan family of functions.
63881         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
63882         Remove variables.
63883         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
63884         Remove functions.
63885         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
63886         storage class.  Initialize qNaN_var and sNaN_var with
63887         __builtin_nan and __builtin_nans families of functions,
63888         respectively.
63890         * math/libm-test.inc (acosh_test): Also test with qNaN input.
63891         (sqrt_test): Remove duplicate test with qNaN input.
63892         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
63893         (round_test, signbit_test, significand_test): Note missing +/-Inf
63894         as well as qNaN tests.
63896         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
63897         qNaN_var.  Fix a few strings, too.
63898         * math/libm-test.inc (nan_value): Rename to qnan_value.
63899         * math/gen-libm-test.pl (%beautify): Adjust to that.
63900         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
63901         * math/test-misc.c (main): Likewise.
63902         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
63903         to __qnan_bytes, and __qnan_union, respectively.
63904         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
63905         Likewise.
63906         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
63907         and lqnanval, respectively.
63908         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
63909         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
63910         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
63911         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
63913         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
63914         * math/test-misc.c (main) [__x86_64__]: Enable test for long
63915         doubles.
63917         * math/test-misc.c (main): Fix copy'n'pastos.
63918         * misc/tst-efgcvt.c (special): Likewise.
63920         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
63921         Remove declarations.
63923 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
63925         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
63926         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
63927         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
63928         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
63930 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63932         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
63933         macro to return vdso values correctly in IFUNC implementations.
63934         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
63935         Optimization by using IFUNC.
63937 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
63938             Richard Henderson  <rth@redhat.com>
63939             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
63941         * Makefile.in (bench): New target.
63942         * NEWS: Mention the benchmark framework.
63943         * Rules (bench): Likewise.
63944         (binaries-bench): Generate binaries for functions to
63945         benchmark.
63946         * benchtests/Makefile: New makefile for benchmark tests.
63947         * benchtests/bench-skeleton.c: New skeleton file for benchmark
63948         programs.
63949         * benchtests/exp-inputs: New input file for EXP function.
63950         * benchtests/pow-inputs: New input file for POW function.
63951         * scripts/bench.pl: New script to generate source files for
63952         benchmark programs.
63954 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
63956         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
63957         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
63958         computations on mantissa.  Use macros for rounding and
63959         division.
63960         (denorm): Likewise.
63961         (__dbl_mp): Likewise.
63962         (add_magnitudes): Likewise.
63963         (sub_magnitudes): Likewise.
63964         (__mul): Likewise.
63965         (__sqr): Likewise.
63966         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
63967         powers of two in terms of TWOPOW macro.
63968         (mp_no): Make type of mantissa as MANTISSA_T.
63969         [!RADIXI]: Define RADIXI.
63970         [!TWO52]: Define TWO52.
63971         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
63973         * manual/nptl.texi (cindex): Modify threads to pthreads.
63975 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
63977         * sysdeps/x86_64/preconfigure: Regenerated.
63979 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
63981         [BZ #14155]
63982         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
63983         0x1p28 and above.
63984         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
63985         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
63986         0x1p28 and above.
63987         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
63988         * math/libm-test.inc (j0_test): Do not allow one spurious
63989         underflow exception.
63990         (y1_test): Likewise.
63992 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
63994         * manual/Makefile (chapters): Add nptl.
63995         * manual/debug.texi (Debugging Support): Add link to Threads
63996         chapter.
63997         * manual/nptl.texi: New file.
63999         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
64001 2013-03-14  Petr Baudis  <pasky@ucw.cz>
64003         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
64004         for non-NULL pointer before the memory validity test. Pointed
64005         out by Holger Brunck <holger.brunck@keymile.com>.
64007 2013-03-13  Andreas Schwab  <schwab@suse.de>
64009         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
64010         instead of .os.
64012 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
64014         * timezone/zic.c: Update from tzcode 2013b.
64016 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
64018         * manual/install.texi (Configuring and compiling):
64019         Mention i686 and i586.
64020         * INSTALL: Regenerate.
64022 2013-03-12  Roland McGrath  <roland@hack.frob.com>
64024         * sysdeps/init_array/elf-init.c: New file.
64025         * csu/elf-init.c
64026         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
64027         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
64029         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
64030         __gmon_start__ as global, but as static with a .preinit_array pointer.
64031         * sysdeps/init_array/gmon-start.c: New file.  Use that.
64032         * sysdeps/init_array/crti.S: New file, empty except for comments.
64033         * sysdeps/init_array/crtn.S: Likewise.
64035 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
64037         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
64038         definining bcopy.
64039         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
64040         Remove Prefer_SSE_for_memop.
64041         * sysdeps/x86_64/multiarch/init-arch.h: Remove
64042         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
64043         HAS_PREFER_SSE_FOR_MEMOP.
64044         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
64045         memset-x86-64.
64046         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
64047         Remove bzero, memset ifunc support.
64048         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
64049         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
64050         * sysdeps/x86_64/multiarch/memset.S: Likewise.
64051         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
64053 2013-03-11  Andreas Schwab  <schwab@suse.de>
64055         [BZ #15234]
64056         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
64057         by SHLIB_COMPAT.
64058         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
64059         (GLIBC_2.16): Remove pthread_atfork.
64061 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
64063         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
64064         (ptestcases.h): Likewise.
64066 2013-03-08  Roland McGrath  <roland@hack.frob.com>
64068         * Makeconfig ($(common-objpfx)config.status): Depend on
64069         sysdeps/*/preconfigure{,.in} too.
64071 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
64073         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
64074         (__free_hook): Use void * instead of __malloc_ptr_t.
64075         (__malloc_hook): Likewise.
64076         (__realloc_hook): Likewise.
64077         (__memalign_hook): Likewise.
64078         (__after_morecore_hook): Likewise.
64079         * malloc/arena.c (save_malloc_hook): Likewise.
64080         (save_free_hook): Likewise.
64081         * malloc/hooks.c (malloc_hook_ini): Likewise.
64082         (realloc_hook_ini): Likewise.
64083         (memalign_hook_ini): Likewise.
64084         * malloc/malloc.c (malloc_hook_ini): Likewise.
64085         (realloc_hook_ini): Likewise.
64086         (memalign_hook_ini): Likewise.
64087         (__free_hook): Likewise.
64088         (__malloc_hook): Likewise.
64089         (__realloc_hook): Likewise.
64090         (__memalign_hook): Likewise.
64091         (__libc_malloc): Likewise.
64092         (__libc_free): Likewise.
64093         (__libc_realloc): Likewise.
64094         (__libc_memalign): Likewise.
64095         (__libc_valloc): Likewise.
64096         (__libc_pvalloc): Likewise.
64097         (__libc_calloc): Likewise.
64098         (__posix_memalign): Likewise.
64099         * malloc/morecore.c (__sbrk): Likewise.
64100         (__default_morecore): Likewise.
64102         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
64104         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
64105         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
64106         __malloc_ptrdiff_t.
64108         * malloc/malloc.h (__malloc_size_t): Remove macro.
64109         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
64110         __malloc_size_t.
64111         (old_memalign_hook): Likewise.
64112         (old_realloc_hook): Likewise.
64113         (struct hdr): Likewise.
64114         (flood): Likewise.
64115         (mallochook): Likewise.
64116         (memalignhook): Likewise.
64117         (reallochook): Likewise.
64118         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
64119         (tr_old_realloc_hook): Likewise.
64120         (tr_old_memalign_hook): Likewise.
64121         (tr_mallochook): Likewise.
64122         (tr_reallochook): Likewise.
64123         (tr_memalignhook): Likewise.
64125 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64127         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
64128         default_ldbl_pack and using as default implementation.
64129         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
64130         implementation.
64131         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
64132         redundant definition.
64133         (ldbl_insert_mantissa): Likewise.
64134         (ldbl_canonicalize): Likewise.
64135         (ldbl_nearbyint): Likewise.
64136         (ldbl_pack): Rename to ldbl_pack_ppc.
64137         (ldbl_unpack): Rename to ldbl_unpack_ppc.
64138         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
64139         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
64141 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
64143         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
64144         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
64145         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
64146         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
64147         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
64148         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
64149         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
64150         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
64152 2013-03-07  Andreas Jaeger  <aj@suse.de>
64154         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
64155         bits/mman-linux.h.
64157 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
64159         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
64160         Include mpa.h and declare __MPEXP.
64161         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
64162         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
64163         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
64164         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
64165         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
64166         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
64167         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
64169         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
64170         (__slowpow): Use long double EXPL and LOGL functions to
64171         compute POW.
64172         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
64173         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
64174         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
64175         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
64176         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
64177         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
64179         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
64180         intermediate variable to calculate exponent.
64181         (__sqr): Likewise.
64182         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
64183         Likewise.
64184         (__sqr): Likewise.
64186         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
64187         [!NO__SQR]: Define __sqr.
64188         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
64189         and NO__SQR.  Remove all code except __mul and __sqr.  Include
64190         sysdeps/ieee754/dbl-64/mpa.c.
64191         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
64193         [BZ #12723]
64194         * posix/Makefile (tests): Add tst-pathconf.
64195         * posix/tst-pathconf.c: New test case.
64196         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
64197         _PC_PIPE_BUF.
64198         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
64200 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
64202         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
64204 2013-03-06  Andreas Jaeger  <aj@suse.de>
64206         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
64207         definition via __MAP_ANONYMOUS.
64209         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
64210         it's not part of Linux headers.
64212         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
64213         (MAP_HUGE_MASK): Define.
64215         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
64216         Define.
64217         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
64218         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
64219         Define.
64220         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
64221         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
64222         Define.
64223         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
64224         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
64225         Define.
64226         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
64228         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
64229         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
64230         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
64231         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
64232         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
64233         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
64235         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
64236         Handle f2fs.
64238         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
64239         Handle f2fs and efivarfs.
64241         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
64242         f2fs.
64244         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
64245         (EFIVARFS_MAGIC): Add.
64246         (F2FS_LINK_MAX): Add.
64248 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
64250         * stdio-common/vfprintf.c: Replace __builtin_expect with
64251         __glibc_unlikely.
64253 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
64255         [BZ #13550]
64256         * sysdeps/generic/bp-sym.h: Remove file.
64257         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
64258         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
64259         <bp-sym.h> and <bp-asm.h>.
64260         (__longjmp): Don't use BP_SYM.
64261         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
64262         and <bp-asm.h>.
64263         (memcpy): Don't use BP_SYM.
64264         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
64265         <bp-sym.h> and <bp-asm.h>.
64266         (memcpy): Don't use BP_SYM.
64267         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
64268         <bp-asm.h>.
64269         (memcpy): Don't use BP_SYM.
64270         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
64271         <bp-asm.h>.
64272         (memset): Don't use BP_SYM.
64273         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
64274         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
64275         (__bzero): Don't use BP_SYM.
64276         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
64277         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
64278         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
64279         <bp-sym.h> and <bp-asm.h>.
64280         (memcmp): Don't use BP_SYM.  Remove comment about bounded
64281         pointers.
64282         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
64283         <bp-sym.h> and <bp-asm.h>.
64284         (memcpy): Don't use BP_SYM.
64285         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
64286         <bp-sym.h> and <bp-asm.h>.
64287         (memset): Don't use BP_SYM.
64288         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
64289         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
64290         (__bzero): Don't use BP_SYM.
64291         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
64292         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
64293         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
64294         <bp-sym.h> and <bp-asm.h>.
64295         (strncmp): Don't use BP_SYM.  Remove comment about bounded
64296         pointers.
64297         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
64298         <bp-sym.h> and <bp-asm.h>.
64299         (memcpy): Don't use BP_SYM.
64300         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
64301         <bp-sym.h> and <bp-asm.h>.
64302         (memset): Don't use BP_SYM.
64303         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
64304         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
64305         (__bzero): Don't use BP_SYM.
64306         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
64307         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
64308         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
64309         <bp-sym.h> and <bp-asm.h>.
64310         (__memchr): Don't use BP_SYM.
64311         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
64312         <bp-sym.h> and <bp-asm.h>.
64313         (memcmp): Don't use BP_SYM.  Remove comment about bounded
64314         pointers.
64315         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
64316         <bp-sym.h> and <bp-asm.h>.
64317         (memcpy): Don't use BP_SYM.
64318         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
64319         <bp-sym.h> and <bp-asm.h>.
64320         (__mempcpy): Don't use BP_SYM.
64321         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
64322         <bp-sym.h> and <bp-asm.h>.
64323         (__memrchr): Don't use BP_SYM.
64324         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
64325         <bp-sym.h> and <bp-asm.h>.
64326         (memset): Don't use BP_SYM.
64327         (__bzero): Likewise.
64328         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
64329         <bp-sym.h> and <bp-asm.h>.
64330         (__rawmemchr): Don't use BP_SYM.
64331         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
64332         <bp-sym.h> and <bp-asm.h>.
64333         (__STRCMP): Don't use BP_SYM.
64334         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
64335         <bp-sym.h> and <bp-asm.h>.
64336         (strchr): Don't use BP_SYM.
64337         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
64338         <bp-sym.h> and <bp-asm.h>.
64339         (__strchrnul): Don't use BP_SYM.
64340         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
64341         <bp-sym.h> and <bp-asm.h>.
64342         (strlen): Don't use BP_SYM.
64343         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
64344         <bp-sym.h> and <bp-asm.h>.
64345         (strncmp): Don't use BP_SYM.  Remove comment about bounded
64346         pointers.
64347         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
64348         <bp-sym.h> and <bp-asm.h>.
64349         (__strnlen): Don't use BP_SYM.
64350         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
64351         <bp-sym.h> and <bp-asm.h>.
64352         (__GI__setjmp): Don't use BP_SYM.
64353         (_setjmp): Likewise.
64354         (__sigsetjmp): Likewise.
64355         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
64356         (L(start_addresses)): Don't use BP_SYM.
64357         (_start): Likewise.
64358         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
64359         <bp-asm.h>.
64360         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
64361         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
64362         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
64363         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
64364         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
64365         <bp-asm.h>.
64366         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
64367         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
64368         about bounded pointers.
64369         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
64370         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
64371         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
64372         <bp-asm.h>.
64373         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
64374         about bounded pointers.  Remove GKM FIXME comments.
64375         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
64376         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
64377         <bp-asm.h>.
64378         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
64379         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
64380         Remove GKM FIXME comments.
64381         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
64382         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
64383         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
64384         <bp-asm.h>.
64385         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
64386         about bounded pointers.  Remove GKM FIXME comment.
64387         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
64388         and <bp-asm.h>.
64389         (strncmp): Don't use BP_SYM.  Remove comment about bounded
64390         pointers.
64391         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
64392         <bp-sym.h> and <bp-asm.h>.
64393         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
64394         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
64395         <bp-sym.h> and <bp-asm.h>.
64396         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
64397         comment.
64399 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
64401         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
64402         call free(NULL).
64404 2013-03-05  David S. Miller  <davem@davemloft.net>
64406         * po/es.po: Update from translation team.
64408 2013-03-05  Andreas Jaeger  <aj@suse.de>
64410         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
64411         <bits/mman-linux.h>.
64412         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
64413         is fine.
64414         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
64415         <bits/mman-linux.h> to end of file.
64416         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
64417         is fine.
64418         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
64419         <bits/mman-linux.h> to end of file.
64420         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
64421         is fine.
64422         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
64423         <bits/mman-linux.h> to end of file.
64425         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
64426         (MCL_CURRENT, MCL_FUTURE): Define here.
64428 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
64430         [BZ #15232]
64431         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
64432         attribute_hidden.
64433         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
64435 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
64437         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
64438         fourth parameter needed for rt_sigprocmask syscall.
64439         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
64440         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
64441         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
64442         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
64443         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
64444         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
64446 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
64448         [BZ #13550]
64449         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
64450         comment about bounded pointers.
64451         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
64452         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
64454 2013-03-04  Andreas Jaeger  <aj@suse.de>
64456         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
64457         common definitions.
64459         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
64460         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
64461         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
64462         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
64463         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
64464         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
64466 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64468         [BZ #15055]
64469         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
64470         __ieee754_sqrl instead of __sqrl.
64472 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
64474         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
64475         * sysdeps/powerpc/fpu_control.h: ... here.
64476         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
64477         * sysdeps/powerpc/bits/fenvinline.h: ... here.
64478         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
64479         * sysdeps/powerpc/bits/mathinline.h: ... here.
64481 2013-03-01  Roland McGrath  <roland@hack.frob.com>
64483         * elf/dl-hwcaps.c (_dl_important_hwcaps):
64484         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
64485         to just [NEED_DL_SYSINFO_DSO].
64486         * elf/dl-support.c: Likewise.
64487         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
64488         * elf/rtld.c (dl_main): Likewise.
64489         * elf/setup-vdso.h (setup_vdso): Likewise.
64490         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
64491         * sysdeps/unix/sysv/linux/dl-sysdep.c
64492         (_dl_discover_osversion): Likewise.
64494 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
64496         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
64497         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
64499 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
64501         * NEWS: Mention libm performance improvements and non-x86 PI
64502         futex support.
64504         * csu/libc-start.c (__pthread_initialize_minimal): Change
64505         function arguments.
64506         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
64508 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
64510         [BZ #13550]
64511         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
64512         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
64513         <bp-sym.h> and <bp-asm.h>.
64514         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
64515         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
64516         and <bp-asm.h>.
64517         (memcpy): Don't use BP_SYM.
64518         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
64519         <bp-asm.h>.
64520         (__mpn_add_n): Don't use BP_SYM.
64521         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
64522         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
64523         and <bp-asm.h>.
64524         (__mpn_addmul_1): Don't use BP_SYM.
64525         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
64526         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
64527         <bp-sym.h>.
64528         (_setjmp): Don't use BP_SYM.
64529         (__novmx_setjmp): Likewise.
64530         (__GI__setjmp): Likewise.
64531         (__vmx_setjmp): Likewise.
64532         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
64533         <bp-sym.h>.
64534         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
64535         (__bzero): Don't use BP_SYM.
64536         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
64537         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
64538         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
64539         <bp-sym.h> and <bp-asm.h>.
64540         (memcpy): Don't use BP_SYM.
64541         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
64542         <bp-sym.h> and <bp-asm.h>.
64543         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
64544         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
64545         <bp-sym.h> and <bp-asm.h>.
64546         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
64547         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
64548         <bp-asm.h>.
64549         (__mpn_lshift): Don't use BP_SYM.
64550         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
64551         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
64552         <bp-asm.h>.
64553         (memset): Don't use BP_SYM.
64554         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
64555         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
64556         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
64557         <bp-asm.h>.
64558         (__mpn_mul_1): Don't use BP_SYM.
64559         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
64560         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
64561         <bp-sym.h> and <bp-asm.h>.
64562         (memcmp): Don't use BP_SYM.
64563         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
64564         <bp-sym.h> and <bp-asm.h>.
64565         (memcpy): Don't use BP_SYM.
64566         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
64567         <bp-sym.h> and <bp-asm.h>.
64568         (memset): Don't use BP_SYM.
64569         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
64570         <bp-sym.h> and <bp-asm.h>.
64571         (strncmp): Don't use BP_SYM.
64572         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
64573         <bp-sym.h> and <bp-asm.h>.
64574         (memcpy): Don't use BP_SYM.
64575         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
64576         <bp-sym.h> and <bp-asm.h>.
64577         (memset): Don't use BP_SYM.
64578         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
64579         <bp-sym.h> and <bp-asm.h>.
64580         (__memchr): Don't use BP_SYM.
64581         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
64582         <bp-sym.h> and <bp-asm.h>.
64583         (memcmp): Don't use BP_SYM.
64584         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
64585         <bp-sym.h> and <bp-asm.h>.
64586         (memcpy): Don't use BP_SYM.
64587         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
64588         <bp-sym.h> and <bp-asm.h>.
64589         (__mempcpy): Don't use BP_SYM.
64590         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
64591         <bp-sym.h> and <bp-asm.h>.
64592         (__memrchr): Don't use BP_SYM.
64593         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
64594         <bp-sym.h> and <bp-asm.h>.
64595         (memset): Don't use BP_SYM.
64596         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
64597         <bp-sym.h> and <bp-asm.h>.
64598         (__rawmemchr): Don't use BP_SYM.
64599         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
64600         <bp-sym.h> and <bp-asm.h>.
64601         (__STRCMP): Don't use BP_SYM.
64602         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
64603         <bp-sym.h> and <bp-asm.h>.
64604         (strchr): Don't use BP_SYM.
64605         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
64606         <bp-sym.h> and <bp-asm.h>.
64607         (__strchrnul): Don't use BP_SYM.
64608         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
64609         <bp-sym.h> and <bp-asm.h>.
64610         (strlen): Don't use BP_SYM.
64611         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
64612         <bp-sym.h> and <bp-asm.h>.
64613         (strncmp): Don't use BP_SYM.
64614         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
64615         <bp-sym.h> and <bp-asm.h>.
64616         (__strnlen): Don't use BP_SYM.
64617         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
64618         <bp-asm.h>.
64619         (__mpn_rshift): Don't use BP_SYM.
64620         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
64621         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
64622         <bp-sym.h> and <bp-asm.h>.
64623         (__sigsetjmp): Don't use BP_SYM.
64624         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
64625         (L(start_addresses)): Don't use BP_SYM.
64626         (_start): Likewise.
64627         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
64628         <bp-asm.h>.
64629         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
64630         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
64631         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
64632         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
64633         <bp-asm.h>.
64634         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
64635         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
64636         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
64637         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
64638         <bp-asm.h>.
64639         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
64640         comments.
64641         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
64642         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
64643         <bp-asm.h>.
64644         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
64645         FIXME comments.
64646         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
64647         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
64648         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
64649         <bp-asm.h>.
64650         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
64651         comment.
64652         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
64653         and <bp-asm.h>.
64654         (strncmp): Don't use BP_SYM,
64655         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
64656         <bp-asm.h>.
64657         (__mpn_sub_n): Don't use BP_SYM.
64658         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
64659         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
64660         and <bp-asm.h>.
64661         (__mpn_submul_1): Don't use BP_SYM.
64662         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
64663         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
64664         <bp-sym.h> and <bp-asm.h>.
64665         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
64666         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
64667         <bp-sym.h> and <bp-asm.h>.
64668         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
64669         comment.
64671 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
64673         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
64674         Use ZK to minimize writes to Z.
64675         (sub_magnitudes): Simplify code a bit.
64676         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
64677         Use ZK to minimize writes to Z.
64678         (sub_magnitudes): Simplify code a bit.
64680 2013-02-27  Roland McGrath  <roland@hack.frob.com>
64682         * csu/gmon-start.c: Add special exception to license text.
64684 2013-02-27  Richard Henderson  <rth@redhat.com>
64686         * scripts/config.guess: Update from config.git.
64687         * scripts/config.sub: Likewise.
64689 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
64691         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
64693         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
64695         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
64697         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
64699         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
64701 2013-02-26  Roland McGrath  <roland@hack.frob.com>
64703         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
64704         [$(build-shared = yes].
64706 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
64708         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
64709         (__mul): Reduce iterations for calculating mantissa.
64711         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
64712         MPTWO.
64713         (__mpranred): Likewise.
64715         [BZ #15160]
64716         * malloc/memusagestat.c (main): Draw graphs for heap and stack
64717         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
64719 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
64721         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
64722         Define __attribute__.
64724 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
64726         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
64727         unused.
64728         * posix/regex_internal.h (__attribute): Remove.
64729         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
64730         (re_string_context_at): Likewise.
64731         (bitset_not): Use __attribute__ and mark function as possibly
64732         unused.
64733         (bitset_merge): Likewise.
64734         (bitset_mask): Likewise.
64735         (re_string_char_size_at): Likewise.
64736         (re_string_wchar_at): Likewise.
64737         (re_string_elem_size_at): Likewise.
64739 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
64741         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
64742         code.
64743         (cc32): Likewise.
64745         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
64746         (__acr): Likewise.
64747         (__cpy): Likewise.
64748         (norm): Likewise.
64749         (denorm): Likewise.
64750         (__dbl_mp): Likewise.
64751         (add_magnitudes): Likewise.
64752         (sub_magnitudes): Likewise.
64753         (__mul): Likewise.
64754         (__inv): Likewise.
64756         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
64757         style.
64759         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
64760         style.
64762         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
64763         code.
64765         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
64766         up changes with default code.
64767         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
64768         Likewise.
64770 2013-02-24  Allan McRae  <allan@archlinux.org>
64772         * manual/socket.texi (The Internet Namespace): Order menu items
64773         to match that in the file.
64775         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
64776         node listing of the info page menu.
64778 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
64780         [BZ #13550]
64781         * sysdeps/i386/bp-asm.h: Remove file.
64782         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
64783         (PARMS): Do not use macros from bp-asm.h.
64784         (S1): Likewise.
64785         (S2): Likewise.
64786         (SIZE): Likewise.
64787         (__mpn_add_n): Do not use BP_SYM
64788         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
64789         "bp-asm.h".
64790         (PARMS): Do not use macros from bp-asm.h.
64791         (S1): Likewise.
64792         (SIZE): Likewise.
64793         (__mpn_addmul_1): Do not use BP_SYM
64794         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
64795         "bp-asm.h".
64796         (PARMS): Do not use macros from bp-asm.h.
64797         (SIGMSK): Likewise.
64798         (_setjmp): Likewise.  Do not use BP_SYM.
64799         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
64800         "bp-asm.h".
64801         (PARMS): Do not use macros from bp-asm.h.
64802         (SIGMSK): Likewise.
64803         (setjmp): Likewise.  Do not use BP_SYM.
64804         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
64805         "bp-asm.h".
64806         (PARMS): Do not use macros from bp-asm.h.
64807         (__frexp): Do not use BP_SYM.
64808         (frexp): Likewise.
64809         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
64810         "bp-asm.h".
64811         (PARMS): Do not use macros from bp-asm.h.
64812         (__frexpf): Do not use BP_SYM.
64813         (frexpf): Likewise.
64814         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
64815         "bp-asm.h".
64816         (PARMS): Do not use macros from bp-asm.h.
64817         (__frexpl): Do not use BP_SYM.
64818         (frexpl): Likewise.
64819         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
64820         "bp-asm.h".
64821         (PARMS): Do not use macros from bp-asm.h.
64822         (__remquo): Do not use BP_SYM.
64823         (remquo): Likewise.
64824         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
64825         "bp-asm.h".
64826         (PARMS): Do not use macros from bp-asm.h.
64827         (__remquof): Do not use BP_SYM.
64828         (remquof): Likewise.
64829         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
64830         "bp-asm.h".
64831         (PARMS): Do not use macros from bp-asm.h.
64832         (__remquol): Do not use BP_SYM.
64833         (remquol): Likewise.
64834         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
64835         "bp-asm.h".
64836         (PARMS): Do not use macros from bp-asm.h.
64837         (DEST): Likewise.
64838         (SRC): Likewise.
64839         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
64840         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
64841         "bp-asm.h".
64842         (PARMS): Do not use macros from bp-asm.h.
64843         (strlen): Do not use BP_SYM.
64844         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
64845         "bp-asm.h".
64846         (PARMS): Do not use macros from bp-asm.h.
64847         (S1): Likewise.
64848         (S2): Likewise.
64849         (SIZE): Likewise.
64850         (__mpn_add_n): Do not use BP_SYM.
64851         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
64852         "bp-asm.h".
64853         (PARMS): Do not use macros from bp-asm.h.
64854         (S1): Likewise.
64855         (SIZE): Likewise.
64856         (__mpn_addmul_1): Do not use BP_SYM.
64857         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
64858         weak_alias.
64859         (bzero): Likewise.
64860         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
64861         "bp-asm.h".
64862         (PARMS): Do not use macros from bp-asm.h.
64863         (S): Likewise.
64864         (SIZE): Likewise.
64865         (__mpn_lshift): Do not use BP_SYM.
64866         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
64867         "bp-asm.h".
64868         (PARMS): Do not use macros from bp-asm.h.
64869         (DEST): Likewise.
64870         (SRC): Likewise.
64871         (LEN): Likewise.
64872         (memcpy): Likewise.  Do not use BP_SYM.
64873         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
64874         libc_hidden_def and weak_alias.
64875         (mempcpy): Do not use BP_SYM in weak_alias.
64876         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
64877         "bp-asm.h".
64878         (PARMS): Do not use macros from bp-asm.h.
64879         (DEST): Likewise.
64880         (LEN): Likewise.
64881         [!BZERO_P] (CHR): Likewise.
64882         (memset): Likewise.  Do not use BP_SYM.
64883         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
64884         "bp-asm.h".
64885         (PARMS): Do not use macros from bp-asm.h.
64886         (S1): Likewise.
64887         (SIZE): Likewise.
64888         (__mpn_mul_1): Do not use BP_SYM.
64889         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
64890         "bp-asm.h".
64891         (PARMS): Do not use macros from bp-asm.h.
64892         (S): Likewise.
64893         (SIZE): Likewise.
64894         (__mpn_rshift): Do not use BP_SYM.
64895         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
64896         "bp-asm.h".
64897         (PARMS): Do not use macros from bp-asm.h.
64898         (STR): Likewise.
64899         (CHR): Likewise.
64900         (strchr): Likewise.  Do not use BP_SYM.
64901         (index): Do not use BP_SYM in weak_alias.
64902         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
64903         "bp-asm.h".
64904         (PARMS): Do not use macros from bp-asm.h.
64905         (DEST): Likewise.
64906         (SRC): Likewise.
64907         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
64908         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
64909         "bp-asm.h".
64910         (PARMS): Do not use macros from bp-asm.h.
64911         (strlen): Do not use BP_SYM.
64912         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
64913         "bp-asm.h".
64914         (PARMS): Do not use macros from bp-asm.h.
64915         (S1): Likewise.
64916         (S2): Likewise.
64917         (SIZE): Likewise.
64918         (__mpn_sub_n): Do not use BP_SYM.
64919         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
64920         "bp-asm.h".
64921         (PARMS): Do not use macros from bp-asm.h.
64922         (S1): Likewise.
64923         (SIZE): Likewise.
64924         (__mpn_submul_1): Do not use BP_SYM.
64925         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
64926         "bp-asm.h".
64927         (PARMS): Do not use macros from bp-asm.h.
64928         (S1): Likewise.
64929         (S2): Likewise.
64930         (SIZE): Likewise.
64931         (__mpn_add_n): Do not use BP_SYM.
64932         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
64933         weak_alias.
64934         (bzero): Likewise.
64935         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
64936         "bp-asm.h".
64937         (PARMS): Do not use macros from bp-asm.h.
64938         (BLK2): Likewise.
64939         (LEN): Likewise.
64940         (memcmp): Do not use BP_SYM.
64941         (bcmp): Do not use BP_SYM in weak_alias.
64942         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
64943         "bp-asm.h".
64944         (PARMS): Do not use macros from bp-asm.h.
64945         (DEST): Likewise.
64946         (SRC): Likewise.
64947         (LEN): Likewise.
64948         (memcpy): Likewise.  Do not use BP_SYM.
64949         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
64950         "bp-asm.h".
64951         (PARMS): Do not use macros from bp-asm.h.
64952         (DEST): Likewise.
64953         (SRC): Likewise.
64954         (LEN): Likewise.
64955         (memmove): Likewise.  Do not use BP_SYM.
64956         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
64957         "bp-asm.h".
64958         (PARMS): Do not use macros from bp-asm.h.
64959         (DEST): Likewise.
64960         (SRC): Likewise.
64961         (LEN): Likewise.
64962         (__mempcpy): Likewise.  Do not use BP_SYM.
64963         (mempcpy): Do not use BP_SYM in weak_alias.
64964         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
64965         "bp-asm.h".
64966         (PARMS): Do not use macros from bp-asm.h.
64967         (DEST): Likewise.
64968         (LEN): Likewise.
64969         [!BZERO_P] (CHR): Likewise.
64970         (memset): Likewise.  Do not use BP_SYM.
64971         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
64972         "bp-asm.h".
64973         (PARMS): Do not use macros from bp-asm.h.
64974         (STR2): Likewise.
64975         (strcmp): Do not use BP_SYM.
64976         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
64977         "bp-asm.h".
64978         (PARMS): Do not use macros from bp-asm.h.
64979         (STR): Likewise.
64980         (DELIM): Likewise.
64981         [USE_AS_STRTOK_R] (SAVE): Likewise.
64982         (FUNCTION): Likewise.  Do not use BP_SYM.
64983         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
64984         aliases.
64985         (strtok_r): Likewise.
64986         (__GI___strtok_r): Likewise.
64987         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
64988         (PARMS): Do not use macros from bp-asm.h.
64989         (S): Likewise.
64990         (SIZE): Likewise.
64991         (__mpn_lshift): Do not use BP_SYM.
64992         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
64993         (PARMS): Do not use macros from bp-asm.h.
64994         (STR): Likewise.
64995         (CHR): Likewise.
64996         (__memchr): Do not use BP_SYM.
64997         (memchr): Do not use BP_SYM in weak_alias.
64998         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
64999         (PARMS): Do not use macros from bp-asm.h.
65000         (BLK2): Likewise.
65001         (LEN): Likewise.
65002         (memcmp): Do not use BP_SYM.
65003         (bcmp): Do not use BP_SYM in weak_alias.
65004         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
65005         (PARMS): Do not use macros from bp-asm.h.
65006         (S1): Likewise.
65007         (SIZE): Likewise.
65008         (__mpn_mul_1): Do not use BP_SYM.
65009         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
65010         "bp-asm.h".
65011         (PARMS): Do not use macros from bp-asm.h.
65012         (STR): Likewise.
65013         (CHR): Likewise.
65014         (__rawmemchr): Do not use BP_SYM.
65015         (rawmemchr): Do not use BP_SYM in weak_alias.
65016         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
65017         (PARMS): Do not use macros from bp-asm.h.
65018         (S): Likewise.
65019         (SIZE): Likewise.
65020         (__mpn_rshift): Do not use BP_SYM.
65021         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
65022         (PARMS): Do not use macros from bp-asm.h.
65023         (SIGMSK): Likewise.
65024         (__sigsetjmp): Likewise.  Do not use BP_SYM.
65025         * sysdeps/i386/start.S: Do not include "bp-sym.h".
65026         (_start): Do not use BP_SYM.
65027         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
65028         (PARMS): Do not use macros from bp-asm.h.
65029         (DEST): Likewise.
65030         (SRC): Likewise.
65031         (__stpcpy): Likewise.  Do not use BP_SYM.
65032         (stpcpy): Do not use BP_SYM in weak_alias.
65033         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
65034         "bp-asm.h".
65035         (PARMS): Do not use macros from bp-asm.h.
65036         (DEST): Likewise.
65037         (SRC): Likewise.
65038         (LEN): Likewise.
65039         (__stpncpy): Likewise.  Do not use BP_SYM.
65040         (stpncpy): Do not use BP_SYM in weak_alias.
65041         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
65042         (PARMS): Do not use macros from bp-asm.h.
65043         (STR): Likewise.
65044         (CHR): Likewise.
65045         (strchr): Likewise.  Do not use BP_SYM.
65046         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
65047         "bp-asm.h".
65048         (PARMS): Do not use macros from bp-asm.h.
65049         (STR): Likewise.
65050         (CHR): Likewise.
65051         (__strchrnul): Likewise.  Do not use BP_SYM.
65052         (strchrnul): Do not use BP_SYM in weak_alias.
65053         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
65054         "bp-asm.h".
65055         (PARMS): Do not use macros from bp-asm.h.
65056         (STOP): Likewise.
65057         (strcspn): Do not use BP_SYM.
65058         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
65059         "bp-asm.h".
65060         (PARMS): Do not use macros from bp-asm.h.
65061         (STR): Likewise.
65062         (STOP): Likewise.
65063         (strpbrk): Likewise.  Do not use BP_SYM.
65064         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
65065         "bp-asm.h".
65066         (PARMS): Do not use macros from bp-asm.h.
65067         (STR): Likewise.
65068         (CHR): Likewise.
65069         (strrchr): Likewise.  Do not use BP_SYM.
65070         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
65071         (PARMS): Do not use macros from bp-asm.h.
65072         (SKIP): Likewise.
65073         (strspn): Do not use BP_SYM.
65074         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
65075         (PARMS): Do not use macros from bp-asm.h.
65076         (STR): Likewise.
65077         (DELIM): Likewise.
65078         (SAVE): Likewise.
65079         (FUNCTION): Likewise.  Do not use BP_SYM.
65080         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
65081         aliases.
65082         (strtok_r): Likewise.
65083         (__GI___strtok_r): Likewise.
65084         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
65085         (PARMS): Do not use macros from bp-asm.h.
65086         (S1): Likewise.
65087         (S2): Likewise.
65088         (SIZE): Likewise.
65089         (__mpn_sub_n): Do not use BP_SYM.
65090         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
65091         "bp-asm.h".
65092         (PARMS): Do not use macros from bp-asm.h.
65093         (S1): Likewise.
65094         (SIZE): Likewise.
65095         (__mpn_submul_1): Do not use BP_SYM.
65096         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
65097         <bp-sym.h>.
65098         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
65099         and <bp-asm.h>.
65100         (PARMS): Do not use macros from bp-asm.h.
65101         (FLAGS): Likewise.
65102         (PTID): Likewise.
65103         (TLS): Likewise.
65104         (CTID): Likewise.
65105         (__clone): Do not use BP_SYM.
65106         (clone): Do not use BP_SYM in weak_alias.
65107         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
65108         and <bp-asm.h>.
65109         (PARMS): Do not use macros from bp-asm.h.
65110         (LEN): Likewise.
65111         (__mmap64): Do not use BP_SYM.
65112         (mmap64): Do not use BP_SYM in weak_alias.
65113         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
65114         <bp-sym.h> and <bp-asm.h>.
65115         (PARMS): Do not use macros from bp-asm.h.
65116         (__posix_fadvise64_l64): Do not use BP_SYM.
65117         * sysdeps/unix/sysv/linux/i386/semtimedop.S
65118         (PARMS): Do not use macros from bp-asm.h.
65119         (NSOPS): Likewise.
65120         (semtimedop): Do not use BP_SYM.
65121         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
65122         and <bp-asm.h>.
65124 2013-02-21  Allan McRae  <allan@archlinux.org>
65126         * manual/message.texi (Charset conversion in gettext):
65127         Move @end statement to beginning of line.
65129 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
65131         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
65132         static.
65133         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
65134         Likewise.
65136         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
65137         (denorm): Likewise.
65138         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
65139         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
65141 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
65143         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
65144         tail-call to the resolved function if pltexit isn't needed.
65146 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
65148         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
65149         or Y being zero as being unlikely.
65150         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
65151         Likewise.
65153 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
65155         * manual/nss.texi (System Databases and Name Service Switch):
65156         Remove frobnicate @pxref.
65158 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
65160         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
65161         __attribute__ ((unused)) to __attribute__ ((__unused__)).
65163 2013-02-20  Petr Machata  <pmachata@redhat.com>
65165         * elf/elf.h (R_ARM_TARGET1): New macro.
65166         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
65167         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
65168         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
65169         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
65170         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
65171         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
65172         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
65173         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
65174         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
65175         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
65176         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
65177         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
65178         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
65179         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
65180         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
65181         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
65182         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
65183         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
65184         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
65185         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
65186         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
65187         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
65188         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
65189         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
65190         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
65191         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
65192         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
65193         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
65194         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
65195         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
65196         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
65197         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
65198         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
65199         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
65200         (R_ARM_THM_GOT_BREL12): Likewise.
65201         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
65202         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
65203         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
65204         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
65205         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
65206         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
65207         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
65208         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
65209         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
65211 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
65213         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
65214         __attribute_used__ to __attribute__ ((unused)).
65216 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
65218         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
65219         powerpc mpa.c.
65220         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
65221         comment formatting.
65222         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
65224 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
65226         [BZ #13550]
65227         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
65228         Remove macro.
65229         (ENTER): Remove both macro definitions.
65230         (LEAVE): Likewise.
65231         (CHECK_BOUNDS_LOW): Likewise.
65232         (CHECK_BOUNDS_HIGH): Likewise.
65233         (CHECK_BOUNDS_BOTH): Likewise.
65234         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
65235         (RETURN_BOUNDED_POINTER): Likewise.
65236         (RETURN_NULL_BOUNDED_POINTER): Likewise.
65237         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
65238         (POP_ERRNO_LOCATION_RETURN): Likewise.
65239         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
65240         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
65241         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
65242         macros.
65243         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
65244         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
65245         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
65246         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
65247         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
65248         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
65249         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
65250         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
65251         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
65252         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
65253         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
65254         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
65255         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
65256         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
65257         removed macros.
65258         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
65259         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
65260         macros.
65261         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
65262         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
65263         * sysdeps/i386/i586/memset.S (memset): Likewise.
65264         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
65265         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
65266         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
65267         macros.
65268         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
65269         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
65270         Change uses of L(2) to L(out).
65271         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
65272         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
65273         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
65274         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
65275         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
65276         removed macros.
65277         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
65278         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
65279         macros.
65280         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
65281         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
65282         (RETURN): Do not use macro LEAVE.
65283         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
65284         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
65285         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
65286         * sysdeps/i386/i686/memset.S (memset): Likewise.
65287         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
65288         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
65289         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
65290         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
65291         Likewise.
65292         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
65293         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
65294         L(1_2) and L(1_3) into L(1).
65295         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
65296         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
65297         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
65298         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
65299         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
65300         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
65301         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
65302         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
65303         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
65304         macros.
65305         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
65306         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
65307         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
65308         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
65309         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
65310         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
65311         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
65312         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
65313         * sysdeps/i386/strcspn.S (strcspn): Likewise.
65314         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
65315         * sysdeps/i386/strrchr.S (strrchr): Likewise.
65316         * sysdeps/i386/strspn.S (strspn): Likewise.
65317         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
65318         conditional code.
65319         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
65320         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
65321         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
65322         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
65323         L(1_3) into L(1_1).
65324         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
65325         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
65326         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
65327         macros.
65328         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
65330 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
65332         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
65333         macro.
65335 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
65337         * math/atest-exp.c (exp_mpn): Remove ROUND.
65338         * math/atest-exp2.c (exp_mpn): Likewise.
65339         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
65341         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
65342         * stdlib/tst-tls-atexit-lib.c: Likewise.
65343         * stdlib/tst-tls-atexit.c: Likewise.
65345 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
65347         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
65348         and __attribute_alloc_size__.
65350 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
65352         * include/programs/xmalloc.h: Change __attribute_alloc_size to
65353         __attribute_alloc_size__.
65354         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
65355         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
65357 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
65359         * include/programs/xmalloc.h: New file.
65360         * catgets/gencat.c: Include it.
65361         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
65362         * elf/pldd.c: Likewise.
65363         * iconv/iconv_charmap.c: Likewise.
65364         * iconv/iconvconfig.c: Likewise.
65365         * iconv/strtab.c: Likewise.
65366         * locale/programs/locale.c: Likewise.
65367         * locale/programs/localedef.h: Likewise.
65368         * locale/programs/simple-hash.c: Likewise.
65369         * nscd/nscd.h: Likewise.
65370         * nss/makedb.c: Likewise.
65371         * sysdeps/generic/ldconfig.h: Likewise.
65373 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
65375         * Versions.def: Add GLIBC_2.18.
65376         * include/link.h (struct link_map): New member l_tls_dtor_count.
65377         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
65378         (__call_tls_dtors): Likewise.
65379         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
65380         __cxa_thread_atexit_impl.
65381         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
65382         Likewise.
65383         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
65384         Likewise.
65385         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
65386         Likewise.
65387         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
65388         Likewise.
65389         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
65390         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
65391         Likewise.
65392         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
65393         Likewise.
65394         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
65395         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
65396         Likewise.
65397         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
65398         (tests): Add test case tst-tls-atexit.
65399         (modules-names): Add shared library for tst-tls-atexit.
65400         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
65401         (GLIBC_PRIVATE): Add __call_tls_dtors.
65402         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
65403         for libstdc++.
65404         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
65405         * stdlib/tst-tls-atexit.c: New test case.
65406         * stdlib/tst-tls-atexit-lib.c: New test case.
65408         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
65410         * elf/Versions (ld): Add _dl_find_dso_for_object.
65411         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
65412         * elf/dl-open.c (_dl_find_dso_for_object): New function.
65413         (dl_open_worker): Use _dl_find_dso_for_object.
65414         * elf/dl-sym.c (do_sym): Likewise.
65415         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
65417 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
65419         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
65420         Syntactic changes only.
65421         (_dl_runtime_profile): Do a tail-call to the resolved function.
65423 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
65425         [BZ #13550]
65426         * sysdeps/x86_64/bp-asm.h: Remove file.
65427         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
65428         <bp-sym.h> and <bp-asm.h>.
65429         (__clone): Do not use BP_SYM.
65430         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
65431         <bp-sym.h> and <bp-asm.h>.
65432         * sysdeps/unix/x86_64/sysdep.S: Likewise.
65433         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
65434         "bp-asm.h".
65435         (_setjmp): Do not use BP_SYM.
65436         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
65437         "bp-asm.h".
65438         (setjmp): Do not use BP_SYM.
65439         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
65440         libc_hidden_def.
65441         (mempcpy): Do not use BP_SYM in weak_alias.
65442         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
65443         "bp-asm.h".
65444         (strchr): Do not use BP_SYM.
65445         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
65446         "bp-asm.h".
65447         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
65448         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
65449         (_start): Do not use BP_SYM.
65450         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
65451         "bp-asm.h".
65452         (strcat): Do not use BP_SYM.
65453         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
65454         "bp-asm.h".
65455         (STRCMP): Do not use BP_SYM.
65456         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
65457         "bp-asm.h".
65458         (STRCPY): Do not use BP_SYM.
65459         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
65460         "bp-asm.h".
65461         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
65462         "bp-asm.h".
65463         (FUNCTION): Do not use BP_SYM.
65464         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
65465         weak_alias.
65466         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
65468 2013-02-17  Andreas Jaeger  <aj@suse.de>
65470         * time/Versions: Sort entries.
65471         * string/Versions: Likewise.
65472         * resolv/Versions: Likewise.
65473         * posix/Versions: Likewise.
65474         * iconv/Versions: Likewise.
65475         * elf/Versions: Likewise.
65476         * wcsmbs/Versions: Likewise.
65478 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
65480         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
65481         loop termination condition.
65483         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
65484         variable to calculate EZ.
65485         (__sqr): Likewise.
65487         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
65488         the lower precision input.
65490 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
65492         [BZ #13550]
65493         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
65494         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
65495         (run-via-rtld-prefix): Do not handle %-bp tests.
65496         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
65497         (all-object-suffixes): Remove .ob.
65498         (bppfx): Remove variable.
65499         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
65500         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
65501         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
65502         [$(build-bounded) = yes] (libtype.ob): Likewise.
65503         * Makerules (elide-routines.ob): Remove variable.
65504         (do-tests-clean): Do not handle *-bp.out.
65505         (common-mostlyclean): Do not handle *-bp and *-bp.out.
65506         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
65507         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
65508         (tests): Do not include $(tests-bp.out).
65509         (xtests): Do not include $(xtests-bp.out).
65510         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
65511         [$(build-bounded) = yes] ($(addprefix
65512         $(objpfx),$(binaries-bounded))): Remove rule.
65513         ($(objpfx)%-bp.out): Remove rule.
65514         * config.make.in (build-bounded): Remove variable.
65515         * crypt/Makefile [$(build-bounded) = yes]
65516         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
65517         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
65518         append to variable.
65519         [$(build-bounded) = yes] (install-lib): Likewise.
65520         [$(build-bounded) = yes] (generated): Likewise.
65521         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
65522         Remove rule.
65523         * intl/Makefile [$(build-bounded) = yes]
65524         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
65525         * math/Makefile [$(build-bounded) = yes]
65526         ($(tests:%=$(objpfx)%-bp): Likewise.
65527         * misc/Makefile [$(build-bounded) = yes]
65528         ($(objpfx)tst-tsearch-bp): Likewise.
65529         * nptl/Makeconfig (bounded-thread-library): Remove variable.
65530         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
65531         Remove dependency.
65532         * string/Makefile (o-objects.ob): Remove variable.
65533         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
65534         (CFLAGS-.ob): Remove variable.
65535         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
65536         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
65537         both definitions of variable.
65538         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
65539         (ASFLAGS-.ob): Remove variable.
65541 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
65543         [BZ #13550]
65544         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
65545         Remove __BOUNDED_POINTERS__ from condition.
65546         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
65547         * string/bits/string2.h [!__NO_STRING_INLINES &&
65548         !__BOUNDED_POINTERS__]: Likewise.
65549         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
65550         Likewise.
65551         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
65552         Remove conditional code.
65553         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
65554         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
65555         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
65556         condition.
65558         [BZ #13550]
65559         * csu/libc-start.c: Do not include <bp-sym.h>.
65560         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
65561         * elf/dl-open.c: Do not include <bp-sym.h>.
65562         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
65563         * math/fegetenv.c: Do not include <bp-sym.h>.
65564         (fegetenv): Do not use BP_SYM in versioned symbols.
65565         * nptl/sysdeps/pthread/bits/libc-lockP.h
65566         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
65567         <bp-sym.h>.
65568         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
65569         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
65570         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
65571         (__pthread_mutex_destroy): Likewise.
65572         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
65573         (__pthread_mutex_lock): Likewise.
65574         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
65575         (__pthread_mutex_trylock): Likewise.
65576         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
65577         (__pthread_mutex_unlock): Likewise.
65578         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
65579         (__pthread_mutexattr_init): Likewise.
65580         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
65581         (__pthread_mutexattr_destroy): Likewise.
65582         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
65583         (__pthread_mutexattr_settype): Likewise.
65584         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
65585         (__pthread_rwlock_init): Likewise.
65586         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
65587         (__pthread_rwlock_destroy): Likewise.
65588         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
65589         (__pthread_rwlock_rdlock): Likewise.
65590         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
65591         (__pthread_rwlock_tryrdlock): Likewise.
65592         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
65593         (__pthread_rwlock_wrlock): Likewise.
65594         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
65595         (__pthread_rwlock_trywrlock): Likewise.
65596         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
65597         (__pthread_rwlock_unlock): Likewise.
65598         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
65599         (__pthread_key_create): Likewise.
65600         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
65601         (__pthread_setspecific): Likewise.
65602         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
65603         (__pthread_getspecific): Likewise.
65604         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
65605         Likewise.
65606         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
65607         (_pthread_cleanup_push_defer): Likewise.
65608         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
65609         (_pthread_cleanup_pop_restore): Likewise.
65610         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
65611         (pthread_setcancelstate): Likewise.
65612         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
65613         <bp-sym.h>.
65614         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
65615         (memchr): Do not use BP_SYM in weak_alias.
65616         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
65617         (fegetenv): Do not use BP_SYM in versioned symbols.
65618         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
65619         (fesetenv): Do not use BP_SYM in versioned symbols.
65620         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
65621         (feupdateenv): Do not use BP_SYM in versioned symbols.
65622         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
65623         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
65624         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
65625         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
65626         (open64): Do not use BP_SYM in weak_alias.
65627         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
65628         (fegetenv): Do not use BP_SYM in versioned symbols.
65629         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
65630         (fesetenv): Do not use BP_SYM in versioned symbols.
65631         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
65632         (feupdateenv): Do not use BP_SYM in versioned symbols.
65633         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
65634         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
65635         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
65636         (feraiseexcept): Do not use BP_SYM in versioned symbols.
65637         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
65638         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
65639         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
65640         <bp-sym.h>.
65641         (__libc_start_main): Do not use BP_SYM.
65643 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
65645         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
65646         redundant return line.
65647         (norm): Likewise.
65648         (denorm): Likewise.
65649         (dbl_mp): Likewise.
65650         (sub_magnitudes): Likewise.
65651         (__add): Likewise.
65652         (__sub): Likewise.
65653         (__mul): Likewise.
65654         (__inv): Likewise.
65655         (__dvd): Likewise.
65656         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
65657         (norm): Likewise.
65658         (denorm): Likewise.
65659         (dbl_mp): Likewise.
65660         (sub_magnitudes): Likewise.
65661         (__add): Likewise.
65662         (__sub): Likewise.
65663         (__mul): Likewise.
65664         (__inv): Likewise.
65665         (__dvd): Likewise.
65667         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
65668         instead of __mul.
65669         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
65670         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
65671         (cc32): Likewise.
65673         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
65674         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
65675         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
65676         of __mul for squares.
65677         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
65678         function
65679         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
65680         Likewise.
65681         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
65682         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
65684 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
65686         [BZ #13550]
65687         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
65688         code.
65689         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
65690         prototype or function definition.  Rename ubp_* variables and
65691         parameters.  Remove argv definitions conditional on
65692         [__BOUNDED_POINTERS__].
65693         * debug/backtrace.c (__backtrace): Do not use __unbounded.
65694         * elf/dl-runtime.c (_dl_fixup): Likewise.
65695         * include/set-hooks.h (RUN_HOOK): Likewise.
65696         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
65697         definition.
65698         * string/strcpy.c (strcpy): Do not use __unbounded.
65699         * sysdeps/generic/frame.h (struct layout): Likewise.
65700         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
65701         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
65702         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
65703         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
65704         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
65705         (__backtrace): Likewise.
65706         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
65707         use __ptrvalue.
65708         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
65709         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
65710         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
65711         Likewise.
65712         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
65713         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
65714         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
65715         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
65716         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
65717         Do not use __unbounded.
65718         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
65719         Rename __unboundedrlimits parameter to rlimits in prototype.
65720         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
65721         Do not use __unbounded.
65722         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
65723         not use __ptrvalue.
65724         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
65725         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
65726         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
65727         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
65728         __ptrvalue or __unbounded.
65729         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
65730         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
65731         use __unbounded.
65732         (__new_msgctl): Do not use __ptrvalue.
65733         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
65734         __unbounded.
65735         (__libc_msgrcv): Do not use __ptrvalue.
65736         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
65737         startup_info): Do not use __unbounded.
65738         (__libc_start_main): Likewise.  Rename ubp_* variables and
65739         parameters.  Remove argv definitions conditional on
65740         [__BOUNDED_POINTERS__].
65741         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
65742         __ptrvalue.
65743         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
65744         use __unbounded.
65745         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
65746         or __ptrvalue.
65747         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
65748         use __unbounded.
65749         (__new_shmctl): Do not use __ptrvalue.
65750         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
65751         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
65752         Likewise.
65753         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
65754         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
65755         (__libc_sigaction): Likewise.
65756         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
65757         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
65758         Likewise.
65759         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
65761 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
65763         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
65765         * string/mempcpy.c: Implement by calling memcpy.
65767 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
65769         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
65771         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
65772         evaluation.
65774         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
65775         values in the mantissa.
65777         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
65778         minimize writes to Z.
65779         (sub_magnitudes): Simplify code a bit.
65781 2013-02-12  Roland McGrath  <roland@hack.frob.com>
65783         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
65784         from the message.  The linker prefixes all warnings with that already.
65786 2013-02-12  Andreas Schwab  <schwab@suse.de>
65788         [BZ #15078]
65789         * posix/regexec.c (extend_buffers): Add parameter min_len.
65790         (check_matching): Pass minimum needed length.
65791         (clean_state_log_if_needed): Likewise.
65792         (get_subexp): Likewise.
65793         * posix/Makefile (tests): Add bug-regex34.
65794         (bug-regex34-ENV): Define.
65795         * posix/bug-regex34.c: New file.
65797         [BZ #11561]
65798         * posix/regcomp.c (parse_bracket_exp): When looking up collating
65799         elements compare against the byte sequence of it, not its name.
65800         * posix/Makefile (tests): Add bug-regex35.
65801         (bug-regex35-ENV): Define.
65802         * posix/bug-regex35.c: New file.
65804 2013-02-11  Tom de Vries  <tom@codesourcery.com>
65806         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
65807         comment.
65808         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
65809         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
65810         (CHECK_EOL): Add undef.
65812 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
65814         * bits/stdlib-bsearch.h: New file.
65815         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
65816         * stdlib/stdlib.h: Likewise.
65818 2013-02-11  Roland McGrath  <roland@hack.frob.com>
65820         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
65821         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
65822         declaration.
65823         * manual/search.texi (Array Search Function): Add missing const in
65824         lfind prototype.
65825         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
65826         declaration to use rlim_t.
65827         (Basic Scheduling Functions): Remove erroneous const from
65828         sched_getparam prototype.  Remove erroneous * from
65829         sched_get_priority_max and sched_get_priority_min prototypes.
65830         (Resource Usage): Fix summary @comment on vtimes to refer to
65831         sys/vtimes.h rather than vtimes.h.
65832         Add missing *s in vtimes prototype.
65833         (Limits on Resources): Fix ulimit prototype to return long int.
65834         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
65835         prototypes to use long int rather than double.
65836         (BSD Random): Fix initstate and setstate to use char *, not void *.
65837         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
65838         prototype to make second argument 'struct aiocb64 *const[]'.
65839         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
65840         (Status of AIO Operations): Remove erroneous const in aio_return and
65841         aio_return64 prototypes.
65842         (Synchronizing I/O): Fix sync prototype to return void.
65843         * manual/startup.texi (Suboptions): Remove an erroneous const in
65844         getsubopt prototype.
65845         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
65846         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
65847         use size_t rather than int.
65848         (Scanning All Users): Likewise for getpwent_r.
65849         (Setting Groups): Add missing const to setgroups prototype.
65850         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
65851         * manual/socket.texi (Host Names): Fix gethostbyaddr and
65852         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
65853         'const void *' rather than 'const char *'.
65854         (Host Address Functions): Likewise for inet_ntop.
65855         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
65856         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
65857         ssize_t for return value.
65858         (Sending Data): Likewise for send, sendto, sendmsg.
65859         (Socket Option Functions): Add a missing const in setsockopt prototype.
65860         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
65861         use wchar_t for the argument.
65862         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
65863         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
65864         take no arguments.
65865         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
65866         double/float/long double for second argument.
65867         Fix return types of significand, significandf, significandl.
65868         * manual/filesys.texi (Setting Permissions): Use mode_t for second
65869         argument in fchmod prototype.
65870         (File Owner): Use uid_t and gid_t in fchown prototype.
65871         (File Times): Add const to utimes, futimes, and lutimes prototypes.
65872         (Making Special Files): Use mode_t and dev_t in mknod prototype.
65873         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
65874         use 'const struct dirent **' as argument types to CMP function pointer
65875         argument.
65876         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
65877         (File Times): Fix summary magic @comment for struct utimbuf and utime
65878         to refer to utime.h, not time.h.
65879         * manual/string.texi (Argz Functions): Add missing const in
65880         argz_extract and argz_next prototypes.
65881         (Finding Tokens in a String): Likewise for basename.
65882         (String/Array Comparison): Fix typo in wcscasecmp prototype.
65883         (Copying and Concatenation): Fix typo in wmemmove prototype.
65884         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
65885         (Signal Stack): Remove erroneous const in sigstack prototype.
65886         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
65887         prototype.
65888         (Simple Calendar Time): Likewise for stime.
65889         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
65890         prototype.
65891         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
65892         say sys/sysctl.h instead.
65893         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
65894         and vsyslog prototypes.
65896 2013-02-11  Tom de Vries  <tom@codesourcery.com>
65898         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
65899         Remove.
65901 2013-02-11  Roland McGrath  <roland@hack.frob.com>
65903         * misc/sys/mman.h: Fix typo in mremap comment.
65905 2013-02-08  Roland McGrath  <roland@hack.frob.com>
65907         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
65908         the '\0' terminator.
65910 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
65912         [BZ #13550]
65913         * debug/segfault.c: Don't include <bp-checks.h>.
65914         * sysdeps/generic/bp-checks.h: Remove file.
65915         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
65916         (__GETDENTS): Don't use CHECK_N.
65917         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
65918         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
65919         (__getgroups): Don't use CHECK_N.
65920         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
65921         (setgroups): Don't use CHECK_N.
65922         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
65923         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
65924         (__libc_msgrcv): Don't use CHECK_N.
65925         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
65926         (__libc_msgsnd): Don't use CHECK_N.
65927         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
65928         <bp-checks.h>.
65929         (__libc_pread): Don't use CHECK_N.
65930         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
65931         include <bp-checks.h>.
65932         (__libc_pread64): Don't use CHECK_N.
65933         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
65934         include <bp-checks.h>.
65935         (__libc_pwrite): Don't use CHECK_N.
65936         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
65937         include <bp-checks.h>.
65938         (__libc_pwrite64): Don't use CHECK_N.
65939         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
65940         <bp-checks.h>.
65941         (__libc_pread): Don't use CHECK_N.
65942         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
65943         include <bp-checks.h>.
65944         (__libc_pread64): Don't use CHECK_N.
65945         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
65946         include <bp-checks.h>.
65947         (__libc_pwrite): Don't use CHECK_N.
65948         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
65949         include <bp-checks.h>.
65950         (__libc_pwrite64): Don't use CHECK_N.
65951         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
65952         (do_pread): Don't use CHECK_N.
65953         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
65954         (do_pread64): Don't use CHECK_N.
65955         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
65956         (do_pwrite): Don't use CHECK_N.
65957         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
65958         (do_pwrite64): Don't use CHECK_N.
65959         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
65960         (__libc_readv): Don't use CHECK_N.
65961         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
65962         (semop): Don't use CHECK_N.
65963         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
65964         <bp-checks.h>.
65965         (semtimedop): Don't use CHECK_N.
65966         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
65967         (__libc_pread): Don't use CHECK_N.
65968         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
65969         <bp-checks.h>.
65970         (__libc_pread64): Don't use CHECK_N.
65971         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
65972         <bp-checks.h>.
65973         (__libc_pwrite): Don't use CHECK_N.
65974         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
65975         <bp-checks.h>.
65976         (__libc_pwrite64): Don't use CHECK_N.
65977         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
65978         <bp-checks.h>.
65979         (__libc_msgrcv): Don't use CHECK_N.
65980         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
65981         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
65982         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
65983         (__libc_writev): Don't use CHECK_N.
65985 2013-02-08  Roland McGrath  <roland@hack.frob.com>
65987         * string/strcpy.c: Removed unused variable.
65989         * Makeconfig (+sysdep-includes): Define with := rather than =.
65990         Use an existing include/ subdir of each sysdeps dir before it.
65992 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
65994         * nscd/connection.c (register_traced_file): Comment function.
65995         [HAVE_INOTIFY] (union __inev): Define.
65996         [HAVE_INOTIFY] (inotify_check_files): New function.
65997         [HAVE_INOTIFY] (clear_db_cache): Likewise.
65998         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
65999         clear_db_cache.
66000         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
66002 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
66004         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
66005         loaded if not already and that a failure is permanent.
66007 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
66009         [BZ #15006]
66010         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
66011         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
66013 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
66015         [BZ #13550]
66016         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
66017         (CHECK_1_NULL_OK): Likewise.
66018         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
66019         (__fxstat): Do not use CHECK_1.
66020         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
66021         <bp-checks.h>.
66022         (___fxstat64): Do not use CHECK_1.
66023         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
66024         <bp-checks.h>.
66025         (__fxstatat): Do not use CHECK_1.
66026         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
66027         <bp-checks.h>.
66028         (__fxstatat64): Do not use CHECK_1.
66029         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
66030         <bp-checks.h>.
66031         (__fxstat): Do not use CHECK_1.
66032         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
66033         <bp-checks.h>.
66034         (__fxstatat): Do not use CHECK_1.
66035         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
66036         <bp-checks.h>.
66037         (__getresgid): Do not use CHECK_1.
66038         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
66039         <bp-checks.h>.
66040         (__getresuid): Do not use CHECK_1.
66041         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
66042         <bp-checks.h>.
66043         (__lxstat): Do not use CHECK_1.
66044         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
66045         <bp-checks.h>.
66046         (__old_msgctl): Do not use CHECK_1.
66047         (__new_msgctl): Likewise.
66048         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
66049         <bp-checks.h>.
66050         (__new_setrlimit): Do not use CHECK_1.
66051         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
66052         <bp-checks.h>.
66053         (__old_shmctl): Do not use CHECK_1.
66054         (__new_shmctl): Likewise.
66055         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
66056         <bp-checks.h>.
66057         (__xstat): Do not use CHECK_1.
66058         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
66059         (__lxstat): Do not use CHECK_1.
66060         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
66061         <bp-checks.h>.
66062         (___lxstat64): Do not use CHECK_1.
66063         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
66064         (__old_msgctl): Do not use CHECK_1.
66065         (__new_msgctl): Likewise.
66066         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
66067         <bp-checks.h>.
66068         (__gettimeofday): Do not use CHECK_1.
66069         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
66070         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
66071         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
66072         <bp-checks.h>.
66073         (__gettimeofday): Do not use CHECK_1.
66074         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
66075         (__old_shmctl): Do not use CHECK_1_NULL_OK.
66076         (__new_shmctl): Do not use CHECK_1.
66077         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
66078         <bp-checks.h>.
66079         (do_sigtimedwait): Do not use CHECK_1.
66080         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
66081         <bp-checks.h>.
66082         (do_sigwaitinfo): Do not use CHECK_1.
66083         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
66084         <bp-checks.h>.
66085         (msgctl): Do not use CHECK_1.
66086         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
66087         <bp-checks.h>.
66088         (shmctl): Do not use CHECK_1.
66089         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
66090         (ustat): Do not use CHECK_1.
66091         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
66092         <bp-checks.h>.
66093         (__fxstat): Do not use CHECK_1.
66094         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
66095         <bp-checks.h>.
66096         (__fxstatat): Do not use CHECK_1.
66097         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
66098         <bp-checks.h>.
66099         (__lxstat): Do not use CHECK_1.
66100         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
66101         <bp-checks.h>.
66102         (__xstat): Do not use CHECK_1.
66103         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
66104         (__xstat): Do not use CHECK_1.
66105         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
66106         (___xstat64): Do not use CHECK_1.
66108         [BZ #13550]
66109         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
66110         definitions.
66111         (CHECK_BOUNDS_HIGH): Likewise.
66112         * string/strcpy.c: Do not include <bp-checks.h>.
66113         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
66115 2013-02-07  Roland McGrath  <roland@hack.frob.com>
66117         * nscd/nscd-client.h (__nscd_drop_map_ref):
66118         Add __attribute__ ((unused)).
66119         * nis/nss-nisplus.h (niserr2nss): Likewise.
66121         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
66122         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
66124         * csu/libc-tls.c (init_static_tls, init_slotinfo):
66125         Remove inline keyword.
66126         * include/rounding-mode.h (round_away): Likewise.
66127         * libio/wfileops.c (adjust_wide_data): Likewise.
66128         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
66129         (__m128i_strloadu_tolower): Likewise.
66130         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
66131         (__m128i_strloadu_tolower): Likewise.
66132         * time/mktime.c (ydhms_diff): Likewise.
66133         * locale/elem-hash.h (elem_hash): Likewise.
66134         * locale/setlocale.c (setdata): Likewise.
66135         * posix/regex_internal.h (re_string_char_size_at): Likewise.
66136         (re_string_wchar_at): Likewise.
66137         (bitset_not, bitset_merge, bitset_mask): Likewise.
66138         [!(__GNUC__ > 3)] (inline): Remove macro.
66139         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
66140         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
66141         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
66142         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
66143         * string/memcmp.c (memcmp_bytes): Likewise.
66144         * locale/programs/locarchive.c (compute_hashval): Likewise.
66145         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
66146         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
66147         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
66148         * nss/getent.c (print_rpc, print_protocols): Likewise.
66149         (print_passwd, print_group, print_aliases): Likewise.
66150         * nis/nss-nisplus.h (niserr2nss): Likewise.
66151         * nscd/connections.c (restart_p): Likewise.
66152         Change return type to bool.
66154 2013-02-05  Roland McGrath  <roland@hack.frob.com>
66156         * Makeconfig (all-Depend-files): Add existing
66157         $(sorted-subdirs:=/Depend) files.
66158         (all-subdirs): Remove nss.
66159         * sysdeps/unix/inet/Subdirs: Add it here instead.
66160         * hesiod/Depend: New file.
66162         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
66163         instead of calling alloca.
66165         * io/lseek.c (__lseek): Rename to __libc_lseek.
66166         Define __lseek as an alias.
66168         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
66170 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
66172         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
66173         else clause and remove check for non-standard endianness.
66175 2013-02-04  David S. Miller  <davem@davemloft.net>
66177         * sysdeps/sparc/fpu/libm-test-ulps: Update.
66179 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
66181         [BZ #13550]
66182         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
66183         (__ubp_memchr): Remove prototype.
66184         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
66185         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
66186         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
66187         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
66188         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
66189         Remove alias.
66190         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
66191         (__ubp_memchr): Likewise.
66192         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
66193         (__ubp_memchr): Likewise.
66194         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
66195         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
66196         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
66197         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
66198         CHECK_STRING.
66199         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
66200         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
66201         (__getcwd): Do not use CHECK_STRING.
66202         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
66203         <bp-checks.h>.
66204         (__real_chown): Do not use CHECK_STRING.
66205         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
66206         <bp-checks.h>.
66207         (fchownat): Do not use CHECK_STRING.
66208         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
66209         CHECK_STRING.
66210         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
66211         <bp-checks.h>.
66212         (__lchown): Do not use CHECK_STRING.
66213         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
66214         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
66215         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
66216         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
66217         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
66218         include <bp-checks.h>.
66219         (truncate64): Do not use CHECK_STRING.
66220         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
66221         <bp-checks.h>.
66222         (__real_chown): Do not use CHECK_STRING.
66223         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
66224         <bp-checks.h>.
66225         (__lchown): Do not use CHECK_STRING.
66226         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
66227         <bp-checks.h>.
66228         (__chown): Do not use CHECK_STRING.
66229         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
66230         <bp-checks.h>.
66231         (truncate64): Do not use CHECK_STRING.
66232         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
66233         Likewise.
66234         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
66235         (__xmknod): Do not use CHECK_STRING.
66236         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
66237         <bp-checks.h>.
66238         (__xmknodat): Do not use CHECK_STRING.
66239         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
66240         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
66242 2013-02-04  Andreas Schwab  <schwab@suse.de>
66244         [BZ #14142]
66245         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
66246         * include/netdb.h: Likewise for h_errno.
66247         * elf/tst-stackguard1.c: Include <tls.h>.
66249 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
66251         * elf/link.h (struct link_map): Extend the l_addr comment.
66252         * include/link.h (struct link_map): Likewise.
66254 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
66256         [BZ #13550]
66257         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
66258         (BOUNDED_1): Remove macro.
66259         * debug/backtrace.c: Don't include <bp-checks.h>.
66260         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
66261         (__backtrace): Likewise.
66262         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
66263         <bp-checks.h>.
66264         (__backtrace): Don't use BOUNDED_1.
66265         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
66266         <bp-checks.h>.
66267         (__backtrace): Don't use BOUNDED_1.
66268         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
66269         (__backtrace): Don't use BOUNDED_1.
66270         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
66271         (shmat): Don't use BOUNDED_N.
66273 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
66275         [BZ #13550]
66276         * sysdeps/generic/bp-start.h: Remove file.
66277         * csu/libc-start.c: Don't include <bp-start.h>.
66278         (LIBC_START_MAIN): Set up __environ directly instead of using
66279         INIT_ARGV_and_ENVIRON.
66280         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
66281         <bp-start.h>.
66283         [BZ #13550]
66284         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
66285         definitions.
66286         (CHECK_FCNTL): Likewise.
66287         (CHECK_N_PAGES): Likewise.
66289         [BZ #13550]
66290         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
66291         definitions.
66292         (CHECK_SIGSET_NULL_OK): Likewise.
66293         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
66294         <bp-checks.h>.
66295         (sigpending): Don't use CHECK_SIGSET.
66296         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
66297         <bp-checks.h>.
66298         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
66299         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
66300         <bp-checks.h>.
66301         (do_sigsuspend): Don't use CHECK_SIGSET.
66302         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
66303         use CHECK_SIGSET.
66304         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
66305         (do_sigwait): Don't use CHECK_SIGSET.
66306         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
66307         use CHECK_SIGSET.
66308         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
66309         include <bp-checks.h>.
66310         (sigpending): Don't use CHECK_SIGSET.
66311         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
66312         include <bp-checks.h>.
66313         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
66314         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
66315         <bp-checks.h>.
66316         (sigpending): Don't use CHECK_SIGSET.
66317         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
66318         <bp-checks.h>.
66319         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
66321         [BZ #13550]
66322         * sysdeps/generic/bp-semctl.h: Remove file.
66323         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
66324         <bp-checks.h> and <bp-semctl.h>.
66325         (__old_semctl): Don't use CHECK_SEMCTL.
66326         (__new_semctl): Likewise.
66327         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
66328         and <bp-semctl.h>.
66329         (__old_semctl): Don't use CHECK_SEMCTL.
66330         (__new_semctl): Likewise.
66331         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
66332         <bp-checks.h> and <bp-semctl.h>.
66333         (__old_semctl): Don't use CHECK_SEMCTL.
66334         (__new_semctl): Likewise.
66335         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
66336         <bp-checks.h> and <bp-semctl.h>.
66337         (semctl): Don't use CHECK_SEMCTL.
66339         [BZ #13550]
66340         * Makerules (elide-bp-thunks): Remove variable.
66341         (elide-routines.oS): Don't use $(elide-bp-thunks).
66342         (elide-routines.os): Likewise.
66343         (elide-routines.o): Likewise.
66344         (elide-routines.op): Likewise.
66345         (elide-routines.og): Likewise.
66346         (objects): Don't use $(bp-thunks).
66347         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
66348         include.
66349         (common-generated): Do not add s-proto-bp.d.
66350         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
66351         (int): Likewise.
66352         (typ): Likewise.
66353         Do not generate makefile rules for bounded-pointer thunks.
66354         * sysdeps/generic/bp-thunks.h: Remove file.
66355         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
66356         * sysdeps/unix/s-proto-bp.S: Likewise.
66358         [BZ #15062]
66359         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
66360         parts of result separately when argument is not close to line from
66361         -i to i and one part of argument is small.
66362         * math/k_casinhf.c (__kernel_casinhf): Likewise.
66363         * math/k_casinhl.c (__kernel_casinhl): Likewise.
66364         * math/libm-test.inc (cacos_test): Add more tests.
66365         (casin_test): Likewise.
66366         (casinh_test): Likewise.
66367         * sysdeps/i386/fpu/libm-test-ulps: Update.
66368         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66370 2013-01-31  David S. Miller  <davem@davemloft.net>
66372         * po/de.po: Update from translation team.
66374 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
66376         * time/tzfile.c: Include stdint.h for SIZE_MAX.
66378 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
66380         * configure.in (_AC_PROG_CC_C89): New definition.
66381         * configure: Regenerate.
66383         * configure.in (AC_PROG_CPP): New definition.
66384         * configure: Regenerate.
66386 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
66388         * debug/tst-backtrace.h: New file.
66389         * debug/tst-backtrace2.c: Include tst-backtrace.h.
66390         (ret): Remove variable.
66391         (x): Likewise.
66392         (FAIL): Remove macro.
66393         (NO_INLINE): Likewise.
66394         (fn1): Use match function instead of strstr.
66395         * debug/tst-backtrace3.c: Include tst-backtrace.h.
66396         (ret): Remove variable.
66397         (x): Likewise.
66398         (FAIL): Remove macro.
66399         (NO_INLINE): Likewise.
66400         (fn): Use match function instead of strstr.
66401         * debug/tst-backtrace4.c: Include tst-backtrace.h.
66402         (ret): Remove variable.
66403         (x): Likewise.
66404         (FAIL): Remove macro.
66405         (NO_INLINE): Likewise.
66406         (handle_signal): Use match function instead of strstr.
66407         * debug/tst-backtrace5.c: Include tst-backtrace.h.
66408         (ret): Remove variable.
66409         (x): Likewise.
66410         (FAIL): Remove macro.
66411         (NO_INLINE): Likewise.
66412         (handle_signal): Use match function instead of strstr.
66414 2013-01-23  Roland McGrath  <roland@hack.frob.com>
66416         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
66418 2013-01-23  David S. Miller  <davem@davemloft.net>
66420         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
66421         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
66422         argument of CAS if possible.
66423         * sysdeps/sparc/sparc64/bits/atomic.h
66424         (__arch_compare_and_exchange_val_32_acq): Likewise.
66425         (__arch_compare_and_exchange_val_64_acq): Likewise.
66427 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
66429         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
66430         * sysdeps/posix/ulimit.c: ... this.
66431         Include <limits.h>.
66432         * sysdeps/unix/bsd/ulimit.c: Remove file.
66434 2013-01-23  Adam Conrad  <adconrad@0c3.net>
66436         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
66437         (LDFLAGS-tst-array5): Likewise.
66439 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
66441         [BZ #15036]
66442         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
66443         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
66444         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
66445         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
66447 2013-01-21  David S. Miller  <davem@davemloft.net>
66449         * sysdeps/sparc/backtrace.c: New file.
66450         * sysdeps/sparc/sparc32/backtrace.h: New file.
66451         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
66452         * sysdeps/sparc/sparc64/backtrace.h: New file.
66453         * sysdeps/sparc/sparc64/backtrace.c: Delete.
66454         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
66455         -funwind-tables.
66457 2013-01-21  Andreas Schwab  <schwab@suse.de>
66459         [BZ #15020]
66460         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
66461         closed its stdout.
66463 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
66465         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
66466         "mpa2.h".
66467         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
66469 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
66470             Mark Mitchell  <mark@codesourcery.com>
66471             Tom de Vries  <tom@codesourcery.com>
66472             Paul Pluzhnikov  <ppluzhnikov@google.com>
66474         * debug/tst-backtrace2.c: New file.
66475         * debug/tst-backtrace3.c: Likewise.
66476         * debug/tst-backtrace4.c: Likewise.
66477         * debug/tst-backtrace5.c: Likewise.
66478         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
66479         (CFLAGS-tst-backtrace3.c): Likewise.
66480         (CFLAGS-tst-backtrace4.c): Likewise.
66481         (CFLAGS-tst-backtrace5.c): Likewise.
66482         (LDFLAGS-tst-backtrace2): Likewise.
66483         (LDFLAGS-tst-backtrace3): Likewise.
66484         (LDFLAGS-tst-backtrace4): Likewise.
66485         (LDFLAGS-tst-backtrace5): Likewise.
66486         (tests): Add new tests tst-backtrace2, tst-backtrace3,
66487         tst-backtrace4 and tst-backtrace5.
66489 2013-01-18  Anton Blanchard  <anton@samba.org>
66490             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
66492         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
66493         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
66494         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
66495         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
66496         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
66497         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
66498         "+r" and remove output regs list as redundant.  Add explicit inline
66499         asm to specify register of return val to work around compiler codegen
66500         bug.  Remove (int) cast on return value.  Add return type parameter to
66501         use in macro so that this macro does not truncate return value for
66502         64-bit values.
66503         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
66504         pass to INTERNAL_VSYSCALL_NCS.
66505         (INLINE_VSYSCALL): Add 'long int' as return type to
66506         INTERNAL_VSYSCALL_NCS macro invocation.
66507         (INTERNAL_VSYSCALL): Add 'long int' as return type to
66508         INTERNAL_VSYSCALL_NCS macro invocation.
66509         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
66511 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
66513         [BZ #14496]
66514         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
66515         Fix application of SIMD FP exception mask.
66517         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
66518         mp_no from a power of two.
66519         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
66520         __mpexp_twomm1.  Use __pow_mp.
66522         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
66523         multiplication.
66525 2013-01-17  David S. Miller  <davem@davemloft.net>
66527         * sysdeps/sparc/fpu/libm-test-ulps: Update.
66529 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
66531         [BZ #15023]
66532         * include/complex.h: Condition contents on [!_COMPLEX_H].
66533         (__kernel_casinhf): New prototype.
66534         (__kernel_casinh): Likewise.
66535         (__kernel_casinhl): Likewise.
66536         * math/Makefile (libm_calls): Add k_casinh.
66537         * math/k_casinh.c: New file.
66538         * math/k_casinhf.c: Likewise.
66539         * math/k_casinhl.c: Likewise.
66540         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
66541         finite nonzero arguments.
66542         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
66543         finite nonzero arguments.
66544         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
66545         finite nonzero arguments.
66546         * math/s_casinh.c: Do not include <float.h>.
66547         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
66548         * math/s_casinhf.c: Do not include <float.h>.
66549         (__casinhf): Move code for finite nonzero arguments to
66550         k_casinhf.c.
66551         * math/s_casinhl.c: Do not include <float.h>.
66552         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
66553         redefine.
66554         (__casinhl): Move code for finite nonzero arguments to
66555         k_casinhl.c.
66556         * math/libm-test.inc (cacos_test): Add more tests.
66557         * sysdeps/i386/fpu/libm-test-ulps: Update.
66558         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66560 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
66562         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
66563         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
66564         [!HAVE_MREMAP]: Remove [defined linux] case.
66565         * malloc/arena.c: Do not include <malloc-sysdep.h>.
66567 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
66569         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
66571 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
66573         * elf/elf.h (R_386_SIZE32): New relocation.
66574         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
66575         R_386_SIZE32.
66576         (elf_machine_rela): Likewise.
66577         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
66578         R_X86_64_SIZE64 and R_X86_64_SIZE32.
66580 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
66582         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
66583         (FP_FAST_FMA): Do not define.
66584         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
66585         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
66586         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
66587         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
66588         !_SOFT_FLOAT]: Likewise.
66589         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
66590         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
66591         value.
66592         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
66593         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
66594         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
66595         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
66596         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
66597         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
66598         file.
66600 2013-01-16  Andreas Schwab  <schwab@suse.de>
66602         [BZ #14327]
66603         * include/stdlib.h (__mktemp): Add declaration.
66604         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
66605         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
66607 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
66609         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
66610         definitions.
66611         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
66612         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
66613         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
66614         definitions here.
66615         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
66616         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
66617         definitions.
66618         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
66619         and ONE.
66620         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
66621         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
66622         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
66623         definitions.
66624         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
66625         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
66626         definitions.
66627         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
66629         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
66631 2013-01-15  David S. Miller  <davem@davemloft.net>
66633         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
66634         trunc{,f} to libm-sysdep_routes.
66635         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
66636         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
66637         file.
66638         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
66639         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
66640         file.
66641         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
66642         file.
66643         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
66644         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
66645         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
66646         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
66647         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
66648         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
66649         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
66650         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
66652         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
66653         nearbyint{,f} to libm-sysdep_routes.
66654         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
66655         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
66656         New file.
66657         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
66658         file.
66659         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
66660         New file.
66661         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
66662         file.
66663         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
66664         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
66665         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
66666         file.
66667         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
66668         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
66669         file.
66670         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
66671         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
66672         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
66674         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
66675         libc_feholdexcept and libc_fesetenv.
66677 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
66679         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
66681 2013-01-14  David S. Miller  <davem@davemloft.net>
66683         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
66684         (SPARC_ASM_VIS2_IFUNC): Likewise.
66685         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
66686         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
66687         use of 'siam' instruction.
66688         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
66689         Likewise.
66690         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
66691         Likewise.
66692         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
66693         Likewise.
66694         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
66695         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
66696         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
66697         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
66698         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
66699         file.
66700         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
66701         file.
66702         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
66703         file.
66704         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
66705         file.
66706         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
66707         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
66708         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
66709         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
66710         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
66711         new VIS2 routines.
66712         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
66713         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
66714         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
66715         Likewise.
66716         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
66717         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
66718         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
66719         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
66720         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
66721         routines to libm-sysdep_routines.
66722         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
66724         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
66725         fdim/fdimf to libm-sysdep_routines.
66726         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
66727         file.
66728         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
66729         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
66730         file.
66731         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
66732         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
66733         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
66734         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
66735         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
66736         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
66737         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
66739 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
66741         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
66742         to optimize copies.
66744         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
66745         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
66746         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
66748         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
66749         local variable MPTWO.
66750         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
66751         Likewise.
66753 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
66755         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
66756         GLOB_NOESCAPE.
66758 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
66760         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
66762 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
66764         * manual/pattern.texi (glob_t): Document gl_flags.
66765         (glob64_t): Likewise.
66767 2013-01-11  David S. Miller  <davem@davemloft.net>
66769         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
66770         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
66771         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
66772         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
66773         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
66774         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
66775         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
66776         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
66777         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
66778         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
66779         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
66780         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
66781         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
66783         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
66784         sparc V9 rather than using V8 code.
66785         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
66786         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
66788         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
66789         Move to...
66790         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
66791         Here.
66793 2013-01-11  Roland McGrath  <roland@hack.frob.com>
66795         [BZ #14941]
66796         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
66797         not in the main loop.
66798         * configure: Regenerated.
66800 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
66802         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
66803         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
66804         to just #else.
66805         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
66806         [!__GLIBC_HAVE_LONG_LONG] case.
66807         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
66808         condition to just #else.
66809         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
66810         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
66811         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
66812         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
66813         unconditional.
66814         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
66815         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
66816         #elif condition to just #else.
66817         * sysdeps/unix/sysv/linux/sys/sysmacros.h
66818         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
66819         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
66820         #elif condition to just #else.
66822 2013-01-11  Steve Ellcey  <sellcey@mips.com>
66824         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
66825         (EF_MIPS_ARCH_64): Fix value.
66826         (EF_MIPS_ARCH_32R2): New.
66827         (EF_MIPS_ARCH_64R2): New.
66829 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
66831         * Makeconfig (+link-pie-before-libc): New.
66832         (+link-pie-after-libc): Likewise.
66833         (+link-pie-tests): Likewise.
66834         (+link-pie): Rewritten.
66835         (link-before-libc): Remove $(config-LDFLAGS).
66836         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
66837         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
66838         (config-LDFLAGS): Renamed to ...
66839         (rtld-LDFLAGS): This.
66840         (rtld-tests-LDFLAGS): New macro.
66841         (link-libc-rpath-link): Likewise.
66842         (link-libc-tests-rpath-link): Likewise.
66843         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
66844         (link-libc): Prepand $(link-libc-rpath-link).
66845         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
66846         (test-program-prefix): New macro.
66847         (test-via-rtld-prefix): Likewise.
66848         (test-program-cmd): Likewise.
66849         (host-test-program-cmd): Likewise.
66850         * Makefile ($(common-objpfx)testrun.sh): Replace
66851         $(run-program-prefix) with $(test-program-prefix).
66852         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
66853         $(rtld-LDFLAGS).
66854         ($(common-objpfx)shlib.lds): Likewise.
66855         (build-module-helper): Likewise.
66856         ($(common-objpfx)format.lds): Likewise.
66857         * Rules (binaries-pie-tests): New.
66858         (binaries-pie-notests): Likewise.
66859         (binaries-pie): Rewritten.
66860         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
66861         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
66862         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
66863         (make-test-out): Replace $(host-built-program-cmd) with
66864         $(host-test-program-cmd).
66865         * config.make.in (build-hardcoded-path-in-tests): New variable.
66866         * configure.in (--enable-hardcoded-path-in-tests): New configure
66867         option.
66868         (hardcoded_path_in_tests): New AC_SUBST.
66869         * configure: Regenerated.
66870         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
66871         $(built-program-cmd) with $(test-program-cmd).
66872         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
66873         (test_program_cmd): This.
66874         * elf/Makefile ($(objpfx)order.out): Run test with
66875         $(test-program-prefix).
66876         ($(objpfx)order2.out): Likewise.
66877         ($(objpfx)tst-initorder.out): Likewise.
66878         ($(objpfx)tst-initorder2.out): Likewise.
66879         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
66880         $(test-program-cmd).
66881         ($(objpfx)tst-array1-static.out): Likewise.
66882         ($(objpfx)tst-array2.out): Likewise.
66883         ($(objpfx)tst-array3.out): Likewise.
66884         ($(objpfx)tst-array4.out): Likewise.
66885         ($(objpfx)tst-array5.out): Likewise.
66886         ($(objpfx)tst-array5-static.out): Likewise.
66887         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
66888         $(test-program-cmd).
66889         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
66890         $(run-program-prefix) with $(test-program-prefix).
66891         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
66892         (test_program_prefix): This.
66893         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
66894         $(run-program-prefix) with $(test-program-prefix).
66895         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
66896         (test_program_prefix): This.
66897         * iconvdata/tst-tables.sh: Likewise.
66898         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
66899         $(run-program-prefix) with $(test-program-prefix).
66900         ($(objpfx)tst-translit.out): Likewise.
66901         ($(objpfx)tst-gettext2.out): Likewise.
66902         ($(objpfx)tst-gettext4.out): Likewise.
66903         ($(objpfx)tst-gettext6.out): Likewise.
66904         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
66905         (test_program_prefix): This.
66906         * intl/tst-gettext2.sh: Likewise.
66907         * intl/tst-gettext4.sh  Likewise.
66908         * intl/tst-gettext6.sh: Likewise.
66909         * intl/tst-translit.sh: Likewise.
66910         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
66911         with $(test-program-cmd).
66912         * libio/Makefile ($(objpfx)test-freopen.out): Replace
66913         $(run-program-prefix) with $(test-program-prefix).
66914         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
66915         (test_program_prefix): This.
66916         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
66917         $(run-program-prefix) with $(test-program-prefix).
66918         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
66919         (test_program_prefix): This.
66920         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
66921         * posix/Makefile ($(objpfx)globtest.out): Replace
66922         $(run-via-rtld-prefix) and $(test-wrapper) with
66923         $(test-program-prefix) and $(test-via-rtld-prefix).
66924         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
66925         $(test-program-prefix).
66926         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
66927         $(host-test-program-cmd).
66928         (tst-spawn-ARGS): Likewise.
66929         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
66930         $(test-program-prefix).
66931         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
66932         (test_via_rtld_prefix): This.
66933         (test_wrapper): Renamed to ...
66934         (test_program_prefix): This.
66935         (run_program_prefix): Replaced by test_program_prefix.
66936         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
66937         (test_program_prefix): This.
66938         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
66939         with $(host-test-program-cmd).
66940         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
66941         $(run-program-prefix) with $(test-program-prefix).
66942         ($(objpfx)tst-printf.out): Likewise.
66943         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
66944         $(test-program-cmd).
66945         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
66946         (test_program_prefix): This.
66947         * stdio-common/tst-unbputc.sh: Likewise.
66948         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
66949         $(run-program-prefix) with $(test-program-prefix).
66950         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
66951         (test_program_prefix): This.
66952         * string/Makefile ($(objpfx)tst-svc.out):  Replace
66953         $(built-program-cmd) with $(test-program-cmd).
66955 2013-01-11  Andreas Jaeger  <aj@suse.de>
66957         [BZ #15003]
66958         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
66959         value. Sync with Linux 3.7.
66961 2013-01-10  David S. Miller  <davem@davemloft.net>
66963         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
66964         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
66965         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
66967 2013-01-10  Roland McGrath  <roland@hack.frob.com>
66969         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
66970         never set.
66971         * configure: Regenerated.
66973 2013-01-10  David S. Miller  <davem@davemloft.net>
66975         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
66976         sparc V9 rather than using V8 code.
66977         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
66978         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
66980 2013-01-10  Roland McGrath  <roland@hack.frob.com>
66982         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
66983         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
66984         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
66985         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
66986         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
66987         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
66988         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
66989         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
66990         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
66991         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
66992         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
66993         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
66994         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
66995         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
66996         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
66997         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
66998         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
66999         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
67000         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
67001         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
67002         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
67003         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
67004         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
67005         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
67006         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
67007         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
67008         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
67010 2013-01-10  David S. Miller  <davem@davemloft.net>
67012         * sysdeps/sparc/fpu/libm-test-ulps: Update.
67014 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
67016         * posix/Makefile (tests-static): New variable.
67017         (tests): Add $(tests-static).
67018         (tst-exec-static-ARGS): New variable.
67019         (tst-spawn-static-ARGS): Likewise.
67020         * posix/tst-exec-static.c: New file.
67021         * posix/tst-spawn-static.c: Likewise.
67022         * posix/tst-exec.c: Support run directly.
67023         * posix/tst-spawn.c: Likewise.
67025 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
67027         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
67028         long.
67029         * math/bits/mathcalls.h (llrint): Likewise.
67030         (llround): Likewise.
67031         * stdlib/stdlib.h (struct drand48_data): Likewise.
67032         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
67033         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
67034         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
67035         Likewise.
67036         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
67037         Likewise.
67038         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
67039         (elf_greg_t): Likewise.
67040         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
67041         (__jmp_buf): Likewise.
67042         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
67043         definitions.
67044         (llrint): Likewise, for all definitions.
67045         (llrintl): Likewise.
67047         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
67048         Remove [__GNUC__] condition.
67049         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
67050         condition to just [__USE_ISOC99].
67051         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
67053 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
67055         [BZ #14200]
67056         * sysdeps/unix/sysv/linux/x86/bits/environments.h
67057         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
67058         defined.
67059         (_POSIX_V6_ILP32_OFF32): Likewise.
67060         (_XBS5_ILP32_OFF32): Likewise.
67061         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
67062         (__ILP32_OFFBIG_LDFLAGS): Likewise.
67064 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
67066         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
67068         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
67069         doubles __mpexp_twomm1.  Adjust usage.
67070         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
67071         Remove.
67073 2013-01-10  Andreas Schwab  <schwab@suse.de>
67075         [BZ #14964]
67076         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
67077         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
67079 2013-01-09  David S. Miller  <davem@davemloft.net>
67081         [BZ #15003]
67082         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
67083         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
67084         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
67085         (TCP_FASTOPEN): Define.
67086         (tcp_repair_opt): New structure.
67087         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
67088         enum values.
67089         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
67090         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
67091         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
67092         (tcp_cookie_transactions): New structure.
67094 2013-01-09  Anton Blanchard  <anton@samba.org>
67096         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
67097         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
67098         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
67099         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
67101 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
67103         * include/features.h (__USE_ANSI): Remove.
67105 2013-01-09  Roland McGrath  <roland@hack.frob.com>
67107         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
67109         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
67111 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
67113         * sysdeps/s390/fpu/libm-test-ulps: Update.
67115         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
67117         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
67118         (__acr): Likewise.
67119         (__cpy): Likewise.
67120         (norm): Likewise.
67121         (denorm): Likewise.
67122         (__mp_dbl): Likewise.
67123         (__dbl_mp): Likewise.
67124         (add_magnitudes): Likewise.
67125         (sub_magnitudes): Likewise.
67126         (__add): Likewise.
67127         (__sub): Likewise.
67128         (__mul): Likewise.
67129         (__inv): Likewise.
67130         (__dvd): Likewise.
67131         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
67132         (__acr): Likewise.
67133         (__cpy): Likewise.
67134         (norm): Likewise.
67135         (denorm): Likewise.
67136         (__mp_dbl): Likewise.
67137         (__dbl_mp): Likewise.
67138         (add_magnitudes): Likewise.
67139         (sub_magnitudes): Likewise.
67140         (__add): Likewise.
67141         (__sub): Likewise.
67142         (__mul): Likewise.
67143         (__inv): Likewise.
67144         (__dvd): Likewise.
67145         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
67146         (__acr): Likewise.
67147         (__cpy): Likewise.
67148         (norm): Likewise.
67149         (denorm): Likewise.
67150         (__mp_dbl): Likewise.
67151         (__dbl_mp): Likewise.
67152         (add_magnitudes): Likewise.
67153         (sub_magnitudes): Likewise.
67154         (__add): Likewise.
67155         (__sub): Likewise.
67156         (__mul): Likewise.
67157         (__inv): Likewise.
67158         (__dvd): Likewise.
67160 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
67162         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
67163         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
67164         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
67165         2 && __USE_EXTERN_INLINES]: Likewise.
67167 2013-01-08  Andreas Jaeger  <aj@suse.de>
67169         [BZ #14985]
67170         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
67171         Remove.
67172         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
67173         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
67175 2013-01-07  Anton Blanchard  <anton@samba.org>
67177         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
67178         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
67179         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
67180         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
67181         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
67182         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
67183         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
67184         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
67185         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
67186         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
67187         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
67188         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
67189         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
67190         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
67191         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
67192         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
67193         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
67194         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
67195         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
67196         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
67197         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
67198         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
67199         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
67200         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
67201         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
67202         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
67203         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
67204         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
67205         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
67206         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
67207         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
67208         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
67209         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
67210         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
67211         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
67212         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
67213         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
67214         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
67215         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
67216         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
67217         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
67218         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
67219         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
67221 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
67223         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
67224         (__MALLOC_PMT): Likewise.
67225         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
67226         [__GNUC__], only on [_LIBC].
67227         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
67228         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
67229         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
67230         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
67231         forward declaration.
67232         (realloc_hook_ini): Likewise.
67233         (memalign_hook_ini): Likewise.
67234         (__libc_memalign): Do not use __MALLOC_PMT in variable
67235         declaration.
67236         (__libc_valloc): Likewise.
67237         (__libc_pvalloc): Likewise.
67238         (__libc_calloc): Likewise.
67239         (__posix_memalign): Likewise.
67241         [BZ #14996]
67242         * math/s_casinh.c: Include <float.h>.
67243         (__casinh): Do not do computation with squaring and square root
67244         for large arguments.
67245         * math/s_casinhf.c: Include <float.h>.
67246         (__casinhf): Do not do computation with squaring and square root
67247         for large arguments.
67248         * math/s_casinhl.c: Include <float.h>.
67249         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
67250         (__casinhl): Do not do computation with squaring and square root
67251         for large arguments.
67252         * math/libm-test.inc (casin_test): Add more tests.
67253         (casinh_test): Likewise.
67254         * sysdeps/i386/fpu/libm-test-ulps: Update.
67255         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67257 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
67259         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
67260         (__x86_64_raw_data_cache_size): Likewise.
67261         (__x86_64_data_cache_size_half): Likewise.
67262         (__x86_64_raw_data_cache_size_half): Likewise.
67263         (__x86_64_shared_cache_size): Likewise.
67264         (__x86_64_raw_shared_cache_size): Likewise.
67265         (__x86_64_shared_cache_size_half): Likewise.
67266         (__x86_64_raw_shared_cache_size_half): Likewise.
67267         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
67268         to ...
67269         (__x86_data_cache_size): This.
67270         (__x86_64_raw_data_cache_size): Renamed to ...
67271         (__x86_raw_data_cache_size): This.
67272         (__x86_64_data_cache_size_half): Renamed to ...
67273         (__x86_data_cache_size_half): This.
67274         (__x86_64_raw_data_cache_size_half): Renamed to ...
67275         (__x86_raw_data_cache_size_half): This.
67276         (__x86_64_shared_cache_size): Renamed to ...
67277         (__x86_shared_cache_size): This.
67278         (__x86_64_raw_shared_cache_size): Renamed to ...
67279         (__x86_raw_shared_cache_size): This.
67280         (__x86_64_shared_cache_size_half): Renamed to ...
67281         (__x86_shared_cache_size_half): This.
67282         (__x86_64_raw_shared_cache_size_half): Renamed to ...
67283         (__x86_raw_shared_cache_size_half): This.
67284         * sysdeps/x86_64/memcpy.S: Updated.
67285         * sysdeps/x86_64/memset.S: Likewise.
67286         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
67287         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
67288         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
67290 2013-01-04  David S. Miller  <davem@davemloft.net>
67292         * sysdeps/sparc/fpu/libm-test-ulps: Update.
67294 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
67296         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
67297         1 to avoid redefinition warning.
67298         (__USE_GNU): Don't define.
67299         (init_signaling_nan): Protoize.
67301         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
67303 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
67305         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
67306         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
67307         (__cpymn): Likewise.
67308         (norm): Remove commented code.
67309         (denorm): Likewise.
67310         (__mp_dbl): Likewise.
67311         (__inv): Likewise.
67312         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
67313         (__cpymn): Likewise.
67314         (norm): Remove commented code.
67315         (denorm): Likewise.
67316         (__mp_dbl): Likewise.
67317         (__inv): Likewise.
67319         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
67320         mp_no value for 1.0 and 2.0.
67321         (norm): Use RADIXI instead of radixi.d.
67322         (denorm): Likewise.
67323         (__mul): Use 0.0 instead of zero.d.
67324         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
67325         mp_no value for 1.0 and 2.0.
67326         (norm): Use RADIXI instead of radixi.d.
67327         (denorm): Likewise.
67328         (__mul): Use 0.0 instead of zero.d.
67330 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
67332         [BZ #14994]
67333         * math/s_casinh.c (__casinh): Reduce finite argument to first
67334         quadrant then set signs of results at the end.
67335         * math/s_casinhf.c (__casinhf): Likewise.
67336         * math/s_casinhl.c (__casinhl): Likewise.
67337         * math/libm-test.inc (casin_test): Add more tests.
67338         (casinh_test): Likewise.
67339         * sysdeps/i386/fpu/libm-test-ulps: Update.
67340         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67342 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
67344         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
67346         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
67348         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
67349         declarations.
67350         (denorm): Likewise.
67351         (__mp_dbl): Likewise.
67352         (__inv): Likewise.
67354         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
67355         and adjust the header comment.
67357         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
67358         variable name from declaration.
67360 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
67362         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
67363         Initialize COMMON_CPUID_INDEX_7 element.
67364         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
67365         (CPUID_RTM): Likewise.
67366         (HAS_RTM): Likewise.
67367         (COMMON_CPUID_INDEX_7): New enum.
67369 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
67371         [BZ #14981]
67372         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
67373         size is zero, record memory as freed.
67375 2013-01-03  Andreas Jaeger  <aj@suse.de>
67377         * po/ia.po: Add new Interlingua translation.
67379 2012-01-03  Allan McRae  <allan@archlinux.org>
67381         * locale/programs/localedef.c: Fix description of '--posix' flag.
67383 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
67385         * NEWS: Update dates in second copyright notice.
67386         * README: Update copyright dates in example.
67387         * manual/libc.texinfo: Update copyright dates.
67388         * scripts/test-installation.pl: Update copyright date in --version
67389         output.
67391         * hurd/ctty-input.c: Fix copyright notice formatting.
67392         * hurd/ctty-output.c: Likewise.
67393         * hurd/dtable.c: Likewise.
67394         * hurd/hurd-raise.c: Likewise.
67395         * hurd/hurdprio.c: Likewise.
67396         * hurd/msgportdemux.c: Likewise.
67397         * misc/sys/file.h: Likewise.
67398         * misc/sys/ioctl.h: Likewise.
67399         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
67400         * sysdeps/mach/hurd/chdir.c: Likewise.
67401         * sysdeps/mach/hurd/fchdir.c: Likewise.
67402         * sysdeps/mach/hurd/rename.c: Likewise.
67403         * sysdeps/mach/hurd/rmdir.c: Likewise.
67404         * sysdeps/mach/hurd/seekdir.c: Likewise.
67405         * sysdeps/mach/hurd/setsid.c: Likewise.
67406         * sysdeps/posix/wait3.c: Likewise.
67408         * All files with FSF copyright notices: Update copyright dates
67409         using scripts/update-copyrights.
67410         * intl/plural.c: Regenerated.
67411         * locale/programs/charmap-kw.h: Likewise.
67412         * locale/programs/locfile-kw.h: Likewise.
67414 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
67416         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
67417         four values.
67419         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
67420         calculation loop and add branch prediction.
67422         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
67423         check access beyond bounds of m1np.
67425         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
67426         MPTWO.
67427         (__inv): Remove local variable MPTWO to use the global
67428         constant.
67429         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
67430         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
67431         variable MPTWO.
67432         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
67433         MP3HALFS static const.
67435 2013-01-01  David S. Miller  <davem@davemloft.net>
67437         * po/ca.po: Update from translation team.
67439 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
67441         * scripts/update-copyrights: New file.
67442         * Makeconfig: Reformat copyright notice.
67443         * ctype/ctype.h: Likewise.
67444         * debug/swprintf_chk.c: Likewise.
67445         * elf/dl-cache.c: Likewise.
67446         * elf/dl-debug.c: Likewise.
67447         * elf/dl-object.c: Likewise.
67448         * grp/initgroups.c: Likewise.
67449         * hurd/Makefile: Likewise.
67450         * hurd/hurd/signal.h: Likewise.
67451         * hurd/hurdfault.c: Likewise.
67452         * hurd/hurdioctl.c: Likewise.
67453         * hurd/hurdlookup.c: Likewise.
67454         * hurd/intr-msg.c: Likewise.
67455         * iconv/gconv_open.c: Likewise.
67456         * libio/swprintf.c: Likewise.
67457         * locale/lc-ctype.c: Likewise.
67458         * locale/nl_langinfo.c: Likewise.
67459         * mach/Machrules: Likewise.
67460         * mach/Makefile: Likewise.
67461         * malloc/obstack.h: Likewise.
67462         * manual/Makefile: Likewise.
67463         * manual/tsort.awk: Likewise.
67464         * misc/bits/stab.def: Likewise.
67465         * nis/nis_print_group_entry.c: Likewise.
67466         * nis/nis_table.c: Likewise.
67467         * nis/nss_compat/compat-pwd.c: Likewise.
67468         * nis/nss_compat/compat-spwd.c: Likewise.
67469         * po/Makefile: Likewise.
67470         * posix/fnmatch.c: Likewise.
67471         * posix/regex.h: Likewise.
67472         * resolv/Makefile: Likewise.
67473         * resolv/nss_dns/dns-network.c: Likewise.
67474         * resolv/res_hconf.c: Likewise.
67475         * scripts/gen-sorted.awk: Likewise.
67476         * soft-fp/soft-fp.h: Likewise.
67477         * stdio-common/printf.h: Likewise.
67478         * stdlib/monetary.h: Likewise.
67479         * stdlib/random.c: Likewise.
67480         * stdlib/random_r.c: Likewise.
67481         * sysdeps/generic/Makefile: Likewise.
67482         * sysdeps/gnu/Makefile: Likewise.
67483         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
67484         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
67485         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
67486         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
67487         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
67488         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
67489         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
67490         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
67491         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
67492         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
67493         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
67494         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
67495         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
67496         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
67497         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
67498         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
67499         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
67500         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
67501         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
67502         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
67503         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
67504         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
67505         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
67506         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
67507         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
67508         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
67509         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
67510         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
67511         * sysdeps/mach/hurd/errnos.awk: Likewise.
67512         * sysdeps/mach/hurd/fork.c: Likewise.
67513         * sysdeps/mach/hurd/getcwd.c: Likewise.
67514         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
67515         * sysdeps/mach/hurd/mmap.c: Likewise.
67516         * sysdeps/mach/hurd/utimes.c: Likewise.
67517         * sysdeps/mach/hurd/xmknod.c: Likewise.
67518         * sysdeps/posix/profil.c: Likewise.
67519         * sysdeps/posix/readdir_r.c: Likewise.
67520         * sysdeps/powerpc/bits/mathdef.h: Likewise.
67521         * sysdeps/powerpc/bits/setjmp.h: Likewise.
67522         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
67523         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
67524         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
67525         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
67526         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
67527         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
67528         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
67529         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
67530         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
67531         * sysdeps/pthread/lio_listio.c: Likewise.
67532         * sysdeps/sparc/dl-procinfo.h: Likewise.
67533         * sysdeps/unix/i386/sysdep.S: Likewise.
67534         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
67535         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
67536         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
67537         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
67538         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
67539         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
67540         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
67541         * sysdeps/unix/sysv/linux/speed.c: Likewise.
67542         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
67543         * sysdeps/wordsize-32/divdi3.c: Likewise.
67544         * time/sys/time.h: Likewise.
67545         * wcsmbs/Makefile: Likewise.
67547 2013-01-01  David S. Miller  <davem@davemloft.net>
67549         * po/fr.po: Update from translation team.
67551         * catgets/gencat.c: Update copyright year.
67552         * csu/version.c: Likewise.
67553         * debug/catchsegv.sh: Likewise.
67554         * debug/pcprofiledump.c: Likewise.
67555         * debug/xtrace.sh: Likewise.
67556         * elf/ldconfig.c: Likewise.
67557         * elf/ldd.bash.in: Likewise.
67558         * elf/pldd.c: Likewise.
67559         * elf/sotruss.ksh: Likewise.
67560         * elf/sprof.c: Likewise.
67561         * iconv/iconv_prog.c: Likewise.
67562         * iconv/iconvconfig.c: Likewise.
67563         * locale/programs/locale.c: Likewise.
67564         * locale/programs/localedef.c: Likewise.
67565         * login/programs/pt_chown.c: Likewise.
67566         * malloc/memusage.sh: Likewise.
67567         * malloc/memusagestat.c: Likewise.
67568         * malloc/mtrace.pl: Likewise.
67569         * nscd/nscd.c: Likewise.
67570         * nss/getent.c: Likewise.
67571         * nss/makedb.c: Likewise.
67572         * posix/getconf.c: Likewise.
67574 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
67576         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
67577         numbers.
67579 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
67581         * math/bits/mathcalls.h (modf): Use __nonnull.
67583 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
67585         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
67586         (split): Use macro CN instead of the bare value.
67587         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
67588         could be used.
67589         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
67590         instead of the bare value.
67591         (power1): Likewise.
67593 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
67595         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
67596         __ATAN_TWOM.
67597         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
67599         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
67600         their values.
67601         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
67602         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
67603         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
67604         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
67606 2012-12-28  Andreas Jaeger  <aj@suse.de>
67608         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
67609         values are from Linux 3.7.
67611         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
67612         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
67614 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
67616         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
67617         TRUE case.
67619         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
67620         (norm): Likewise.
67621         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
67622         variables with preprocessor constants.
67623         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
67624         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
67625         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
67627 2012-12-27  Bruno Haible  <bruno@clisp.org>
67629         [BZ #14317]
67630         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
67631         only if needed.
67633 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
67635         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
67636         and use variable directly.
67637         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
67639         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
67640         MPONE.
67641         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
67642         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
67643         variable MPONE.
67644         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
67645         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
67646         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
67647         include directive.  Remove local variable MPONE.
67648         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
67649         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
67650         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
67652 2012-12-25  David S. Miller  <davem@davemloft.net>
67654         * version.h (RELEASE): Set to "development".
67655         (VERSION): Set to "2.17.90".
67656         * NEWS: Add 2.18 section.
67658 2012-12-21  David S. Miller  <davem@davemloft.net>
67660         * po/hr.po: Update from translation team.
67662 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
67664         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
67666 2012-12-19  Steve Ellcey  <sellcey@mips.com>
67668         * NEWS:  Mention new memcpy for MIPS.
67670 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
67672         * manual/contrib.texi (Contributors): Spelling correction.
67674 2012-12-15  David S. Miller  <davem@davemloft.net>
67676         * po/ru.po: Update from translation team.
67678 2012-12-13  David S. Miller  <davem@davemloft.net>
67680         * NEWS: Mention IFUNC testsuite enhancements.
67682         * po/pl.po: Update from translation team.
67683         * po/bg.po: Likewise.
67685         * manual/contrib.texi (Contributors): Update entries for Hongjiu
67686         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
67688 2012-12-11  David S. Miller  <davem@davemloft.net>
67690         * po/sv.po: Update from translation team.
67692         * po/vi.po: Update from translation team.
67694         * po/cs.po: Update from translation team.
67696         * po/de.po: Update from translation team.
67697         * po/eo.po: Likewise.
67698         * po/nl.po: Likewise.
67700 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
67702         [BZ #14246]
67703         * manual/argp.texi (Argp Helper Functions): Move node to follow
67704         Argp Parsing State.
67706         [BZ #14872]
67707         * manual/conf.texi (Limits on File System Capacity): Mention if
67708         terminating null is included in the max size.
67710 2012-12-10  Andreas Jaeger  <aj@suse.de>
67712         * po/cs.po: Update from translation team.
67714 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
67716         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
67717         void pointer and cast to uintptr_t.
67718         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
67719         path.
67720         * sysdeps/s390/s390-64/memcpy.S: Likewise.
67721         * sysdeps/s390/s390-64/memset.S: Likewise.
67723 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
67725         [BZ #14833]
67726         * menual/message.texi (Message Translation): Fix typos.
67727         (Helper programs for gettext): Likewise.
67729 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
67731         [BZ #14898]
67732         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
67733         Change to -1.
67735 2012-12-07  David S. Miller  <davem@davemloft.net>
67737         * po/libc.pot: Update.
67739 2012-12-07  Richard Henderson  <rth@redhat.com>
67741         [BZ #10114]
67742         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
67743         normal/normal case to before the switch.
67744         (_FP_DIV): Likewise.
67746 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
67747             Mike Frysinger  <vapier@gentoo.org>
67749         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
67750         check for __NR_fadvise64_64.
67752 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
67754         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
67755         0, not just to plain "0" as a statement.
67756         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
67757         with cw.
67759 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
67761         * NEWS: Use sourceware.org in Bugzilla URL.
67763 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
67765         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
67766         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
67768         * stdio-common/tst-put-error.c (do_test): Add newline to the
67769         padded test to ensure flush.
67771 2012-12-05  Jeff Law  <law@redhat.com>
67773         * sunrpc/etc.rpc (fedfs_admin): Add entry.
67775 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
67777         * README: Don't refer to ports add-on as distributed separately.
67778         Mention AArch64 in list of systems supported in the ports add-on.
67780         * LICENSES: Add more non-FSF copyright and license notices.
67782         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
67783         ((unused)).
67785         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
67787         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
67788         10000 as width of padded output.
67790 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
67792         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
67794         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
67795         variable LX with __attribute__ ((unused)).
67796         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
67797         Likewise.
67798         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
67799         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
67800         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
67801         with __attribute__ ((unused)).
67803 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
67805         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
67807 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
67809         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
67810         (CFLAGS-nldbl-acos.c): New variable.
67811         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
67812         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
67813         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
67814         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
67815         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
67816         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
67817         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
67818         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
67819         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
67820         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
67821         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
67822         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
67823         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
67824         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
67825         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
67826         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
67827         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
67828         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
67829         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
67830         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
67831         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
67832         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
67833         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
67834         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
67835         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
67836         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
67837         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
67838         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
67839         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
67840         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
67841         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
67842         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
67843         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
67844         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
67845         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
67846         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
67847         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
67848         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
67849         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
67850         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
67851         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
67852         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
67853         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
67854         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
67855         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
67856         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
67857         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
67858         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
67859         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
67860         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
67861         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
67862         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
67863         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
67864         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
67865         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
67866         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
67867         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
67868         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
67869         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
67870         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
67871         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
67872         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
67873         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
67874         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
67875         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
67876         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
67877         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
67878         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
67879         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
67880         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
67881         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
67882         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
67883         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
67884         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
67885         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
67886         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
67887         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
67888         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
67889         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
67890         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
67891         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
67892         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
67893         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
67894         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
67895         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
67896         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
67897         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
67898         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
67899         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
67900         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
67901         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
67902         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
67903         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
67904         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
67905         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
67906         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
67907         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
67909         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
67910         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
67912         [BZ #14914]
67913         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
67914         whole low double instead of just low 47 bits when splitting values
67915         into two parts.
67917 2012-12-03  Allan McRae  <allan@archlinux.org>
67919         * manual/stdio.texi (Predefined Printf Handlers): Remove
67920         @hsep and @vsep usage.
67922 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
67924         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
67925         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
67927 2012-12-03  Jeff Law  <law@redhat.com>
67929         * time/sys/time.h (settimeofday): Do not mark TV argument
67930         as __nonnull.
67932 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
67934         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
67935         when currently writing and seek to current position when not.
67936         * libio/Makefile (tests): Remove bug-fclose1.
67937         * libio/bug-fclose1.c: Delete.
67939 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
67941         * manual/arith.texi (feenableexcept): Fix typo.
67942         (fedisableexcept): Likewise.
67944 2012-11-30  Roland McGrath  <roland@hack.frob.com>
67946         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
67947         second, differently-typed declaration, rather than a cast.
67949 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
67951         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
67952         * include/rpc/svc.h: ... here.
67954 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
67956         [BZ #13013]
67957         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
67958         depending n and resplen2 to catch cases where answer
67959         equals answerp2.
67961 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
67963         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
67964         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
67966 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
67968         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
67970 2012-11-29  Roland McGrath  <roland@hack.frob.com>
67972         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
67974 2012-11-28  Jeff Law  <law@redhat.com>
67976         [BZ #13761]
67977         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
67978         dataset_temporary.  Track alloca usage into alloca_used.
67979         If dataset is large allocate and release it via malloc/free.
67981 2012-06-04  Florian Weimer  <fweimer@redhat.com>
67983         [BZ #14197]
67984         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
67986 2012-11-28  David S. Miller  <davem@davemloft.net>
67988         * sysdeps/sparc/fpu/libm-test-ulps: Update.
67990 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
67992         [BZ #14803]
67993         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
67994         of pi/2 rounded to nearest to 64 bits.
67995         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
67996         nearest to 64 bits.
67997         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
67998         bits.
68000 2012-11-28  Jeff Law <law@redhat.com>
68001             Martin Osvald <mosvald@redhat.com>
68003         [BZ #14889]
68004         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
68005         * sunrpc/svc.c: Include time.h.
68006         (__svc_accept_failed): New function.
68007         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
68008         any reason other than EINTR, call __svc_accept_failed.
68009         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
68010         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
68012 2012-11-28  Andreas Schwab  <schwab@suse.de>
68014         * scripts/abilist.awk: Also handle indirect functions in .opd
68015         section.
68017 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
68019         [BZ #13881]
68020         * sysdeps/x86/fpu/powl_helper.c: New file.
68021         * sysdeps/x86/fpu/Makefile: Likewise.
68022         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
68023         (p3): New object.
68024         (__ieee754_powl): Use __powl_helper for finite arguments except
68025         integer exponents below 8.
68026         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
68027         (p3): New object.
68028         (__ieee754_powl): Use __powl_helper for finite arguments except
68029         integer exponents below 8.
68030         * math/libm-test.inc (pow_test): Add more tests and enable some
68031         previously disabled tests.
68032         * sysdeps/i386/fpu/libm-test-ulps: Update.
68033         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68035 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
68036             Carlos O'Donell  <carlos_odonell@mentor.com>
68038         * nss/makedb.c (is_prime): Assert that input is odd and greater
68039         than 4.  Note that fact in a comment too.
68040         (next_prime): Add 4 to input.
68042 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
68044         [BZ #11741]
68045         * libio/Makefile (tests): Add test case tst-fwrite-error.
68046         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
68047         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
68048         * libio/tst-fwrite-error.c: New test case.
68050 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
68052         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
68053         before casting to void *.
68054         * include/libc-internal.h (__pointer_type): New macro.
68055         (__integer_if_pointer_type_sub): Likewise.
68056         (__integer_if_pointer_type): Likewise.
68057         (cast_to_integer): Likewise.
68058         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
68059         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
68060         before casting to atomic64_t.
68061         (atomic_exchange_acq): Likewise.
68062         (__arch_exchange_and_add_body): Likewise.
68063         (__arch_add_body): Likewise.
68064         (atomic_add_negative): Likewise.
68065         (atomic_add_zero): Likewise.
68067 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
68069         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
68070         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
68071         (add_fdes): Likewise.
68072         (linear_search_fdes): Likewise.
68073         (binary_search_unencoded_fdes): Likewise.
68075 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
68077         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
68079 2012-11-24  Adam Conrad  <adconrad@0c3.net>
68081         * configure.in: Autodetect C++ header directories.
68082         * configure: Regenerated.
68084 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
68086         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
68088 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
68090         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
68092 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
68094         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
68095         LDBL_MANT_DIG == 106]: Disable some tests.
68096         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
68097         Likewise.
68098         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
68099         Likewise.
68101         [BZ #14871]
68102         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
68103         input for small inputs.  Return +/- pi/2 for large inputs.
68104         * math/libm-test.inc (atan_test): Add more tests.
68106         * sysdeps/generic/unwind-dw2-fde-glibc.c
68107         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
68108         __attribute__ ((unused)).
68110         [BZ #14645]
68111         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
68112         x * y if x and y are nonzero and z is zero.
68114         [BZ #14811]
68115         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
68116         nonzero exponents with absolute value below 0x1p-117 to +/-
68117         0x1p-117.
68119         [BZ #14869]
68120         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
68121         up arguments below 2**-450, not just those below 2**-500.
68122         * math/libm-test.inc (hypot_test): Add another test.
68124         [BZ #14868]
68125         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
68126         Return a+b for ratio over 2**120, not 2**60.
68127         * math/libm-test.inc (hypot_test): Add another test.
68129         * math/libm-test.inc (clog_test): Use
68130         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
68131         (clog10_test): Likewise.
68133         [BZ #6778]
68134         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
68136 2012-11-22  Andreas Schwab  <schwab@suse.de>
68138         * sysdeps/i386/fpu/libm-test-ulps: Update.
68140 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
68142         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
68143         printf output with newline.
68145 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
68147         [BZ #14865]
68148         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
68149         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
68150         -z nodlopen, -z initfirst and -z execstack support.
68151         * configure: Regenerated.
68153         * elf/elf.h (DF_1_NODIRECT): New macro.
68154         (DF_1_IGNMULDEF): Likewise.
68155         (DF_1_NOKSYMS): Likewise.
68156         (DF_1_NOHDR): Likewise.
68157         (DF_1_EDITED): Likewise.
68158         (DF_1_NORELOC): Likewise.
68159         (DF_1_SYMINTPOSE): Likewise.
68160         (DF_1_GLOBAUDIT): Likewise.
68161         (DF_1_SINGLETON): Likewise.
68162         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
68163         DT_1_SUPPORTED_MASK bits.
68164         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
68166 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
68168         * sysdeps/unix/make-syscalls.sh: Document prefixes.
68170 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
68172         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
68173         macro.
68175         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
68176         (sendmmsg): Move declarations...
68177         * socket/sys/socket.h: ... here.
68178         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
68179         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
68180         include it from...
68181         * socket/recvmmsg.c: ... this new file.
68182         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
68183         (sendmmsg): Rename to __sendmmsg, create weak alias and make
68184         definition of __sendmmsg hidden.
68185         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
68186         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
68187         Move ENOSYS stub into and include it from...
68188         * socket/sendmmsg.c: ... this new file.
68189         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
68190         (sysdep_routines): Move recvmmsg and sendmmsg...
68191         * socket/Makefile (routines): ... here.
68192         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
68193         (GLIBC_PRIVATE): Add __sendmmsg.
68194         * include/sys/socket.h (__sendmmsg): Add declarations.
68195         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
68196         sendmmsg.
68198 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
68200         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
68201         variable I1 with __attribute__ ((unused)).
68202         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
68204 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
68206         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
68207         DUMMY variables with __attribute__ ((unused)).
68209         * bits/byteswap.h: Include <bits/types.h>.
68210         (__bswap_64): Use __uint64_t instead of unsigned long long int.
68212 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
68214         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
68215         string_t.  Do not manually set errno.
68216         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
68217         length with __strnlen.  Make sure to both set errno and return it on
68218         failure.
68220 2012-11-19  David S. Miller  <davem@davemloft.net>
68222         With help from Joseph Myers.
68223         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
68224         very large arguments properly.
68225         * math/libm-test.inc (atan_test): New tests.
68226         (atan2_test): New tests.
68227         * sysdeps/sparc/fpu/libm-test-ulps: Update.
68228         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
68230 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
68232         [BZ #14856]
68233         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
68234         Define to 3.
68236         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
68237         [POSIX] (EADDRNOTAVAIL): Likewise.
68238         [POSIX] (EAFNOSUPPORT): Likewise.
68239         [POSIX] (EALREADY): Likewise.
68240         [POSIX] (ECONNABORTED): Likewise.
68241         [POSIX] (ECONNREFUSED): Likewise.
68242         [POSIX] (ECONNRESET): Likewise.
68243         [POSIX] (EDESTADDRREQ): Likewise.
68244         [POSIX] (EDQUOT): Likewise.
68245         [POSIX] (EHOSTUNREACH): Likewise.
68246         [POSIX] (EIDRM): Likewise.
68247         [POSIX] (EISCONN): Likewise.
68248         [POSIX] (ELOOP): Likewise.
68249         [POSIX] (EMULTIHOP): Likewise.
68250         [POSIX] (ENETDOWN): Likewise.
68251         [POSIX] (ENETUNREACH): Likewise.
68252         [POSIX] (ENOBUFS): Likewise.
68253         [POSIX] (ENODATA): Likewise.
68254         [POSIX] (ENOLINK): Likewise.
68255         [POSIX] (ENOMSG): Likewise.
68256         [POSIX] (ENOPROTOOPT): Likewise.
68257         [POSIX] (ENOSR): Likewise.
68258         [POSIX] (ENOSTR): Likewise.
68259         [POSIX] (ENOTCONN): Likewise.
68260         [POSIX] (ENOTSOCK): Likewise.
68261         [POSIX] (EOPNOTSUPP): Likewise.
68262         [POSIX] (EOVERFLOW): Likewise.
68263         [POSIX] (EPROTO): Likewise.
68264         [POSIX] (EPROTONOSUPPORT): Likewise.
68265         [POSIX] (EPROTOTYPE): Likewise.
68266         [POSIX] (ESTALE): Likewise.
68267         [POSIX] (ETIME): Likewise.
68268         [POSIX] (ETXTBSY): Likewise.
68269         [POSIX] (EWOULDBLOCK): Likewise.
68270         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
68271         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
68272         [POSIX] (SEEK_CUR): Likewise.
68273         [POSIX] (SEEK_END): Likewise.
68274         [POSIX || UNIX98] (mode_t): Do not require.
68275         [POSIX] (off_t): Likewise.
68276         [POSIX] (pid_t): Likewise.
68277         [POSIX] (sys/stat.h): Do not allow header.
68278         [POSIX] (unistd.h): Likewise.
68279         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
68280         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
68281         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
68282         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
68283         require.
68284         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
68285         sigevent): Specify elements.
68286         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
68287         entry.
68288         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
68289         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
68291         * conform/data/cpio.h-data [POSIX]: Disable whole file.
68292         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
68293         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
68294         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
68295         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
68296         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
68297         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
68298         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
68299         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
68300         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
68301         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
68302         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
68303         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
68304         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
68305         Likewise.
68306         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
68307         Likewise.
68308         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
68309         Likewise.
68310         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
68311         Likewise.
68312         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
68313         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
68314         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
68315         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
68316         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
68317         Specify lower bound on value.
68318         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
68319         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
68320         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
68321         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
68322         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
68323         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise.
68324         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
68325         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
68326         value.
68327         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
68328         as optional.
68329         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
68330         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
68331         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
68332         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
68333         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
68334         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
68335         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
68336         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
68337         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
68338         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
68339         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
68340         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
68341         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
68342         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
68343         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
68344         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
68345         entry.
68346         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
68347         optional.
68348         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
68349         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
68350         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
68351         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
68352         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
68353         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
68354         Likewise.
68355         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
68356         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
68357         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
68358         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
68359         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
68360         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
68361         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
68362         as optional.
68363         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
68364         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
68365         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
68366         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
68367         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
68368         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
68369         specify as optional.
68370         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
68371         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
68372         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
68373         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
68374         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
68375         [XPG3] (NL_LANGMAX): Likewise.
68376         [POSIX || XPG3] (NL_MSGMAX): Likewise.
68377         [POSIX || XPG3] (NL_NMAX): Likewise.
68378         [POSIX || XPG3] (NL_SETMAX): Likewise.
68379         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
68380         [XPG3] (NZERO): Likewise.
68381         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
68382         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
68383         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
68384         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
68385         (REG_ERANGE): Expect.
68386         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
68387         optional-constant.
68388         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
68389         Use (void) in prototype.
68390         [POSIX] (*_t): Allow.
68391         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
68392         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
68393         (WRDE_BADVAL): Expect.
68395         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
68396         expect.
68397         [XPG3 || XPG4] (O_RSYNC): Likewise.
68398         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
68399         Likewise.
68400         [XPG3 || XPG4] (pthread_sigmask): Likewise.
68401         [XPG3 || XPG4] (sigqueue): Likewise.
68402         [XPG3 || XPG4] (sigtimedwait): Likewise.
68403         [XPG3 || XPG4] (sigwaitinfo): Likewise.
68404         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
68405         [XPG3 || XPG4] (vsnprintf): Likewise.
68406         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
68407         Likewise.
68408         [XPG3 || XPG4] (blksize_t): Likewise.
68409         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
68410         Likewise.
68411         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
68412         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
68413         [XPG3 || XPG4] (struct itimerspec): Likewise.
68414         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
68415         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
68416         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
68417         [XPG3 || XPG4] (clockid_t): Likewise.
68418         [XPG3 || XPG4] (timer_t): Likewise.
68419         [XPG3 || XPG4] (clock_getres): Likewise.
68420         [XPG3 || XPG4] (clock_gettime): Likewise.
68421         [XPG3 || XPG4] (clock_settime): Likewise.
68422         [XPG3 || XPG4] (nanosleep): Likewise.
68423         [XPG3 || XPG4] (timer_create): Likewise.
68424         [XPG3 || XPG4] (timer_delete): Likewise.
68425         [XPG3 || XPG4] (timer_gettime): Likewise.
68426         [XPG3 || XPG4] (timer_getoverrun): Likewise.
68427         [XPG3 || XPG4] (timer_settime): Likewise.
68428         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
68429         [XPG3 || XPG4] (getlogin_r): Likewise.
68430         [XPG3 || XPG4] (pread): Likewise.
68431         [XPG3 || XPG4] (pthread_atfork): Likewise.
68432         [XPG3 || XPG4] (pwrite): Likewise.
68434         [BZ #14835]
68435         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
68436         <bits/siginfo.h>.
68438 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
68440         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
68441         finalizing MALLSTREAM.
68443         * sysdeps/mach/hurd/syncfs.c: New file.
68445 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
68447         [BZ #14719]
68448         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
68449         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
68450         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
68451         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
68452         (_nss_dns_gethostbyname4_r): Likewise.
68453         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
68454         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
68456 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
68458         [BZ #13763]
68459         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
68461 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
68463         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
68464         * elf/cache.c (print_entry): Print ",AArch64" for
68465         FLAG_AARCH64_LIB64
68467         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
68468         * elf/cache.c (print_entry): Print ",hard-float" for
68469         FLAG_ARM_LIBHF.
68471 2012-11-18  David S. Miller  <davem@davemloft.net>
68473         With help from Joseph Myers.
68474         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
68475         cutoff to 2**-13.
68476         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
68477         cutoff to 2**-25.
68478         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
68479         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
68480         small.
68481         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
68482         * math/libm-test.inc (y0_test): New tests.
68483         (y1_test): New tests.
68484         * sysdeps/i386/fpu/libm-test-ulps: Update.
68485         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
68486         * sysdeps/sparc/fpu/libm-test-ulps: Update.
68488 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
68490         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
68491         64-bit targets.
68492         * configure: Regenerated.
68494 2012-11-17  David S. Miller  <davem@davemloft.net>
68496         [BZ #14811]
68497         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
68498         nonzero exponents with absolute value below 0x1p-128 to +/-
68499         0x1p-128.
68501 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
68503         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
68505         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
68507         * posix/getconf-speclist.c: New file.
68508         * posix/posix-envs.def: Likewise.
68509         * posix/confstr.c (START_ENV_GROUP): New macro.
68510         (END_ENV_GROUP): Likewise.
68511         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
68512         (KNOWN_PRESENT_ENV_STRING): Likewise.
68513         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
68514         (UNKNOWN_ENVIRONMENT): Likewise.
68515         (confstr): Include posix-envs.def instead of handling
68516         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
68517         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
68518         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
68519         (END_ENV_GROUP): Likewise.
68520         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
68521         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
68522         (UNKNOWN_ENVIRONMENT): Likewise.
68523         (__sysconf): Include posix-envs.def instead of handling associated
68524         cases directly here.
68525         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
68526         preprocessing getconf-speclist.c rather than running getconf or
68527         generating empty file.
68529 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
68531         * scripts/check-local-headers.sh: Ignore 'mach' headers.
68533 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
68535         [BZ #14672]
68536         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
68538 2012-11-16  David S. Miller  <davem@davemloft.net>
68540         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
68541         smaller than LDBL_EPSILON/2.0L, just return xm1.
68543 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
68545         * elf/tst-array1.c (init): Set constructor priority to 1000.
68546         (fini): Set destructor priority to 1000.
68547         * elf/tst-array2dep.c: Likewise.
68549 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
68551         [BZ #11741]
68552         * libio/fileops.c (_IO_new_file_write): Correctly return error.
68553         (_IO_new_file_xsputn): Also return EOF if none of the input
68554         data was written when overflow failed.
68555         * libio/iopadn.c (_IO_padn): Likewise.
68556         * libio/iowpadn.c (_IO_wpadn): Likewise.
68557         * stdio-common/tst-put-error.c: Add copyright notice.
68558         (do_test): Add case for printing padded string.
68559         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
68560         _IO_padn returned error.
68561         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
68562         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
68563         return EOF.
68565 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
68567         * libio/libioP.h: Add comment note that the references to C++
68568         bits are now obsolete.
68570 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
68572         * math/libm-test.inc (check_complex): Use asprintf.
68574 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
68576         * debug/pcprofiledump.c (print_version): Update copyright year.
68577         * malloc/memusagestat.c (print_version): Likewise.
68579 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
68581         [BZ #14831]
68582         * elf/Makefile (tests): Add tst-audit8.
68583         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
68584         ($(objpfx)tst-audit8.out): New target.
68585         (tst-audit8-ENV): New variable.
68586         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
68587         audit if l_reloc_result is NULL.
68588         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
68589         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
68590         * elf/tst-audit8.c: New file.
68592 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
68594         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
68595         * misc/Makefile (CFLAGS-select.c): Define.
68596         * posix/Makefile (CFLAGS-pause.c): Define.
68598 2012-11-13  David S. Miller  <davem@davemloft.net>
68600         * crypt/Makefile: Move test targets after toplevel Rules
68601         inclusion.  Grab any necessary sysdep routines when linking.
68602         * crypt/md5.c (md5_process_block): Remove define, we will always
68603         name it __md5_process_block.
68604         (md5_finish_ctx): Update md5_process_block call.
68605         (md5_stream): Likewise.
68606         (md5_process_bytes): Likewise.
68607         (md5_process_block): Rename to __md5_process_block and move to ...
68608         * crypt/md5-block.c: ... here.
68609         * crypt/sha256.c (sha256_process_block): Move to ...
68610         * crypt/sha256-block.c: ... here.
68611         * crypt/sha512.c (sha512_process_block): Move to ...
68612         * crypt/sha512-block.c: ... here.
68613         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
68614         path.
68615         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
68616         * sysdeps/sparc/sparc64/multiarch/Makefile
68617         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
68618         crypt subdir.
68619         (localedef-aux): Add md5 crypto assembler when in locale subdir.
68620         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
68621         multiarch changes.
68622         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
68623         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
68624         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
68625         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
68626         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
68627         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
68628         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
68629         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
68630         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
68631         file.
68632         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
68633         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
68634         file.
68635         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
68637 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
68639         * timezone/tzselect.ksh: Update from tzcode git revision
68640         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
68641         * timezone/zdump.c: Likewise.
68642         * timezone/zic.c: Likewise.
68643         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
68644         in TZVERSION setting, not $(PKGVERSION).
68645         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
68646         REPORT_BUGS_TO settings.
68648         [BZ #14838]
68649         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
68650         macro.
68652 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
68654         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
68655         detection to immediately after _FP_ROUND().
68656         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
68657         bits are 0.
68659 2012-11-11  David S. Miller  <davem@davemloft.net>
68661         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
68662         inttypes.h
68663         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
68664         __close rather than their public counterparts.
68666 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
68668         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
68669         file.
68670         [UNIX98] (sem_timedwait): Do not expect.
68671         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
68672         [XPG4 || UNIX98] (sockatmark): Do not expect.
68673         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
68674         (clock_getcpuclockid): Do not expect.
68675         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
68676         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
68677         Do not expect.
68678         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
68679         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
68680         [UNIX98] (vwscanf): Likewise.
68681         [UNIX98] (vswscanf): Likewise.
68683 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
68685         * timezone/version.h: Remove file.
68686         * timezone/README: Do not refer to version.h.
68687         * timezone/Makefile ($(objpfx)zic.o): New dependency on
68688         $(objpfx)version.h.
68689         ($(objpfx)zdump.o): Likewise.
68690         ($(objpfx)version.h): New target.
68692         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
68693         2012i.
68694         * timezone/README: Don't mention modification to tzselect.ksh.
68695         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
68696         work on unmodified tzselect.ksh.  Substitute version numbers in
68697         tzselect.ksh.
68699         * Makefile (format-me): Remove.
68700         (INSTALL): Adjust indentation.  Use commands directly instead of
68701         using $(format-me).
68703         * aclocal.m4 (ACX_PKGVERSION): New macro.
68704         (ACX_BUGURL): Likewise.
68705         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
68706         (PKGVERSION): New AC_DEFINE_UNQUOTED.
68707         (REPORT_BUGS_TO): Likewise.
68708         * configure: Regenerated.
68709         * config.h.in (PKGVERSION): New macro.
68710         (REPORT_BUGS_TO): Likewise.
68711         * config.make.in (PKGVERSION): New variable.
68712         (PKGVERSION_TEXI): Likewise.
68713         (REPORT_BUGS_TO): Likewise.
68714         (REPORT_BUGS_TEXI): Likewise.
68715         * Makefile (format-me): Use -I$(common-objpfx)manual.
68716         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
68717         ($(common-objpfx)manual/%): New target.
68718         (manual/%): Remove target.
68719         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
68720         (print_version): Use PKGVERSION.
68721         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
68722         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
68723         and REPORT_BUGS_TO.
68724         ($(objpfx)xtrace): Likewise.
68725         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
68726         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
68727         (print_version): Use PKGVERSION.
68728         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
68729         (do_version): Use PKGVERSION.
68730         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
68731         REPORT_BUGS_TO.
68732         (common-ldd-rewrite): Likewise.
68733         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
68734         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
68735         (print_version): Use PKGVERSION.
68736         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
68737         * elf/pldd.c (argp_program_bug_address): Remove variable.
68738         (more_help): New function.
68739         (argp): Use more_help.
68740         (print_version): Use PKGVERSION.
68741         * elf/sln.c (main): Use PKGVERSION.
68742         (usage): Use REPORT_BUGS_TO.
68743         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
68744         (top level): Use PKGVERSION.
68745         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
68746         (print_version): Use PKGVERSION.
68747         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
68748         (print_version): Use PKGVERSION.
68749         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
68750         (print_version): Use PKGVERSION.
68751         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
68752         (print_version): Use PKGVERSION.
68753         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
68754         (print_version): Use PKGVERSION.
68755         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
68756         (print_version): Use PKGVERSION.
68757         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
68758         and BUGURL.
68759         ($(objpfx)memusage): Likewise.
68760         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
68761         (do_version): Use PKGVERSION.
68762         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
68763         (print_version): Use PKGVERSION.
68764         * malloc/mtrace.pl ($PACKAGE): Remove variable.
68765         ($PKGVERSION): New variable.
68766         ($REPORT_BUGS_TO): Likewise.
68767         (usage): Use $REPORT_BUGS_TO.
68768         (top level): Use $PKGVERSION.
68769         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
68770         ($(objpfx)pkgvers.texi): New rule.
68771         ($(objpfx)stamp-pkgvers): Likewise.
68772         * manual/install.texi: Include pkgvers.texi.
68773         (--with-pkgversion): Document new configure option.
68774         (--with-bugurl): Likewise.
68775         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
68776         than necessarily for this particular distribution.  Use
68777         REPORT_BUGS_TO for where to report bugs.
68778         * INSTALL: Regenerated.
68779         * manual/libc.texinfo: Include pkgvers.texi.
68780         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
68781         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
68782         (print_version): Use PKGVERSION.
68783         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
68784         (print_version): Use PKGVERSION.
68785         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
68786         (print_version): Use PKGVERSION.
68787         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
68788         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
68789         macro.
68790         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
68791         (print_version): Use PKGVERSION.
68792         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
68793         (print_version): Use PKGVERSION.
68794         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
68795         and PKGVERSION.
68797         * timezone/checktab.awk: Update from tzcode 2012i.
68798         * timezone/ialloc.c: Likewise.
68799         * timezone/private.h: Likewise.
68800         * timezone/scheck.c: Likewise.
68801         * timezone/tzfile.h: Likewise.
68802         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
68803         (TZVERSION): Hardcode tzcode version number.
68804         * timezone/zdump.c: Update from tzcode 2012i.
68805         * timezone/zic.c: Likewise.
68806         * timezone/version.h: New file.
68807         * timezone/README: Describe version.h.  Update upstream location.
68809         [BZ #14824]
68810         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
68811         (mktemp): Enable declaration.
68812         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
68813         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
68814         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
68815         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
68816         Likewise.
68817         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
68818         Likewise.
68819         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
68820         Likewise.
68821         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
68822         Likewise.
68823         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
68824         Likewise.
68825         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
68826         Likewise.
68828         [BZ #14821]
68829         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
68830         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
68831         for copies of such integer values.
68832         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
68833         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
68835 2012-11-09  Andreas Jaeger  <aj@suse.de>
68837         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
68838         definitions and declarations that are provided by
68839         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
68841 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
68843         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
68844         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
68845         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
68846         definition.
68848 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
68850         * elf/elf.h: Update comment before AArch64 relocations.
68852 2012-11-07  David S. Miller  <davem@davemloft.net>
68854         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
68855         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
68856         (__start_context): Declare.
68857         (__makecontext_ret): Delete.
68858         (__makecontext): Hook up __start_context instead of
68859         __makecontext_ret.
68860         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
68861         (sysdep_routines): Add __start_context when in stdlib.
68863 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
68865         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
68866         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
68867         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
68868         hardcoded "nm".
68869         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
68870         (READELF): New variable.  Use it instead of hardcoded "readelf".
68872 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
68874         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
68875         * sysdeps/x86/Makefile: Here.
68876         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
68877         * sysdeps/x86/tst-xmmymm.sh: This.
68879 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
68881         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
68882         expectations.
68883         [UNIX98] (pthread_barrier_t): Do not expect.
68884         [UNIX98] (pthread_barrierattr_t): Likewise.
68885         [UNIX98] (pthread_spinlock_t): Likewise.
68886         [UNIX98] (pthread_barrier_destroy): Likewise.
68887         [UNIX98] (pthread_barrier_init): Likewise.
68888         [UNIX98] (pthread_barrier_wait): Likewise.
68889         [UNIX98] (pthread_barrierattr_destroy): Likewise.
68890         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
68891         [UNIX98] (pthread_barrierattr_init): Likewise.
68892         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
68893         [UNIX98] (pthread_getcpuclockid): Likewise.
68894         [UNIX98] (pthread_mutex_timedlock): Likewise.
68895         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
68896         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
68897         [UNIX98] (pthread_sigmask): Likewise.
68898         [UNIX98] (pthread_spin_destroy): Likewise.
68899         [UNIX98] (pthread_spin_init): Likewise.
68900         [UNIX98] (pthread_spin_lock): Likewise.
68901         [UNIX98] (pthread_spin_trylock): Likewise.
68902         [UNIX98] (pthread_spin_unlock): Likewise.
68903         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
68904         Do not expect.
68905         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
68906         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
68907         [XPG3 || XPG4] (pthread_cond_t): Likewise.
68908         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
68909         [XPG3 || XPG4] (pthread_key_t): Likewise.
68910         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
68911         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
68912         [XPG3 || XPG4] (pthread_once_t): Likewise.
68913         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
68914         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
68915         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
68916         [XPG3 || XPG4] (pthread_t): Likewise.
68918         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
68919         not expect.
68920         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
68922         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
68923         Change function return type to int.
68925         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
68926         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
68927         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
68928         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
68929         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
68930         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
68931         [!POSIX] (posix_madvise): Likewise.
68932         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
68933         && !UNIX98].
68934         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
68935         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
68936         (mode_t): Likewise.
68937         (posix_mem_offset): Likewise.
68938         (posix_typed_mem_get_info): Likewise.
68939         (posix_typed_mem_open): Likewise.
68941         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
68942         Change condition to [XOPEN2K8].
68944         * conform/conformtest.pl: Preprocess allow-header data with -x c
68945         instead of from stdin.
68946         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
68947         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
68948         [C99-based standards] (cerfc): Likewise.
68949         [C99-based standards] (cexp2): Likewise.
68950         [C99-based standards] (cexpm1): Likewise.
68951         [C99-based standards] (clog10): Likewise.
68952         [C99-based standards] (clog1p): Likewise.
68953         [C99-based standards] (clog2): Likewise.
68954         [C99-based standards] (clgamma): Likewise.
68955         [C99-based standards] (ctgamma): Likewise.
68956         [C99-based standards] (cerff): Likewise.
68957         [C99-based standards] (cerfcf): Likewise.
68958         [C99-based standards] (cexp2f): Likewise.
68959         [C99-based standards] (cexpm1f): Likewise.
68960         [C99-based standards] (clog10f): Likewise.
68961         [C99-based standards] (clog1pf): Likewise.
68962         [C99-based standards] (clog2f): Likewise.
68963         [C99-based standards] (clgammaf): Likewise.
68964         [C99-based standards] (ctgammaf): Likewise.
68965         [C99-based standards] (cerfl): Likewise.
68966         [C99-based standards] (cerfcl): Likewise.
68967         [C99-based standards] (cexp2l): Likewise.
68968         [C99-based standards] (cexpm1l): Likewise.
68969         [C99-based standards] (clog10l): Likewise.
68970         [C99-based standards] (clog1pl): Likewise.
68971         [C99-based standards] (clog2l): Likewise.
68972         [C99-based standards] (clgammal): Likewise.
68973         [C99-based standards] (ctgammal): Likewise.
68974         * conform/data/inttypes.h-data [C99-based standards]: Include
68975         stdint.h-data.  Remove all expectations for stdint.h contents.
68976         [C99-based standards] (PRI*): Do not allow.
68977         [C99-based standards] (SCN*): Likewise.
68978         [C99-based standards] (*_t): Likewise.
68979         [C99-based-standards] (PRId8): Expect macro.
68980         [C99-based-standards] (PRIi8): Likewise.
68981         [C99-based-standards] (PRIo8): Likewise.
68982         [C99-based-standards] (PRIu8): Likewise.
68983         [C99-based-standards] (PRIx8): Likewise.
68984         [C99-based-standards] (PRIX8): Likewise.
68985         [C99-based-standards] (SCNd8): Likewise.
68986         [C99-based-standards] (SCNi8): Likewise.
68987         [C99-based-standards] (SCNo8): Likewise.
68988         [C99-based-standards] (SCNu8): Likewise.
68989         [C99-based-standards] (SCNx8): Likewise.
68990         [C99-based-standards] (PRIdLEAST8): Likewise.
68991         [C99-based-standards] (PRIiLEAST8): Likewise.
68992         [C99-based-standards] (PRIoLEAST8): Likewise.
68993         [C99-based-standards] (PRIuLEAST8): Likewise.
68994         [C99-based-standards] (PRIxLEAST8): Likewise.
68995         [C99-based-standards] (PRIXLEAST8): Likewise.
68996         [C99-based-standards] (SCNdLEAST8): Likewise.
68997         [C99-based-standards] (SCNiLEAST8): Likewise.
68998         [C99-based-standards] (SCNoLEAST8): Likewise.
68999         [C99-based-standards] (SCNuLEAST8): Likewise.
69000         [C99-based-standards] (SCNxLEAST8): Likewise.
69001         [C99-based-standards] (PRIdFAST8): Likewise.
69002         [C99-based-standards] (PRIiFAST8): Likewise.
69003         [C99-based-standards] (PRIoFAST8): Likewise.
69004         [C99-based-standards] (PRIuFAST8): Likewise.
69005         [C99-based-standards] (PRIxFAST8): Likewise.
69006         [C99-based-standards] (PRIXFAST8): Likewise.
69007         [C99-based-standards] (SCNdFAST8): Likewise.
69008         [C99-based-standards] (SCNiFAST8): Likewise.
69009         [C99-based-standards] (SCNoFAST8): Likewise.
69010         [C99-based-standards] (SCNuFAST8): Likewise.
69011         [C99-based-standards] (SCNxFAST8): Likewise.
69012         [C99-based-standards] (PRId16): Likewise.
69013         [C99-based-standards] (PRIi16): Likewise.
69014         [C99-based-standards] (PRIo16): Likewise.
69015         [C99-based-standards] (PRIu16): Likewise.
69016         [C99-based-standards] (PRIx16): Likewise.
69017         [C99-based-standards] (PRIX16): Likewise.
69018         [C99-based-standards] (SCNd16): Likewise.
69019         [C99-based-standards] (SCNi16): Likewise.
69020         [C99-based-standards] (SCNo16): Likewise.
69021         [C99-based-standards] (SCNu16): Likewise.
69022         [C99-based-standards] (SCNx16): Likewise.
69023         [C99-based-standards] (PRIdLEAST16): Likewise.
69024         [C99-based-standards] (PRIiLEAST16): Likewise.
69025         [C99-based-standards] (PRIoLEAST16): Likewise.
69026         [C99-based-standards] (PRIuLEAST16): Likewise.
69027         [C99-based-standards] (PRIxLEAST16): Likewise.
69028         [C99-based-standards] (PRIXLEAST16): Likewise.
69029         [C99-based-standards] (SCNdLEAST16): Likewise.
69030         [C99-based-standards] (SCNiLEAST16): Likewise.
69031         [C99-based-standards] (SCNoLEAST16): Likewise.
69032         [C99-based-standards] (SCNuLEAST16): Likewise.
69033         [C99-based-standards] (SCNxLEAST16): Likewise.
69034         [C99-based-standards] (PRIdFAST16): Likewise.
69035         [C99-based-standards] (PRIiFAST16): Likewise.
69036         [C99-based-standards] (PRIoFAST16): Likewise.
69037         [C99-based-standards] (PRIuFAST16): Likewise.
69038         [C99-based-standards] (PRIxFAST16): Likewise.
69039         [C99-based-standards] (PRIXFAST16): Likewise.
69040         [C99-based-standards] (SCNdFAST16): Likewise.
69041         [C99-based-standards] (SCNiFAST16): Likewise.
69042         [C99-based-standards] (SCNoFAST16): Likewise.
69043         [C99-based-standards] (SCNuFAST16): Likewise.
69044         [C99-based-standards] (SCNxFAST16): Likewise.
69045         [C99-based-standards] (PRId32): Likewise.
69046         [C99-based-standards] (PRIi32): Likewise.
69047         [C99-based-standards] (PRIo32): Likewise.
69048         [C99-based-standards] (PRIu32): Likewise.
69049         [C99-based-standards] (PRIx32): Likewise.
69050         [C99-based-standards] (PRIX32): Likewise.
69051         [C99-based-standards] (SCNd32): Likewise.
69052         [C99-based-standards] (SCNi32): Likewise.
69053         [C99-based-standards] (SCNo32): Likewise.
69054         [C99-based-standards] (SCNu32): Likewise.
69055         [C99-based-standards] (SCNx32): Likewise.
69056         [C99-based-standards] (PRIdLEAST32): Likewise.
69057         [C99-based-standards] (PRIiLEAST32): Likewise.
69058         [C99-based-standards] (PRIoLEAST32): Likewise.
69059         [C99-based-standards] (PRIuLEAST32): Likewise.
69060         [C99-based-standards] (PRIxLEAST32): Likewise.
69061         [C99-based-standards] (PRIXLEAST32): Likewise.
69062         [C99-based-standards] (SCNdLEAST32): Likewise.
69063         [C99-based-standards] (SCNiLEAST32): Likewise.
69064         [C99-based-standards] (SCNoLEAST32): Likewise.
69065         [C99-based-standards] (SCNuLEAST32): Likewise.
69066         [C99-based-standards] (SCNxLEAST32): Likewise.
69067         [C99-based-standards] (PRIdFAST32): Likewise.
69068         [C99-based-standards] (PRIiFAST32): Likewise.
69069         [C99-based-standards] (PRIoFAST32): Likewise.
69070         [C99-based-standards] (PRIuFAST32): Likewise.
69071         [C99-based-standards] (PRIxFAST32): Likewise.
69072         [C99-based-standards] (PRIXFAST32): Likewise.
69073         [C99-based-standards] (SCNdFAST32): Likewise.
69074         [C99-based-standards] (SCNiFAST32): Likewise.
69075         [C99-based-standards] (SCNoFAST32): Likewise.
69076         [C99-based-standards] (SCNuFAST32): Likewise.
69077         [C99-based-standards] (SCNxFAST32): Likewise.
69078         [C99-based-standards] (PRId64): Likewise.
69079         [C99-based-standards] (PRIi64): Likewise.
69080         [C99-based-standards] (PRIo64): Likewise.
69081         [C99-based-standards] (PRIu64): Likewise.
69082         [C99-based-standards] (PRIx64): Likewise.
69083         [C99-based-standards] (PRIX64): Likewise.
69084         [C99-based-standards] (SCNd64): Likewise.
69085         [C99-based-standards] (SCNi64): Likewise.
69086         [C99-based-standards] (SCNo64): Likewise.
69087         [C99-based-standards] (SCNu64): Likewise.
69088         [C99-based-standards] (SCNx64): Likewise.
69089         [C99-based-standards] (PRIdLEAST64): Likewise.
69090         [C99-based-standards] (PRIiLEAST64): Likewise.
69091         [C99-based-standards] (PRIoLEAST64): Likewise.
69092         [C99-based-standards] (PRIuLEAST64): Likewise.
69093         [C99-based-standards] (PRIxLEAST64): Likewise.
69094         [C99-based-standards] (PRIXLEAST64): Likewise.
69095         [C99-based-standards] (SCNdLEAST64): Likewise.
69096         [C99-based-standards] (SCNiLEAST64): Likewise.
69097         [C99-based-standards] (SCNoLEAST64): Likewise.
69098         [C99-based-standards] (SCNuLEAST64): Likewise.
69099         [C99-based-standards] (SCNxLEAST64): Likewise.
69100         [C99-based-standards] (PRIdFAST64): Likewise.
69101         [C99-based-standards] (PRIiFAST64): Likewise.
69102         [C99-based-standards] (PRIoFAST64): Likewise.
69103         [C99-based-standards] (PRIuFAST64): Likewise.
69104         [C99-based-standards] (PRIxFAST64): Likewise.
69105         [C99-based-standards] (PRIXFAST64): Likewise.
69106         [C99-based-standards] (SCNdFAST64): Likewise.
69107         [C99-based-standards] (SCNiFAST64): Likewise.
69108         [C99-based-standards] (SCNoFAST64): Likewise.
69109         [C99-based-standards] (SCNuFAST64): Likewise.
69110         [C99-based-standards] (SCNxFAST64): Likewise.
69111         [C99-based-standards] (PRIdMAX): Likewise.
69112         [C99-based-standards] (PRIiMAX): Likewise.
69113         [C99-based-standards] (PRIoMAX): Likewise.
69114         [C99-based-standards] (PRIuMAX): Likewise.
69115         [C99-based-standards] (PRIxMAX): Likewise.
69116         [C99-based-standards] (PRIXMAX): Likewise.
69117         [C99-based-standards] (SCNdMAX): Likewise.
69118         [C99-based-standards] (SCNiMAX): Likewise.
69119         [C99-based-standards] (SCNoMAX): Likewise.
69120         [C99-based-standards] (SCNuMAX): Likewise.
69121         [C99-based-standards] (SCNxMAX): Likewise.
69122         [C99-based-standards] (PRIdPTR): Likewise.
69123         [C99-based-standards] (PRIiPTR): Likewise.
69124         [C99-based-standards] (PRIoPTR): Likewise.
69125         [C99-based-standards] (PRIuPTR): Likewise.
69126         [C99-based-standards] (PRIxPTR): Likewise.
69127         [C99-based-standards] (PRIXPTR): Likewise.
69128         [C99-based-standards] (SCNdPTR): Likewise.
69129         [C99-based-standards] (SCNiPTR): Likewise.
69130         [C99-based-standards] (SCNoPTR): Likewise.
69131         [C99-based-standards] (SCNuPTR): Likewise.
69132         [C99-based-standards] (SCNxPTR): Likewise.
69133         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
69134         allow.
69135         * conform/data/stdint.h-data: Update comments to clarify
69136         requirements.
69137         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
69138         type.
69139         [C99-based standards] (INT8_MAX): Likewise.
69140         [C99-based standards] (INT16_MIN): Likewise.
69141         [C99-based standards] (INT16_MAX): Likewise.
69142         [C99-based standards] (INT32_MIN): Likewise.
69143         [C99-based standards] (INT32_MAX): Likewise.
69144         [C99-based standards] (INT64_MIN): Likewise.
69145         [C99-based standards] (INT64_MAX): Likewise.
69146         [C99-based standards] (UINT8_MAX): Likewise.
69147         [C99-based standards] (UINT16_MAX): Likewise.
69148         [C99-based standards] (UINT32_MAX): Likewise.
69149         [C99-based standards] (UINT64_MAX): Likewise.
69150         [C99-based standards] (INT_LEAST8_MIN): Likewise.
69151         [C99-based standards] (INT_LEAST8_MAX): Likewise.
69152         [C99-based standards] (INT_LEAST16_MIN): Likewise.
69153         [C99-based standards] (INT_LEAST16_MAX): Likewise.
69154         [C99-based standards] (INT_LEAST32_MIN): Likewise.
69155         [C99-based standards] (INT_LEAST32_MAX): Likewise.
69156         [C99-based standards] (INT_LEAST64_MIN): Likewise.
69157         [C99-based standards] (INT_LEAST64_MAX): Likewise.
69158         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
69159         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
69160         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
69161         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
69162         [C99-based standards] (INT_FAST8_MIN): Likewise.
69163         [C99-based standards] (INT_FAST8_MAX): Likewise.
69164         [C99-based standards] (INT_FAST16_MIN): Likewise.
69165         [C99-based standards] (INT_FAST16_MAX): Likewise.
69166         [C99-based standards] (INT_FAST32_MIN): Likewise.
69167         [C99-based standards] (INT_FAST32_MAX): Likewise.
69168         [C99-based standards] (INT_FAST64_MIN): Likewise.
69169         [C99-based standards] (INT_FAST64_MAX): Likewise.
69170         [C99-based standards] (UINT_FAST8_MAX): Likewise.
69171         [C99-based standards] (UINT_FAST16_MAX): Likewise.
69172         [C99-based standards] (UINT_FAST32_MAX): Likewise.
69173         [C99-based standards] (UINT_FAST64_MAX): Likewise.
69174         [C99-based standards] (INTPTR_MIN): Likewise.
69175         [C99-based standards] (INTPTR_MAX): Likewise.
69176         [C99-based standards] (UINTPTR_MAX): Likewise.
69177         [C99-based standards] (INTMAX_MIN): Likewise.
69178         [C99-based standards] (INTMAX_MAX): Likewise.
69179         [C99-based standards] (UINTMAX_MAX): Likewise.
69180         [C99-based standards] (PTRDIFF_MIN): Likewise.
69181         [C99-based standards] (PTRDIFF_MAX): Likewise.
69182         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
69183         [C99-based standards] (SIZE_MAX): Likewise.
69184         [C99-based standards] (WCHAR_MAX): Likewise.
69185         [C99-based standards] (WINT_MAX): Likewise.
69186         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
69187         constraint on value.
69188         [C99-based standards] (WCHAR_MIN): Likewise.
69189         [C99-based standards] (WINT_MIN): Likewise.
69190         [C99-based standards] (*_t): Allow.
69191         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
69192         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
69193         Include math.h-data and complex.h-data.  Remove all expectations
69194         of math.h and complex.h contents.
69195         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
69196         at end of line.
69197         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
69198         (struct tm): Expect tag.
69199         [C99-based-standards] (wcstof): Expect function.
69200         [C99-based-standards] (wcstold): Likewise.
69201         [C99-based-standards] (wcstoll): Likewise.
69202         [C99-based-standards] (wcstoull): Likewise.
69203         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
69204         macro-int-constant.  Specify type.
69205         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
69206         constraint on value.
69207         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
69208         Specify type.
69209         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
69210         Specify value.
69211         [ISO C standards]: Do not allow headers.
69212         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
69213         wcs[abcdefghijklmnopqrstuvwxyz]*.
69214         [ISO C standards] (*_t): Do not allow.
69215         * conform/data/wctype.h-data [C99-based standards] (iswblank):
69216         Expect function.
69217         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
69218         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
69219         Specify type.
69220         [ISO C standards]: Do not allow headers.
69221         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
69222         is[abcdefghijklmnopqrstuvwxyz]*.
69223         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
69224         to[abcdefghijklmnopqrstuvwxyz]*.
69225         [ISO C standards] (*_t): Do not allow.
69226         * conform/data/stdalign.h-data: New file.
69227         * conform/data/stdbool.h-data: Likewise.
69228         * conform/data/stdnoreturn.h-data: Likewise.
69230 2012-11-07  Roland McGrath  <roland@hack.frob.com>
69232         [BZ #14815]
69233         * manual/filesys.texi (Directory Entries): Typo fix.
69234         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
69236 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
69238         * elf/elf.h (EM_AARCH64): New macro.
69239         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
69240         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
69241         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
69242         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
69243         (R_AARCH64_TLSDESC): Likewise.
69244         (NT_ARM_TLS): Likewise.
69245         (NT_ARM_HW_BREAK): Likewise.
69246         (NT_ARM_HW_WATCH): Likewise.
69248 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
69250         [BZ #14811]
69251         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
69252         (__ieee754_powl): Saturate nonzero exponents with absolute value
69253         below 0x1p-79 to +/- 0x1p-79.
69254         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
69255         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
69256         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
69257         nonzero exponents with absolute value below 0x1p-32 to +/-
69258         0x1p-32.
69259         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
69260         (__ieee754_powl): Saturate nonzero exponents with absolute value
69261         below 0x1p-79 to +/- 0x1p-79.
69262         * math/libm-test.inc (pow_test): Add more tests.
69264 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
69266         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
69267         _dl_s390_cap_flags with kernel. Increase string length.
69268         (_dl_s390_platforms): Add z196 and zEC12.
69270 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
69272         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
69273         Change XOPEN21K to XOPEN2K.
69275 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
69277         * string/memmove.c: Use memcpy when possible.
69279 2012-11-06  Andreas Jaeger  <aj@suse.de>
69281         * po/eo.po: Update from translation team.
69283 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
69285         [BZ #14793]
69286         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
69287         exponent and small x and y exponents, scale x or y up.  Increase
69288         by 2 the exponent used in scaling up.
69289         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
69290         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
69291         * math/libm-test.inc (fma_test): Add more tests.
69292         (fma_test_towardzero): Likewise.
69293         (fma_test_downward): Likewise.
69294         (fma_test_upward): Likewise.
69296 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
69298         [BZ #14805]
69299         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
69300         fenv_t *.
69302         [BZ #14801]
69303         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
69304         namespace for names of struct fields.
69305         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
69306         fenv_t fields.
69307         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
69308         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
69310 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
69312         [BZ #3665]
69313         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
69315 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
69317         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
69318         PTR_DEMANGLE.
69320         [BZ #5246]
69321         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
69322         PTR_DEMANGLE.
69324 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
69326         [BZ #14797]
69327         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
69328         definitely overflow as x * y not x * y + z.
69329         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
69330         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
69331         * math/libm-test.inc (fma_test): Add more tests.
69332         (fma_test_towardzero): Likewise.
69333         (fma_test_downward): Likewise.
69334         (fma_test_upward): Likewise.
69336 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
69338         [BZ #157]
69340         * include/stub-tag.h: Remove file.
69341         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
69342         '#include' of it.
69343         * manual/maint.texi (Porting): Don't reference it.
69344         * Makerules ($(objpfx)stubs): Likewise.
69345         * dirent/closedir.c: Don't include <stub-tag.h>.
69346         * dirent/dirfd.c: Likewise.
69347         * dirent/fdopendir.c: Likewise.
69348         * dirent/getdents.c: Likewise.
69349         * dirent/getdents64.c: Likewise.
69350         * dirent/opendir.c: Likewise.
69351         * dirent/readdir.c: Likewise.
69352         * dirent/readdir64.c: Likewise.
69353         * dirent/readdir64_r.c: Likewise.
69354         * dirent/readdir_r.c: Likewise.
69355         * dirent/rewinddir.c: Likewise.
69356         * dirent/seekdir.c: Likewise.
69357         * dirent/telldir.c: Likewise.
69358         * gmon/profil.c: Likewise.
69359         * grp/setgroups.c: Likewise.
69360         * inet/if_index.c: Likewise.
69361         * io/access.c: Likewise.
69362         * io/chdir.c: Likewise.
69363         * io/chmod.c: Likewise.
69364         * io/chown.c: Likewise.
69365         * io/close.c: Likewise.
69366         * io/dup.c: Likewise.
69367         * io/dup2.c: Likewise.
69368         * io/dup3.c: Likewise.
69369         * io/euidaccess.c: Likewise.
69370         * io/faccessat.c: Likewise.
69371         * io/fchdir.c: Likewise.
69372         * io/fchmod.c: Likewise.
69373         * io/fchmodat.c: Likewise.
69374         * io/fchown.c: Likewise.
69375         * io/fchownat.c: Likewise.
69376         * io/fcntl.c: Likewise.
69377         * io/flock.c: Likewise.
69378         * io/fstatfs.c: Likewise.
69379         * io/fstatfs64.c: Likewise.
69380         * io/fstatvfs.c: Likewise.
69381         * io/fstatvfs64.c: Likewise.
69382         * io/futimens.c: Likewise.
69383         * io/fxstat.c: Likewise.
69384         * io/fxstat64.c: Likewise.
69385         * io/fxstatat.c: Likewise.
69386         * io/fxstatat64.c: Likewise.
69387         * io/getcwd.c: Likewise.
69388         * io/isatty.c: Likewise.
69389         * io/lchmod.c: Likewise.
69390         * io/lchown.c: Likewise.
69391         * io/link.c: Likewise.
69392         * io/linkat.c: Likewise.
69393         * io/lseek.c: Likewise.
69394         * io/lseek64.c: Likewise.
69395         * io/lxstat64.c: Likewise.
69396         * io/mkdir.c: Likewise.
69397         * io/mkdirat.c: Likewise.
69398         * io/mkfifo.c: Likewise.
69399         * io/mkfifoat.c: Likewise.
69400         * io/open.c: Likewise.
69401         * io/open64.c: Likewise.
69402         * io/openat.c: Likewise.
69403         * io/openat64.c: Likewise.
69404         * io/pipe.c: Likewise.
69405         * io/pipe2.c: Likewise.
69406         * io/poll.c: Likewise.
69407         * io/posix_fadvise.c: Likewise.
69408         * io/posix_fadvise64.c: Likewise.
69409         * io/posix_fallocate.c: Likewise.
69410         * io/posix_fallocate64.c: Likewise.
69411         * io/read.c: Likewise.
69412         * io/readlink.c: Likewise.
69413         * io/readlinkat.c: Likewise.
69414         * io/rmdir.c: Likewise.
69415         * io/sendfile.c: Likewise.
69416         * io/sendfile64.c: Likewise.
69417         * io/statfs.c: Likewise.
69418         * io/statfs64.c: Likewise.
69419         * io/statvfs.c: Likewise.
69420         * io/statvfs64.c: Likewise.
69421         * io/symlink.c: Likewise.
69422         * io/symlinkat.c: Likewise.
69423         * io/ttyname.c: Likewise.
69424         * io/ttyname_r.c: Likewise.
69425         * io/umask.c: Likewise.
69426         * io/unlink.c: Likewise.
69427         * io/unlinkat.c: Likewise.
69428         * io/utime.c: Likewise.
69429         * io/utimensat.c: Likewise.
69430         * io/write.c: Likewise.
69431         * io/xmknod.c: Likewise.
69432         * io/xmknodat.c: Likewise.
69433         * io/xstat.c: Likewise.
69434         * io/xstat64.c: Likewise.
69435         * login/getpt.c: Likewise.
69436         * login/grantpt.c: Likewise.
69437         * login/unlockpt.c: Likewise.
69438         * math/e_acoshl.c: Likewise.
69439         * math/e_acosl.c: Likewise.
69440         * math/e_asinl.c: Likewise.
69441         * math/e_atan2l.c: Likewise.
69442         * math/e_atanhl.c: Likewise.
69443         * math/e_coshl.c: Likewise.
69444         * math/e_expl.c: Likewise.
69445         * math/e_fmodl.c: Likewise.
69446         * math/e_gammal_r.c: Likewise.
69447         * math/e_hypotl.c: Likewise.
69448         * math/e_j0l.c: Likewise.
69449         * math/e_j1l.c: Likewise.
69450         * math/e_jnl.c: Likewise.
69451         * math/e_lgammal_r.c: Likewise.
69452         * math/e_log10l.c: Likewise.
69453         * math/e_log2l.c: Likewise.
69454         * math/e_logl.c: Likewise.
69455         * math/e_powl.c: Likewise.
69456         * math/e_rem_pio2l.c: Likewise.
69457         * math/e_sinhl.c: Likewise.
69458         * math/e_sqrtl.c: Likewise.
69459         * math/fclrexcpt.c: Likewise.
69460         * math/fedisblxcpt.c: Likewise.
69461         * math/feenablxcpt.c: Likewise.
69462         * math/fegetenv.c: Likewise.
69463         * math/fegetexcept.c: Likewise.
69464         * math/fegetround.c: Likewise.
69465         * math/feholdexcpt.c: Likewise.
69466         * math/fesetenv.c: Likewise.
69467         * math/fesetround.c: Likewise.
69468         * math/feupdateenv.c: Likewise.
69469         * math/fgetexcptflg.c: Likewise.
69470         * math/fraiseexcpt.c: Likewise.
69471         * math/fsetexcptflg.c: Likewise.
69472         * math/ftestexcept.c: Likewise.
69473         * math/k_cosl.c: Likewise.
69474         * math/k_rem_pio2l.c: Likewise.
69475         * math/k_sinl.c: Likewise.
69476         * math/k_tanl.c: Likewise.
69477         * math/s_asinhl.c: Likewise.
69478         * math/s_atanl.c: Likewise.
69479         * math/s_cbrtl.c: Likewise.
69480         * math/s_erfl.c: Likewise.
69481         * math/s_expm1l.c: Likewise.
69482         * math/s_log1pl.c: Likewise.
69483         * math/s_tanhl.c: Likewise.
69484         * misc/acct.c: Likewise.
69485         * misc/brk.c: Likewise.
69486         * misc/chflags.c: Likewise.
69487         * misc/chroot.c: Likewise.
69488         * misc/fchflags.c: Likewise.
69489         * misc/fgetxattr.c: Likewise.
69490         * misc/flistxattr.c: Likewise.
69491         * misc/fremovexattr.c: Likewise.
69492         * misc/fsetxattr.c: Likewise.
69493         * misc/fsync.c: Likewise.
69494         * misc/ftruncate.c: Likewise.
69495         * misc/futimes.c: Likewise.
69496         * misc/futimesat.c: Likewise.
69497         * misc/getdomain.c: Likewise.
69498         * misc/getdtsz.c: Likewise.
69499         * misc/gethostid.c: Likewise.
69500         * misc/gethostname.c: Likewise.
69501         * misc/getloadavg.c: Likewise.
69502         * misc/getpagesize.c: Likewise.
69503         * misc/getsysstats.c: Likewise.
69504         * misc/getxattr.c: Likewise.
69505         * misc/gtty.c: Likewise.
69506         * misc/ioctl.c: Likewise.
69507         * misc/lgetxattr.c: Likewise.
69508         * misc/listxattr.c: Likewise.
69509         * misc/llistxattr.c: Likewise.
69510         * misc/lremovexattr.c: Likewise.
69511         * misc/lsetxattr.c: Likewise.
69512         * misc/lutimes.c: Likewise.
69513         * misc/madvise.c: Likewise.
69514         * misc/mincore.c: Likewise.
69515         * misc/mlock.c: Likewise.
69516         * misc/mlockall.c: Likewise.
69517         * misc/mmap.c: Likewise.
69518         * misc/mprotect.c: Likewise.
69519         * misc/msync.c: Likewise.
69520         * misc/munlock.c: Likewise.
69521         * misc/munlockall.c: Likewise.
69522         * misc/munmap.c: Likewise.
69523         * misc/preadv.c: Likewise.
69524         * misc/preadv64.c: Likewise.
69525         * misc/ptrace.c: Likewise.
69526         * misc/pwritev.c: Likewise.
69527         * misc/pwritev64.c: Likewise.
69528         * misc/readv.c: Likewise.
69529         * misc/reboot.c: Likewise.
69530         * misc/remap_file_pages.c: Likewise.
69531         * misc/removexattr.c: Likewise.
69532         * misc/revoke.c: Likewise.
69533         * misc/select.c: Likewise.
69534         * misc/setdomain.c: Likewise.
69535         * misc/setegid.c: Likewise.
69536         * misc/seteuid.c: Likewise.
69537         * misc/sethostid.c: Likewise.
69538         * misc/sethostname.c: Likewise.
69539         * misc/setregid.c: Likewise.
69540         * misc/setreuid.c: Likewise.
69541         * misc/setxattr.c: Likewise.
69542         * misc/sstk.c: Likewise.
69543         * misc/stty.c: Likewise.
69544         * misc/swapoff.c: Likewise.
69545         * misc/swapon.c: Likewise.
69546         * misc/sync.c: Likewise.
69547         * misc/syncfs.c: Likewise.
69548         * misc/syscall.c: Likewise.
69549         * misc/truncate.c: Likewise.
69550         * misc/ualarm.c: Likewise.
69551         * misc/usleep.c: Likewise.
69552         * misc/ustat.c: Likewise.
69553         * misc/utimes.c: Likewise.
69554         * misc/vhangup.c: Likewise.
69555         * misc/writev.c: Likewise.
69556         * posix/_exit.c: Likewise.
69557         * posix/alarm.c: Likewise.
69558         * posix/execve.c: Likewise.
69559         * posix/fexecve.c: Likewise.
69560         * posix/fork.c: Likewise.
69561         * posix/fpathconf.c: Likewise.
69562         * posix/getaddrinfo.c: Likewise.
69563         * posix/getegid.c: Likewise.
69564         * posix/geteuid.c: Likewise.
69565         * posix/getgid.c: Likewise.
69566         * posix/getgroups.c: Likewise.
69567         * posix/getlogin.c: Likewise.
69568         * posix/getlogin_r.c: Likewise.
69569         * posix/getpgid.c: Likewise.
69570         * posix/getpid.c: Likewise.
69571         * posix/getppid.c: Likewise.
69572         * posix/getresgid.c: Likewise.
69573         * posix/getresuid.c: Likewise.
69574         * posix/getsid.c: Likewise.
69575         * posix/getuid.c: Likewise.
69576         * posix/glob64.c: Likewise.
69577         * posix/nanosleep.c: Likewise.
69578         * posix/pathconf.c: Likewise.
69579         * posix/pause.c: Likewise.
69580         * posix/posix_madvise.c: Likewise.
69581         * posix/pread.c: Likewise.
69582         * posix/pread64.c: Likewise.
69583         * posix/pwrite.c: Likewise.
69584         * posix/pwrite64.c: Likewise.
69585         * posix/sched_getaffinity.c: Likewise.
69586         * posix/sched_getp.c: Likewise.
69587         * posix/sched_gets.c: Likewise.
69588         * posix/sched_primax.c: Likewise.
69589         * posix/sched_primin.c: Likewise.
69590         * posix/sched_rr_gi.c: Likewise.
69591         * posix/sched_setaffinity.c: Likewise.
69592         * posix/sched_setp.c: Likewise.
69593         * posix/sched_sets.c: Likewise.
69594         * posix/sched_yield.c: Likewise.
69595         * posix/setgid.c: Likewise.
69596         * posix/setlogin.c: Likewise.
69597         * posix/setpgid.c: Likewise.
69598         * posix/setresgid.c: Likewise.
69599         * posix/setresuid.c: Likewise.
69600         * posix/setsid.c: Likewise.
69601         * posix/setuid.c: Likewise.
69602         * posix/sleep.c: Likewise.
69603         * posix/spawni.c: Likewise.
69604         * posix/sysconf.c: Likewise.
69605         * posix/times.c: Likewise.
69606         * posix/wait.c: Likewise.
69607         * posix/wait3.c: Likewise.
69608         * posix/wait4.c: Likewise.
69609         * posix/waitpid.c: Likewise.
69610         * resolv/gai_sigqueue.c: Likewise.
69611         * resource/getpriority.c: Likewise.
69612         * resource/getrlimit.c: Likewise.
69613         * resource/getrusage.c: Likewise.
69614         * resource/nice.c: Likewise.
69615         * resource/setpriority.c: Likewise.
69616         * resource/setrlimit.c: Likewise.
69617         * resource/ulimit.c: Likewise.
69618         * rt/aio_cancel.c: Likewise.
69619         * rt/aio_fsync.c: Likewise.
69620         * rt/aio_read.c: Likewise.
69621         * rt/aio_sigqueue.c: Likewise.
69622         * rt/aio_suspend.c: Likewise.
69623         * rt/aio_write.c: Likewise.
69624         * rt/clock_getres.c: Likewise.
69625         * rt/clock_gettime.c: Likewise.
69626         * rt/clock_nanosleep.c: Likewise.
69627         * rt/clock_settime.c: Likewise.
69628         * rt/lio_listio.c: Likewise.
69629         * rt/mq_close.c: Likewise.
69630         * rt/mq_getattr.c: Likewise.
69631         * rt/mq_notify.c: Likewise.
69632         * rt/mq_open.c: Likewise.
69633         * rt/mq_receive.c: Likewise.
69634         * rt/mq_send.c: Likewise.
69635         * rt/mq_setattr.c: Likewise.
69636         * rt/mq_timedreceive.c: Likewise.
69637         * rt/mq_timedsend.c: Likewise.
69638         * rt/mq_unlink.c: Likewise.
69639         * rt/shm_open.c: Likewise.
69640         * rt/shm_unlink.c: Likewise.
69641         * rt/timer_create.c: Likewise.
69642         * rt/timer_delete.c: Likewise.
69643         * rt/timer_getoverr.c: Likewise.
69644         * rt/timer_gettime.c: Likewise.
69645         * rt/timer_settime.c: Likewise.
69646         * setjmp/__longjmp.c: Likewise.
69647         * setjmp/setjmp.c: Likewise.
69648         * signal/kill.c: Likewise.
69649         * signal/killpg.c: Likewise.
69650         * signal/raise.c: Likewise.
69651         * signal/sigaction.c: Likewise.
69652         * signal/sigaltstack.c: Likewise.
69653         * signal/sigblock.c: Likewise.
69654         * signal/sigignore.c: Likewise.
69655         * signal/sigintr.c: Likewise.
69656         * signal/signal.c: Likewise.
69657         * signal/sigpause.c: Likewise.
69658         * signal/sigpending.c: Likewise.
69659         * signal/sigqueue.c: Likewise.
69660         * signal/sigreturn.c: Likewise.
69661         * signal/sigset.c: Likewise.
69662         * signal/sigsetmask.c: Likewise.
69663         * signal/sigstack.c: Likewise.
69664         * signal/sigsuspend.c: Likewise.
69665         * signal/sigtimedwait.c: Likewise.
69666         * signal/sigvec.c: Likewise.
69667         * signal/sigwait.c: Likewise.
69668         * signal/sigwaitinfo.c: Likewise.
69669         * signal/sysv_signal.c: Likewise.
69670         * socket/accept.c: Likewise.
69671         * socket/accept4.c: Likewise.
69672         * socket/bind.c: Likewise.
69673         * socket/connect.c: Likewise.
69674         * socket/getpeername.c: Likewise.
69675         * socket/getsockname.c: Likewise.
69676         * socket/getsockopt.c: Likewise.
69677         * socket/isfdtype.c: Likewise.
69678         * socket/listen.c: Likewise.
69679         * socket/recv.c: Likewise.
69680         * socket/recvfrom.c: Likewise.
69681         * socket/recvmsg.c: Likewise.
69682         * socket/send.c: Likewise.
69683         * socket/sendmsg.c: Likewise.
69684         * socket/sendto.c: Likewise.
69685         * socket/setsockopt.c: Likewise.
69686         * socket/shutdown.c: Likewise.
69687         * socket/sockatmark.c: Likewise.
69688         * socket/socket.c: Likewise.
69689         * socket/socketpair.c: Likewise.
69690         * stdio-common/ctermid.c: Likewise.
69691         * stdio-common/cuserid.c: Likewise.
69692         * stdio-common/remove.c: Likewise.
69693         * stdio-common/rename.c: Likewise.
69694         * stdio-common/renameat.c: Likewise.
69695         * stdio-common/tempname.c: Likewise.
69696         * stdlib/getcontext.c: Likewise.
69697         * stdlib/makecontext.c: Likewise.
69698         * stdlib/setcontext.c: Likewise.
69699         * stdlib/swapcontext.c: Likewise.
69700         * stdlib/system.c: Likewise.
69701         * streams/fattach.c: Likewise.
69702         * streams/fdetach.c: Likewise.
69703         * streams/getmsg.c: Likewise.
69704         * streams/getpmsg.c: Likewise.
69705         * streams/putmsg.c: Likewise.
69706         * streams/putpmsg.c: Likewise.
69707         * sysdeps/unix/bsd/getpt.c: Likewise.
69708         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
69709         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
69710         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
69711         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
69712         Likewise.
69713         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
69714         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
69715         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
69716         * sysvipc/msgctl.c: Likewise.
69717         * sysvipc/msgget.c: Likewise.
69718         * sysvipc/msgrcv.c: Likewise.
69719         * sysvipc/msgsnd.c: Likewise.
69720         * sysvipc/semctl.c: Likewise.
69721         * sysvipc/semget.c: Likewise.
69722         * sysvipc/semop.c: Likewise.
69723         * sysvipc/semtimedop.c: Likewise.
69724         * sysvipc/shmat.c: Likewise.
69725         * sysvipc/shmctl.c: Likewise.
69726         * sysvipc/shmdt.c: Likewise.
69727         * sysvipc/shmget.c: Likewise.
69728         * termios/tcdrain.c: Likewise.
69729         * termios/tcflow.c: Likewise.
69730         * termios/tcflush.c: Likewise.
69731         * termios/tcgetattr.c: Likewise.
69732         * termios/tcgetpgrp.c: Likewise.
69733         * termios/tcsendbrk.c: Likewise.
69734         * termios/tcsetattr.c: Likewise.
69735         * termios/tcsetpgrp.c: Likewise.
69736         * time/adjtime.c: Likewise.
69737         * time/clock.c: Likewise.
69738         * time/getitimer.c: Likewise.
69739         * time/gettimeofday.c: Likewise.
69740         * time/setitimer.c: Likewise.
69741         * time/settimeofday.c: Likewise.
69742         * time/stime.c: Likewise.
69743         * time/time.c: Likewise.
69745 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
69747         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
69748         /usr/old/bin.
69750         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
69751         instead of spaces.
69752         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
69754 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
69756         [BZ #14796]
69757         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
69758         FE_TONEAREST before applying Dekker multiplication and Knuth
69759         addition.  Clear inexact exceptions and check for exact zero
69760         results afterwards.
69761         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
69762         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
69763         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
69764         * math/libm-test.inc (fma_test): Add more tests.
69765         (fma_test_towardzero): Likewise.
69766         (fma_test_downward): Likewise.
69767         (fma_test_upward): Likewise.
69768         * sysdeps/generic/math_private.h (default_libc_fesetround): New
69769         function.
69770         (libc_fesetround): New macro.
69771         (libc_fesetroundf): Likewise.
69772         (libc_fesetroundl): Likewise.
69773         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
69774         function.
69775         (libc_fesetround_387): Likewise.
69776         (libc_fesetroundf): New macro.
69777         (libc_fesetround): Likewise.
69778         (libc_fesetroundl): Likewise.
69779         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
69780         function.
69781         (libc_fesetroundf): New macro.
69782         (libc_fesetround): Likewise.
69783         (libc_fesetroundl): Likewise.
69784         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
69785         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
69786         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
69787         libm_hidden_ver.
69788         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
69789         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
69790         libm_hidden_def.
69791         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
69792         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
69793         libm_hidden_ver.
69794         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
69795         libm_hidden_def.
69797         [BZ #3439]
69798         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
69799         integer constant usable in #if and use that to give value to enum
69800         constant.
69801         (FE_DIVBYZERO): Likewise.
69802         (FE_UNDERFLOW): Likewise.
69803         (FE_OVERFLOW): Likewise.
69804         (FE_INVALID): Likewise.
69805         (FE_INVALID_SNAN): Likewise.
69806         (FE_INVALID_ISI): Likewise.
69807         (FE_INVALID_IDI): Likewise.
69808         (FE_INVALID_ZDZ): Likewise.
69809         (FE_INVALID_IMZ): Likewise.
69810         (FE_INVALID_COMPARE): Likewise.
69811         (FE_INVALID_SOFTWARE): Likewise.
69812         (FE_INVALID_SQRT): Likewise.
69813         (FE_INVALID_INTEGER_CONVERSION): Likewise.
69814         (FE_TONEAREST): Likewise.
69815         (FE_TOWARDZERO): Likewise.
69816         (FE_UPWARD): Likewise.
69817         (FE_DOWNWARD): Likewise.
69818         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
69819         (FE_DIVBYZERO): Likewise.
69820         (FE_OVERFLOW): Likewise.
69821         (FE_UNDERFLOW): Likewise.
69822         (FE_INEXACT): Likewise.
69823         (FE_TONEAREST): Likewise.
69824         (FE_DOWNWARD): Likewise.
69825         (FE_UPWARD): Likewise.
69826         (FE_TOWARDZERO): Likewise.
69827         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
69828         (FE_UNDERFLOW): Likewise.
69829         (FE_OVERFLOW): Likewise.
69830         (FE_DIVBYZERO): Likewise.
69831         (FE_INVALID): Likewise.
69832         (FE_TONEAREST): Likewise.
69833         (FE_TOWARDZERO): Likewise.
69834         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
69835         (FE_OVERFLOW): Likewise.
69836         (FE_UNDERFLOW): Likewise.
69837         (FE_DIVBYZERO): Likewise.
69838         (FE_INEXACT): Likewise.
69839         (FE_TONEAREST): Likewise.
69840         (FE_TOWARDZERO): Likewise.
69841         (FE_UPWARD): Likewise.
69842         (FE_DOWNWARD): Likewise.
69843         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
69844         (FE_DIVBYZERO): Likewise.
69845         (FE_OVERFLOW): Likewise.
69846         (FE_UNDERFLOW): Likewise.
69847         (FE_INEXACT): Likewise.
69848         (FE_TONEAREST): Likewise.
69849         (FE_DOWNWARD): Likewise.
69850         (FE_UPWARD): Likewise.
69851         (FE_TOWARDZERO): Likewise.
69853 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
69855         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
69857 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
69859         * scripts/cross-test-ssh.sh (command): Use newlines to separate
69860         commands.  Quote $PWD.
69861         (blacklist_exports): Don't use remove_newlines.  Replace "declare
69862         -x" by "export".
69863         (remove_newlines): Remove.
69865 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
69867         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
69868         * stdlib/stdlib.h (atof): Moved to ...
69869         * include/bits/stdlib-float.h: Here.  New file.
69870         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
69871         * stdlib/bits/stdlib-float.h: New file.
69872         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
69873         -mno-sse -mno-mmx.
69874         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
69875         <xmmintrin.h>.
69877 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
69879         * conform/conformtest.pl (@headers): Add fenv.h.
69880         * conform/data/fenv.h-data: New file.
69881         * include/fenv.h [_ISOMAC]: Disable all contents of file except
69882         include of <math/fenv.h>.
69884         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
69885         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
69886         && !UNIX98].  Enables tests for XOPEN2K8.
69887         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
69888         POSIX2008]: Likewise.
69890         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
69891         (struct rusage): Do not expect type or its members.
69893         [BZ #3439]
69894         * math/math.h (FP_NAN): Define macro to integer constant usable in
69895         #if and use that to give value to enum constant.
69896         (FP_INFINITE): Likewise.
69897         (FP_ZERO): Likewise.
69898         (FP_SUBNORMAL): Likewise.
69899         (FP_NORMAL): Likewise.
69901 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
69903         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
69904         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
69905         arguments.
69907 2012-11-02  Roland McGrath  <roland@hack.frob.com>
69909         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
69910         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
69911         autoconf-time if not.
69912         * configure.in: Remove AC_PREREQ.
69914 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
69916         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
69917         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
69918         of the internal implementation.
69920 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
69922         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
69923         except include of <misc/sys/syslog.h>.
69925 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
69927         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
69928         function returns with a NULL context exit with zero.
69930 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
69932         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
69934 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
69936         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
69937         (run_program_cmd): This.
69938         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
69939         (tst_langinfo): New variable.  Use it.
69941 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
69943         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
69944         floating point opcodes.
69946 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
69948         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
69949         variable.
69951         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
69953         * sysdeps/mach/hurd/powerpc: Remove directory.
69954         * sysdeps/mach/powerpc: Likewise.
69956 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
69958         * scripts/check-local-headers.sh: Ignore c++ headers.
69960 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
69962         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
69963         __libc_cleanup_region_start argument.
69965 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
69967         [BZ #14784]
69968         [BZ #14785]
69969         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
69970         x * y using scaling, not as x * y + z.
69971         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
69972         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
69973         * math/libm-test.inc (fma_test): Add more tests.
69974         (fma_test_towardzero): Likewise.
69975         (fma_test_downward): Likewise.
69976         (fma_test_upward): Likewise.
69978 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
69980         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
69982 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
69984         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
69985         New variable.
69987 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
69989         * rt/tst-shm.c (worker): Correct checking for mmap failure.
69991 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
69993         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
69994         Fix sort order.
69995         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
69996         Likewise.
69998 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
70000         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
70001         Fix the order of the list for glibc 2.17.
70002         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
70003         Likewise.
70005 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
70007         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
70009 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
70011         [BZ #14610]
70012         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
70013         for low part of x being zero before using __atanl (y).
70014         * math/libm-test.inc (atan2_test): Add another test.
70016         * manual/install.texi (Configuring and compiling): Document
70017         general use of test-wrapper and test-wrapper-env.
70018         * INSTALL: Regenerated.
70020         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
70021         (__fma): Do not extract and scale down low bits on after-rounding
70022         systems when result rounded to normal precision would have normal
70023         exponent.
70024         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
70025         (__fmal): Do not extract and scale down low bits on after-rounding
70026         systems when result rounded to normal precision would have normal
70027         exponent.
70028         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
70029         (__fmal): Do not extract and scale down low bits on after-rounding
70030         systems when result rounded to normal precision would have normal
70031         exponent.
70032         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
70033         macro.
70034         (fma_test): Add more tests.
70035         (fma_test_towardzero): Likewise.
70036         (fma_test_downward): Likewise.
70037         (fma_test_upward): Likewise.
70039 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
70041         * sysdeps/i386/tininess.h: Renamed to ...
70042         * sysdeps/x86/tininess.h: This.
70043         * sysdeps/x86_64/tininess.h: Removed.
70045 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
70047         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
70048         input.  Use $(build-program-cmd).
70049         ($(objpfx)tst-array1-static.out): Likewise.
70050         ($(objpfx)tst-array2.out): Likewise.
70051         ($(objpfx)tst-array3.out): Likewise.
70052         ($(objpfx)tst-array4.out): Likewise.
70053         ($(objpfx)tst-array5.out): Likewise.
70054         ($(objpfx)tst-array5-static.out): Likewise.
70056 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
70058         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
70059         if defined.
70061         * nss/nsswitch.h (nss_interface_function): Provide new
70062         macro for use with NSS functions.
70063         * grp/initgroups.c: Use new macro.
70064         * nss/getXXbyYY.c: Likewise.
70065         * nss/getXXbyYY_r.c: Likewise.
70066         * nss/getXXent.c: Likewise.
70067         * nss/getXXent_r.c: Likewise.
70068         * sysdeps/posix/getaddrinfo.c: Likewise.
70070 2012-10-30  Andreas Jaeger  <aj@suse.de>
70072         * po/ru.po: Update Russion translation from translation project.
70074 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
70076         [BZ #14152]
70077         [BZ #14783]
70078         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
70079         result and shift together with sticky bit instead of replicating
70080         round-to-nearest rounding.
70081         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
70082         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
70083         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
70084         missing underflow exceptions.
70085         (fma_test_towardzero): Add more tests.
70086         (fma_test_downward): Likewise.
70087         (fma_test_upward): Likewise.
70089         [BZ #14047]
70090         * sysdeps/generic/tininess.h: New file.
70091         * sysdeps/i386/tininess.h: Likewise.
70092         * sysdeps/sh/tininess.h: Likewise.
70093         * sysdeps/x86_64/tininess.h: Likewise.
70094         * stdlib/tst-strtod-underflow.c: Likewise.
70095         * stdlib/tst-tininess.c: Likewise.
70096         * stdlib/strtod_l.c: Include <tininess.h>.
70097         (round_and_return): Do not set errno for exact underflow cases.
70098         Force an underflow exception when setting errno for underflow.
70099         Determine underflow based on rounding to normal precision if
70100         TININESS_AFTER_ROUNDING.
70101         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
70102         ERANGE for exact underflow cases.
70103         * stdlib/Makefile (tests): Add tst-tininess and
70104         tst-strtod-underflow.
70105         ($(objpfx)tst-tininess): Use $(link-libm).
70106         ($(objpfx)tst-strtod-underflow): Likewise.
70108 2012-10-30  Andreas Jaeger  <aj@suse.de>
70110         [BZ #14767]
70111         * elf/Makefile (tests): Remove conditional for have-initfini-array
70112         since this is now always required and the variable does not exist
70113         anymore.
70114         (tests-static): Likewise.
70115         (modules-names): Likewise.
70117         * po/eo.po: Add Esperanto translation from translation project.
70119         * elf/tst-array1.c (fini_array): Make writeable so that it can be
70120         merged with constructor/destructor.
70121         (init_array): Likewise.
70122         * elf/tst-array2dep.c (fini_array): Likewise.
70123         (init_array): Likewise.
70125 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
70127         * manual/message.texi: Delete @cartouche tags.
70129 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
70131         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
70132         EOPNOTSUPP.
70133         * sysdeps/mach/hurd/fsync.c: Likewise.
70135         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
70136         [_POSIX_REALTIME_SIGNALS]: Change condition to
70137         [_POSIX_REALTIME_SIGNALS > 0].
70139 2012-10-27  Andreas Jaeger  <aj@suse.de>
70141         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
70142         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
70143         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
70144         [__WORDSIZE != 64]: Likewise.
70146 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
70148         *  iconvdata/tst-table.sh: Remove ${SHELL}.
70149         *  iconvdata/tst-tables.sh: Likewise.
70151 2012-10-25  David S. Miller  <davem@davemloft.net>
70153         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
70154         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
70155         of strtoull.
70157         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
70158         ifunc-impl-list.c
70159         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
70160         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
70161         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
70162         file.
70164 2012-10-25  Roland McGrath  <roland@hack.frob.com>
70166         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
70167         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
70168         __getdirentries.
70170 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
70171             Jim Blandy  <jimb@codesourcery.com>
70173         * scripts/cross-test-ssh.sh: New file.
70174         * manual/install.texi (Configuring and compiling): Document use of
70175         cross-test-ssh.sh.
70176         * INSTALL: Regenerated.
70178 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
70180         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
70181         EOPNOTSUPP.
70183 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
70185         * Makeconfig (run-program-prefix): Fix comment.
70187 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
70188             Jim Blandy  <jimb@codesourcery.com>
70190         * Makeconfig (test-wrapper): New variable,
70191         (test-wrapper-env): Likewise.
70192         [$(cross-compiling) = yes && $(test-wrapper) != ""]
70193         (run-built-tests): Define to yes.
70194         (run-program-prefix): Use $(test-wrapper).
70195         (built-program-cmd): Likewise.
70196         * Rules (make-test-out): Use $(test-wrapper-env) and
70197         $(host-built-program-cmd).
70198         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
70199         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
70200         tst-pathopt.sh.
70201         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
70202         $(test-wrapper-env) to tst-rtld-load-self.sh.
70203         ($(objpfx)order2.out): Use $(test-wrapper).
70204         ($(objpfx)tst-initorder.out): Likewise.
70205         ($(objpfx)tst-initorder2.out): Likewise.
70206         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
70207         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
70208         (test_wrapper_env): New variable.  Use it to run ld.so.
70209         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
70210         Use it to run ld.so.
70211         (test_wrapper_env): Likewise.
70212         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
70213         $(test-wrapper) to run-iconv-test.sh.
70214         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
70215         (ICONV): Use $test_wrapper.
70216         * posix/Makefile ($(objpfx)globtest.out): Pass
70217         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
70218         globtest.sh, not $(run-program-prefix).
70219         * posix/globtest.sh (run_via_rtld_prefix): New variable.
70220         (test_wrapper): Likewise.
70221         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
70222         set together with run_via_rtld_prefix.
70223         (run_program_prefix): Define in terms of test_wrapper and
70224         run_via_rtld_prefix.
70226 2012-10-24  Roland McGrath  <roland@hack.frob.com>
70228         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
70229         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
70230         Targets removed.
70232         [BZ #14743]
70233         * include/time.h: Remove librt_hidden_proto (clock_gettime).
70234         Declare __clock_getres, __clock_gettime, __clock_settime,
70235         __clock_nanosleep, and __clock_getcpuclockid.
70236         * rt/clock_gettime.c: Define __clock_gettime as an alias.
70237         Remove librt_hidden_def (clock_gettime).
70238         * sysdeps/unix/clock_gettime.c: Likewise.
70239         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
70240         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
70241         * rt/clock_getres.c: Define __clock_getres as an alias.
70242         * sysdeps/posix/clock_getres.c: Likewise.
70243         * rt/clock_settime.c: Define __clock_settime as an alias.
70244         * sysdeps/unix/clock_settime.c: Likewise.
70245         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
70246         * sysdeps/unix/clock_nanosleep.c: Likewise.
70247         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
70248         * rt/clock-compat.c: New file.
70249         * rt/Makefile (librt-routines): Add clock-compat and move
70250         $(clock-routines) to ...
70251         (routines): ... here, new variable.
70252         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
70253         Don't add get_clockfreq here.
70254         * rt/Versions (libc: GLIBC_2.17): New version set.
70255         Add clock_* symbols here.
70256         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
70257         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
70258         (GLIBC_2.17): Add clock_* symbols.
70259         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
70260         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
70261         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
70262         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
70263         Likewise.
70264         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
70265         Likewise.
70266         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
70267         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
70268         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
70269         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
70270         * NEWS: Mention the move.
70272         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
70273         Use __open, __read, __close rather than their public counterparts.
70274         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
70275         (__get_clockfreq_via_cpuinfo): Likewise.
70276         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
70277         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
70279         * config.h.in (HAVE_IFUNC): New #undef.
70280         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
70281         was successful.
70282         * configure: Regenerated.
70284 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
70286         * configure.in: Move READELF check to start of file.
70287         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
70288         libc_cv_asm_gnu_indirect_function in the process.
70289         * configure: Regenerated.
70291 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
70293         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
70294         send the output to /dev/null.
70295         (libc_cv_cc_with_libunwind): Likewise.
70296         (libc_cv_as_noexecstack): Likewise.
70297         * configure: Regenerate.
70299 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
70301         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
70303         * posix/globtest.sh (TMPDIR): Do not set.
70304         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
70305         (testout): Likewise.
70307 2012-10-24  Andreas Jaeger  <aj@suse.de>
70309         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
70310         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
70311         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
70312         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
70313         posix_fadvise64, posix_fallocate64.
70315         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
70316         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
70317         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
70318         Likewise.
70319         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
70320         Likewise.
70321         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
70323         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
70324         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
70325         <bits/fcntl-linux.h>.
70326         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
70328         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
70329         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
70330         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
70331         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
70332         [__WORDSIZE != 64]: Likewise.
70334 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
70336         * Makeconfig (run-built-tests): New variable.
70337         * Rules [$(cross-compiling) = yes]: Change condition to
70338         [$(run-built-tests) = no].
70339         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
70340         to [$(run-built-tests) = yes].
70341         * elf/Makefile [$(cross-compiling) = no]: Likewise.
70342         * grp/Makefile [$(cross-compiling) = no]: Likewise.
70343         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
70344         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
70345         * intl/Makefile [$(cross-compiling) = no]: Likewise.
70346         * io/Makefile [$(cross-compiling) = no]: Likewise.
70347         * libio/Makefile [$(cross-compiling) = no]: Likewise.
70348         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
70349         * misc/Makefile [$(cross-compiling) = no]: Likewise.
70350         * posix/Makefile [$(cross-compiling) = no]: Likewise.
70351         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
70352         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
70353         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
70354         * string/Makefile [$(cross-compiling) = no]: Likewise.
70356         * posix/Makefile ($(objpfx)globtest.out): Pass
70357         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
70358         $(rtld-installed-name).
70359         * posix/globtest.sh (elf_objpfx): Remove variable.
70360         (rtld_installed_name): Likewise.
70361         (library_path): Likewise.
70362         (run_program_prefix): New variable.  Use for running globtest
70363         binary.
70365 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
70366             Joseph Myers  <joseph@codesourcery.com>
70368         * Makeconfig (host-built-program-cmd): New variable.
70369         * elf/Makefile (tst-stackguard1-ARGS): Use
70370         $(host-built-program-cmd).
70371         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
70372         (tst-spawn-ARGS): Likewise.
70373         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
70375 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
70376             Jim Blandy  <jimb@codesourcery.com>
70378         * Makeconfig (run-via-rtld-prefix): New variable.
70379         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
70380         (built-program-cmd): Likewise.
70382 2012-10-22  Andreas Jaeger  <aj@suse.de>
70384         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
70385         __O_RSYNC if it exists, otherwise to O_SYNC.
70387 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
70388             Joseph Myers  <joseph@codesourcery.com>
70390         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
70391         /dev/null.
70392         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
70393         from /dev/null
70394         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
70395         /dev/null.
70397 2012-10-22  Andreas Jaeger  <aj@suse.de>
70399         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
70400         Define always.
70401         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
70403         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
70404         bits/fcntl-linux.h.
70406         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
70407         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
70409         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
70410         to __O_LARGEFILE.
70411         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
70412         to __O_LARGEFILE.
70414 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
70415             Joseph Myers  <joseph@codesourcery.com>
70417         * config.make.in (NM): New variable.
70419 2012-10-21  Andreas Jaeger  <aj@suse.de>
70421         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
70422         definitions and declarations that are provided by
70423         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
70425 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
70427         [BZ #14683]
70428         * elf/Makefile (tests-static): Add tst-leaks1-static.
70429         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
70430         ($(objpfx)tst-leaks1-static): New rule.
70431         ($(objpfx)tst-leaks1-static-mem): Likewise.
70432         (tst-leaks1-static-ENV): New macro.
70433         * elf/dl-open.c (dl_open_worker): Check the main application
70434         only if SHARED is defined.
70435         * elf/tst-leaks1-static.c: New file.
70437 2012-10-20  Andreas Jaeger  <aj@suse.de>
70439         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
70440         generic values for Linux.
70441         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
70442         and declarations that are provided by <bits/fcntl-linux.h> and
70443         include <bits/fcntl-linux.h>.
70444         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
70445         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
70447 2012-10-20  Roland McGrath  <roland@hack.frob.com>
70449         * io/fcntl.h: Move include of <bits/types.h> to the top and
70450         include it unconditionally.
70452 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
70454         * wcsmbs/Makefile (tests-ifunc): New variable.
70455         (tests): Add $(tests-ifunc).
70456         * wcsmbs/test-wcschr-ifunc.c: New file.
70457         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
70458         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
70459         * wcsmbs/test-wcslen-ifunc.c: Likewise.
70460         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
70461         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
70463         * string/Makefile (tests-ifunc): New variable.
70464         (tests): Add $(tests-ifunc).
70465         * string/test-memccpy.c (TEST_NAME): New macro.
70466         * string/test-memchr.c (TEST_NAME): Likewise.
70467         * string/test-memcmp.c (TEST_NAME): Likewise.
70468         * string/test-memcpy.c (TEST_NAME): Likewise.
70469         * string/test-memmem.c (TEST_NAME): Likewise.
70470         * string/test-memmove.c (TEST_NAME): Likewise.
70471         * string/test-memset.c (TEST_NAME): Likewise.
70472         * string/test-rawmemchr.c (TEST_NAME): Likewise.
70473         * string/test-stpcpy.c (TEST_NAME): Likewise.
70474         * string/test-stpncpy.c (TEST_NAME): Likewise.
70475         * string/test-strcasecmp.c (TEST_NAME): Likewise.
70476         * string/test-strcasestr.c (TEST_NAME): Likewise.
70477         * string/test-strcat.c (TEST_NAME): Likewise.
70478         * string/test-strchr.c (TEST_NAME): Likewise.
70479         * string/test-strcmp.c(TEST_NAME): Likewise.
70480         * string/test-strcpy.c (TEST_NAME): Likewise.
70481         * string/test-strcspn.c (TEST_NAME): Likewise.
70482         * string/test-strlen.c (TEST_NAME): Likewise.
70483         * string/test-strncasecmp.c (TEST_NAME): Likewise.
70484         * string/test-strncmp.c (TEST_NAME): Likewise.
70485         * string/test-strncpy.c (TEST_NAME): Likewise.
70486         * string/test-strnlen.c (TEST_NAME): Likewise.
70487         * string/test-strpbrk.c (TEST_NAME): Likewise.
70488         * string/test-strrchr.c (TEST_NAME): Likewise.
70489         * string/test-strspn.c (TEST_NAME): Likewise.
70490         * string/test-strstr.c (TEST_NAME): Likewise.
70491         * string/test-bcopy-ifunc.c: New file.
70492         * string/test-bzero-ifunc.c: Likewise.
70493         * string/test-memccpy-ifunc.c: Likewise.
70494         * string/test-memchr-ifunc.c: Likewise.
70495         * string/test-memcmp-ifunc.c: Likewise.
70496         * string/test-memcpy-ifunc.c: Likewise.
70497         * string/test-memmem-ifunc.c: Likewise.
70498         * string/test-memmove-ifunc.c: Likewise.
70499         * string/test-mempcpy-ifunc.c: Likewise.
70500         * string/test-memset-ifunc.c: Likewise.
70501         * string/test-rawmemchr-ifunc.c: Likewise.
70502         * string/test-stpcpy-ifunc.c: Likewise.
70503         * string/test-stpncpy-ifunc.c: Likewise.
70504         * string/test-strcasecmp-ifunc.c: Likewise.
70505         * string/test-strcasestr-ifunc.c: Likewise.
70506         * string/test-strcat-ifunc.c: Likewise.
70507         * string/test-strchr-ifunc.c: Likewise.
70508         * string/test-strchrnul-ifunc.c: Likewise.
70509         * string/test-strcmp-ifunc.c: Likewise.
70510         * string/test-strcpy-ifunc.c: Likewise.
70511         * string/test-strcspn-ifunc.c: Likewise.
70512         * string/test-strlen-ifunc.c: Likewise.
70513         * string/test-strncasecmp-ifunc.c: Likewise.
70514         * string/test-strncat-ifunc.c: Likewise.
70515         * string/test-strncmp-ifunc.c: Likewise.
70516         * string/test-strncpy-ifunc.c: Likewise.
70517         * string/test-strnlen-ifunc.c: Likewise.
70518         * string/test-strpbrk-ifunc.c: Likewise.
70519         * string/test-strrchr-ifunc.c: Likewise.
70520         * string/test-strspn-ifunc.c: Likewise.
70521         * string/test-strstr-ifunc.c: Likewise.
70523         * debug/Makefile (tests-ifunc): New variable.
70524         (tests): Add $(tests-ifunc).
70525         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
70526         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
70527         * debug/test-stpcpy_chk-ifunc.c: New file.
70528         * debug/test-strcpy_chk-ifunc.c: Likewise.
70530 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
70532         [BZ #13601]
70533         * elf/dl-load.c (open_verify): Retry read if the entire ELF
70534         header is not read in.
70536 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
70538         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
70539         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
70540         directly.  Pass built executable to script as
70541         $(built-program-cmd).
70542         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
70543         $testprogram without using LD_LIBRARY_PATH and $ldso.
70545         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
70546         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
70547         $(rtld-installed-name).
70548         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
70549         (rtld_installed_name): Likewise.
70550         (library_path): Likewise.
70551         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
70552         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
70553         $(run-program-prefix) to tst-tables.sh.
70554         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
70555         it to run tst-table-from and tst-table-to.
70556         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
70557         Pass it to tst-table.sh.
70558         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
70559         $(run-program-prefix) to tst-gettext.sh.
70560         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
70561         tst-translit.sh.
70562         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
70563         tst-gettext2.sh.
70564         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
70565         to run tst-gettext.
70566         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
70567         to run tst-gettext2.
70568         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
70569         to run tst-translit.
70570         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
70571         $(run-program-prefix) to tst-mtrace.sh.
70572         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
70573         to run tst-mtrace.
70574         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
70575         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
70576         $(rtld-installed-name).
70577         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
70578         (rtld_installed_name): Likewise.
70579         (run_program_prefix): New variable.  Use it to run wordexp-test.
70581         * Makeconfig (ARCH): Remove all definitions.
70582         (machine): Likewise.
70583         [ARCH]: Remove conditional code.
70584         [!objdir]: Give error.
70585         [!objdir] (objpfx): Remove.
70586         [!objdir] (common-objpfx): Likewise.
70587         [!objdir] (common-objdir): Likewise.
70588         * configure.in (config_makefile): Remove.  Hardcode Makefile in
70589         AC_CONFIG_FILES call.
70590         * configure: Regenerated.
70592         [BZ #13888]
70593         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
70594         or TMPDIR.
70595         (testout): Likewise.
70597         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
70598         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
70599         $(rtld-installed-name).
70600         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
70601         (rtld_installed_name): Likewise.
70602         (runit): Remove function.
70603         (run_getconf): New variable,  Use it for running getconf binary.
70605 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
70607         [BZ #14716]
70608         * string/test-memmem.c (check_result): New function.
70609         (do_one_test): Use it.
70610         (check1): New function.
70611         (test_main): Use it.
70613 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
70615         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
70617 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
70619         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
70620         (_G_LSEEK64): Likewise.
70621         (_G_MMAP64): Likewise.
70622         (_G_FSTAT64): Likewise.
70623         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
70624         (_G_LSEEK64): Likewise.
70625         (_G_MMAP64): Likewise.
70626         (_G_FSTAT64): Likewise.
70627         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
70628         unconditional.  Call __mmap64 directly.
70629         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
70630         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
70631         __lseek64 directly.
70632         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
70633         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
70634         __mmap64 directly.
70635         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
70636         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
70637         __lseek64 directly.
70638         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
70639         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
70640         __lseek64 directly.
70641         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
70642         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
70643         __lseek64 directly.
70644         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
70645         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
70646         __fxstat64 directly.
70647         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
70648         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
70649         unconditional.
70650         (freopen64) [!_G_OPEN64]: Remove conditional code.
70651         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
70652         unconditional.
70653         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
70654         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
70655         unconditional.
70656         (ftello64) [!_G_LSEEK64]: Remove conditional code.
70657         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
70658         unconditional.
70659         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
70660         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
70661         unconditional.
70662         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
70663         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
70664         unconditional.
70665         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
70666         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
70667         unconditional.
70668         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
70669         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
70670         unconditional.
70671         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
70673 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
70675         [BZ #12140]
70676         * manual/memory.texi (Malloc Tunable Parameters): Add note
70677         about free list pointers overwriting some perturb bytes.
70678         Wording suggested by Roland McGrath.
70680 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
70682         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
70683         (lgamma_test): Likewise.
70684         (tgamma_test): Likewise.
70686 2012-10-16  Florian Weimer  <fweimer@redhat.com>
70688         [BZ #14700]
70689         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
70690         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
70692 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
70694         * NEWS: Mention BZ #14716.
70695         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
70696         when removing AVAILABLE1_USES_J macro.
70698 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
70700         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
70701         (__bswap_64): __uint64_t for unsigned 64-bit int.
70703 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
70705         * include/string.h (memmem): Declare libc hidden alias.
70706         * string/memmem.c (memmem): Define libc hidden alias.
70707         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
70708         __read, __close instead of open, read, close.
70710 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
70712         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
70713         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
70714         global and hidden.
70715         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
70716         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
70717         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
70718         Likewise.
70719         (__rawmemchr_sse2): Likewise.
70720         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
70721         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
70722         (__strchr_sse2): Likewise.
70723         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
70724         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
70725         (__strcasecmp_sse2): Likewise.
70726         (__strncasecmp_sse2): Likewise.
70727         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
70728         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
70729         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
70730         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
70731         (__strrchr_sse2): Likewise.
70732         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
70733         ifunc-impl-list.c.
70734         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
70735         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
70736         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
70737         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
70738         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
70739         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
70740         * sysdeps/x86_64/multiarch/memset.S: Likewise.
70741         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
70742         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
70743         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
70744         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
70745         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
70746         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
70747         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
70748         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
70749         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
70750         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
70751         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
70752         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
70753         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
70754         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
70755         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
70756         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
70757         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
70758         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
70759         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
70760         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
70761         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
70762         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
70763         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
70765         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
70766         global and hidden.
70767         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
70768         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
70769         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
70770         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
70771         Likewise.
70772         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
70773         Likewise.
70774         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
70775         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
70776         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
70777         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
70778         ifunc-impl-list.c.
70779         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
70780         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
70781         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
70782         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
70783         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
70784         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
70785         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
70786         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
70787         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
70788         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
70789         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
70790         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
70791         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
70792         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
70793         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
70794         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
70795         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
70796         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
70797         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
70798         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
70799         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
70800         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
70801         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
70802         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
70803         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
70804         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
70805         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
70806         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
70807         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
70808         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
70809         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
70810         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
70811         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
70812         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
70813         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
70814         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
70815         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
70816         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
70817         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
70818         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
70819         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
70821         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
70822         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
70823         * include/ifunc-impl-list.h: New file.
70824         * misc/ifunc-impl-list.c: Likewise.
70825         * misc/Makefile (routines): Add ifunc-impl-list.
70826         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
70827         * string/test-string.h: Include <ifunc-impl-list.h>.
70828         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
70829         TEST_NAME]: New variables.
70830         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
70831         are defined.
70832         (test_init): Call __libc_ifunc_impl_list to initialize
70833         func_list if TEST_IFUNC and TEST_NAME are defined.
70835         * string/Makefile (strop-tests): Add bcopy and bzero.
70836         * string/test-bcopy.c: New file.
70837         * string/test-bzero.c: Likewise.
70838         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
70839         defined.
70840         * string/test-memset.c: Support bzero test if TEST_BZERO is
70841         defined.
70842         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
70843         __libc_memmove.
70844         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
70845         __libc_memset.
70846         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
70847         of memset.
70849 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
70851         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
70852         * configure: Regenerated.
70854         * Makeconfig (+link-static-before-libc): Don't include
70855         $(link-static-libc).
70857         * libio/libio.h (_IO_pos_t): Remove.
70859 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
70861         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
70862         McGrath.
70864 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
70866         * crypt/crypt-entry.c: Include fips-private.h.
70867         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
70868         * crypt/md5c-test.c (main): Tolerate disabled MD5.
70869         * sysdeps/unix/sysv/linux/fips-private.h: New file.
70870         * sysdeps/generic/fips-private.h: New file, dummy fallback.
70872 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
70874         * crypt/crypt-private.h: Include stdbool.h.
70875         (_ufc_setup_salt_r): Return bool.
70876         * crypt/crypt-entry.c: Include errno.h.
70877         (__crypt_r): Return NULL with EINVAL for bad salt.
70878         * crypt/crypt_util.c (bad_for_salt): New.
70879         (_ufc_setup_salt_r): Check that salt is long enough and within
70880         the specified alphabet.
70881         * crypt/badsalttest.c: New file.
70882         * crypt/Makefile (tests): Add it.
70883         ($(objpfx)badsalttest): New.
70885 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
70887         * NEWS: Add entry for BZ #14602.
70889 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
70891         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
70892         type-generic.
70893         * math/libm-test.inc: Update comment listing what functions and
70894         macros are tested.
70895         (isgreater_test): New function.
70896         (isgreaterequal_test): Likewise.
70897         (isless_test): Likewise.
70898         (islessequal_test): Likewise.
70899         (islessgreater_test): Likewise.
70900         (isunordered_test): Likewise.
70901         (main): Call the new functions.
70903 2012-10-09  Roland McGrath  <roland@hack.frob.com>
70905         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
70906         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
70907         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
70908         * sysdeps/i386/configure: Regenerated.
70909         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
70910         * sysdeps/mach/configure: Regenerated.
70911         * sysdeps/mach/hurd/configure: Regenerated.
70912         * sysdeps/powerpc/configure: Regenerated.
70913         * sysdeps/powerpc/powerpc32/configure: Regenerated.
70914         * sysdeps/powerpc/powerpc64/configure: Regenerated.
70915         * sysdeps/s390/s390-32/configure: Regenerated.
70916         * sysdeps/s390/s390-64/configure: Regenerated.
70917         * sysdeps/sh/configure: Regenerated.
70918         * sysdeps/sparc/configure: Regenerated.
70919         * sysdeps/unix/sysv/linux/configure: Regenerated.
70920         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
70921         * sysdeps/x86_64/configure: Regenerated.
70923         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
70924         defined.  Don't check if MAP is NULL.
70926 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
70928         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
70929         (_G_stat64): Likewise.
70930         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
70931         (_G_stat64): Likewise.
70932         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
70933         instead of struct _G_stat64.
70934         * libio/fileops.c (mmap_remap_check): Likewise.
70935         (decide_maybe_mmap): Likewise.
70936         (_IO_new_file_seekoff): Likewise.
70937         (_IO_file_stat): Likewise.
70938         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
70939         _G_off64_t.
70940         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
70941         instead of struct _G_stat64.
70942         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
70944 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
70946         [BZ #14602]
70947         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
70948         Replace with ...
70949         (CHECK_EOL): New macro.
70950         (two_way_short_needle): Check beginning of haystack for EOL.  Use
70951         CHECK_EOL.
70952         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
70953         Replace with CHECK_EOL.
70954         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
70955         Replace with CHECK_EOL.
70957 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
70959         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
70960         type-generic.
70961         * math/libm-test.inc: Update comment listing what functions and
70962         macros are tested.
70963         (finite_test): New function.
70964         (isinf_test): Likewise.
70965         (isnan_test): Likewise.
70966         (fpclassify_test): Test subnormal input.
70967         (isfinite_test): Likewise.
70968         (isnormal_test): Likewise.
70969         (main): Call the new functions.
70971 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
70973         [BZ #14660]
70974         * Makerules (%.dynsym): Force C locale when running
70975         $(OBJDUMP) --dynamic-syms.
70977 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
70979         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
70980         <stdint.h>.
70982 2012-10-06  David S. Miller  <davem@davemloft.net>
70984         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
70985         upper 32-bits of the length value in %o2 since we use branch-on-register
70986         tests which consider the entire 64-bit register.
70988 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
70990         * string/test-strstr.c (check2): Add a test for page boundary.
70992 2012-10-05  David S. Miller  <davem@davemloft.net>
70994         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
70995         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
70996         file.
70997         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
70998         sysdep_routines.
70999         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
71000         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
71001         and bzero when HWCAP_SPARC_CRYPTO is present.
71003 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
71005         [BZ #14602]
71006         * string/test-strstr.c (check2): New function.
71007         (test_main): Call check2.
71009         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
71010         and bug-strchr1.
71011         * string/bug-strcasestr1.c (do_test): Moved to ...
71012         * string/test-strcasestr.c (check1): Here.  New function.
71013         (do_one_test): Break out result checking code into ...
71014         (check_result): This.  New function.
71015         (do_one_test): Call check_result.
71016         (test_main): Call check1.
71017         * string/bug-strchr1.c (do_test): Moved to ...
71018         * string/test-strchr.c (check1): Here.  New function.
71019         (do_one_test): Break out result checking code into ...
71020         (check_result): This.  New function.
71021         (do_one_test): Call check_result.
71022         (test_main): Call check1.
71023         * string/bug-strstr1.c (main): Moved to ...
71024         * string/test-strstr.c (check1): Here.  New function.
71025         (do_one_test): Break out result checking code into ...
71026         (check_result): This.  New function.
71027         (do_one_test): Call check_result.
71028         (test_main): Call check1.
71029         * string/bug-strcasestr1.c: Removed.
71030         * string/bug-strchr1.c: Likewise.
71031         * string/bug-strstr1.c: Likewise.
71033         * elf/Makefile (dl-routines): Add hwcaps.
71034         * elf/dl-support.c (_dl_important_hwcaps): Removed.
71035         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
71036         (_dl_important_hwcaps): Moved to ...
71037         * elf/dl-hwcaps.c: Here.  New file.
71038         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
71040         [BZ #14557]
71041         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
71042         if IS_IN_rtld isn't defined.
71044         * elf/dl-support.c (_dl_sysinfo_map): New.
71045         Include "get-dynamic-info.h" and "setup-vdso.h".
71046         (_dl_non_dynamic_init): Call setup_vdso.
71047         * elf/dynamic-link.h: Don't include <assert.h>.
71048         (elf_get_dynamic_info): Moved to ...
71049         * elf/get-dynamic-info.h: Here.  New file.
71050         * elf/dynamic-link.h: Include "get-dynamic-info.h".
71051         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
71052         * elf/setup-vdso.h: Here.  New file.
71053         * elf/rtld.c: Include "setup-vdso.h".
71054         (dl_main): Call setup_vdso.
71056 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
71058         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
71059         creal in comment listing functions tested.  List finite, isinf,
71060         isnan, isless, islessequal, isgreater, isgreaterequal,
71061         islessgreater, isunordered, lgamma_r and pow10 as functions and
71062         macros not tested.  Mention which functions not tested are aliases
71063         for other functions.  Fix typo.  Note that signs of NaNs are not
71064         tested.
71066         * scripts/config.guess: Update from config.git.
71067         * scripts/config.sub: Likewise.
71069 2012-10-04  Roland McGrath  <roland@hack.frob.com>
71071         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
71072         * misc/madvise.c (madvise): Renamed to __madvise.
71073         Make madvise a weak alias.
71074         * include/sys/mman.h: Declare __madvise.
71075         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
71076         * sysdeps/unix/syscalls.list
71077         (madvise): Make __madvise the strong name, and madvise a weak alias.
71078         * sysdeps/unix/sysv/linux/syscalls.list
71079         (madvise, mmap): Remove redundant entries.
71080         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
71081         * malloc/malloc.c (mtrim): Likewise.
71082         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
71084 2012-10-03  Roland McGrath  <roland@hack.frob.com>
71086         * sysdeps/mach/hurd/dl-cache.c: File removed.
71087         * config.h.in (USE_LDCONFIG): New #undef.
71088         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
71089         * configure: Regenerated.
71090         * elf/Makefile (dl-routines): Add dl-cache only under
71091         [$(use-ldconfig) = yes].
71092         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
71093         cache on [USE_LDCONFIG].
71094         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
71095         [USE_LDCONFIG].
71096         * elf/rtld.c (dl_main): Likewise.
71098 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
71100         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
71101         _SC_LEVEL4_CACHE_LINESIZE.
71103 2012-10-03  Roland McGrath  <roland@hack.frob.com>
71105         * sysdeps/unix/bsd/confstr.h: File removed.
71107 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
71109         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
71110         sys/sdt-config.h.
71112 2012-10-02  Roland McGrath  <roland@hack.frob.com>
71114         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
71115         Make 'mapoff' field ElfW(Off) rather than off_t.
71117 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
71119         * nscd/Makefile: Remove nscd-cflags and all its users.
71120         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
71121         (CFLAGS-nonlib): Add compiler flags for nscd modules.
71123         [BZ #10631]
71124         * malloc.c (malloc_printerr): Clarify error message.
71126 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
71128         [BZ #14648]
71129         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
71130         Set bit_FMA_Usable if FMA is supported.
71131         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
71132         macro.
71133         (bit_FMA4_Usable): Updated.
71134         (index_FMA_Usable): New macro.
71135         (CPUID_FMA): Likewise.
71136         (HAS_FMA): Defined with bit_FMA_Usable.
71138 2012-10-01  Roland McGrath  <roland@hack.frob.com>
71140         * bits/types.h (__swblk_t): Type removed.
71141         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
71142         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
71143         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
71144         (__SWBLK_T_TYPE): Likewise.
71145         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
71146         (__SWBLK_T_TYPE): Likewise.
71147         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
71148         (__SWBLK_T_TYPE): Likewise.
71149         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
71150         (__SWBLK_T_TYPE): Likewise.
71152 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
71153             Honza Horak <hhorak@redhat.com>
71155         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
71156         (xdr_mapname): Use YPMAXMAP as maxsize.
71157         (xdr_peername): Use YPMAXPEER as maxsize.
71158         (xdr_keydat): Use YPAXRECORD as maxsize.
71159         (xdr_valdat): Use YPMAXRECORD as maxsize.
71161 2012-10-01  Roland McGrath  <roland@hack.frob.com>
71163         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
71165         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
71166         * csu/init-first.c: ... here.
71167         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
71168         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
71169         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
71170         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
71171         * sysdeps/i386/init-first.c: File removed.
71172         * sysdeps/sh/init-first.c: File removed.
71174 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
71176         [BZ #14645]
71177         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
71178         if x * y might underflow to zero and z is zero.
71179         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
71180         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
71181         * math/libm-test.inc (min_subnorm_value): New variable.
71182         (fma_test): Add more tests.
71183         (fma_test_towardzero): Likewise.
71184         (fma_test_downward): Likewise.
71185         (fma_test_upward): Likewise.
71186         (initialize): Set min_subnorm_value.
71188 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
71190         [BZ #14638]
71191         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
71192         0 + 0.
71193         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
71194         mode for addition resulting in exact zero.
71195         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
71196         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
71197         exact 0 + 0.
71198         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
71199         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
71200         * math/libm-test.inc (fma_test): Add more tests.
71201         (fma_test_towardzero): New function.
71202         (fma_test_downward): Likewise.
71203         (fma_test_upward): Likewise.
71204         (main): Call the new functions.
71206 2012-09-28  David S. Miller  <davem@davemloft.net>
71208         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
71210 2012-09-28  Roland McGrath  <roland@hack.frob.com>
71212         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
71213         instead of SIGALRM.
71215         * sysdeps/gnu/_G_config.h: Moved to ...
71216         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
71217         * sysdeps/mach/hurd/_G_config.h: Moved to ...
71218         * sysdeps/generic/_G_config.h: ... here.
71220         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
71222         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
71224         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
71225         Conditionalize target on [libnss_test1.so-version].
71227         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
71229         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
71230         (elfobjdir): Move out of conditionals.
71232         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
71233         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
71234         (__nss_lookup_function): Conditionalize label remove_from_tree on
71235         [!DO_STATIC_NSS || SHARED], matching its only use.
71237 2012-09-28  David S. Miller  <davem@davemloft.net>
71239         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
71240         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
71241         file.
71242         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
71243         sysdep_routines.
71244         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
71245         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
71246         when HWCAP_SPARC_CRYPTO is present.
71248 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
71250         * io/tst-mknodat.c: Create a FIFO instead of a socket.
71252 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
71254         [BZ #6530]
71255         * stdio-common/vfprintf.c (process_string_arg): Revert
71256         2000-07-22 change.
71258 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
71260         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
71261         for testcase.
71262         * stdio-common/tst-sprintf.c: Include <locale.h>
71263         (main): Test sprintf's handling of incomplete multibyte
71264         characters.
71266 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
71268         * elf/dl-runtime.c (VERSYMIDX): Removed.
71269         * elf/dl-version.c (VERSYMIDX): Likewise.
71270         * elf/do-rel.h (VERSYMIDX): Likewise.
71271         (VALIDX): Likewise.
71272         * elf/dynamic-link.h (VERSYMIDX): Likewise.
71273         * elf/rtld.c (VALIDX): Likewise.
71274         (ADDRIDX): Likewise.
71275         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
71276         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
71277         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
71278         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
71279         (VALIDX): Likewise.
71280         (ADDRIDX): Likewise.
71282 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
71284         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
71286 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
71288         [BZ #11438]
71289         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
71290         to global scope.
71291         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
71292         addresses are in the same scope as 192.0.2/24.
71293         * posix/gai.conf: Document new scope table defaults.
71295 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
71297         [BZ #5298]
71298         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
71299         for ftell.  Compute offsets from write pointers instead.
71300         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
71302 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
71304         [BZ #14543]
71305         * libio/Makefile (tests): New test case tst-fseek.
71306         * libio/tst-fseek.c: New test case to verify that fseek/ftell
71307         combination works in wide mode.
71308         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
71309         state when the external buffer state changes.
71311 2012-09-27  David S. Miller  <davem@davemloft.net>
71313         [BZ #14376]
71314         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
71315         pass reloc->r_addend in as the 'high' argument to
71316         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
71318         * sysdeps/sparc/fpu/libm-test-ulps: Update.
71320 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
71322         * rt/tst-aio2.c: Include <pthread.h>.
71323         * rt/tst-aio3.c: Likewise.
71325 2012-09-27  Steve Ellcey  <sellcey@mips.com>
71327         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
71329 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
71331         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
71332         contents on [SHARED].
71334 2012-09-26  Marek Polacek  <polacek@redhat.com>
71336         [BZ #14530]
71337         [BZ #13741]
71338         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
71339         for C++ and GCC <4.3 as well as for non GCC compilers.
71341 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
71343         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
71345 2012-09-25  Roland McGrath  <roland@hack.frob.com>
71347         * Makefile.in (all, install): Declare with .PHONY.
71348         Reported by Michael Hope <michael.hope@linaro.org>.
71350 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
71352         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
71353         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
71354         system header.
71355         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
71356         Likewise.
71357         (sydep_routines): Add the new and the internal functions.
71358         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
71359         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
71360         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
71361         (GLIBC_2.17): Add the new function.
71362         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
71363         (GLIBC_2.17): Likewise.
71364         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
71365         (GLIBC_2.17): Likewise.
71366         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
71367         (GLIBC_2.17): Likewise.
71368         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
71370 2012-09-25  Alan Modra  <amodra@gmail.com>
71372         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
71373         Add release barrier before setting once_control to say
71374         initialisation is done.  Add hints on lwarx.  Use macro in
71375         place of isync.
71376         (clear_once_control): Add release barrier.
71378 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
71380         [BZ #13629]
71381         * math/s_clog.c (__clog): Handle more values close to |z| = 1
71382         specially.
71383         * math/s_clog10.c (__clog10): Likewise.
71384         * math/s_clog10f.c (__clog10f): Likewise.
71385         * math/s_clog10l.c (__clog10l): Likewise.
71386         * math/s_clogf.c (__clogf): Likewise.
71387         * math/s_clogl.c (__clogl): Likewise.
71388         * math/Makefile (libm-calls): Add x2y2m1.
71389         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
71390         (__x2y2m1): Likewise.
71391         (__x2y2m1l): Likewise.
71392         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
71393         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
71394         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
71395         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
71396         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
71397         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
71398         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
71399         * sysdeps/i386/fpu/libm-test-ulps: Update.
71400         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71402         [BZ #14621]
71403         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
71404         int as type of variable DEPTH.
71405         (glob): Use size_t instead of int as type of variables NEWCOUNT
71406         and OLD_PATHC.
71408 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
71410         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
71411         Add s_sincosf-sse2.
71412         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
71413         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
71414         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
71415         macros for using routine as __sincosf_ia32.
71416         Use macro for function declaration and weak_alias.
71417         * sysdeps/i386/fpu/libm-test-ulps: Update.
71419         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
71420         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
71422         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
71423         subnormal argument.
71424         * math/s_cexpf.c (__cexpf): Likewise.
71425         * math/s_csinf.c (__csinf): Likewise.
71426         * math/s_csinhf.c (__csinhf): Likewise.
71427         * math/s_ctanf.c (__ctanf): Likewise.
71428         * math/s_ctanhf.c (__ctanhf): Likewise.
71429         * math/s_ccosh.c (__ccoshf): Likewise.
71430         * math/s_cexp.c (__cexpl): Likewise.
71431         * math/s_csin.c (__csin): Likewise.
71432         * math/s_csinh.c (__csinh): Likewise.
71433         * math/s_ctan.c (__ctan): Likewise.
71434         * math/s_ctanh.c (ctanh): Likewise.
71435         * math/s_ccoshl.c (__ccoshl): Likewise.
71436         * math/s_cexpl.c (__cexpl): Likewise.
71437         * math/s_csinl.c (__csinl): Likewise.
71438         * math/s_csinhl.c (__csinhl): Likewise.
71439         * math/s_ctanl.c (__ctanl): Likewise.
71440         * math/s_ctanhl.c (__ctanhl): Likewise.
71442 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
71444         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
71445         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
71446         (_IO_off_t): Define to __off_t, not _G_off_t.
71447         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
71448         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
71449         (_IO_wint_t): Define to wint_t, not _G_wint_t.
71450         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
71451         type of __dummy and __dummy2 fields.
71452         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
71453         (_G_ssize_t): Likewise.
71454         (_G_off_t): Likewise.
71455         (_G_pid_t): Likewise.
71456         (_G_uid_t): Likewise.
71457         (_G_wchar_t): Likewise.
71458         (_G_wint_t): Likewise.
71459         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
71460         (_G_ssize_t): Likewise.
71461         (_G_off_t): Likewise.
71462         (_G_pid_t): Likewise.
71463         (_G_uid_t): Likewise.
71464         (_G_wchar_t): Likewise.
71465         (_G_wint_t): Likewise.
71466         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
71467         (_G_ssize_t): Likewise.
71468         (_G_off_t): Likewise.
71469         (_G_pid_t): Likewise.
71470         (_G_uid_t): Likewise.
71471         (_G_wchar_t): Likewise.
71472         (_G_wint_t): Likewise.
71474 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
71476         * malloc/arena.c: Include malloc-sysdep.h.
71477         (shrink_heap): Use check_may_shrink_heap to decide if madvise
71478         is sufficient to shrink the heap or an unmap is needed.
71479         * sysdeps/generic/malloc-sysdep.h: New file.  Define
71480         new function check_may_shrink_heap.
71481         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
71482         new function check_may_shrink_heap.
71484 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
71486         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
71487         comments.
71489 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
71491         * catgets/test-gencat.sh: Add "set -e".
71492         * elf/tst-pathopt.sh: Likewise.
71493         * grp/tst_fgetgrent.sh: Likewise.
71494         * iconvdata/run-iconv-test.sh: Likewise.
71495         * intl/tst-gettext.sh: Likewise.
71496         * intl/tst-gettext2.sh: Likewise.
71497         * intl/tst-gettext4.sh: Likewise.
71498         * intl/tst-gettext6.sh: Likewise.
71499         * intl/tst-translit.sh: Likewise.
71500         * io/ftwtest-sh: Likewise.
71501         * libio/test-freopen.sh: Likewise.
71502         * malloc/tst-mtrace.sh: Likewise.
71503         * posix/globtest.sh: Likewise.
71504         * posix/tst-getconf.sh: Likewise.
71505         * posix/wordexp-tst.sh: Likewise.
71506         * stdio-common/tst-printf.sh: Likewise.
71507         * stdio-common/tst-unbputc.sh: Likewise.
71508         * stdlib/tst-fmtmsg.sh: Likewise.
71509         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
71510         * catgets/Makefile: Do not specify -e option when running
71511         testsuite shell scripts.
71512         * elf/Makefile: Likewise.
71513         * grp/Makefile: Likewise.
71514         * iconvdata/Makefile: Likewise.
71515         * intl/Makefile: Likewise.
71516         * io/Makefile: Likewise.
71517         * libio/Makefile: Likewise.
71518         * malloc/Makefile: Likewise.
71519         * posix/Makefile: Likewise.
71520         * stdio-common/Makefile: Likewise.
71521         * stdlib/Makefile: Likewise.
71522         * sysdeps/x86_64/Makefile: Likewise.
71524         * io/ftwtest-sh: Add copyright header.
71525         * posix/globtest.sh: Likewise.
71526         * posix/tst-getconf.sh: Likewise.
71527         * posix/wordexp-tst.sh: Likewise.
71528         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
71530 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
71532         [BZ #13679]
71533         * Makeconfig (+link): Defined as $(+link-static) if
71534         $(build-shared) isn't yes.
71535         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
71536         isn't yes.
71537         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
71539         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
71541         [BZ #14562]
71542         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
71543         new chunk size with MALLOC_ALIGN_MASK.
71545 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
71547         [BZ #5044]
71548         * stdio-common/printf_fphex.c: Include <stdbool.h> and
71549         <rounding-mode.h>.
71550         (__printf_fphex): Determine rounding using get_rounding_mode and
71551         round_away.
71552         * stdio-common/tst-printf-round.c (struct hex_test): New
71553         structure.
71554         (hex_tests): New variable.
71555         (test_hex_in_one_mode): New function.
71556         (do_test): Also run tests for hex float output.
71558 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
71560         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
71561         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
71562         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
71563         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
71564         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
71565         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
71566         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
71567         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
71569 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
71571         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
71572         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
71573         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
71574         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
71576 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
71578         [BZ #14579]
71579         * elf/rtld.c (dl_main): Limit the check for self loading to normal
71580         mode only.
71581         * elf/tst-rtld-load-self.sh: New test.
71582         * elf/Makefile: Run it.
71584 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
71586         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
71587         (tst-writev-ENV): Remove.
71588         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
71590 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
71592         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
71594 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
71596         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
71597         unconditional.
71598         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
71599         Likewise.
71600         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
71601         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
71602         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
71603         Likewise.
71605 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
71607         [BZ #14587]
71608         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
71609         * config.make.in (have-cpp-asm-debuginfo): Removed.
71610         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
71611         * configure: Regenerated.
71613 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
71615         [BZ #5044]
71616         * stdio-common/printf_fp.c: Include <stdbool.h> and
71617         <rounding-mode.h>.
71618         (___printf_fp): Determine rounding using get_rounding_mode and
71619         round_away.
71620         * stdio-common/tst-printf-round.c: New file.
71621         * stdio-common/Makefile (tests): Add tst-printf-round.
71622         (link-libm): New variable.
71623         ($(objpfx)tst-printf-round): Depend in $(link-libm).
71625 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
71627         [BZ #14576]
71628         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
71629         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
71630         Likewise.
71631         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
71632         Likewise.
71634 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
71636         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
71637         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
71638         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
71639         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
71641 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
71643         [BZ #14518]
71644         * include/rounding-mode.h: New file.
71645         * sysdeps/generic/get-rounding-mode.h: Likewise.
71646         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
71647         * stdlib/strtod_l.c: Include <rounding-mode.h>.
71648         (MAX_VALUE): New macro.
71649         (MIN_VALUE): Likewise.
71650         (overflow_value): New function.
71651         (underflow_value): Likewise.
71652         (round_and_return): Use overflow_value and underflow_value to
71653         determine return values in overflow and underflow cases.  Use
71654         round_away to determine rounding depending on rounding mode.
71655         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
71656         determine return values in overflow and underflow cases.
71657         * stdlib/tst-strtod-round.c: Include <fenv.h>.
71658         (struct test_results): New structure.
71659         (struct test): Use struct test_results to store expected results
71660         for all rounding modes.
71661         (TEST): Include expected results for all rounding modes.
71662         (test_in_one_mode): New function.
71663         (do_test): Use test_in_one_mode to compute and check results.
71664         Check results for all rounding modes.
71665         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
71666         $(link-libm).
71668 2012-12-09  Allan McRae  <allan@archlinux.org>
71670         * sysdeps/i386/fpu/libm-test-ulps: Update
71672 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
71674         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
71675         (_G_int32_t): Likewise.
71676         (_G_uint16_t): Likewise.
71677         (_G_uint32_t): Likewise.
71678         (_G_HAVE_BOOL): Likewise.
71679         (_G_HAVE_ATEXIT): Likewise.
71680         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
71681         (_G_HAVE_IO_FILE_OPEN): Likewise.
71682         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
71683         (_G_int32_t): Likewise.
71684         (_G_uint16_t): Likewise.
71685         (_G_uint32_t): Likewise.
71686         (_G_HAVE_BOOL): Likewise.
71687         (_G_HAVE_ATEXIT): Likewise.
71688         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
71689         (_G_HAVE_IO_FILE_OPEN): Likewise.
71690         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
71691         (_G_int32_t): Likewise.
71692         (_G_uint16_t): Likewise.
71693         (_G_uint32_t): Likewise.
71694         (_G_HAVE_BOOL): Likewise.
71695         (_G_HAVE_ATEXIT): Likewise.
71696         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
71697         (_G_HAVE_IO_FILE_OPEN): Likewise.
71699 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
71701         * csu/libc-tls.c: Update copyright years.
71703 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
71705         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
71706         [!_G_USING_THUNKS]: Remove conditional code.
71707         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
71708         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
71710         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
71711         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
71712         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
71713         (_G_VTABLE_LABEL_PREFIX): Likewise.
71714         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
71715         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
71716         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
71717         (_G_VTABLE_LABEL_PREFIX): Likewise.
71718         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
71719         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
71720         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
71721         (_G_VTABLE_LABEL_PREFIX): Likewise.
71722         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
71724 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
71726         * libio/Makefile: Include ../Makeconfig before tests.
71727         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
71728         only if $(build-shared) is yes.
71730         * iconv/gconv_db.c: Update copyright years.
71732 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
71734         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
71735         unwind info if defined PIC. Fix special cases description.
71736         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
71738         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
71739         DP_HI_MASK entry.
71740         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
71742 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
71744         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
71746         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
71747         is NULL.
71749         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
71750         (LDLIBS-tst-chk4): This.
71751         (LDFLAGS-tst-chk5): Renamed to ...
71752         (LDLIBS-tst-chk5): This.
71753         (LDFLAGS-tst-chk6): Renamed to ...
71754         (LDLIBS-tst-chk6): This.
71755         (LDFLAGS-tst-lfschk4): Renamed to ...
71756         (LDLIBS-tst-lfschk4): This.
71757         (LDFLAGS-tst-lfschk5): Renamed to ...
71758         (LDLIBS-tst-lfschk5): This.
71759         (LDFLAGS-tst-lfschk6): Renamed to ...
71760         (LDLIBS-tst-lfschk6): This.
71762         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
71763         on $(common-objpfx)soversions.mk.
71765 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
71767         [BZ #10014]
71768         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
71769         example host name.
71771 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
71773         * malloc/arena.c (arena_get_retry): New function that gets
71774         another arena for the caller to try its request on.
71775         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
71776         current arena cannot fulfill the request.
71777         (__libc_memalign): Likewise.
71778         (__libc_memalign): Likewise.
71779         (__libc_pvalloc): Likewise.
71780         (__libc_calloc): Likewise.
71782 2012-09-05  John Tobey  <john.tobey@gmail.com>
71784         [BZ #13542]
71785         * manual/arith.texi (Operations on Complex): Fix description
71786         of carg branch cut.
71788 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
71790         [BZ #10014]
71791         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
71792         host name.
71794         [BZ #10038]
71795         * manual/memory.texi (Memory): Make order of menu items match
71796         order of sections.
71798 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
71800         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
71801         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
71802         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
71804 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
71806         * csu/libc-tls.c (static_dtv): Renamed to ...
71807         (_dl_static_dtv): This.  Make it global.
71808         (_dl_initial_dtv): Removed.
71809         (__libc_setup_tls): Updated.
71810         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
71811         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
71812         DL_INITIAL_DTV.
71814 2012-09-06  Petr Machata  <pmachata@redhat.com>
71816         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
71817         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
71818         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
71819         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
71821 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
71823         [BZ #14545]
71824         * csu/libc-tls.c (_dl_initial_dtv): New variable.
71825         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
71826         freeing dtv[-1].
71828 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
71830         [BZ #14544]
71831         * Makeconfig (link-static-before-libc): Replace $(+prector)
71832         with $(+prectorT).
71833         (link-static-after-libc): Replace $(+postctor) with
71834         $(+postctorT).
71835         (link-bounded): Replace $(+prector)/$(+postctor) with
71836         $(+prectorT)/$(+postctorT).
71837         (+prectorT): New macro.
71838         (+postctorT): Likewise.
71840 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
71842         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
71843         (round_str): Handle values above the maximum for IBM long double
71844         as inexact.
71845         * stdlib/tst-strtod-round.c (tests): Regenerated.
71847 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
71849         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
71850         assembler flag.
71851         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
71852         zarch_nohighgprs around the zarch optimized routines.
71853         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
71854         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
71855         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
71856         for zarch.
71858 2012-09-05  David S. Miller  <davem@davemloft.net>
71860         * sysdeps/sparc/fpu/libm-test-ulps: Update.
71862         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
71863         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
71864         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
71865         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
71866         entries.
71868 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
71870         * malloc/arena.c: Fold copyright years.
71871         * malloc/mcheck.c, malloc/memusage.c: Likewise.
71873 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
71875         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
71877 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
71879         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
71881 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
71883         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
71884         change internal state upon failure.
71886 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
71888         * malloc/mcheck.c (mcheck_check_all): Fix typo.
71889         * malloc/memusage.c (mmap): Likewise.
71890         (mmap64, mremap): Likewise.  Adjust name in comment.
71892 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
71894         * libio/fileops.c: Fix typos in comments.
71895         * libio/oldfileops.c: Likewise.
71896         * libio/wfileops.c: Likewise.
71898 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
71900         [BZ #1349]
71901         * malloc/Makefile (tests): Add tst-malloc-usable test case.
71902         (tst-malloc-usable-ENV): Set environment for test case.
71903         * malloc/hooks.c (malloc_check_get_size): New function to get
71904         requested size.
71905         * malloc/malloc.c (musable): Use malloc_check_get_size.
71906         * malloc/tst-malloc-usable.c: New test case.
71908 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
71910         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
71912 2012-09-05  Allan McRae  <allan@archlinux.org>
71914         [BZ #13966]
71915         * configure.in (CXX_SYSINCLUDES): Use compiler output to
71916         determine header location.
71917         * configure: Regenerated.
71919 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
71921         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
71922         float format.
71923         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
71924         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
71925         format.
71926         (test): Regenerate.
71928 2012-09-04  David S. Miller  <davem@davemloft.net>
71930         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
71931         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
71932         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
71934 2012-09-04  Florian Weimer  <fweimer@redhat.com>
71936         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
71937         failures.
71939         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
71941 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
71943         [BZ #9914]
71944         * libio/iogetdelim.c: Include <limits.h>.
71945         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
71946         + len + 1 would overflow.
71948 2012-09-03  Andreas Jaeger  <aj@suse.de>
71950         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
71951         * sysdeps/i386/fpu/libm-test-ulps: Update.
71953 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
71955         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
71956         Add s_sinf-sse2, s_conf-sse2.
71958         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
71959         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
71960         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
71961         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
71963         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
71964         for using routine as __sinf_ia32.
71965         Use macro for function declaration and weak_alias.
71966         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
71967         for using routine as __cosf_ia32.
71968         Use macro for function declaration and weak_alias.
71970         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
71971         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
71973         * sysdeps/x86_64/fpu/s_sinf.S: New file.
71974         * sysdeps/x86_64/fpu/s_cosf.S: New file.
71975         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
71977         * math/libm-test.inc (cos_test): Add more test cases.
71978         (sin_test): Likewise.
71979         (sincos_test): Likewise.
71981 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
71983         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
71984         (IFUNC_RESOLVE): Make pointers to the specialized implementations
71985         hidden.
71986         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
71988 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
71990         [BZ #14538]
71991         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
71992         first element of the GOT.
71993         (elf_machine_load_address): Return the difference between
71994         the runtime address of _DYNAMIC and elf_machine_dynamic ().
71996 2012-09-01  Allan McRae  <allan@archlinux.org>
71998         [BZ #13412]
71999         * configure.in (AWK): Require gawk version 3.0 or later.
72000         * configure: Regenerated.
72002 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
72004         * sysdeps/unix/sysv/linux/kernel-features.h
72005         (__ASSUME_POSIX_CPU_TIMERS): Remove.
72006         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
72007         [__NR_clock_getres]: Make code unconditional.
72008         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
72009         (clock_getcpuclockid): Remove code left unreachable by removal of
72010         conditionals.
72011         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
72012         code unconditional.
72013         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
72014         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
72015         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
72016         Make code unconditional.
72017         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
72018         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
72019         * sysdeps/unix/sysv/linux/clock_settime.c
72020         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
72021         conditional code.
72022         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
72023         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
72025 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
72027         [BZ #14476]
72028         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
72029         scripts/test-installation.pl.
72031         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
72032         and $ld_so_version if it is set.
72034 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
72036         [BZ #14516]
72037         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
72038         failure if reading from procfs failed.
72039         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
72041 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
72043         * sysdeps/unix/sysv/linux/kernel-features.h
72044         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
72045         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
72046         Remove conditional code.
72047         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
72048         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
72049         Remove conditional code.
72050         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
72051         * sysdeps/unix/sysv/linux/i386/fxstat.c
72052         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
72053         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
72054         * sysdeps/unix/sysv/linux/i386/fxstatat.c
72055         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
72056         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
72057         * sysdeps/unix/sysv/linux/i386/lxstat.c
72058         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
72059         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
72060         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
72061         Remove conditional code.
72062         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
72063         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
72064         Remove conditional code.
72065         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
72066         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
72067         <kernel-features.h>.
72068         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
72069         Remove.
72070         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
72071         Remove conditional code.
72072         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
72073         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
72074         Remove conditional.
72076 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
72078         [BZ #5400]
72079         * NEWS: Add fixed bug number.
72081 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
72083         [BZ #14519]
72084         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
72085         underflowing exponent in case of negative sign.
72086         * stdlib/tst-strtod-round-data: Add more tests.
72087         * stdlib/tst-strtod-round.c (tests): Regenerated.
72089         [BZ #3479]
72090         * stdlib/strtod_l.c (NDIG): Remove.
72091         (HEXNDIG): Likewise.
72092         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
72093         smallest representable value.
72094         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
72095         lie within an exact representation of 1/2 ulp of the result.
72096         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
72097         unconditionally.
72098         (TENS_P9_IDX): Define unconditionally.
72099         (TENS_P9_SIZE): Likewise.
72100         (TENS_P10_IDX): Likewise.
72101         (TENS_P10_SIZE): Likewise.
72102         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
72103         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
72104         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
72105         entries for 10^2^13 and 10^2^14.
72106         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
72107         (TENS_P13_IDX): Define.
72108         (TENS_P13_SIZE): Likewise.
72109         (TENS_P14_IDX): Likewise.
72110         (TENS_P14_SIZE): Likewise.
72111         (_fpioconst_pow10): Change array size to
72112         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
72113         unconditional.
72114         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
72115         1024]: Add entries for 10^2^13 and 10^2^14.
72116         [LAST_POW10 > _LAST_POW10]: Remove #error.
72117         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
72118         (_fpioconst_pow10): Change array size to
72119         FPIOCONST_POW10_ARRAY_SIZE.
72120         * stdlib/gen-fpioconst.c: New file.
72121         * stdlib/gen-tst-strtod-round.c: Likewise.
72122         * stdlib/tst-strtod-round-data: Likewise.
72123         * stdlib/tst-strtod-round.c: Likewise.
72124         * stdlib/Makefile (tests): Add tst-strtod-round.
72126         [BZ #14459]
72127         * stdlib/strtod_l.c: Include <stdint.h>.
72128         (NDEBUG): Do not define.
72129         (round_and_return): Change EXPONENT parameter to type intmax_t.
72130         Rearrange calculations to avoid internal overflow possibilities.
72131         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
72132         Rearrange calculations to avoid internal overflow possibilities.
72133         Assert that number fits inside MPNSIZE limbs.
72134         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
72135         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
72136         calculations and add assertions to avoid internal overflow
72137         possibilities.  Add casts to avoid signed/unsigned operations.
72138         * stdlib/tst-strtod-overflow.c: New file.
72139         * stdlib/Makefile (tests): Add tst-strtod-overflow.
72141 2012-08-25  Marek Polacek  <polacek@redhat.com>
72143         * time/time.h: Fix some typos in comments.
72145 2012-08-23  Roland McGrath  <roland@hack.frob.com>
72147         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
72148         * posix/tst-rfc3484-2.c: Likewise.
72149         * posix/tst-rfc3484-3.c: Likewise.
72151 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
72153         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
72154         (EF_ARM_ABI_FLOAT_HARD): Likewise.
72156 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
72158         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
72159         #include of fxstatat64.c.
72161 2012-08-22  Roland McGrath  <roland@hack.frob.com>
72163         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
72164         * shadow/getspent_r.c: Likewise.
72165         * shadow/getspnam.c: Likewise.
72166         * shadow/getspnam_r.c: Likewise.
72167         * gshadow/getsgent.c: Likewise.
72168         * gshadow/getsgent_r.c: Likewise.
72169         * gshadow/getsgnam.c: Likewise.
72170         * gshadow/getsgnam_r.c: Likewise.
72171         * inet/getnetbyad.c: Likewise.
72172         * inet/getnetbyad_r.c: Likewise.
72173         * inet/getnetbynm.c: Likewise.
72174         * inet/getnetbynm_r.c: Likewise.
72175         * inet/getnetent.c: Likewise.
72176         * inet/getnetent_r.c: Likewise.
72177         * inet/getproto.c: Likewise.
72178         * inet/getproto_r.c: Likewise.
72179         * inet/getprtent.c: Likewise.
72180         * inet/getprtent_r.c: Likewise.
72181         * inet/getprtname.c: Likewise.
72182         * inet/getprtname_r.c: Likewise.
72183         * inet/getrpcbyname.c: Likewise.
72184         * inet/getrpcbyname_r.c: Likewise.
72185         * inet/getrpcbynumber.c: Likewise.
72186         * inet/getrpcbynumber_r.c: Likewise.
72187         * inet/getrpcent.c: Likewise.
72188         * inet/getrpcent_r.c: Likewise.
72189         * inet/getaliasent.c: Likewise.
72190         * inet/getaliasent_r.c: Likewise.
72191         * inet/getaliasname.c: Likewise.
72192         * inet/getaliasname_r.c: Likewise.
72193         * nscd/getgrgid_r.c: Likewise.
72194         * nscd/getgrnam_r.c: Likewise.
72195         * nscd/gethstbyad_r.c: Likewise.
72196         * nscd/gethstbynm3_r.c: Likewise.
72197         * nscd/getpwnam_r.c: Likewise.
72198         * nscd/getpwuid_r.c: Likewise.
72199         * nscd/getsrvbynm_r.c: Likewise.
72200         * nscd/getsrvbypt_r.c: Likewise.
72201         * nscd/gai.c: Likewise.
72203         * configure.in (build_nscd): New substituted variable, set
72204         by --disable-build-nscd and defaults to $use_nscd.
72205         * configure: Regenerated.
72206         * config.make.in (build-nscd): New substituted variable.
72207         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
72208         Change conditional to require [$(build-nscd) = yes] as well.
72209         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
72211         [BZ #13696]
72212         * configure.in (use_nscd): New substituted variable, set by
72213         --disable-nscd.  If enabled, define USE_NSCD.
72214         * configure: Regenerated.
72215         * config.h.in: Add USE_NSCD.
72216         * config.make.in (use-nscd): New substituted variable.
72217         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
72218         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
72219         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
72220         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
72221         (CFLAGS-getgrnam_r.c): Likewise.
72222         (CFLAGS-initgroups.c): Likewise.
72223         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
72224         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
72225         Variables removed.
72226         * inet/getnetgrent_r.c
72227         (nscd_setnetgrent): New function, broken out of ...
72228         (setnetgrent): ... here.  Call it.
72229         (innetgr): Conditionalize nscd bits on [USE_NSCD].
72230         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
72231         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
72232         * nscd/Makefile (routines, aux): Move definitions after include of
72233         Makeconfig.  Conditionalize on [$(use-nscd) != no].
72234         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
72235         Conditionalize on [USE_NSCD].
72236         (is_nscd, nscd_init_cb): Likewise.
72237         (nss_load_library): Conditionalize init callback on [USE_NSCD].
72238         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
72239         * nss/nss_db/db-init.c: Likewise.
72240         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
72241         [USE_NSCD].
72242         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
72243         (make_request): Use it.
72244         (cache_valid_p): New function.
72245         (__check_pf): Use it.
72246         * NEWS: Add item for --disable-nscd.
72248 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
72250         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
72251         to support sed >= 4.2.1-20-ga9bf076.
72252         * configure: Regenerated.
72254 2012-08-22  Roland McGrath  <roland@hack.frob.com>
72256         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
72257         Conditionalize whole body on [IREL].
72259 2012-08-22  Jeff Law <law@redhat.com>
72261         [BZ #14505]
72262         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
72263         if the family is PF_UNSPEC.
72265 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
72267         * Makerules (lib-version): Rename from V.
72268         (install-lib-nosubdir): Change V to lib-version.
72270 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
72272         [BZ #14252]
72273         * powerpc32/power6/wcschr.c: New file.
72274         * powerpc32/power6/wcscpy.c: New file.
72275         * powerpc32/power6/wcsrchr.c: New file.
72276         * powerpc64/power6/wcschr.c: New file.
72277         * powerpc64/power6/wcscpy.c: New file.
72278         * powerpc64/power6/wcsrchr.c: New file.
72280 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
72282         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
72283         (two_way_short_needle): Use it.
72284         * string/strstr.c (AVAILABLE1_USES_J): Define.
72285         * string/strcasestr.c: Likewise.
72287         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
72288         array references.
72289         * string/strcasestr.c (TOLOWER): Make side-effect safe.
72291         [BZ #11607]
72292         * NEWS: Add an entry.
72293         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
72294         define their defaults.
72295         (two_way_short_needle): Detect end-of-string on-the-fly.
72296         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
72297         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
72298         * string/bug-strcasestr1.c: New test.
72299         * string/Makefile: Run it.
72301 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
72303         [BZ #11607]
72304         * string/str-two-way.h (two_way_short_needle): Optimize matching of
72305         the first character.
72307 2012-08-21  Roland McGrath  <roland@hack.frob.com>
72309         * csu/elf-init.c (__libc_csu_irel): Function removed.
72310         * csu/libc-start.c (apply_irel): New function.
72311         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
72313 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
72315         * sysdeps/unix/sysv/linux/kernel-features.h
72316         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
72317         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
72318         <kernel-features.h>.
72319         [__NR_fadvise64_64]: Make code unconditional.
72320         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
72321         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
72322         !__NR_fadvise64_64)]: Likewise.
72323         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
72324         !__NR_fadvise64_64))]: Likewise.
72325         [__NR_fadvise64]: Make code unconditional.
72326         [!__NR_fadvise64]: Remove conditional code.
72327         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
72328         <kernel-features.h>.
72329         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
72330         unconditional.
72331         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
72332         conditional code.
72333         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
72334         not include <kernel-features.h>.
72335         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
72336         unconditional.
72337         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
72338         conditional code.
72339         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
72340         include <kernel-features.h>.
72341         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
72342         unconditional.
72343         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
72344         conditional code.
72346 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
72348         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
72349         slight instruction rearrangements per scrollpipe analysis.
72350         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
72352 2012-08-20  Roland McGrath  <roland@hack.frob.com>
72354         * manual/syslog.texi (syslog; vsyslog, closelog):
72355         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
72356         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
72358         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
72359         DSOCAPS to match condition on defining it.
72361 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
72363         * sysdeps/unix/sysv/linux/kernel-features.h
72364         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
72365         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
72366         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
72367         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
72368         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
72369         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
72370         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
72371         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
72372         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
72373         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
72375         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
72376         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
72378         * sysdeps/unix/sysv/linux/kernel-features.h
72379         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
72380         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
72381         unconditional.
72382         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
72383         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
72384         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
72385         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
72386         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
72387         Make code unconditional.
72388         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
72389         (__mmap64) [!__NR_mmap2]: Likewise.
72390         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
72391         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
72392         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
72393         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
72394         [__NR_mmap2]: Make code unconditional.
72395         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
72396         (__mmap64) [!__NR_mmap2]: Likewise.
72398 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
72400         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
72402 2012-08-18  Andreas Jaeger  <aj@suse.de>
72404         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
72406 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
72408         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
72409         * include/unistd.h (__have_sock_cloexec): Likewise.
72410         (__have_pipe2): Likewise.
72411         (__have_dup3): Likewise.
72413 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
72415         [BZ #9685]
72416         * include/unistd.h (__have_pipe2): Change define into an extern int.
72417         (__have_dup3): Likewise.
72418         * socket/have_sock_cloexec.c: Include fcntl.h.
72419         (__have_pipe2): New variable.
72420         (__have_dup3): Likewise.
72422 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
72424         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
72426 2012-08-17  Marek Polacek  <polacek@redhat.com>
72428         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
72429         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
72431 2012-08-17  Roland McGrath  <roland@hack.frob.com>
72433         * configure.in: Add AC_SUBST for sysheaders.
72434         * configure: Regenerated.
72435         * config.make.in (sysheaders): New substituted variable.
72437         * sysdeps/unix/mkfifo.c: Moved ...
72438         * sysdeps/posix/mkfifo.c: ... here.
72439         * sysdeps/unix/mkfifoat.c: Moved ...
72440         * sysdeps/posix/mkfifoat.c: ... here.
72442         * sysdeps/unix/utime.c: Moved ...
72443         * sysdeps/posix/utime.c: ... here.
72445         * sysdeps/unix/time.c: Moved ...
72446         * sysdeps/posix/time.c: ... here.
72447         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
72448         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
72450         * sysdeps/unix/nice.c: Moved ...
72451         * sysdeps/posix/nice.c: ... here.
72453         * sysdeps/unix/alarm.c: Moved ...
72454         * sysdeps/posix/alarm.c: ... here.
72456         * intl/Makefile ($(codeset_mo)): Depend on the input file.
72458 2012-08-17  Jeff Law <law@redhat.com>
72460         * intl/Makefile (codeset_mo): New variable.
72461         ($(codeset_mo)): New target.
72462         (tst-codeset.out): Depend on that.  Remove explicit rule.
72463         (tst-gettext3.out, tst-gettext5.out): Likewise.
72464         (LOCPATH-ENV, tst-codeset-ENV): New variables.
72465         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
72466         * intl/tst-codeset.sh: Remove.
72467         * intl/tst-gettext3.sh: Likewise.
72468         * intl/tst-gettext5.sh: Likewise.
72470 2012-08-17  Roland McGrath  <roland@hack.frob.com>
72472         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
72473         * sysdeps/unix/syscalls.list: ... here.
72475         * sysdeps/posix/getaddrinfo.c
72476         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
72477         (gaiconf_init, gaiconf_reload): Use them.
72478         [!_STATBUF_ST_NSEC]
72479         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
72480         Define using time_t rather than struct timespec.
72482         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
72483         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
72484         Macros removed.
72485         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
72486         [!NO_THREADS].
72487         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
72488         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
72489         Likewise.
72491         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
72492         __libc_cleanup_push argument.
72494         * bits/param.h: New file.
72495         * misc/sys/param.h: New file.
72496         * include/sys/param.h: New file.
72497         * misc/Makefile (headers): Add bits/param.h.
72498         * sysdeps/generic/sys/param.h: File removed.
72499         * sysdeps/unix/sysv/linux/bits/param.h: New file.
72500         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
72501         * sysdeps/mach/hurd/bits/param.h: New file.
72502         * sysdeps/mach/hurd/sys/param.h: File removed.
72504         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
72505         last change.
72507         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
72508         [_IO_MTSAFE_IO].
72509         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
72510         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
72511         New macros.
72513         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
72514         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
72515         rather than -D_IO_MTSAFE_IO conditionally.
72516         * stdio-common/Makefile (CPPFLAGS): Likewise.
72517         * wcsmbs/Makefile (CPPFLAGS): Likewise.
72518         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
72519         Use $(libio-mtsafe).
72520         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
72521         of -D_IO_MTSAFE_IO.
72522         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
72523         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
72524         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
72525         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
72526         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
72527         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
72528         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
72529         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
72530         (CFLAGS-fread_u_chk.c): Likewise.
72531         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
72532         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
72533         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
72534         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
72535         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
72536         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
72537         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
72538         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
72539         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
72541         * libio/Makefile: Test [$(libc-reentrant) = yes]
72542         instead of [$(filter %REENTRANT, $(defines)) nonempty].
72544         * Makeconfig
72545         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
72546         * sysdeps/pthread/configure: File removed.
72547         * sysdeps/pthread/Makeconfig: New file.
72548         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
72549         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
72551 2012-08-16  Gary Benson  <gbenson@redhat.com>
72553         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
72554         unmapping the first object in a namespace.
72556 2012-08-16  Roland McGrath  <roland@hack.frob.com>
72558         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
72559         (__internal_setnetgrent): ... this.  Add internal_function to
72560         definition.  Add libc_hidden_def.
72561         (setnetgrent): Update caller.
72562         (internal_endnetgrent): Renamed to ...
72563         (__internal_endnetgrent): ... this.  Add internal_function to
72564         definition.  Add libc_hidden_def.
72565         (endnetgrent): Update caller.
72566         (internal_getnetgrent_r): Renamed to ...
72567         (__internal_getnetgrent_r): ... this.  Add internal_function to
72568         definition.  Add libc_hidden_def.
72569         (__getnetgrent_r): Update caller.
72570         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
72572 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
72574         * stdlib/longlong.h: Update from GCC.
72576 2012-08-16  Roland McGrath  <roland@hack.frob.com>
72578         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
72579         on _QL, which is set by umul_ppmm but never used.
72580         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
72581         variables, which are set by GMP macros but never used.
72582         * stdio-common/_itowa.c (_itowa): Likewise.
72583         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
72584         * stdlib/mod_1.c (mpn_mod_1): Likewise.
72586 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
72588         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
72589         struct La_sh_regs is not constant.
72590         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
72591         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
72592         and struct La_sparc64_regs are not constant.
72594 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
72596         * sysdeps/unix/sysv/linux/kernel-features.h
72597         (__ASSUME_POSIX_TIMERS): Remove.
72598         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
72599         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
72600         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
72601         Make code unconditional.
72602         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
72603         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
72604         Make code unconditional.
72605         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
72606         * sysdeps/unix/sysv/linux/clock_nanosleep.c
72607         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
72608         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
72609         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
72610         Make code unconditional.
72611         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
72612         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
72613         (__libc_missing_posix_timers): Remove.
72615 2012-08-15  Roland McGrath  <roland@hack.frob.com>
72617         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
72618         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
72620         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
72622         * elf/dl-sym.c: Include <stdlib.h>.
72624         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
72625         constants, which avoids warnings in 32-bit builds.
72627         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
72628         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
72630         * misc/lseek.c: File moved to ...
72631         * io/lseek.c: ... here.
72633         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
72635         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
72636         shifting LEN more than 31 bits at once.
72638 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
72640         [BZ #14195]
72641         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
72642         segmentation fault for a case of two empty input strings.
72643         * string/test-strncasecmp.c (check1): Renamed to...
72644         (bz12205): ...this.
72645         (bz14195): Add new testcase for two empty input strings and N > 0.
72646         (test_main): Call new testcase, adapt for renamed function.
72648 2012-08-15  Andreas Jaeger  <aj@suse.de>
72650         [BZ #14090]
72651         * crypt/md5test2.c: New test, based on test supplied by Serge
72652         Belyshev <belyshev@depni.sinp.msu.ru>.
72653         * crypt/Makefile (xtests): Add md5test-giant..
72654         * crypt/Makefile ($(objpfx)md5test-giant): Add.
72656 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
72658         [BZ #14090]
72659         * crypt/md5.c (md5_process_block): Don't assume the buffer
72660         length is less than 2**32.
72661         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
72662         length is less than 2**64.
72664 2012-08-15  Roland McGrath  <roland@hack.frob.com>
72666         * string/str-two-way.h: Include <sys/param.h>.
72667         (MAX): Macro removed.
72669         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
72670         Move #define and #undef of memmove to just before and after
72671         including <string.h>.
72673         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
72674         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
72675         and after including <string.h>.  Move declarations of
72676         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
72677         to before #include "string/memmove.c".
72679         * include/dirent.h: Declare __getdirentries.
72681         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
72682         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
72684 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
72686         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
72687         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
72688         * sysdeps/i386/configure: Regenerated.
72689         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
72690         STABS_CURRENT_FILE, and STABS_FUN.
72691         (END): Remove call to STABS_FUN_END.
72692         (STABS_CURRENT_FILE1): Delete.
72693         (STABS_CURRENT_FILE): Likewise.
72694         (STABS_FUN): Likewise.
72695         (STABS_FUN_END): Likewise.
72696         (STABS_FUN2): Likewise.
72697         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
72698         * sysdeps/x86_64/configure: Regenerated.
72700 2012-08-14  Roland McGrath  <roland@hack.frob.com>
72702         * elf/dl-open.c: Include <atomic.h>.
72703         * elf/dl-lookup.c: Likewise.
72705 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
72707         * sysdeps/unix/sysv/linux/kernel-features.h
72708         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
72709         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
72710         unconditionally.
72711         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
72712         unconditionally.
72713         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
72714         condition on __ASSUME_CLONE_THREAD_FLAGS.
72716 2012-08-14  Andreas Jaeger  <aj@suse.de>
72718         * sysdeps/i386/fpu/libm-test-ulps: Update.
72720 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
72722         * include/atomic.h (atomic_exchange_and_add): Split into ...
72723         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
72724         New atomic macros.
72726 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
72728         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
72730 2012-08-13  Jeff Law <law@redhat.com>
72732         * manual/stdio.texi (snprintf): Clarify handling of the trailing
72733         null byte in the output string.
72735 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
72737         * sysdeps/unix/sysv/linux/kernel-features.h
72738         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
72739         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
72740         (__ASSUME_ARG_MAX_STACK_BASED): Define.
72741         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
72742         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
72743         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
72744         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
72746 2012-08-09  Jeff Law <law@redhat.com>
72748         [BZ #13939]
72749         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
72750         When avoid_arena is set, don't retry in the that arena.  Pick the
72751         next one, whatever it might be.
72752         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
72753         (arena_lock): Pass in new parameter to arena_get2.
72754         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
72755         arena_get2.
72756         (__libc_malloc): Unify retrying after main arena failure with
72757         __libc_memalign version.
72758         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
72760 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
72762         [BZ #14166]
72763         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
72764         to __redirect_strstr.
72765         (__strstr_sse42): Use typeof __redirect_strstr.
72766         (__strstr_ia32): Likewise.
72767         (__libc_strstr): New prototype.
72768         (strstr): Renamed to ...
72769         (__libc_strstr): This.
72770         (strstr): New strong alias of __libc_strstr.
72771         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
72772         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
72773         __redirect_time.
72774         Include <time.h>.
72775         (__libc_time): New prototype.
72776         (time_ifunc): Replace time with __libc_time.
72777         (time): New strong alias and hidden definition of __libc_time.
72778         (__GI_time): Remove strong alias.
72779         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
72780         Include <stddef.h>.
72781         (memmove): Redefined to __redirect_memmove.
72782         (__memmove_sse2): Use typeof __redirect_memmove.
72783         (__memmove_ssse3): Likewise.
72784         (__memmove_ssse3_back): Likewise.
72785         (__libc_memmove): New prototype.
72786         (memmove): Renamed to ...
72787         (__libc_memmove): This.
72788         (memmove): New strong alias of __libc_memmove.
72790 2012-08-08  Mark Salter  <msalter@redhat.com>
72792         * elf/elf.h
72793         (R_MN10300_TLS_GD): Define.
72794         (R_MN10300_TLS_LD): Likewise.
72795         (R_MN10300_TLS_LDO): Likewise.
72796         (R_MN10300_TLS_GOTIE): Likewise.
72797         (R_MN10300_TLS_IE): Likewise.
72798         (R_MN10300_TLS_LE): Likewise.
72799         (R_MN10300_TLS_DTPMOD): Likewise.
72800         (R_MN10300_TLS_DTPOFF): Likewise.
72801         (R_MN10300_TLS_TPOFF): Likewise.
72802         (R_MN10300_SYM_DIFF): Likewise.
72803         (R_MN10300_ALIGN): Likewise.
72804         (R_MN10300_NUM): Update.
72806 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
72808         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
72809         Remove.
72811 2012-08-08  Roland McGrath  <roland@hack.frob.com>
72813         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
72815         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
72816         sysdeps/unix -> sysdeps/posix move.
72817         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
72819 2012-08-07      Allan McRae     <allan@archlinux.org>
72821         [BZ #14303]
72822         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
72823         (SUNOS_CPP): Likewise.
72824         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
72825         not found.
72826         (open_input): Call CPP using execvp.
72828 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
72830         * sysdeps/unix/sysv/linux/kernel-features.h
72831         (__ASSUME_PROT_GROWSUPDOWN): Remove.
72832         (__ASSUME_NO_CLONE_DETACHED): Likewise.
72833         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
72834         (__ASSUME_WAITID_SYSCALL): Likewise.
72835         * sysdeps/unix/sysv/linux/dl-execstack.c
72836         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
72837         code unconditional.
72838         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
72839         conditional code.
72840         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
72841         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
72842         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
72843         code.
72844         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
72845         unconditional.
72846         [__ASSUME_WAITID_SYSCALL]: Likewise.
72847         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
72849 2012-08-07  Roland McGrath  <roland@hack.frob.com>
72851         * sysdeps/unix/closedir.c: Renamed to ...
72852         * sysdeps/posix/closedir.c: ... here.
72853         * sysdeps/unix/dirfd.c: Renamed to ...
72854         * sysdeps/posix/dirfd.c: ... here.
72855         * sysdeps/unix/dirstream.h: Renamed to ...
72856         * sysdeps/posix/dirstream.h: ... here.
72857         * sysdeps/unix/fdopendir.c: Renamed to ...
72858         * sysdeps/posix/fdopendir.c: ... here.
72859         * sysdeps/unix/opendir.c: Renamed to ...
72860         * sysdeps/posix/opendir.c: ... here.
72861         * sysdeps/unix/readdir.c: Renamed to ...
72862         * sysdeps/posix/readdir.c: ... here.
72863         * sysdeps/unix/readdir_r.c: Renamed to ...
72864         * sysdeps/posix/readdir_r.c: ... here.
72865         * sysdeps/unix/rewinddir.c: Renamed to ...
72866         * sysdeps/posix/rewinddir.c: ... here.
72867         * sysdeps/unix/seekdir.c: Renamed to ...
72868         * sysdeps/posix/seekdir.c: ... here.
72869         * sysdeps/unix/telldir.c: Renamed to ...
72870         * sysdeps/posix/telldir.c: ... here.
72871         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
72872         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
72873         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
72874         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
72876         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
72877         * bits/fcntl.h: ... here.
72879         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
72880         not 0.
72881         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
72882         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
72883         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
72884         (struct flock): Move l_start, l_len to the beginning.
72885         Use __pid_t for l_pid.
72886         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
72887         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
72888         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
72889         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
72890         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
72891         [__USE_LARGEFILE64] (struct flock64): New type.
72892         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
72894         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
72895         * bits/dirent.h: ... here.
72897         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
72898         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
72900 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
72902         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
72903         Change from 2.6.0 to 2.6.16.
72904         * sysdeps/unix/sysv/linux/configure: Regenerated.
72905         * sysdeps/unix/sysv/linux/kernel-features.h
72906         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
72907         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
72908         version.
72909         (__ASSUME_UTIMES): Likewise.
72910         (__ASSUME_CLONE_STOPPED): Remove.
72911         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
72912         architectures, not kernel version.
72913         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
72914         (__ASSUME_NO_CLONE_DETACHED): Likewise.
72915         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
72916         (__ASSUME_WAITID_SYSCALL): Likewise.
72917         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
72918         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
72919         * README: State 2.6.16 as minimum Linux kernel version.  Do not
72920         refer to older versions.
72922 2012-08-06  Roland McGrath  <roland@hack.frob.com>
72924         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
72925         Define alphasort64 as an alias.
72926         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
72927         Define versionsort64 as an alias.
72928         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
72929         Define scandir64 as an alias.
72930         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
72931         Define scandirat64 as an alias.
72932         * dirent/alphasort64.c (alphasort64):
72933         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
72934         * dirent/versionsort64.c: Likewise.
72935         * dirent/scandir64.c: Likewise.
72936         * dirent/scandirat64.c: Likewise.
72937         * sysdeps/wordsize-64/alphasort.c: File removed.
72938         * sysdeps/wordsize-64/alphasort64.c: File removed.
72939         * sysdeps/wordsize-64/scandir.c: File removed.
72940         * sysdeps/wordsize-64/scandir64.c: File removed.
72941         * sysdeps/wordsize-64/scandirat.c: File removed.
72942         * sysdeps/wordsize-64/scandirat64.c: File removed.
72943         * sysdeps/wordsize-64/versionsort.c: File removed.
72944         * sysdeps/wordsize-64/versionsort64.c: File removed.
72945         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
72946         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
72947         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
72948         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
72949         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
72950         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
72951         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
72952         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
72954         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
72955         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
72956         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
72957         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
72958         [defined __arch64__ || defined __sparcv9]
72959         (__INO_T_MATCHES_INO64_T): New macro.
72960         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
72961         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
72962         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
72963         * sysdeps/unix/sysv/linux/bits/dirent.h
72964         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
72965         (_DIRENT_MATCHES_DIRENT64): New macro.
72967         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
72968         Define lockf64 as an alias.
72969         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
72970         Define fseeko64 as an alias.
72971         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
72972         Define ftello64 as an alias.
72973         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
72974         Define _IO_fgetpos64 and fgetpos64 as aliases.
72975         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
72976         Define _IO_fsetpos64 and fsetpos64 as aliases.
72977         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
72978         Conditionalize body on this.
72979         * libio/fseeko64.c: Likewise.
72980         * libio/ftello64.c: Likewise.
72981         * libio/iofgetpos64.c: Likewise.
72982         * libio/iofsetpos64.c: Likewise.
72983         * sysdeps/wordsize-64/lockf.c: File removed.
72984         * sysdeps/wordsize-64/lockf64.c: File removed.
72985         * sysdeps/wordsize-64/fseeko.c: File removed.
72986         * sysdeps/wordsize-64/fseeko64.c: File removed.
72987         * sysdeps/wordsize-64/ftello.c: File removed.
72988         * sysdeps/wordsize-64/ftello64.c: File removed.
72989         * sysdeps/wordsize-64/iofgetpos.c: File removed.
72990         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
72991         * sysdeps/wordsize-64/iofsetpos.c: File removed.
72992         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
72993         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
72994         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
72995         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
72996         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
72997         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
72998         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
72999         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
73000         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
73001         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
73002         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
73004         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
73005         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
73006         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
73007         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
73008         [defined __arch64__ || defined __sparcv9]
73009         (__OFF_T_MATCHES_OFF64_T): New macro.
73010         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
73011         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
73012         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
73013         (__OFF_T_MATCHES_OFF64_T): New macro.
73015 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
73017         * stdlib/secure-getenv.c (__secure_getenv): Replace
73018         GLIBC_2_16 with GLIBC_2_17.
73020 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
73022         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
73023         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
73025 2012-08-03  David S. Miller  <davem@davemloft.net>
73027         * sysdeps/sparc/fpu/libm-test-ulps: Update.
73029 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
73031         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
73032         Remove.
73033         (__ASSUME_CORRECT_SI_PID): Likewise.
73034         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
73035         (__ASSUME_TMPFS_NAME): Likewise.
73036         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
73037         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
73038         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
73039         (HAVE_AUX_SECURE): Make definition unconditional.
73040         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
73041         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
73043 2012-08-03  Roland McGrath  <roland@hack.frob.com>
73045         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
73046         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
73047         * sysdeps/mach/hurd/eloop-threshold.h: New file.
73048         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
73049         __eloop_threshold instead of SYMLOOP_MAX.
73051         * sysdeps/generic/eloop-threshold.h: New file.
73052         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
73053         of MAXSYMLINKS.
73054         * elf/chroot_canon.c (chroot_canon): Likewise.
73056 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
73058         [BZ #13717]
73059         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
73060         Change to 2.6.0 everywhere.
73061         * sysdeps/unix/sysv/linux/configure: Regenerated.
73062         * sysdeps/unix/sysv/linux/kernel-features.h
73063         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
73064         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
73065         kernel versions.
73066         (__ASSUME_POSIX_TIMERS): Define unconditionally.
73067         (__ASSUME_FUTEX_REQUEUE): Remove.
73068         (__ASSUME_STATFS64): Define unconditionally.
73069         (__ASSUME_AT_SECURE): Likewise.
73070         (__ASSUME_CORRECT_SI_PID): Likewise.
73071         (__ASSUME_TGKILL): Define without depending on kernel version for
73072         i386.
73073         (__ASSUME_UTIMES): Likewise.
73074         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
73075         kernel version.
73076         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
73077         (__ASSUME_TMPFS_NAME): Likewise.
73078         * README: Update reference to Linux kernel versions.
73080 2012-08-02  Marek Polacek  <polacek@redhat.com>
73082         [BZ #14150]
73083         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
73084         libc_cv_asm_type_prefix with %.
73085         * configure: Regenerated.
73086         * include/libc-symbols.h: Remove comment about
73087         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
73088         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
73089         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
73090         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
73091         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
73092         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
73093         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
73094         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
73095         * elf/tst-unique2mod1.c: Likewise.
73096         * elf/tst-unique1mod2.c: Likewise.
73097         * elf/tst-unique1mod1.c: Likewise.
73098         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
73099         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
73100         Replace ASM_TYPE_DIRECTIVE with .type.
73101         * sysdeps/s390/s390-64/sysdep.h: Likewise.
73102         * sysdeps/i386/sysdep.h: Likewise.
73103         * sysdeps/x86_64/sysdep.h: Likewise.
73104         * sysdeps/sh/sysdep.h: Likewise.
73105         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
73106         Do not define ASM_TYPE_DIRECTIVE.
73107         * sysdeps/powerpc/sysdep.h: Likewise.
73108         * sysdeps/powerpc/powerpc32/sysdep.h:
73109         Replace ASM_TYPE_DIRECTIVE with .type.
73110         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
73111         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
73112         * sysdeps/i386/fpu/e_powf.S: Likewise.
73113         * sysdeps/i386/fpu/e_expl.S: Likewise.
73114         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
73115         * sysdeps/i386/fpu/e_acosh.S: Likewise.
73116         * sysdeps/i386/fpu/e_pow.S: Likewise.
73117         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
73118         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
73119         * sysdeps/i386/fpu/s_expm1.S: Likewise.
73120         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
73121         * sysdeps/i386/fpu/e_log2.S: Likewise.
73122         * sysdeps/i386/fpu/e_log2l.S: Likewise.
73123         * sysdeps/i386/fpu/e_scalb.S: Likewise.
73124         * sysdeps/i386/fpu/e_powl.S: Likewise.
73125         * sysdeps/i386/fpu/e_log10f.S: Likewise.
73126         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
73127         * sysdeps/i386/fpu/e_logl.S: Likewise.
73128         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
73129         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
73130         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
73131         * sysdeps/i386/fpu/e_log2f.S: Likewise.
73132         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
73133         * sysdeps/i386/fpu/e_log.S: Likewise.
73134         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
73135         * sysdeps/i386/fpu/e_logf.S: Likewise.
73136         * sysdeps/i386/fpu/e_log10l.S: Likewise.
73137         * sysdeps/i386/fpu/e_atanh.S: Likewise.
73138         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
73139         * sysdeps/i386/fpu/e_log10.S: Likewise.
73140         * sysdeps/i386/fpu/s_frexp.S: Likewise.
73141         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
73142         * sysdeps/i386/fpu/s_asinh.S: Likewise.
73143         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
73144         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
73145         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
73146         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
73147         * sysdeps/i386/i686/strtok.S: Likewise.
73148         * sysdeps/i386/i386-mcount.S: Likewise.
73149         * sysdeps/i386/strtok.S: Likewise.
73150         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
73151         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
73152         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
73153         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
73154         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
73155         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
73156         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
73157         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
73158         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
73159         * sysdeps/x86_64/_mcount.S: Likewise.
73160         * sysdeps/x86_64/strtok.S: Likewise.
73161         * sysdeps/sh/_mcount.S: Likewise.
73163 2012-08-01  Roland McGrath  <roland@hack.frob.com>
73165         * libio/iofopen.c: Include <fcntl.h>.
73166         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
73167         (_IO_fopen64, fopen64): Define as aliases.
73168         * libio/iofopen64.c: Include <fcntl.h>.
73169         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
73170         Conditionalize body on this.
73171         * sysdeps/wordsize-64/iofopen.c: File removed.
73172         * sysdeps/wordsize-64/iofopen64.c: File removed.
73174 2012-08-01  Marek Polacek  <polacek@redhat.com>
73176         * libc/Makeconfig: Use elf in place of binfmt-subdir.
73177         Use dlfcn directly instead of a variable.
73178         (binfmt-subdir): Do not define.
73179         (dlfcn): Likewise.
73181 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
73183         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
73184         Remove all definitions.
73185         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
73186         <kernel-features.h>.
73187         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
73188         (miss_F_GETOWN_EX): Remove all definitions.
73189         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
73190         macro definition.
73191         [!__ASSUME_FCNTL64]: Remove conditional code.
73192         [__ASSUME_FCNTL64]: Make code unconditional.
73193         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
73194         <kernel-features.h>.
73195         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
73196         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
73197         (lockf64) [__NR_fcntl64]: Make code unconditional.
73198         (lockf64) [__ASSUME_FCNTL64]: Likewise.
73200         * sysdeps/unix/sysv/linux/kernel-features.h
73201         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
73202         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
73203         Make code unconditional.
73204         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
73205         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
73206         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
73207         [__NR_vfork]: Make code unconditional.
73208         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
73209         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
73210         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
73211         [__NR_vfork]: Make code unconditional.
73212         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
73213         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
73215 2012-08-01  Roland McGrath  <roland@hack.frob.com>
73217         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
73218         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
73220         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
73221         Define mkstemp64 as an alias.
73222         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
73223         Define mkstemps64 as an alias.
73224         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
73225         Define mkostemp64 as an alias.
73226         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
73227         Define mkostemps64 as an alias.
73228         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
73229         Conditionalize body on this.
73230         * misc/mkostemp64.c: Likewise.
73231         * misc/mkostemps64.c: Likewise.
73232         * misc/mkstemps64.c: Likewise.
73233         * sysdeps/wordsize-64/mkstemp64.c: File removed.
73234         * sysdeps/wordsize-64/mkostemp64.c: File removed.
73235         * sysdeps/wordsize-64/mkostemp.c: File removed.
73236         * sysdeps/wordsize-64/mkstemp.c: File removed.
73237         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
73238         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
73239         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
73240         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
73242         [BZ #14138]
73243         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
73244         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
73245         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
73246         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
73248         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
73249         compat_symbol macros from <shlib-compat.h> rather than the underlying
73250         default_symbol_version and symbol_version macros, so that DEFAULT
73251         lines in shlib-versions are respected.
73252         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
73254 2012-08-01  Florian Weimer  <fweimer@redhat.com>
73256         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
73257         Declare with warn_unused_result.
73258         (setgid, setregid, setegid, setresgid): Likewise.
73259         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
73260         Likewise.
73261         * WUR-REPORT: Remove set*id functions.
73263 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
73265         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
73267 2012-07-31  Roland McGrath  <roland@hack.frob.com>
73269         [BZ #10191]
73270         * include/sys/socket.h (__libc_accept, __libc_accept4):
73271         Add attribute_hidden.
73272         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
73274         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
73275         use of PTR_MANGLE.
73276         * inet/getnetgrent_r.c (setup): Likewise.
73278         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
73280 2012-07-31  David S. Miller  <davem@davemloft.net>
73282         * sysdeps/sparc/fpu/libm-test-ulps: Update.
73284 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
73286         [BZ #13629]
73287         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
73288         value between 1.0 and 2.0 and smaller part has absolute value less
73289         than 1.0.
73290         * math/s_clog10.c (__clog10): Likewise.
73291         * math/s_clog10f.c (__clog10f): Likewise.
73292         * math/s_clog10l.c (__clog10l): Likewise.
73293         * math/s_clogf.c (__clogf): Likewise.
73294         * math/s_clogl.c (__clogl): Likewise.
73295         * math/libm-test.inc (clog_test): Add more tests.
73296         (clog10_test): Likewise.
73297         * sysdeps/i386/fpu/libm-test-ulps: Update.
73298         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
73300 2012-07-31  Florian Weimer  <fweimer@redhat.com>
73302         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
73303         Exit with zero in case no suitable GID is found, and write a
73304         message to standard error.
73306 2012-07-30  Roland McGrath  <roland@hack.frob.com>
73308         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
73309         rather than to 1.
73310         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
73311         (MAXPATHLEN): Removed.
73312         (NOGROUP, NODEV): New macros.
73313         (setbit, clrbit, isset, isclr): New macros.
73314         (howmany, roundup, powerof2): New macros.
73315         (DEV_BSIZE): New macro.
73317         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
73318         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
73320         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
73321         definition on [!__NO_LONG_DOUBLE_MATH].
73323         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
73324         PTR_MANGLE and PTR_DEMANGLE.
73326         * socket/accept4.c (accept4): Rename to __libc_accept4.
73327         Define accept4 as a weak alias.
73329         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
73330         on [_DIRENT_HAVE_D_TYPE].
73331         * io/ftw.c (ftw_dir): Likewise.
73333         * io/xmknod.c (__xmknod): Don't check PATH for being null.
73335         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
73337         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
73338         Use the BSD numbers rather than the arbitrary ones we had.
73339         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
73340         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
73341         (SIGXCPU, SIGXFSZ): New macros.
73342         (_NSIG): Now 32.
73344         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
73345         initializer on [_LIBC_REENTRANT].
73347         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
73348         definitions inside [_POSIX_MAPPED_FILES].
73350         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
73352         * dirent/opendir.c: Include <fcntl.h>.
73354         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
73355         (__libc_getspecific): Likewise.
73356         (__libc_key_create): Likewise.
73358         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
73359         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
73360         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
73361         (tmpfile64): Define as alias.
73362         * sysdeps/wordsize-64/tmpfile.c: File removed.
73363         * sysdeps/wordsize-64/tmpfile64.c: File removed.
73364         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
73365         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
73367         * stdio-common/vfscanf.c: Include <stdbool.h>.
73368         * nss/makedb.c: Likewise.
73369         * stdio-common/_i18n_number.h: Likewise.
73370         * argp/argp-help.c: Likewise.
73371         * posix/wordexp.c: Likewise.
73372         * sysdeps/posix/spawni.c: Likewise.
73373         * nss/nss_files/files-initgroups.c: Likewise.
73374         * stdio-common/reg-modifier.c: Include <stdlib.h>.
73375         * nss/nss_files/files-initgroups.c: Likewise.
73376         * nss/nss_db/db-netgrp.c: Likewise.
73377         * nss/nss_db/db-initgroups.c: Likewise.
73378         * io/fchmodat.c: Include <sys/stat.h>.
73380         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
73381         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
73383         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
73384         [HAVE_MMAP].
73386         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
73387         Add multiple inclusion protection.
73389 2012-07-27  David S. Miller  <davem@davemloft.net>
73391         * sysdeps/sparc/fpu/libm-test-ulps: Update.
73393 2012-07-27  Gary Benson  <gbenson@redhat.com>
73395         [BZ #14298]
73396         * elf/rtld.c: Include <stap-probe.h>.
73397         (dl_main): Added static probes "init_start" and "init_complete".
73398         * elf/dl-load.c: Include <stap-probe.h>.
73399         (lose): Take new parameter "nsid".
73400         Added static probe "map_failed".
73401         (_dl_map_object_from_fd): Pass namespace id to lose.
73402         Added static probe "map_start".
73403         (open_verify): Pass namespace id to lose.
73404         * elf/dl-open.c: Include <stap-probe.h>.
73405         (dl_open_worker) Added static probes "map_complete", "reloc_start"
73406         and "reloc_complete".
73407         * elf/dl-close.c: Include <stap-probe.h>.
73408         (_dl_close_worker): Added static probes "unmap_start" and
73409         "unmap_complete".
73410         * elf/rtld-debugger-interface.txt: New file documenting the above.
73412 2012-07-26  Roland McGrath  <roland@hack.frob.com>
73414         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
73415         rather than a string variable.
73416         * sunrpc/rpc_main.c (h_output): Likewise.
73417         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
73419 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
73421         * inet/check_native.c: New file.
73423 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
73425         [BZ #13629]
73426         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
73427         if larger part has absolute value 1.0.
73428         * math/s_clog10.c (__clog10): Likewise.
73429         * math/s_clog10f.c (__clog10f): Likewise.
73430         * math/s_clog10l.c (__clog10l): Likewise.
73431         * math/s_clogf.c (__clogf): Likewise.
73432         * math/s_clogl.c (__clogl): Likewise.
73433         * math/libm-test.inc (clog_test): Add more tests.
73434         (clog10_test): Likewise.
73435         * sysdeps/i386/fpu/libm-test-ulps: Update.
73436         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
73438         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
73439         (pltexit): Likewise.
73440         (La_regs): Likewise.
73441         (La_retval): Likewise.
73442         (int_retval): Likewise.
73443         Update #error for removed macros to refer only to definitions in
73444         tst-audit.h.
73445         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
73446         macro.
73447         (pltexit): Likewise.
73448         (La_regs): Likewise.
73449         (La_retval): Likewise.
73450         (int_retval): Likewise.
73451         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
73452         macro.
73453         (pltexit): Likewise.
73454         (La_regs): Likewise.
73455         (La_retval): Likewise.
73456         (int_retval): Likewise.
73457         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
73458         macro.
73459         (pltexit): Likewise.
73460         (La_regs): Likewise.
73461         (La_retval): Likewise.
73462         (int_retval): Likewise.
73463         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
73464         macro.
73465         (pltexit): Likewise.
73466         (La_regs): Likewise.
73467         (La_retval): Likewise.
73468         (int_retval): Likewise.
73469         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
73470         macro.
73471         (pltexit): Likewise.
73472         (La_regs): Likewise.
73473         (La_retval): Likewise.
73474         (int_retval): Likewise.
73475         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
73476         macro.
73477         (pltexit): Likewise.
73478         (La_regs): Likewise.
73479         (La_retval): Likewise.
73480         (int_retval): Likewise.
73481         * sysdeps/generic/tst-audit.h: Update comment to refer only to
73482         macro definitions in tst-audit.h.
73483         * sysdeps/i386/tst-audit.h: New file.
73484         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
73485         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
73486         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
73487         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
73488         * sysdeps/sh/tst-audit.h: Likewise.
73489         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
73490         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
73491         * sysdeps/x86_64/tst-audit.h: Likewise.
73493 2012-07-26  Andreas Jaeger  <aj@suse.de>
73495         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
73496         ptrace.
73498         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
73499         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
73500         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
73501         PTRACE_O_MASK.
73502         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
73503         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
73504         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
73506         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
73507         value.
73509         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
73510         _sigsys.
73511         (si_call_addr, si_syscall, si_arch): Define new macro.
73512         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
73513         _sigsys.
73514         (si_call_addr, si_syscall, si_arch): Define new marcro.
73515         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
73516         _sigsys.
73517         (si_call_addr, si_syscall, si_arch): Define new macro.
73518         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
73519         _sigsys.
73520         (si_call_addr, si_syscall, si_arch): Define new macro.
73522 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
73524         [BZ #13717]
73525         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
73526         Change to 2.4.21 where previously 2.4.1.
73527         * sysdeps/unix/sysv/linux/configure: Regenerated.
73528         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
73529         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
73530         Linux kernel version.
73531         (__ASSUME_STD_AUXV): Remove.
73532         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
73533         kernel version.
73534         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
73535         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
73536         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
73537         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
73538         (__ASSUME_NETLINK_SUPPORT): Likewise.
73539         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
73540         (__no_netlink_support): Remove conditional definition.
73541         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
73542         Remove.
73543         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
73544         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
73545         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
73546         (if_nameindex_ioctl): Remove.
73547         (if_nameindex_netlink): Do not handle __no_netlink_support.
73548         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
73549         code.
73550         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
73551         Remove conditional code.
73552         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
73553         code.
73554         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
73555         unconditional.
73556         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
73557         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
73558         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
73559         Remove.
73560         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
73561         [!__ASSUME_STD_AUXV]: Remove conditional code.
73562         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
73563         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
73564         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
73565         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
73566         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
73567         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
73568         code.
73569         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
73570         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
73571         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
73572         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
73573         conditional code.
73574         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
73575         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
73576         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
73577         code.
73578         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
73579         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
73580         conditional code.
73581         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
73582         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
73583         code unconditional.
73584         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
73585         conditional code.
73586         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
73587         unconditional.
73588         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
73589         conditional code.
73590         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
73591         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
73592         unconditional.
73593         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
73594         conditional code.
73595         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
73596         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
73597         code unconditional.
73598         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
73599         conditional code.
73600         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
73601         unconditional.
73602         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
73603         conditional code.
73604         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
73605         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
73606         code unconditional.
73607         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
73608         conditional code.
73609         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
73610         unconditional.
73611         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
73612         conditional code.
73614 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
73616         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
73617         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
73618         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
73619         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
73620         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
73621         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
73622         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
73623         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
73624         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
73625         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
73626         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
73627         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
73628         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
73629         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
73630         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
73631         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
73632         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
73633         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
73634         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
73635         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
73636         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
73637         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
73638         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
73640 2012-07-25  Florian Weimer  <fweimer@redhat.com>
73642         * Versions.def: Add GLIBC_2.17.
73643         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
73644         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
73645         Introduce __libc_secure_getenv.
73646         * stdlib/Versions (2.17): Add secure_getenv
73647         (GLIBC_PRIVATE): Add __libc_secure_getenv.
73648         * stdlib/secure-getenv.c: Rename __secure_getenv to
73649         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
73650         symbol __secure_getenv for GLIBC_2.0.
73651         * stdlib/tst-secure-getenv.c: New.
73652         * stdlib/Makefile (tests): Add testcase.
73653         * manual/startup.texi (Environment Access): Document
73654         secure_getenv.
73655         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
73656         __libc_secure_getenv.
73657         * inet/ruserpass.c (ruserpass): Likewise.
73658         * malloc/mtrace.c (mtrace): Likewise.
73659         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
73660         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
73661         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
73662         * sysdeps/posix/tempname.c: Likewise.  Evaluate
73663         HAVE_SECURE_GETENV.
73664         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
73665         __secure_getenv to __libc_secure_getenv.
73666         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
73667         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
73668         Likewise.
73669         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
73670         Likewise.
73671         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
73672         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
73673         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
73674         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
73675         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
73676         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
73677         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
73679 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
73681         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
73682         (struct La_i86_retval): Likewise.
73683         (struct La_x86_64_regs): Likewise.
73684         (struct La_x86_64_retval): Likewise.
73685         (struct La_x32_regs): Likewise.
73686         (struct La_x32_retval): Likewise.
73687         (struct La_ppc32_regs): Likewise.
73688         (struct La_ppc32_retval): Likewise.
73689         (struct La_ppc64_regs): Likewise.
73690         (struct La_ppc64_retval): Likewise.
73691         (struct La_sh_regs): Likewise.
73692         (struct La_sh_retval): Likewise.
73693         (struct La_s390_32_regs): Likewise.
73694         (struct La_s390_32_retval): Likewise.
73695         (struct La_s390_64_regs): Likewise.
73696         (struct La_s390_64_retval): Likewise.
73697         (struct La_sparc32_regs): Likewise.
73698         (struct La_sparc32_retval): Likewise.
73699         (struct La_sparc64_regs): Likewise.
73700         (struct La_sparc64_retval): Likewise.
73701         (struct audit_ifaces): Remove architecture-specific pltenter and
73702         pltexit members.
73703         * sysdeps/i386/ldsodefs.h: New file.
73704         * sysdeps/powerpc/ldsodefs.h: Likewise.
73705         * sysdeps/s390/ldsodefs.h: Likewise.
73706         * sysdeps/sh/ldsodefs.h: Likewise.
73707         * sysdeps/sparc/ldsodefs.h: Likewise.
73708         * sysdeps/x86_64/ldsodefs.h: Likewise.
73710 2012-07-25  Marek Polacek  <polacek@redhat.com>
73712         [BZ #6808]
73713         * math/libm-test.inc (yn_test): Add another test.
73714         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
73715         to ERANGE when the result is +-Inf.
73716         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
73717         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
73718         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
73719         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
73721 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
73723         * conform/data/time.h-data (NULL): Use macro-constant.  Require
73724         equal to 0.
73725         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
73726         clock_t.
73727         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
73729 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
73731         * configure.in <sysdeps resolving>: Correct printing
73732         Implies_before.
73733         * configure: Regenerate.
73735 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
73737         * math/w_ilogb.c: Include <limits.h>.
73738         * math/w_ilogbl.c: Likewise.
73740 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
73742         * manual/lang.texi (__va_copy): Document primarily as ISO C99
73743         va_copy.  Document allowing for unavailable va_copy only as
73744         pre-C99 compatibility.
73745         * manual/string.texi (Copying and Concatenation): Use va_copy
73746         instead of __va_copy in concat example.
73748 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
73750         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
73751         (__sendto): Use create_address_port.  Initialize APORT and deallocate
73752         it if not null.
73754         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
73755         with O_NOLINK passed to __file_name_lookup.
73757         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
73758         with O_NOLINK passed to __file_name_lookup.
73760         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
73761         negative N or less than NGIDS.
73763         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
73764         type to string_t.  Set ERANGE as errno and return it if NAME is not big
73765         enough.  Use memcpy instead of strncpy.
73767 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
73769         * elf/Makefile (check-data): Remove.
73770         (localplt.data): New vpath directive.
73771         ($(objpfx)check-localplt.out): Use localplt.data from vpath
73772         instead of $(check-data).
73773         * scripts/data/localplt-generic.data: Move to ...
73774         * sysdeps/generic/localplt.data: ... here.
73775         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
73776         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
73777         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
73778         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
73779         ... here.
73780         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
73781         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
73782         ... here.
73783         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
73784         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
73785         ... here.
73786         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
73787         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
73788         ... here.
73789         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
73790         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
73791         ... here.
73792         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
73793         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
73794         ... here.
73796 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
73798         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
73799         PPC32 and PPC64 files.
73800         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
73801         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
73803 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
73805         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
73806         __makecontext_ret to ...
73807         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
73808         ... here and call exit if uc_link is NULL.  New file.
73809         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
73810         __makecontext_ret.S.
73811         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
73812         __makecontext_ret to ...
73813         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
73814         ... here and call exit if uc_link is NULL.  New file.
73815         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
73816         __makecontext_ret.S.
73818 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
73820         * elf/elf.h (R_390_IRELATIVE): New definition.
73821         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
73822         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
73823         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
73824         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
73825         (elf_machine_lazy_rel): Likewise.
73826         * sysdeps/s390/dl-irel.h: New file.
73827         * sysdeps/s390/s390-64/memcpy.S: New asm code.
73828         * sysdeps/s390/s390-64/memset.S: New asm code.
73829         * sysdeps/s390/s390-64/memcmp.S: New asm code.
73830         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
73831         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
73832         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
73833         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
73834         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
73835         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
73836         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
73837         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
73838         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
73839         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
73840         * sysdeps/s390/s390-32/memcpy.S: New asm code.
73841         * sysdeps/s390/s390-32/memset.S: New asm code.
73842         * sysdeps/s390/s390-32/memcmp.S: New asm code.
73844 2012-07-17  Marek Polacek  <polacek@redhat.com>
73846         [BZ #14349]
73847         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
73848         * sysdeps/s390/s390-64/configure.in: Likewise.
73849         * sysdeps/sparc/configure.in: Likewise.
73850         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
73851         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
73852         * sysdeps/i386/configure.in: Likewise.
73853         * sysdeps/x86_64/configure.in: Likewise.
73854         * sysdeps/sh/configure.in: Likewise.
73855         * sysdeps/s390/s390-32/configure: Regenerated.
73856         * sysdeps/s390/s390-64/configure: Likewise.
73857         * sysdeps/x86_64/configure: Likewise.
73858         * sysdeps/sh/configure: Likewise.
73859         * sysdeps/powerpc/powerpc64/configure: Likewise.
73860         * sysdeps/powerpc/powerpc32/configure: Likewise.
73861         * sysdeps/sparc/configure: Likewise.
73862         * sysdeps/i386/configure: Likewise.
73864         * elf/dl-open.c: Comment fixes.
73866 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
73868         * Makefile [CXX] (check-data): Remove.
73869         [CXX] (c++-types.data): New vpath directive.
73870         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
73871         vpath.  Do not allow for C++ type data being missing.
73872         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
73873         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
73874         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
73875         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
73876         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
73877         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
73878         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
73879         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
73880         ... here.
73881         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
73882         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
73883         ... here.
73884         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
73885         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
73886         ... here.
73887         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
73888         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
73889         ... here.
73890         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
73891         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
73892         ... here.
73893         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
73894         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
73895         ... here.
73896         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
73897         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
73898         ... here.
73899         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
73900         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
73902         * elf/tls-macros.h (TLS_LE): Move architecture-specific
73903         definitions to architecture-specific files.
73904         (TLS_IE): Likewise.
73905         (TLS_LD): Likewise.
73906         (TLS_GD): Likewise.
73907         * sysdeps/i386/tls-macros.h: New file.
73908         * sysdeps/powerpc/tls-macros.h: Likewise.
73909         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
73910         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
73911         * sysdeps/sh/tls-macros.h: Likewise.
73912         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
73913         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
73914         * sysdeps/x86_64/tls-macros.h: Likewise.
73916 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
73918         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
73919         zero value for regular exit case.
73921         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
73922         (__start_context): Preserve zero value for regular exit case.
73924 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
73925             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
73927         * manual/setjmp.texi (setcontext): Clarify normal process
73928         termination when uc_link is the null pointer.
73929         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
73930         exit call.
73932 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
73934         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
73935         preprocessor.  Test for each exception mask separately.
73937 2012-07-16  Andreas Jaeger  <aj@suse.de>
73939         * po/ru.po: Update from translation team.
73941 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
73943         * conform/data/string.h-data (NULL): Use macro-constant.  Require
73944         equal to 0.
73945         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
73946         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
73947         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
73948         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
73949         [ISO || ISO99 || ISO11] (*_t): Do not allow.
73951 2012-07-13  Andreas Jaeger  <aj@suse.de>
73953         * po/fr.po: Update from translation team.
73955 2012-07-12  Marek Polacek  <polacek@redhat.com>
73957         [BZ #14173]
73958         * math/libm-test.inc (yn_test): Add test for BZ #14173.
73959         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
73960         loop condition.
73962 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
73964         [BZ #13717]
73965         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
73966         Change to 2.4.1 where previously 2.4.0.
73967         * sysdeps/unix/sysv/linux/configure: Regenerated.
73968         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
73969         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
73970         version.
73971         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
73972         (__ASSUME_AT_CLKTCK): Remove.
73973         (__ASSUME_AT_PAGESIZE): Likewise.
73974         (__ASSUME_AT_XID): Likewise.
73975         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
73976         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
73977         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
73978         unconditionally.
73979         (HAVE_AUX_PAGESIZE): Likewise.
73980         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
73981         [__ASSUME_AT_CLKTCK]: Make code unconditional.
73982         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
73984 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
73986         [BZ #14307]
73987         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
73988         the temporary buffer used to invoke __gethostbyname2_r,
73989         __gethostbyaddr_r and gethostbyname4_r to make room for struct
73990         host_data / struct gaih_addrtuple.
73991         * resolv/nss_dns/dns-host.c (global scope): Move definition of
73992         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
73993         header file nss/nsswitch.h.
73994         * nss/nsswitch.h (global scope): Add definition of implementation
73995         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
73996         resolv/nss_dns/dns-host.c).
73998 2012-07-11  Andreas Jaeger  <aj@suse.de>
74000         * po/fr.po: Update from translation team.
74002         * po/sv.po: Update from translation team
74003         * po/fr.po: Another update from translation team.
74005 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
74007         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
74008         for subnormals or multiply small sinh result by itself.
74009         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
74010         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
74012 2012-07-11  David S. Miller  <davem@davemloft.net>
74014         * sysdeps/sparc/fpu/libm-test-ulps: Update.
74016 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
74018         [BZ #14347]
74019         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
74020         (INTERNAL_MARK): Shift it here.
74022 2012-07-10  Marek Polacek  <polacek@redhat.com>
74024         [BZ #14151]
74025         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
74026         libc_cv_asm_global_directive with .globl.
74027         * configure: Regenerated.
74028         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
74029         with .globl.
74030         * sysdeps/i386/configure: Regenerated.
74031         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
74032         with .globl.
74033         * sysdeps/x86_64/configure: Regenerated.
74034         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
74035         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
74036         * elf/tst-unique2mod2.c: Likewise.
74037         * elf/tst-unique2mod1.c: Likewise.
74038         * elf/tst-unique1mod2.c: Likewise.
74039         * elf/tst-unique1mod1.c: Likewise.
74040         * sysdeps/s390/s390-32/sysdep.h: Likewise.
74041         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
74042         * sysdeps/s390/s390-64/sysdep.h: Likewise.
74043         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
74044         * sysdeps/mach/sysdep.h: Likewise.
74045         * sysdeps/i386/sysdep.h: Likewise.
74046         * sysdeps/i386/i386-mcount.S: Likewise.
74047         * sysdeps/x86_64/_mcount.S: Likewise.
74048         * sysdeps/x86_64/sysdep.h: Likewise.
74049         * sysdeps/sh/_mcount.S: Likewise.
74050         * sysdeps/sh/sysdep.h: Likewise.
74051         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
74052         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
74053         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
74054         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
74055         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
74056         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
74057         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
74058         * locale/localeinfo.h: Likewise.
74059         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
74060         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
74062 2012-07-09  Roland McGrath  <roland@hack.frob.com>
74064         [BZ #14336]
74065         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
74066         system".
74067         * manual/message.texi (The Uniforum approach): Likewise.
74068         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
74069         (glibc iconv Implementation): Likewise.
74071 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
74073         [BZ #14337]
74074         * math/s_clog.c (__clog): Avoid scaling a value down where that
74075         could result in underflow.
74076         * math/s_clog10.c (__clog10): Likewise.
74077         * math/s_clog10f.c (__clog10f): Likewise.
74078         * math/s_clog10l.c (__clog10l): Likewise.
74079         * math/s_clogf.c (__clogf): Likewise.
74080         * math/s_clogl.c (__clogl): Likewise.
74081         * math/libm-test.inc (clog_test): Add more tests.
74082         (clog10_test): Likewise.
74083         * sysdeps/i386/fpu/libm-test-ulps: Update.
74084         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
74086 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
74088         [BZ #14283]
74089         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
74090         by 7 not 8 to examine high bit of fractional part.
74092         [BZ #14042]
74093         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
74094         for call to __mcount_internal.
74095         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
74096         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
74097         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
74099 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
74101         [BZ #14154]
74102         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
74103         approximation for values within 0x1p-13f of an odd multiple of
74104         pi/4.
74105         * math/libm-test.inc (tan_test): Do not allow spurious underflow
74106         exception.  Add more tests.
74107         * sysdeps/i386/fpu/libm-test-ulps: Update.
74109         [BZ #6778]
74110         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
74111         inputs and return -1 for them.  Do not check for +Inf in case not
74112         reachable for +Inf.
74113         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
74114         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
74115         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
74116         and return -1 for them.  Do not check for +Inf in case not
74117         reachable for +Inf.
74118         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
74119         define.
74120         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
74121         and return -1 for them.  Do not check for +Inf in case not
74122         reachable for +Inf.
74123         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
74124         spurious underflow.
74125         * sysdeps/i386/fpu/libm-test-ulps: Update.
74126         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
74128 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
74130         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
74132 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
74134         [BZ #14157]
74135         [BZ #14331]
74136         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
74137         could result in spurious underflow.  Scale down values above
74138         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
74139         * math/s_csqrtf.c (__csqrtf): Likewise.
74140         * math/s_csqrtl.c (__csqrtl): Likewise.
74141         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
74142         spurious underflow.
74143         * sysdeps/i386/fpu/libm-test-ulps: Update.
74144         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
74146 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
74148         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
74149         xopen-msg.sed.
74150         * catgets/xopen-msg.awk: New file.
74151         * catgets/xopen-msg.sed: Removed.
74153         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
74154         po2text.sed.
74155         * intl/po2test.awk: New file.
74156         * intl/po2test.sed: Removed.
74158 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
74160         [BZ #14328]
74161         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
74162         or multiply small sinh result by itself.
74163         * math/s_ctanf.c (__ctanf): Likewise.
74164         * math/s_ctanh.c (__ctanh): Likewise.
74165         * math/s_ctanhf.c (__ctanhf): Likewise.
74166         * math/s_ctanhl.c (__ctanhl): Likewise.
74167         * math/s_ctanl.c (__ctanl): Likewise.
74168         * math/libm-test.inc (ctan_test_tonearest): New function.
74169         (ctan_test_towardzero): Likewise.
74170         (ctan_test_downward): Likewise.
74171         (ctan_test_upward): Likewise.
74172         (ctanh_test_tonearest): Likewise.
74173         (ctanh_test_towardzero): Likewise.
74174         (ctanh_test_downward): Likewise.
74175         (ctanh_test_upward): Likewise.
74176         (main): Call these new functions.
74177         * sysdeps/i386/fpu/libm-test-ulps: Update.
74178         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
74180 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
74182         * .gitignore: Delete /ports entry.
74184 2012-07-03  Andreas Jaeger  <aj@suse.de>
74186         * po/bg.po: Update from translation team.
74187         * po/cs.po: Likewise.
74188         * po/de.po: Likewise.
74189         * po/hr.po: Likewise.
74190         * po/nl.pl: Likewise.
74191         * po/pl.po: Likewise.
74192         * po/vi.po: Likewise.
74194 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
74196         * Makeconfig [!+link] (+link-before-libc): New variable.
74197         [!+link] (+link-after-libc): Likewise.
74198         [!+link] (+link-tests): Likewise.
74199         [!+link] (+link): Define in terms of $(+link-before-libc) and
74200         $(+link-after-libc).
74201         [!+link-static] (+link-static-before-libc): New variable.
74202         [!+link-static] (+link-static-after-libc): Likewise.
74203         [!+link-static] (+link-static-tests): Likewise.
74204         [!+link-static] (+link-static): Define in terms of
74205         $(+link-static-before-libc) and $(+link-static-after-libc).
74206         [build-shared] (link-libc-before-gnulib): New variable.
74207         [build-shared] (link-libc-tests): Likewise.
74208         [build-shared] (link-libc): Define in terms of
74209         $(link-libc-before-gnulib).
74210         [!build-shared] (link-libc-tests): New variable.
74211         (link-libc-static-tests): New variable.
74212         [!gnulib] (gnulib-arch): New variable.
74213         [!gnulib] (gnulib-tests): Likewise.
74214         [!gnulib] (static-gnulib-arch): Likewise.
74215         [!gnulib] (static-gnulib-tests): Likewise.
74216         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
74217         Define with "=" instead of ":=".
74218         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
74219         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
74220         * Rules (binaries-all-notests): New variable.
74221         (binaries-all-tests): Likewise.
74222         (binaries-static-notests): Likewise.
74223         (binaries-static-tests): Likewise.
74224         (binaries-all): Define using $(binaries-all-notests) and
74225         $(binaries-all-tests).
74226         (binaries-static): Define using $(binaries-static-notests) and
74227         $(binaries-static-tests).
74228         (binaries-shared-tests): New variable.
74229         (binaries-shared-notests): Likewise.
74230         (binaries-shared): Remove variable.
74231         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
74232         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
74233         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
74234         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
74235         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
74236         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
74237         * elf/Makefile (sln-modules): New variable.
74238         (extra-objs): Add $(sln-modules:=.o).
74239         (ldconfig-modules): Add static-stubs.
74240         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
74241         * elf/static-stubs.c: New file.
74243         [BZ #14283]
74244         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
74245         by 7 not 8 to examine high bit of fractional part.  Use volatile
74246         variables when splitting into final array of floats if
74247         __FLT_EVAL_METHOD__ != 0.
74248         * math/libm-test.inc (cos_test): Add another test.
74249         (sin_test): Likewise.
74250         * sysdeps/i386/fpu/libm-test-ulps: Update.
74252         [BZ #14273]
74253         * math/libm-test.inc (cosh_test): Add more tests.
74255         * version.h (RELEASE): Set to "development".
74256         (VERSION): Set to "2.16.90".
74258 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
74260         * NEWS: Update copyright. Remove last-updated date.
74261         Mention math library bug fixes and timezone data changes.
74262         * README: Mention GNU/Hurd, x32, and HPPA support status.
74264 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
74266         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
74268 2012-06-27  Andreas Jaeger  <aj@suse.de>
74270         * manual/contrib.texi (Contributors): Add Samuel Thibault.
74272 2012-06-25  Andreas Jaeger  <aj@suse.de>
74274         * sysdeps/s390/fpu/libm-test-ulps: Update.
74276 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
74277             Thomas Schwinge  <thomas@codesourcery.com>
74279         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
74280         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
74281         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
74282         fanotify_mark.
74284 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
74286         * sysdeps/mach/start.c: Remove file.
74287         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
74288         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
74289         * sysdeps/sh/init-first.c: Likewise.
74291         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
74292         registers for frame unwinding purposes, add CFI directives.
74293         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
74294         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise.
74295         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
74296         Likewise.
74298         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
74299         __fortify_fail returning.
74300         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
74302         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
74303         sysdeps/sh/____longjmp_chk.S.
74304         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
74305         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
74306         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
74307         (gen-as-const-headers): Append sigaltstack-offsets.sym.
74309         * sysdeps/sh/abort-instr.h: New file.
74310         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
74311         process in case exit returns.
74313         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
74314         initialize the GOT register before use.
74316         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
74317         calculation of ARGC > 4.
74319         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
74320         meaningful names to some local labels.
74322 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
74323             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
74325         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
74326         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
74327         (__arch_compare_and_exchange_val_16_acq): Likewise.
74328         (__arch_compare_and_exchange_val_32_acq): Likewise.
74329         (atomic_exchange_and_add): Fix gUSA sequence.
74330         (atomic_add): Likewise.
74331         (atomic_add_negative): Likewise.
74332         (atomic_add_zero): Likewise.
74333         (atomic_bit_test_set): Likewise.
74335 2012-06-22  Andreas Schwab  <schwab@redhat.com>
74337         [BZ #13579]
74338         * include/link.h (struct link_map): Add l_free_initfini.
74339         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
74340         l_initfini.
74341         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
74342         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
74343         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
74344         set.
74346 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
74348         * configure.in: Use AC_LANG_SOURCE.
74349         * configure: Regenerate.
74351 2012-06-22  Roland McGrath  <roland@hack.frob.com>
74353         * configure.in (libc_cv_localstatedir): New substituted variable.
74354         * configure: Regenerated.
74355         * config.make.in (localstatedir): New variable, substituted from
74356         libc_cv_localstatedir.
74357         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
74358         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
74359         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
74360         * sysdeps/gnu/configure: Regenerated.
74362 2012-06-21  Jeff Law  <law@redhat.com>
74364         [BZ #14277]
74365         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
74366         free.  Simplify list management for _LIBC case.
74368 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
74370         [BZ #14273]
74371         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
74372         Clear sign bit of 64-bit integer value before comparing against
74373         overflow value.
74375         * sysdeps/mach/configure: Regenerated.
74377 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
74379         [BZ #14278]
74380         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
74382 2012-06-21  Jeff Law  <law@redhat.com>
74384         [BZ #13882]
74385         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
74386         uint16_t for elements in the "seen" array to avoid char overflows.
74387         * elf/dl-fini.c (_dl_sort_fini): Likewise.
74388         * elf/dl-open.c (dl_open_worker): Likewise.
74390 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
74392         * scripts/list-sources.sh: Scan PORTS for translations.
74393         * po/libc.pot: Regenerated.
74395 2012-06-21  Andreas Jaeger  <aj@suse.de>
74397         [BZ #12194]
74398         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
74399         warning.
74400         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
74401         * bits/byteswap-16.h (__bswap_16): Likewise.
74402         * bits/byteswap.h (__bswap_constant_16): Likewise.
74404 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
74406         [BZ #14117]
74407         * sysdeps/i386/fpu_control.h: Removed.
74408         * sysdeps/x86_64/fpu_control.h: Moved to ...
74409         * sysdeps/x86/fpu_control.h: Here.
74411         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
74412         (_FPU_SETCW): Likewise.
74414 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
74416         [BZ #14117]
74417         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
74418         * sysdeps/x86/fpu/bits/mathinline.h: This.
74419         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
74421         [BZ #14050]
74422         [BZ #14117]
74423         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
74424         functions if __x86_64__ is defined.
74426 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
74428         * string/endian.h: Add !__ASSEMBLER__ condition for including
74429         conversion interfaces.
74431 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
74433         [BZ #14241]
74434         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
74435         of ABS(x) in calculating zero to negative powers other than odd
74436         integers.
74437         * math/libm-test.inc (pow_test): Add more tests.
74439 2012-06-15  Andreas Jaeger  <aj@suse.de>
74441         * manual/contrib.texi (Contributors): Update entry of Liubov
74442         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
74443         Machado Filho.
74445 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
74447         * string/string.h: Add __wur to GNU version of strerror_r.
74449 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
74451         [BZ #14229]
74452         * string/Makefile (tests): Add tst-strtok_r.
74453         * string/tst-strtok_r.c: New file.
74454         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
74455         RAX_LP/RDX_LP on SAVE_PTR.
74457 2012-06-14  Roland McGrath  <roland@hack.frob.com>
74459         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
74461 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
74463         * libm_test.inc (csqrt_test): Allow more spurious underflow
74464         exceptions.
74465         (j0_test): Likewise.
74466         (j1_test): Likewise.
74467         (y0_test): Likewise.
74468         (y1_test): Likewise.
74470 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
74472         * po/Makefile (libc.pot): Use UTF-8 charset.
74474 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
74476         [BZ #14210]
74477         Suppress sign-conversion warning from FD_SET.
74478         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
74479         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
74480         not unsigned long int.
74481         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
74483 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
74485         [BZ #14050]
74486         [BZ #14117]
74487         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
74488         __extern_always_inline instead of __extern_inline.
74489         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
74490         (__signbit): Likewise.
74491         (__signbitl): Support C++ namespace.
74492         (lrintf): New inline function.
74493         (lrint): Likewise.
74494         (llrintf): Likewise.
74495         (llrint): Likewise.
74496         (fmaxf): Likewise.
74497         (fmax): Likewise.
74498         (fminf): Likewise.
74499         (fmin): Likewise.
74500         (rint): Likewise.
74501         (rintf): Likewise.
74502         (ceil): Likewise.
74503         (ceilf): Likewise.
74504         (floor): Likewise.
74505         (floorf): Likewise.
74506         (nearbyint): Likewise.
74507         (nearbyintf): Likewise.
74509 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
74511         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
74512         non-default versions.
74514 2012-06-11  Roland McGrath  <roland@hack.frob.com>
74516         [BZ #14218]
74517         * manual/argp.texi (Argp): Reword argp_parse description slightly.
74519 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
74521         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
74522         (FE_UPWARD, FE_DOWNWARD): Don't define.
74523         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
74524         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
74526         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
74527         reading it.
74528         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
74529         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
74531 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
74533         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
74534         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
74535         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
74536         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
74538 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
74540         [BZ #14117]
74541         * sysdeps/i386/fpu/bits/fenv.h: Removed.
74542         * sysdeps/i386/fpu/Implies: New file.
74543         * sysdeps/x86_64/fpu/Implies: Likewise.
74544         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
74545         * sysdeps/x86/fpu/bits/fenv.h: This.
74547         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
74548         __SSE_MATH__.
74550 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
74552         [BZ #14134]
74553         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
74554         character 0xffff that matches the last element of the
74555         conversion table.
74557 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
74559         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
74560         fmodl commit.
74562 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
74564         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
74565         values higher than 25.6283.
74567 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
74569         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
74570         subnormal exponent extraction and add some __builtin_expect.
74571         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
74572         Fix for subnormal mantissa calculation.
74574 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
74576         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
74577         cpu2 is -1 and errno is not ENOSYS.
74579 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
74581         [BZ #14117]
74582         * sysdeps/i386/i486/bits/string.h: Renamed to ...
74583         * sysdeps/x86/bits/string.h: This.
74584         * sysdeps/x86_64/bits/string.h: Removed.
74586         * sysdeps/i386/i486/bits/string.h: Define inline functions only
74587         if not compiling for x86-64, but compiling for >= i486.
74589         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
74590         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
74592         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
74593         New macro from Linux kernel 3.4.0.
74594         (FP_XSTATE_MAGIC2): Likewise.
74595         (FP_XSTATE_MAGIC2_SIZE): Likewise.
74596         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
74597         (struct _fpx_sw_bytes): New struct.
74598         (struct _xsave_hdr): Likewise.
74599         (struct _ymmh_state): Likewise.
74600         (struct _xstate): Likewise.
74602         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
74603         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
74604         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
74605         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
74606         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
74607         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
74609         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
74610         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
74611         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
74612         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
74613         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
74614         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
74616 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
74618         [BZ #13743]
74619         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
74620         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
74621         (sysdep_headers): Include sys/platform/ppc.h.
74622         * sysdeps/powerpc/test-gettimebase.c: Test for
74623         __ppc_get_timebase() to catch future ISA opcode/insn changes.
74624         * manual/Makefile (appendices): Include platform.texi.
74625         * manual/contrib.texi (Contributors): Update @node pointers.
74626         * manual/maint.texi (Maintenance): Likewise.
74627         (Platform): New node.
74628         * manual/platform.texi: New file.  Document the new features.
74630 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
74631             Jakub Jelinek  <jakub@redhat.com>
74633         [BZ #14188]
74634         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
74635         where __builtin_expect is unavailable.
74637 2012-06-03  David S. Miller  <davem@davemloft.net>
74639         * stdlib/longlong.h: Updated from GCC.
74641 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
74643         [BZ #14042]
74644         * sysdeps/powerpc/powerpc32/mcount.c: New file.
74645         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
74646         __mcount_internal.
74647         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
74648         (GLIBC_2.16): Likewise.
74650 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
74652         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
74654 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
74656         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
74657         (default-abi): New variable.
74658         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
74659         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
74660         variable.
74661         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
74662         Likewise.
74663         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
74664         Likewise.
74665         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
74666         Likewise.
74668         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
74669         definition.  Document in comment.
74671 2012-06-01  David S. Miller  <davem@davemloft.net>
74673         * stdlib/longlong.h: Updated from GCC.
74675 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
74677         [BZ #14117]
74678         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
74679         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
74680         sys/debugreg.h sys/io.h here.
74681         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
74682         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
74683         sys/io.h.
74684         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
74685         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
74686         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
74687         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
74688         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
74689         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
74691         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
74692         Define only if __x86_64__ is defined.
74694 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
74696         [BZ #14048]
74697         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
74698         Use int64_t for variable i.
74699         * math/libm-test.inc (fmod_test): Add more tests.
74701         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
74702         z computation is not scheduled after fetestexcept.
74703         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
74704         Use math_force_eval instead of asm to ensure calculation scheduled
74705         before exception test.
74706         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
74707         Ensure a1 + u.d computation is not scheduled after fetestexcept.
74709 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
74711         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
74712         computation is not scheduled after fetestexcept.
74714 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
74716         [BZ #14117]
74717         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
74718         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
74720 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
74722         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
74723         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
74725 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
74727         [BZ #14117]
74728         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
74729         <bits/wordsize.h>.
74730         (__WCHAR_MIN): Support __WORDSIZE == 64.
74731         (__WCHAR_MAX): Likewise.
74733         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
74734         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
74736         [BZ #14183]
74737         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
74738         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
74740         [BZ #14117]
74741         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
74742         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
74744         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
74745         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
74747         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
74748         Defined to 1 if __x86_64__ isn't defined.
74749         (_STAT_VER_LINUX_OLD): New.
74750         (st_atime): Remove duplicate.
74751         (st_mtime): Likewise.
74752         (st_ctime): Likewise.
74754 2012-05-31  David S. Miller  <davem@davemloft.net>
74756         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
74757         entries.
74759 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
74761         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
74762         gen-libm-test.pl.
74764         [BZ #14132]
74765         * elf/dl-reloc.c: Include <_itoa.h>.
74766         (_dl_reloc_bad_type): Remove use of INTUSE.
74767         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
74768         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
74769         * stdio-common/psiginfo.c (psiginfo): Likewise.
74770         * stdio-common/psignal.c (psignal): Likewise.
74771         * string/strsignal.c (strsignal): Likewise.
74772         * include/signal.h (_sys_siglist): Declare hidden proto.
74773         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
74774         INTVARDEF with libc_hidden_data_def.
74775         * stdio-common/itoa-udigits.c: Likewise.
74776         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
74777         (_itoa_lower_digits_internal): Remove declaration.
74778         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
74779         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
74780         (_sys_sigabbrev_internal): Remove aliases.
74781         (_sys_siglist): Define hidden alias.
74783 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
74785         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
74786         bits/sysctl.h.
74788 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
74790         [BZ #14117]
74791         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
74792         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
74794         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
74795         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
74796         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
74797         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
74798         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
74799         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
74801         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
74802         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
74803         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
74805         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
74806         with __addr.
74807         (insw): Likewise.
74808         (insl): Likewise.
74809         (outsb): Likewise.
74810         (outsw): Likewise.
74811         (outsl): Likewise.
74813         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
74814         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
74815         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
74817         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
74818         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
74819         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
74820         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
74821         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
74822         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
74824         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
74825         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
74827         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
74828         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
74830         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
74831         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
74832         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
74834         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
74835         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
74836         to ...
74837         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
74839         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
74840         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
74841         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
74843         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
74844         for x86-64.
74845         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
74847 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
74849         * math/math.h (M_El): Use two more decimal places.
74850         (M_LOG2El): Likewise.
74851         (M_LOG10El): Likewise.
74852         (M_LN2l): Likewise.
74853         (M_LN10l): Likewise.
74854         (M_PIl): Likewise.
74855         (M_PI_2l): Likewise.
74856         (M_PI_4l): Likewise.
74857         (M_1_PIl): Likewise.
74858         (M_2_PIl): Likewise.
74859         (M_2_SQRTPIl): Likewise.
74860         (M_SQRT2l): Likewise.
74861         (M_SQRT1_2l): Likewise.
74863 2012-05-31  David S. Miller  <davem@davemloft.net>
74865         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
74866         values between float registers.
74867         * sysdeps/sparc/sparc64/memset.S: Likewise.
74868         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
74870 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
74872         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
74873         -D_FORTIFY_SOURCE=1.
74874         (CPPFLAGS-tst-longjmp_chk.c): Define.
74875         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
74876         (CPPFLAGS-tst-longjmp_chk2.c): Define.
74877         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
74878         CFLAGS-tst-wchar-h.c.
74880 2012-05-31  Marek Polacek  <polacek@redhat.com>
74882         [BZ #14132]
74883         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
74884         __endmntent_internal): Remove declaration.
74885         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
74886         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
74887         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
74889 2012-05-30  David S. Miller  <davem@davemloft.net>
74891         * sysdeps/sparc/sparc32/soft-fp/q_util.c
74892         (___Q_simulate_exceptions): Use real FP ops rather than writing
74893         into the %fsr.
74894         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
74895         Likewise.
74897 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
74899         [BZ #14117]
74900         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
74901         * sysdeps/x86/bits/xtitypes.h: This.
74903         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
74904         * sysdeps/x86/bits/wordsize.h: This.
74906         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
74907         * sysdeps/x86/bits/huge_vall.h: This.
74909         * sysdeps/i386/bits/select.h: Removed.
74910         * sysdeps/x86_64/bits/select.h: Renamed to ...
74911         * sysdeps/x86/bits/select.h: This.
74913         * sysdeps/i386/bits/setjmp.h: Removed.
74914         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
74915         * sysdeps/x86/bits/setjmp.h: This.
74917         * sysdeps/i386/bits/mathdef.h: Removed.
74918         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
74919         * sysdeps/x86/bits/mathdef.h: This.
74921 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
74923         [BZ #14132]
74924         * include/sys/socket.h (__connect_internal)
74925         (__libc_sa_len_internal): Remove declaration.
74926         (__connect, __libc_sa_len): Declare hidden_proto.
74927         (SA_LEN): Remove use of INTUSE.
74928         * socket/connect.c: Add libc_hidden_def.
74929         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
74930         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
74931         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
74932         alias.
74933         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
74934         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
74935         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
74936         of adding _internal alias.
74938 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
74940         [BZ #14117]
74941         * sysdeps/i386/bits/link.h: Removed.
74942         * sysdeps/i386/bits/linkmap.h: Likewise.
74943         * sysdeps/x86_64/bits/link.h: Renamed to ...
74944         * sysdeps/x86/bits/link.h: This.
74945         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
74946         * sysdeps/x86/bits/linkmap.h: This.
74948         * sysdeps/i386/bits/endian.h: Removed.
74949         * sysdeps/x86_64/bits/endian.h: Renamed to ...
74950         * sysdeps/x86/bits/endian.h: This.
74952         * sysdeps/i386/bits/byteswap.h: Removed.
74953         * sysdeps/i386/bits/byteswap-16.h: Likewise.
74954         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
74955         * sysdeps/x86/bits/byteswap.h: This.
74956         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
74957         * sysdeps/x86/bits/byteswap-16.h: This.
74958         * sysdeps/i386/Implies: Add x86.
74959         * sysdeps/x86_64/Implies: Likewise.
74961 2012-05-30  David S. Miller  <davem@davemloft.net>
74963         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
74964         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
74965         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
74966         (FP_TRAPPING_EXCEPTIONS): Define.
74967         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
74968         (FP_TRAPPING_EXCEPTIONS): Define.
74969         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
74970         subnormals only when inexact has been signalled or underflow
74971         exceptions are enabled.
74972         (_FP_PACK_CANONICAL): Likewise.
74974 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
74976         [BZ #14183]
74977         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
74978         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
74980 2012-05-30  Richard Henderson  <rth@twiddle.net>
74982         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
74983         with #ifndef NOT_IN_libc.
74985         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
74986         marked to avoid plt entry.
74988 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
74990         [BZ #14112]
74991         * Makeconfig (default-abi): New macro.
74992         (abi-includes): Likewise.
74993         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
74994         $(abi-$(default-abi)-lib-soname) for soname if defined.
74995         ($(common-objpfx)gnu/lib-names.stmp): Generate from
74996         abi-variants.
74997         * Makefile (installed-stubs): Likewise.
74998         * include/stubs-biarch.h: Removed.
74999         * scripts/lib-names.awk: Only handle one library at a time.
75000         * scripts/soversions.awk: Remove WORDSIZE support.
75001         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
75002         entries.
75003         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
75004         Removed.
75005         (syscall-list-default-condition): Likewise.
75006         (syscall-list-default-condition): Likewise.
75007         (syscall-list-includes): Likewise.
75008         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
75009         syscall-list-* with abi-*.  Handle undefined abi-variants.
75010         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
75011         * sysdeps/unix/sysv/linux/i386/Implies: New file.
75012         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
75013         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
75014         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
75015         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
75016         Removed.
75017         (syscall-list-32-options): Likewise.
75018         (syscall-list-32-condition): Likewise.
75019         (syscall-list-64-options): Likewise.
75020         (syscall-list-64-condition): Likewise.
75021         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
75022         macro.
75023         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
75024         Renamed to ...
75025         (abi-*): This.
75026         (abi-64-ld-soname): New macro.
75027         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
75028         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
75029         Renamed to ...
75030         (abi-*): This.
75031         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
75032         * sysdeps/x86_64/x32/shlib-versions: Likewise.
75034 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
75036         * sysdeps/unix/sysv/linux/kernel-features.h
75037         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
75038         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
75039         include <kernel-features.h>.
75040         [!__NR_ftruncate64]: Remove conditional code.
75041         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
75042         [__NR_ftruncate64]: Make code unconditional.
75043         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
75044         * sysdeps/unix/sysv/linux/truncate64.c: Do not
75045         include <kernel-features.h>.
75046         [!__NR_ftruncate64]: Remove conditional code.
75047         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
75048         [__NR_ftruncate64]: Make code unconditional.
75049         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
75050         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
75051         include <kernel-features.h>.
75052         [!__NR_ftruncate64]: Remove conditional code.
75053         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
75054         [__NR_ftruncate64]: Make code unconditional.
75055         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
75056         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
75057         include <kernel-features.h>.
75058         [!__NR_ftruncate64]: Remove conditional code.
75059         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
75060         [__NR_ftruncate64]: Make code unconditional.
75061         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
75063         * configure.in (libc_cv_fpie): Weaken to a compile test using
75064         LIBC_TRY_CC_OPTION.
75065         * configure: Regenerated.
75067 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
75069         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
75070         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
75071         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
75072         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
75073         Refreshed.
75074         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
75075         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
75076         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
75077         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
75078         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
75079         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
75080         Refreshed.
75082 2012-05-27  David S. Miller  <davem@davemloft.net>
75084         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
75085         (___Q_zero): New.
75086         (__Q_simulate_exceptions): Return void.  Change to simulate
75087         exceptions by writing into the %fsr.
75088         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
75089         (__Qp_handle_exceptions): Likewise.
75090         (numbers): Delete.
75091         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
75092         __Qp_handle_exceptions.
75093         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
75094         __Qp_handle_exceptions.
75095         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
75096         as unused and give dummy FP_RND_NEAREST initializer.
75097         (FP_INHIBIT_RESULTS): Define.
75098         (___Q_simulate_exceptions): Update declaration.
75099         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
75100         formatting.
75101         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
75102         as unused and give dummy FP_RND_NEAREST initializer.
75103         (__Qp_handle_exceptions): Update declaration.
75104         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
75105         formatting.
75107 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
75109         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
75110         the temporary FPU control word.
75111         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
75112         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
75113         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
75114         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
75115         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
75116         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
75117         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
75118         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
75119         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
75120         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
75121         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
75123 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
75125         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
75126         fields.
75128 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
75130         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
75131         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
75132         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
75133         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
75134         Likewise.
75135         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
75136         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
75137         Likewise.
75139 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
75141         * po/h.po: Update from translation team.
75143 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
75145         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
75147         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
75148         handling of denormals.
75149         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
75150         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
75151         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
75152         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
75153         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
75154         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
75155         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
75156         Likewise.
75158 2012-05-26  Marek Polacek  <polacek@redhat.com>
75160         [BZ #14152]
75161         * math/libm-test.inc (fma_test): Don't always expect underflow
75162         exception.
75164 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
75166         [BZ #12416]
75167         * elf/tst-execstack.c: Include stackinfo.h.
75168         (do_test): Adjust test case to ensure that pthread_getattr_np
75169         behaviour remains the same after marking stack executable.
75171 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
75173         * sysdeps/unix/sysv/linux/kernel-features.h
75174         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
75175         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
75176         kernel-features.h.
75177         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
75178         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
75179         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
75180         kernel-features.h.
75181         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
75182         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
75184 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
75186         * configure.in: Define the default includes to being none.
75187         * configure: Regenerated.
75189 2012-05-25  Roland McGrath  <roland@hack.frob.com>
75191         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
75192         * sysdeps/x86_64/setjmp.S: Likewise.
75193         * sysdeps/i386/bsd-setjmp.S: Likewise.
75194         * sysdeps/i386/bsd-_setjmp.S: Likewise.
75195         * sysdeps/i386/setjmp.S: Likewise.
75196         * sysdeps/i386/__longjmp.S: Likewise.
75197         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
75198         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
75200         * include/stap-probe.h: New file.
75201         * configure.in: Handle --enable-systemtap.
75202         * configure: Regenerated.
75203         * config.h.in (USE_STAP_PROBE): New #undef.
75204         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
75205         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
75206         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
75208 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
75210         [BZ #13717]
75211         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
75212         to 2.4.0 where earlier.
75213         * sysdeps/unix/sysv/linux/configure: Regenerated.
75214         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
75215         <kernel-features.h>.
75216         [__ASSUME_32BITUIDS]: Make code unconditional.
75217         [!__ASSUME_32BITUIDS]: Remove conditional code.
75218         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
75219         <kernel-features.h>.
75220         [__ASSUME_32BITUIDS]: Make code unconditional.
75221         [!__ASSUME_32BITUIDS]: Remove conditional code.
75222         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
75223         [__ASSUME_32BITUIDS]: Make code unconditional.
75224         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
75225         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
75226         <kernel-features.h>.
75227         [__ASSUME_32BITUIDS]: Make code unconditional.
75228         [!__ASSUME_32BITUIDS]: Remove conditional code.
75229         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
75230         <kernel-features.h>.
75231         [__ASSUME_32BITUIDS]: Make code unconditional.
75232         [!__ASSUME_32BITUIDS]: Remove conditional code.
75233         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
75234         <kernel-features.h>.
75235         [__ASSUME_32BITUIDS]: Make code unconditional.
75236         [!__ASSUME_32BITUIDS]: Remove conditional code.
75237         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
75238         <kernel-features.h>.
75239         [__ASSUME_32BITUIDS]: Make code unconditional.
75240         [!__ASSUME_32BITUIDS]: Remove conditional code.
75241         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
75242         <kernel-features.h>.
75243         [__ASSUME_32BITUIDS]: Make code unconditional.
75244         [!__ASSUME_32BITUIDS]: Remove conditional code.
75245         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
75246         <kernel-features.h>.
75247         [__ASSUME_32BITUIDS]: Make code unconditional.
75248         [!__ASSUME_32BITUIDS]: Remove conditional code.
75249         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
75250         <kernel-features.h>.
75251         [__ASSUME_32BITUIDS]: Make code unconditional.
75252         [!__ASSUME_32BITUIDS]: Remove conditional code.
75253         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
75254         <kernel-features.h>.
75255         [__ASSUME_32BITUIDS]: Make code unconditional.
75256         [!__ASSUME_32BITUIDS]: Remove conditional code.
75257         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
75258         <kernel-features.h>.
75259         [__ASSUME_32BITUIDS]: Make code unconditional.
75260         [!__ASSUME_32BITUIDS]: Remove conditional code.
75261         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
75262         <kernel-features.h>.
75263         [__ASSUME_32BITUIDS]: Make code unconditional.
75264         [!__ASSUME_32BITUIDS]: Remove conditional code.
75265         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
75266         <kernel-features.h>.
75267         [__NR_setresgid] (__setresgid): Do not declare.
75268         [__ASSUME_32BITUIDS]: Make code unconditional.
75269         [!__ASSUME_32BITUIDS]: Remove conditional code.
75270         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
75271         <kernel-features.h>.
75272         [__NR_setresuid] (__setresuid): Do not declare.
75273         [__ASSUME_32BITUIDS]: Make code unconditional.
75274         [!__ASSUME_32BITUIDS]: Remove conditional code.
75275         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
75276         <kernel-features.h>.
75277         [__ASSUME_32BITUIDS]: Make code unconditional.
75278         [!__ASSUME_32BITUIDS]: Remove conditional code.
75279         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
75280         <kernel-features.h>.
75281         [__ASSUME_32BITUIDS]: Make code unconditional.
75282         [!__ASSUME_32BITUIDS]: Remove conditional code.
75283         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
75284         <kernel-features.h>.
75285         [__ASSUME_32BITUIDS]: Make code unconditional.
75286         [!__ASSUME_32BITUIDS]: Remove conditional code.
75287         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
75288         <kernel-features.h>.
75289         [__ASSUME_32BITUIDS]: Make code unconditional.
75290         [!__ASSUME_32BITUIDS]: Remove conditional code.
75291         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
75292         <kernel-features.h>.
75293         [__ASSUME_32BITUIDS]: Make code unconditional.
75294         [!__ASSUME_32BITUIDS]: Remove conditional code.
75295         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
75296         <kernel-features.h>.
75297         [__ASSUME_32BITUIDS]: Make code unconditional.
75298         [!__ASSUME_32BITUIDS]: Remove conditional code.
75299         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
75300         <kernel-features.h>.
75301         [__ASSUME_32BITUIDS]: Make code unconditional.
75302         [!__ASSUME_32BITUIDS]: Remove conditional code.
75303         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
75304         <kernel-features.h>.
75305         [__ASSUME_32BITUIDS]: Make code unconditional.
75306         [!__ASSUME_32BITUIDS]: Remove conditional code.
75307         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
75308         <kernel-features.h>.
75309         [__ASSUME_32BITUIDS]: Make code unconditional.
75310         [!__ASSUME_32BITUIDS]: Remove conditional code.
75311         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
75312         <kernel-features.h>.
75313         [__ASSUME_32BITUIDS]: Make code unconditional.
75314         [!__ASSUME_32BITUIDS]: Remove conditional code.
75315         * sysdeps/unix/sysv/linux/kernel-features.h
75316         (__ASSUME_SETRESUID_SYSCALL): Remove.
75317         (__ASSUME_SETRESGID_SYSCALL): Likewise.
75318         (__ASSUME_32BITUIDS): Likewise.
75319         (__ASSUME_LDT_WORKS): Likewise.
75320         (__ASSUME_O_DIRECTORY): Likewise.
75321         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
75322         architecture but not kernel version.
75323         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
75324         (__ASSUME_MMAP2_SYSCALL): Likewise.
75325         (__ASSUME_STAT64_SYSCALL): Likewise.
75326         (__ASSUME_IPC64): Likewise.
75327         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
75328         <kernel-features.h>.
75329         [__ASSUME_32BITUIDS]: Make code unconditional.
75330         [!__ASSUME_32BITUIDS]: Remove conditional code.
75331         * sysdeps/unix/sysv/linux/opendir.c: Do not include
75332         <kernel-features.h>.
75333         [__ASSUME_O_DIRECTORY]: Make code unconditional.
75334         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
75335         132096]: Remove conditional code.
75336         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
75337         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
75338         <kernel-features.h>.
75339         [__ASSUME_32BITUIDS]: Make code unconditional.
75340         [!__ASSUME_32BITUIDS]: Remove conditional code.
75341         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
75342         <kernel-features.h>.
75343         [__ASSUME_32BITUIDS]: Make code unconditional.
75344         [!__ASSUME_32BITUIDS]: Remove conditional code.
75345         * sysdeps/unix/sysv/linux/setegid.c: Do not include
75346         <kernel-features.h>.
75347         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
75348         unconditional.
75349         (__setresgid): Do not declare.
75350         [__ASSUME_32BITUIDS]: Make code unconditional.
75351         [!__ASSUME_32BITUIDS]: Remove conditional code.
75352         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
75353         <kernel-features.h>.
75354         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
75355         unconditional.
75356         (__setresuid): Do not declare.
75357         [__ASSUME_32BITUIDS]: Make code unconditional.
75358         [!__ASSUME_32BITUIDS]: Remove conditional code.
75359         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
75360         <kernel-features.h>.
75361         [__ASSUME_32BITUIDS]: Make code unconditional.
75362         [!__ASSUME_32BITUIDS]: Remove conditional code.
75363         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
75364         <kernel-features.h>.
75365         [__ASSUME_32BITUIDS]: Make code unconditional.
75366         [!__ASSUME_32BITUIDS]: Remove conditional code.
75368 2012-05-25  Richard Henderson  <rth@twiddle.net>
75370         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
75371         dl_hwcap to ifunc resolver.
75372         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
75373         elf_ifunc_invoke.
75374         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
75375         dl_hwcap to ifunc resolver.
75376         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
75378 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
75380         [BZ #14153]
75381         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
75382         for |x| <= 2**-26, not 2**-57.
75383         * math/libm-test.inc (acos_test): Do not allow spurious underflow
75384         exception.
75386 2012-05-24  Jeff Law  <law@redhat.com>
75388         * stdio-common/Makefile (tests): Add bug25.
75389         * stdio-common/bug25.c: New test.
75391 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
75393         [BZ #13576]
75394         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
75395         multiple of MALLOC_ALIGNMENT in size.
75396         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
75398 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
75400         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
75401         Require >= 256.
75402         (FILENAME_MAX): Use macro-int-constant.
75403         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
75404         (_IOFBF): Use macro-int-constant.
75405         (_IOLBF): Likewise.
75406         (_IONBF): Likewise.
75407         (SEEK_CUR): Likewise.
75408         (SEEK_END): Likewise.
75409         (SEEK_SET): Likewise.
75410         (TMP_MAX): Likewise.
75411         (EOF): Use macro-int-constant.  Require < 0.
75412         (NULL): Use macro-constant.  Require == 0.
75413         (stdin): Require type to be FILE *.
75414         (stdout): Likewise.
75415         (stderr): Likewise.
75416         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
75417         macro-int-constant.
75418         (EXIT_SUCCESS): Likewise.
75419         (NULL): Use macro-constant.  Require == 0.
75420         (RAND_MAX): Use macro-int-constant.
75421         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
75422         [C99-based standards] (strtof): Require function.
75423         [C99-based standards] (strtold): Likewise.
75424         [C99-based standards] (strtoll): Likewise.
75425         [C99-based standards] (strtoull): Likewise.
75426         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
75427         [ISO || ISO99 || ISO11] (limits.h): Likewise.
75428         [ISO || ISO99 || ISO11] (math.h): Likewise.
75429         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
75430         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
75431         [ISO || ISO99 || ISO11] (*_t): Do not allow.
75433 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
75435         [BZ #14132]
75436         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
75437         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
75438         * intl/dgettext.c (DCGETTEXT): Likewise.
75439         * intl/gettext.c (DCGETTEXT): Likewise.
75440         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
75441         * posix/regex_internal.h (gettext): Likewise.
75442         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
75443         Remove declaration.
75444         * include/argz.h (__argz_count_internal)
75445         (__argz_stringify_internal): Remove declaration.
75446         (__argz_count, __argz_stringify): Declare hidden proto.
75447         * intl/dcgettext.c: Remove use of INTDEF.
75448         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
75449         * string/argz-stringify.c: Likewise.
75450         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
75451         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
75452         Declare hidden proto.
75453         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
75454         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
75455         Declare hidden proto.
75456         * include/stdio.h (__asprintf_internal): Don't declare.
75457         (__asprintf): Don't define as macro.  Declare hidden proto.
75458         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
75459         (__fsetlocking): Declare hidden proto.
75460         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
75461         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
75462         hidden proto.
75463         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
75464         (_IO_setlinebuf): Remove use of INTUSE.
75465         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
75466         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
75467         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
75468         Remove declaration.
75469         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
75470         (_IO_do_flush): Remove use of INTUSE.
75471         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
75472         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
75473         (_IO_adjust_column, _IO_least_wmarker)
75474         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
75475         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
75476         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
75477         (_IO_default_doallocate, _IO_wdefault_doallocate)
75478         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
75479         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
75480         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
75481         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
75482         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
75483         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
75484         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
75485         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
75486         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
75487         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
75488         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
75489         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
75490         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
75491         proto.
75492         (_IO_flush_all_internal, _IO_adjust_column_internal)
75493         (_IO_default_uflow_internal, _IO_default_finish_internal)
75494         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
75495         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
75496         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
75497         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
75498         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
75499         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
75500         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
75501         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
75502         (_IO_file_close_internal, _IO_file_close_it_internal)
75503         (_IO_file_underflow_internal, _IO_file_overflow_internal)
75504         (_IO_file_init_internal, _IO_file_attach_internal)
75505         (_IO_file_fopen_internal, _IO_file_read_internal)
75506         (_IO_file_sync_internal, _IO_file_seek_internal)
75507         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
75508         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
75509         (_IO_str_underflow_internal, _IO_str_overflow_internal)
75510         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
75511         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
75512         (_IO_list_all_internal, _IO_link_in_internal)
75513         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
75514         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
75515         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
75516         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
75517         (_IO_do_write_internal, _IO_padn_internal)
75518         (_IO_getline_info_internal, _IO_getline_internal)
75519         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
75520         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
75521         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
75522         (_IO_vfscanf_internal, _IO_vfprintf_internal)
75523         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
75524         (_IO_init_internal, _IO_un_link_internal): Don't declare.
75525         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
75526         with libc_hidden_ver, remove use of INTUSE.
75527         * libio/genops.c: Likewise.
75528         * libio/freopen.c: Likewise.
75529         * libio/freopen64.c: Likewise.
75530         * libio/iofclose.c: Likewise.
75531         * libio/iofdopen.c: Likewise.
75532         * libio/iofflush.c: Likewise.
75533         * libio/iofflush_u.c: Likewise.
75534         * libio/iofgets.c: Likewise.
75535         * libio/iofgets_u.c: Likewise.
75536         * libio/iofopen.c: Likewise.
75537         * libio/iofopncook.c: Likewise.
75538         * libio/iofread.c: Likewise.
75539         * libio/iofread_u.c: Likewise.
75540         * libio/ioftell.c: Likewise.
75541         * libio/iofwrite.c: Likewise.
75542         * libio/iogetline.c: Likewise.
75543         * libio/iogets.c: Likewise.
75544         * libio/iogetwline.c: Likewise.
75545         * libio/iopadn.c: Likewise.
75546         * libio/iopopen.c: Likewise.
75547         * libio/ioseekoff.c: Likewise.
75548         * libio/ioseekpos.c: Likewise.
75549         * libio/iosetbuffer.c: Likewise.
75550         * libio/iosetvbuf.c: Likewise.
75551         * libio/ioungetc.c: Likewise.
75552         * libio/ioungetwc.c: Likewise.
75553         * libio/iovdprintf.c: Likewise.
75554         * libio/iovsprintf.c: Likewise.
75555         * libio/iovsscanf.c: Likewise.
75556         * libio/memstream.c: Likewise.
75557         * libio/obprintf.c: Likewise.
75558         * libio/oldfileops.c: Likewise.
75559         * libio/oldiofclose.c: Likewise.
75560         * libio/oldiofdopen.c: Likewise.
75561         * libio/oldiofopen.c: Likewise.
75562         * libio/oldiopopen.c: Likewise.
75563         * libio/oldstdfiles.c: Likewise.
75564         * libio/putc.c: Likewise.
75565         * libio/setbuf.c: Likewise.
75566         * libio/setlinebuf.c: Likewise.
75567         * libio/stdfiles.c: Likewise.
75568         * libio/strops.c: Likewise.
75569         * libio/vasprintf.c: Likewise.
75570         * libio/vscanf.c: Likewise.
75571         * libio/vsnprintf.c: Likewise.
75572         * libio/vswprintf.c: Likewise.
75573         * libio/wfiledoalloc.c: Likewise.
75574         * libio/wfileops.c: Likewise.
75575         * libio/wgenops.c: Likewise.
75576         * libio/wmemstream.c: Likewise.
75577         * libio/wstrops.c: Likewise.
75578         * libio/__fpurge.c: Likewise.
75579         * libio/__fsetlocking.c: Likewise.
75580         * assert/assert.c: Likewise.
75581         * debug/fgets_chk.c: Likewise.
75582         * debug/fgets_u_chk.c: Likewise.
75583         * debug/fread_chk.c: Likewise.
75584         * debug/fread_u_chk.c: Likewise.
75585         * debug/gets_chk.c: Likewise.
75586         * debug/obprintf_chk.c: Likewise.
75587         * debug/vasprintf_chk.c: Likewise.
75588         * debug/vdprintf_chk.c: Likewise.
75589         * debug/vsnprintf_chk.c: Likewise.
75590         * debug/vsprintf_chk.c: Likewise.
75591         * malloc/mtrace.c: Likewise.
75592         * misc/error.c: Likewise.
75593         * misc/syslog.c: Likewise.
75594         * stdio-common/asprintf.c: Likewise.
75595         * stdio-common/fxprintf.c: Likewise.
75596         * stdio-common/getw.c: Likewise.
75597         * stdio-common/isoc99_fscanf.c: Likewise.
75598         * stdio-common/isoc99_scanf.c: Likewise.
75599         * stdio-common/isoc99_vfscanf.c: Likewise.
75600         * stdio-common/isoc99_vscanf.c: Likewise.
75601         * stdio-common/isoc99_vsscanf.c: Likewise.
75602         * stdio-common/printf-prs.c: Likewise.
75603         * stdio-common/printf_fp.c: Likewise.
75604         * stdio-common/printf_fphex.c: Likewise.
75605         * stdio-common/printf_size.c: Likewise.
75606         * stdio-common/putw.c: Likewise.
75607         * stdio-common/scanf.c: Likewise.
75608         * stdio-common/sprintf.c: Likewise.
75609         * stdio-common/tmpfile.c: Likewise.
75610         * stdio-common/vfprintf.c: Likewise.
75611         * stdio-common/vfscanf.c: Likewise.
75612         * stdlib/strfmon_l.c: Likewise.
75613         * sunrpc/openchild.c: Likewise.
75614         * sunrpc/xdr_stdio.c: Likewise.
75615         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
75616         * sysdeps/mach/hurd/tmpfile.c: Likewise.
75618 2012-05-24  Roland McGrath  <roland@hack.frob.com>
75620         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
75622         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
75623         in the third column, to generate for the shared library an IFUNC
75624         that uses _dl_vdso_vsym.
75625         * Makerules (COMPILE.c, compile-stdin.c): New variables.
75626         * Makeconfig (object-suffixes-noshared): New variable.
75628         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
75629         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
75630         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
75631         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
75633         [BZ #14132]
75634         * include/sys/time.h (__gettimeofday): Remove macro.
75635         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
75636         * time/gettimeofday.c (__gettimeofday): Remove #undef.
75637         Remove INTDEF.
75638         (__gettimeofday): Add libc_hidden_def.
75639         (gettimeofday): Add libc_hidden_weak.
75640         * sysdeps/mach/gettimeofday.c: Likewise.
75641         * sysdeps/posix/gettimeofday.c: Likewise.
75642         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
75643         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
75644         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
75645         (__gettimeofday_internal): Remove strong_alias.
75646         (__gettimeofday): Add libc_hidden_def.
75647         (gettimeofday): Add libc_hidden_weak.
75648         * sysdeps/unix/syscalls.list (gettimeofday):
75649         Remove __gettimeofday_internal alias.
75651 2012-05-24  Daniel Jacobowitz  <drow@false.org>
75652             H.J. Lu  <hongjiu.lu@intel.com>
75654         [BZ #12495]
75655         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
75656         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
75657         (largebin_index_32_big): New.
75658         (largebin_index): Use it for 16-byte alignment.
75659         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
75660         correction with front_misalign.
75662 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
75664         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
75665         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
75666         Likewise.
75667         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
75668         Likewise.
75669         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
75670         Likewise.
75671         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
75672         Likewise.
75673         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
75674         Likewise.
75675         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
75676         Likewise.
75677         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
75678         Likewise.
75679         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
75680         Likewise.
75681         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
75682         Likewise.
75683         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
75684         Likewise.
75685         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
75686         Likewise.
75687         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
75688         Likewise.
75690         * scripts/data/c++-types-x32-linux-gnu.data: New file.
75691         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
75693 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
75695         [BZ #10846]
75696         [BZ #14036]
75697         * math/libm-test.inc (exp_test): Add test from bug 14036.
75698         (pow_test): Add test from bug 10846.
75700         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
75701         and other flags.
75702         (special_function): Do not include flags in test name.
75703         (parse_args): Likewise.
75704         * sysdeps/i386/fpu/libm-test-ulps: Update.
75705         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
75706         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
75707         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
75708         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
75710         * math/gen-libm-test.pl (%beautify): Add entries for underflow
75711         exceptions.
75712         * math/libm-test.inc ("Philosophy"): Update comment about
75713         exception testing.
75714         (UNDERFLOW_EXCEPTION): New macro.
75715         (UNDERFLOW_EXCEPTION_OK): Likewise.
75716         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
75717         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
75718         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
75719         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
75720         (INVALID_EXCEPTION_OK): Update value.
75721         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
75722         (OVERFLOW_EXCEPTION_OK): Likewise.
75723         (IGNORE_ZERO_INF_SIGN): Likewise.
75724         (test_exceptions): Handle underflow exceptions.
75725         (acos_test): Update for underflow exception expectations.
75726         (cexp_test): Likewise.
75727         (clog_test): Likewise.
75728         (clog10_test): Likewise.
75729         (csqrt_test): Likewise.
75730         (ctan_test): Likewise.
75731         (ctanh_test): Likewise.
75732         (exp_test): Likewise.
75733         (exp10_test): Likewise.
75734         (exp2_test): Likewise.
75735         (expm1_test): Likewise.
75736         (fma_test): Likewise.
75737         (j0_test): Likewise.
75738         (jn_test): Likewise.
75739         (nexttoward_test): Likewise.
75740         (pow_test): Likewise.
75741         (scalbn_test): Likewise.
75742         (scalbln_test): Likewise.
75743         (tan_test): Likewise.
75744         (y1_test): Likewise.
75745         * sysdeps/i386/fpu/libm-test-ulps: Update.
75746         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
75748 2012-05-23  David S. Miller  <davem@davemloft.net>
75750         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
75751         (__libc_sigaction): Remove unused local variables.
75753 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
75755         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
75757 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
75759         mktime: avoid signed integer overflow
75760         * time/mktime.c (__mktime_internal): Do not mishandle the case
75761         where diff == INT_MIN.
75763         mktime: simplify computation of average
75764         * time/mktime.c (ranged_convert): Use new time_t_avg function
75765         instead of rolling our own (probably-slower) code.
75767         mktime: do not assume signed right shift propagates sign bit
75768         * time/mktime.c (isdst_differ): New static function.
75769         (__mktime_internal): No need to normalize tm_isdst now.
75770         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
75771         tm_isdst values.
75773         mktime: merge another wrapv change from gnulib
75774         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
75775         from some compilers.
75777         mktime: remove incorrect attempt at unusual arithmetics
75778         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
75779         The code didn't really work on such machines anyway.
75780         (TYPE_MINIMUM): Assume two's complement.
75781         (twos_complement_arithmetic): Verify that long_int and time_t
75782         are two's complement (or unsigned, in the latter case).
75784         mktime: check signed shifts on long_int and time_t, too
75785         * time/mktime.c (SHR): Check that shifts work as desired
75786         on the types long_int and time_t too, as SHR is used on
75787         such types.
75789         mktime: do not assume 'long' is wide enough
75790         * time/mktime.c (verify): Move decl up.
75791         (long_int): New type.
75792         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
75793         to remove assumption in the code that 'long' is wide enough to
75794         store year values.  This assumption is not true on x32 and on
75795         some non-glibc platforms.
75797         mktime: merge wrapv change from gnulib
75798         * time/mktime.c (WRAPV): New macro.
75799         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
75800         (guess_time_tm, __mktime_internal): Do not assume that signed
75801         integer overflow wraps around; modern compilers generate code
75802         where this assumption is no longer valid.
75804 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
75806         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
75807         Replace "jmp L(pseudo_end)" with "ret".
75808         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
75809         Likewise.
75811 2012-05-23  Andreas Jaeger  <aj@suse.de>
75813         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
75814         * sysdeps/unix/sysv/linux/poll.c: Remove file.
75816 2012-05-23  Andreas Jaeger  <aj@suse.de>
75817             Maximilian Attems  <max@stro.at>
75819         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
75820         New macros.
75822 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
75824         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
75825         code so that pseudo_end is just ret and the stack pointer is
75826         correct also for static library in error case.
75828 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
75830         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
75831         move to syscalls.list.
75832         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
75833         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
75834         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
75835         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
75837         * manual/install.texi (Running make install): Do not mention Linux
75838         kernel version for which pt_chown is not needed.
75839         (Linux): Do not mention problems with nscd with 2.0 kernels.
75840         * INSTALL: Regenerated.
75842 2012-05-23  Andreas Jaeger  <aj@suse.de>
75844         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
75845         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
75846         macro.
75847         * sysdeps/unix/sysv/linux/s390/bits/mman.h
75848         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
75849         * sysdeps/unix/sysv/linux/sh/bits/mman.h
75850         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
75851         * sysdeps/unix/sysv/linux/i386/bits/mman.h
75852         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
75853         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
75854         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
75855         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
75856         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
75857         * sysdeps/unix/sysv/linux/bits/in.h
75858         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
75860 2012-05-22  Roland McGrath  <roland@hack.frob.com>
75862         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
75863         (PREPARE_VERSION): Just use assert instead, it will be elided
75864         under [NDEBUG] anyway.
75866 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
75868         * sysdeps/unix/sysv/linux/Makefile: Include
75869         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
75870         (sysdep_routines): Remove sysctl.
75871         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
75872         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
75873         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
75874         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
75875         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
75877 2012-05-22  Andreas Jaeger  <aj@suse.de>
75879         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
75880         that pseudo_end is just ret and the stack pointer is correct also
75881         for static library in error case.
75883 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
75885         [BZ #14122]
75886         * nss/nsswitch.c (defconfig_entries): New variable.
75887         (__nss_database_lookup): Don't leak defconfig entries.
75888         (nss_parse_service_list): Don't leak on error paths.
75889         (free_database_entries): New function.
75890         (free_defconfig): New function.
75891         (free_mem): Move common code to free_database_entries.
75893 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
75895         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
75896         Add arch_prctl.
75897         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
75899         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
75900         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
75901         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
75902         New macro.
75903         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
75904         (INTERNAL_SYSCALL_TYPES): Likewise.
75905         (LOAD_ARGS_TYPES_[1-6]): Likewise.
75906         (LOAD_REGS_TYPES_[1-6]): Likewise.
75907         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
75908         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
75910 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
75912         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
75913         copysignl for GLIBC_2_0.
75914         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
75915         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
75916         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
75917         logbl for GLIBC_2_0.
75918         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
75919         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
75921 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
75923         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
75924         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
75926         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
75927         Use "neg %eax".
75929         * time/mktime.c: Update copyright years.
75931 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
75933         mktime: merge comment-quoting-style change from gnulib
75934         * time/mktime.c: Quote 'like this' in comments.
75935         The GNU coding standards suggest that we no longer quote `like this',
75936         as "`" and "'" are typically rendered asymmetrically nowadays.
75937         The typical gnulib style is to quote 'like this' when quoting
75938         code, and "like this" when quoting English.
75940         * time/mktime.c (compile-command): Add "-I.".
75942         mktime: merge mktime-internal.h change from gnulib
75943         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
75945         mktime: merge time_r change from gnulib
75946         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
75948         mktime: merge DEBUG change from gnulib
75949         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
75950         case system <time.h> has a #define.
75952         mktime: merge <sys/types.h> change from gnulib
75953         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
75954         since <time.t> is now guaranteed to define time_t.
75956         mktime: merge HAVE_CONFIG_H change from gnulib
75957         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
75959 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
75961         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
75962         Use "neg %eax".
75964         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
75965         __rlim_t cast.
75966         (struct rusage): Use anonymous union to pad each field to
75967         __syscall_slong_t.
75969 2012-05-21  David S. Miller  <davem@davemloft.net>
75971         * Makefules (o-iterator): Remove .s cases.
75972         (compile-command.s): Delete.
75973         (COMPILE.s): Delete.
75974         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
75976 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
75978         * configure.in (libc_cv_predef_stack_protector): Only consider
75979         "foobar" and "__stack_chk_fail" lines in libc_undefs.
75980         * configure: Regenerated.
75982 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
75984         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
75985         New macro.  Use R*LP on int and pointer.
75986         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
75987         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
75988         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
75989         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
75991         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
75992         [__WORDSIZE_TIME64_COMPAT32] instead of
75993         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
75994         (struct utmp): Likewise.
75995         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
75996         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
75997         Renamed to ...
75998         (__WORDSIZE_TIME64_COMPAT32): This.
75999         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
76000         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
76001         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
76002         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
76003         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
76004         (__WORDSIZE_TIME64_COMPAT32): New macro.
76006 2012-05-21  Andreas Jaeger  <aj@suse.de>
76008         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
76009         only if [SHARED]. Add prototype for __wcschr_ia32.
76011 2012-05-21  Roland McGrath  <roland@hack.frob.com>
76013         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
76014         of %rbp unmolested in the jmp_buf while mangling the low bits.
76015         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
76016         unmolested high bits of %rbp while demangling the low bits.
76017         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
76019 2012-05-21  Andreas Jaeger  <aj@suse.de>
76021         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
76022         * sunrpc/svc_simple.c: Use it for registerrpc.
76023         * sunrpc/xcrypt.c: Use it for passwd2des.
76025         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
76027 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
76029         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
76030         Don't define if [__SYSCALL_WORDSIZE != 32].
76031         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
76032         New macro.
76034 2012-05-21  Bruno Haible  <bruno@clisp.org>
76035             Andreas Jaeger  <aj@suse.de>
76037         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
76038         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
76039         inptr and inend for must_buffer_ch.
76040         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
76041         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
76042         * stdio-common/Makefile (tests): Remove bug15.
76043         (bug15-ENV): Remove macro.
76044         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
76045         anymore.
76047 2012-05-19  Andreas Jaeger  <aj@suse.de>
76048             Roland McGrath  <roland@hack.frob.com>
76050         * manual/contrib.texi: Completely rewritten. It contains now an
76051         alphabetical list of contributors and their contributions.
76053 2012-05-21  Richard Henderson  <rth@twiddle.net>
76055         * misc/getauxval.c (__getauxval): Use unsigned long int.
76056         * misc/sys/auxv.h: Include <sys/cdefs.h>.
76057         (getauxval): Use unsigned long int.
76059 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
76061         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
76063 2012-05-21  Roland McGrath  <roland@hack.frob.com>
76065         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
76066         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
76067         __alignof__ (long double).
76069 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
76071         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
76073 2012-05-20  Richard Henderson  <rth@twiddle.net>
76075         * misc/getauxval.c: New file.
76076         * misc/sys/auxv.h: New file.
76077         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
76078         (routines): Add getauxval.
76079         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
76080         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
76081         * elf/dl-sysdep.c (_dl_auxv): Remove.
76082         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
76083         * elf/dl-support.c (_dl_auxv): New variable.
76084         (_dl_aux_init): Initialize it.
76085         * manual/startup.texi (Auxiliary Vector): New node.
76086         * sysdeps/generic/bits/hwcap.h: New file.
76087         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
76088         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
76089         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
76090         * sysdeps/sparc/sysdep.h: ... here.  Include it.
76091         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
76092         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
76093         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
76094         Update.
76095         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
76096         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
76097         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
76098         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
76099         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
76100         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
76101         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
76102         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
76104 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
76106         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
76108 2012-05-19  David S. Miller  <davem@davemloft.net>
76110         * sysdeps/sparc/fpu/libm-test-ulps: Update.
76112 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
76114         [BZ #14123]
76115         * math/s_ccosh.c: Include <float.h>
76116         (__ccosh): Avoid internal overflow calculating sinh and cosh
76117         values before multiplying by sin and cos values.
76118         * math/s_ccoshf.c: Likewise.
76119         * math/s_ccoshl.c: Likewise.
76120         * math/s_csin.c: Likewise.
76121         * math/s_csinf.c: Likewise.
76122         * math/s_csinl.c: Likewise.
76123         * math/s_csinh.c: Likewise.
76124         * math/s_csinhf.c: Likewise.
76125         * math/s_csinhl.c: Likewise.
76126         * math/libm-test.inc (ccos_test): Add more tests.
76127         (ccosh_test): Likewise.
76128         (csin_test): Likewise.
76129         (csinh_test): Likewise.
76130         * sysdeps/i386/fpu/libm-test-ulps: Update.
76131         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
76133 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
76135         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
76136         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
76138         * sysdeps/x86_64/x32/_itoa.h: Add comment.
76140 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
76142         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
76143         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
76144         * sysdeps/powerpc/soft-fp/Versions: Likewise.
76145         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
76146         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
76147         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
76148         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
76149         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
76150         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
76151         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
76152         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
76153         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
76154         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
76155         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
76156         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
76157         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
76158         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
76159         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
76160         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
76161         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
76162         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
76163         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
76164         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
76165         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
76166         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
76167         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
76168         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
76169         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
76170         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
76171         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
76172         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
76174 2012-05-18  Andreas Jaeger  <aj@suse.de>
76176         * csu/.gitignore: Delete.
76178 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
76180         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
76181         (timex): Use __syscall_slong_t.
76183 2012-05-18  Andreas Jaeger  <aj@suse.de>
76184             Carlos O'Donell  <carlos_odonell@mentor.com>
76186         * manual/install.texi (Configuring and compiling): Update
76187         description about files modified in the source directory.
76188         * INSTALL: Regenerated.
76190 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
76192         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
76193         value.  Use "or" to set return value to -1.
76194         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
76195         negate return value.
76197 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
76199         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
76200         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
76201         failure if the compiler has Graphite support disabled.
76202         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
76203         Likewise.
76204         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
76205         (CFLAGS-memmove.c): Likewise.
76206         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
76207         Likewise.
76209 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
76211         * sysdeps/x86_64/x32/_itoa.h: New file.
76213         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
76214         getdents system call only if kernel and user dirents have the
76215         same d_ino and d_off.
76217         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
76218         LLONG_MAX != LONG_MAX.
76219         (_itoa_word): Use _ITOA_WORD_TYPE on value.
76220         (_fitoa_word): Likewise.
76222         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
76223         years.
76224         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
76225         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
76226         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
76228         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
76229         include <bits/wordsize.h>.  Check __x86_64__ instead of
76230         __WORDSIZE.
76231         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
76232         if __x86_64__ is defined.  Use anonymous union on fpstate.
76234         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
76235         anonymous union.
76237 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
76239         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
76240         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
76241         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
76242         Refer to _rtld_local_ro instead of _rtld_global_ro.
76243         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
76244         Likewise.
76245         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
76246         Likewise.
76247         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
76248         Likewise.
76249         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
76250         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
76251         of _rtld_global, and rtld_progname instead of _dl_argv[0].
76253         [BZ #10882]
76254         * sysdeps/powerpc/powerpc32/dl-machine.c
76255         (__elf_machine_runtime_setup) [PROF]: Don't reference
76256         _dl_prof_resolve.
76258 2012-05-18  Andreas Jaeger  <aj@suse.de>
76260         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
76261         function only available for GCCs before 3.4 since GCC 3.4
76262         introduced a builtin.
76263         (lrint): Likewise.
76264         (llrintf): Likewise.
76265         (llrint): Likewise.
76266         (fmaxf): Likewise.
76267         (fmax): Likewise.
76268         (fminf): Likewise.
76269         (fmin): Likewise.
76270         (rint): Likewise.
76271         (rintf): Likewise.
76272         (nearbyint): Likewise.
76273         (nearbyintf): Likewise.
76274         (ceil): Likewise.
76275         (ceilf): Likewise.
76276         (floor): Likewise.
76277         (floorf): Likewise.
76279 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
76281         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
76282         on both fields and cast pointer to __syscall_ulong_t.
76284         * bits/types.h (__fsword_t): New type.
76285         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
76286         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
76287         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
76288         (__FSWORD_T_TYPE): Likewise.
76289         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
76290         (__FSWORD_T_TYPE): Likewise.
76291         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
76292         (__FSWORD_T_TYPE): Likewise.
76293         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
76294         (__FSWORD_T_TYPE): Likewise.
76295         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
76296         __SWORD_TYPE with __fsword_t.
76297         (statfs64): Likewise.
76299 2012-05-17  David S. Miller  <davem@davemloft.net>
76301         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
76303 2012-05-17  Andreas Jaeger  <aj@suse.de>
76305         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
76306         warning.
76308 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
76310         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
76312 2012-05-17  Andreas Jaeger  <aj@suse.de>
76314         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
76315         when it is used.
76317 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
76319         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
76321 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
76323         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
76324         * sysdeps/x86_64/tst-mallocalign1.c: New file.
76326 2012-05-17  Andreas Jaeger  <aj@suse.de>
76327             Carlos O'Donell  <carlos_odonell@mentor.com>
76329         [BZ #14059]
76330         * sysdeps/x86_64/multiarch/init-arch.h
76331         (bit_YMM_Usable): Rename to...
76332         (bit_AVX_Usable): ... this.
76333         (bit_FMA4_Usable): New macro.
76334         (bit_XMM_state): New macro.
76335         (bit_YMM_state): New macro.
76336         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
76337         [__ASSEMBLER__] (index_AVX_Usable): ... this.
76338         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
76339         (CPUID_OSXSAVE): New macro.
76340         (CPUID_AVX): New macro.
76341         (CPUID_FMA4): New macro.
76342         (index_YMM_Usable): Rename to...
76343         (index_AVX_Usable): ... this.
76344         (HAS_AVX): Use HAS_ARCH_FEATURE.
76345         (HAS_FMA4): Likewise.
76346         (HAS_YMM_USABLE): Remove.
76347         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
76348         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
76349         are present.
76350         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
76351         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
76352         * sysdeps/x86_64/multiarch/Makefile: Likewise.
76353         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
76354         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
76356 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
76358         * math/libm-test.c: Support platforms without multiple rounding modes.
76359         * math/bug-nextafter.c: Support platforms without FP exceptions.
76360         * math/bug-nexttoward.c: Likewise.
76361         * math/test-fenv.c: Likewise.
76362         * math/test-misc.c: Likewise.
76363         * stdlib/bug-getcontext.c: Likewise.
76365 2012-05-17  Andreas Jaeger  <aj@suse.de>
76367         * manual/examples/search.c (critter_cmp): Change signature to
76368         avoid warnings.
76369         * manual/string.texi (Collation Functions): Likewise.
76371 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
76373         * bits/types.h: Fold copyright years.
76374         * bits/typesizes.h: Likewise.
76375         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
76376         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
76377         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
76378         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
76379         * time/time.h: Likewise.
76381 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
76383         [BZ #208]
76384         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
76385         in instead of returning them.  Return void.
76386         (__libc_mallinfo): Accumulate over all arenas.
76387         (__malloc_stats): Adjust for change in int_mallinfo interface.
76389 2012-05-16  Roland McGrath  <roland@hack.frob.com>
76391         [BZ #10375]
76392         * configure.in (NM): Add AC_CHECK_TOOL for it.
76393         (libc_extra_cflags): New substituted variable.
76394         Check for -fstack-protector being used implicitly.
76395         * configure: Regenerated.
76396         * config.make.in (config-extra-cflags): New variable,
76397         gets @libc_extra_cflags@.
76398         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
76400         [BZ #10375]
76401         * configure.in: Check for _FORTIFY_SOURCE being predefined.
76402         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
76403         * configure: Regenerated.
76404         * config.make.in (CPPUNDEFS): New substituted variable.
76405         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
76406         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
76407         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
76409 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
76411         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
76412         (mq_attr): Use __syscall_slong_t.
76414 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
76416         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
76417         Check __x86_64__ instead of __WORDSIZE.
76418         (_STAT_VER_LINUX): Likewise.
76419         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
76420         __syscall_ulong_t and __syscall_slong_t.
76421         (stat64): Likewise.
76423 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
76425         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
76427 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
76429         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
76431 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
76433         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
76434         __syscall_ulong_t.
76436         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
76437         include <bits/wordsize.h>.  Check __x86_64__ instead of
76438         __WORDSIZE.
76439         (greg_t): Use "__extension__ long long int" if __x86_64__ is
76440         defined.
76441         (mcontext_t): Replace "unsigned long" with "unsigned long long".
76443         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
76444         include <bits/wordsize.h>.  Check __x86_64__ instead of
76445         __WORDSIZE.
76446         (user_regs_struct): Use "__extension__ unsigned long long"
76447         instead of "unsigned long" if __x86_64__ is defined.
76448         (user): Likewise.  Pad after pointer field if __ILP32__ is
76449         defined.
76451 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
76453         * configure.in (makeinfo): Require version 4.5 or later.  Allow
76454         versions 5 to 9.
76455         * configure: Regenerated.
76456         * manual/install.texi (texinfo): Increase version requirement to
76457         4.5 or later.
76458         * INSTALL: Regenerated.
76460         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
76462 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
76464         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
76466         * sysdeps/x86_64/x32/ffs.c: New file.
76468         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
76469         __syscall_ulong_t.
76470         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
76471         defined.  Use __syscall_ulong_t.
76472         (shminfo): Use __syscall_ulong_t.
76473         (shm_info): Likewise.
76475         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
76476         __syscall_ulong_t.
76478         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
76479         <bits/wordsize.h>.
76480         (msgqnum_t): Use __syscall_ulong_t.
76481         (msglen_t): Likewise.
76482         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
76483         __syscall_ulong_t.
76485         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
76486         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
76488         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
76490         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
76491         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
76493         * sysvipc/sys/msg.h (msgbuf): Replace long int with
76494         __syscall_slong_t.
76496         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
76497         include <bits/wordsize.h>.  Check __x86_64__ instead of
76498         __WORDSIZE.
76500         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
76501         "unsigned long long int" if __x86_64__ is defined.
76502         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
76504         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
76505         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
76506         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
76508         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
76509         <stdint.h>.
76510         (GET_PC): Cast to uintptr_t first.
76511         (GET_FRAME): Likewise.
76512         (GET_STACK): Likewise.
76514         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
76515         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
76516         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
76517         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
76518         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
76519         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
76520         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
76521         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
76522         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
76523         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
76524         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
76525         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
76526         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
76527         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
76528         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
76529         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
76530         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
76531         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
76532         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
76533         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
76534         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
76535         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
76536         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
76537         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
76538         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
76539         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
76540         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
76541         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
76542         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
76544 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
76546         * Makerules (+depfiles): Also collect depfiles from .oS in
76547         $(extra-objs).
76548         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
76549         .oS, $(libnldbl-routines)).
76551         * Makerules (native-compile-mkdep-flags): Define.
76552         * sunrpc/Makefile (extra-objs): Add $(addprefix
76553         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
76554         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
76555         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
76556         calling $(make-target-directory).
76558 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
76560         * bits/types.h (__snseconds_t): Removed.
76561         * time/time.h (struct timespec): Replace __snseconds_t with
76562         __syscall_slong_t.
76563         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
76564         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
76565         Likewise.
76566         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
76567         (__SNSECONDS_T_TYPE): Likewise.
76568         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
76569         (__SNSECONDS_T_TYPE): Likewise.
76570         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
76571         (__SNSECONDS_T_TYPE): Likewise.
76573 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
76575         * sysdeps/mach/hurd/bits/typesizes.h
76576         (__SYSCALL_SLONG_TYPE): New macro.
76577         (__SYSCALL_ULONG_TYPE): Likewise.
76579 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
76581         * bits/types.h (__syscall_slong_t): New type.
76582         (__syscall_ulong_t): Likewise.
76584         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
76585         (__SYSCALL_ULONG_TYPE): Likewise.
76586         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
76587         (__SYSCALL_SLONG_TYPE): Likewise.
76588         (__SYSCALL_ULONG_TYPE): Likewise.
76589         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
76590         (__SYSCALL_SLONG_TYPE): Likewise.
76591         (__SYSCALL_ULONG_TYPE): Likewise.
76592         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
76593         (__SYSCALL_SLONG_TYPE): Likewise.
76594         (__SYSCALL_ULONG_TYPE): Likewise.
76596 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
76598         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
76599         Add sigaltstack-offsets.sym.
76600         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
76601         <sigaltstack-offsets.h>.
76602         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
76603         longjmp_msg pointer.
76604         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
76605         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
76606         signal stack.
76607         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
76609 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
76611         * elf/stackguard-macros.h: Remove file.
76612         * sysdeps/generic/stackguard-macros.h: New file.
76613         * sysdeps/i386/stackguard-macros.h: Likewise.
76614         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
76615         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
76616         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
76617         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
76618         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
76619         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
76620         * sysdeps/x86_64/stackguard-macros.h: Likewise.
76621         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
76622         <elf/stackguard-macros.h>.
76624         [BZ #14109]
76625         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
76626         __aligned__ in attribute.
76627         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
76628         (gregset_t): Likewise.
76630 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
76632         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
76633         * sysdeps/x86_64/64/Implies-after: Here.  New file.
76634         * sysdeps/x86_64/x32/Implies-after: New file.
76636 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
76638         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
76639         and access return value for _dl_profile_fixup.  Use R10_LP to
76640         load frame size.
76642 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
76644         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
76646 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
76648         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
76649         * sysdeps/x86_64/x32/sysdep.h: New file.
76651 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
76653         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
76654         * sysdeps/x86_64/setjmp.S: Likewise.
76656 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
76658         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
76659         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
76660         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
76661         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
76662         remove unused global constant.
76664 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
76666         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
76667         include of <not-cancel.h>.
76669 2012-05-15  Roland McGrath  <roland@hack.frob.com>
76671         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
76673 2012-05-15  Jeff Law  <law@redhat.com>
76674             Andreas Jaeger  <aj@suse.de>
76676         [BZ #13594]
76677         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
76678         out from...
76679         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
76680         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
76681         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
76682         code changing __hst_map_handle.map.
76684 2012-05-15  Roland McGrath  <roland@hack.frob.com>
76686         * configure.in (sysnames): Look for Implies-before and Implies-after
76687         files.
76688         * configure: Regenerated.
76690 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
76692         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
76693         8-byte data alignment with LP_SIZE alignment.
76695 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
76697         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
76698         into R10_LP.
76700 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
76702         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
76704 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
76706         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
76707         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
76708         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
76709         Likewise.
76710         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
76712 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
76714         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
76715         (stackinfo_sub_sp): Likewise.
76717 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
76719         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
76720         RAX_LP.
76722 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
76724         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
76725         into R*_LP.
76727 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
76729         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
76730         sizes into R*_LP.
76732 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
76734         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
76736 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
76738         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
76739         into R11_LP and load __x86_64_shared_cache_size_half into
76740         R8_LP.
76742 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
76744         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
76745         R8_LP.
76747 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
76749         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
76750         logb for POWER7.
76751         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
76752         logbf for POWER7.
76753         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
76754         logbl for POWER7.
76755         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
76756         powerpc32/power7/fpu/s_logb.c via #include.
76757         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
76758         powerpc32/power7/fpu/s_logbf.c via #include.
76759         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
76760         powerpc32/power7/fpu/s_logbl.c via #include.
76762 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
76764         * README.libm: Remove file.
76766 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
76768         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
76769         count for x32.  Use R*_LP and omit operand-size suffix.
76771 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
76773         * shlib-versions: Move x86_64-.*-linux.* entries to ...
76774         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
76775         * sysdeps/x86_64/x32/shlib-versions: New file.
76777 2012-05-14  Roland McGrath  <roland@hack.frob.com>
76779         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
76780         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
76781         Use _dl_fatal_printf instead.
76783 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
76785         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
76786         set if not set by the user.  Do not allow for being unset.
76787         * sysdeps/unix/sysv/linux/configure: Regenerated.
76789 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
76791         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
76792         the `q' suffix from lea and replace .quad with ASM_ADDR.
76794 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
76796         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
76797         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
76798         instead of $17.
76799         (PTR_DEMANGLE): Likewise.
76801 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
76803         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
76804         (LP_OP): Likewise.
76805         (ASM_ADDR): Likewise.
76806         (RAX_LP): Likewise.
76807         (RBP_LP): Likewise.
76808         (RBX_LP): Likewise.
76809         (RCX_LP): Likewise.
76810         (RDI_LP): Likewise.
76811         (RSI_LP): Likewise.
76812         (RSP_LP): Likewise.
76813         (R8_LP): Likewise.
76814         (R9_LP): Likewise.
76815         (R10_LP): Likewise.
76816         (R10_LP): Likewise.
76817         (R11_LP): Likewise.
76818         (R12_LP): Likewise.
76819         (R13_LP): Likewise.
76820         (R14_LP): Likewise.
76821         (R15_LP): Likewise.
76823 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
76825         * sysdeps/x86_64/x32/dl-machine.h: New file.
76827 2012-05-14  Andreas Jaeger  <aj@suse.de>
76829         * manual/Makefile (subdir): Remove export of subdir.
76830         (all): Remove target.
76831         (.PHONY): Remove all from list.
76832         (mkinstalldirs): Remove.
76833         (.PHONY): Remove installdirs from list.
76834         ($(inst_infodir)/libc.info): Use make-target-directory.
76835         (installdirs): Remove.
76836         (subdir_%): Remove.
76837         (glibc-targets): Remove.
76838         (lib): Remove.
76839         (stubs): Remove.
76840         ($(objpfx)stubs ../po/manual.pot): Remove.
76841         ($(objpfx)stamp%): Remove.
76842         (make-target-directory): Remove.
76843         (subdir_install): Remove.
76844         (routines): Remove.
76845         (aux): Remove.
76846         (sources): Remove.
76847         (objects): Remove.
76848         (headers): Remove.
76850         [BZ #13750]
76851         * manual/.gitignore: Remove, it's not needed anymore.
76852         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
76853         all files in it.
76854         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
76855         directory.
76856         (texis): Renamed to $(objpfx)texis.
76857         (texis-path): New, contains path to generated files.
76858         (chapters.%): Use texis-path for complete path, add extra argument
76859         libc-texinfo.sh.
76860         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
76861         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
76862         (summary,texi, stamp-summary): Use complete path of
76863         files. Generate files in build dir.
76864         (dir-add.texi): Build in build dir.
76865         (libm-err.texi,stamp-libm-err): Likewise.
76866         (version.texi, stamp-version): Likewise.
76867         (.%c.texi): Likewise.
76868         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
76869         (mostlyclean): Remove target.
76870         (realclean): Remove target.
76871         (generated): Add new variable with contents from mostlyclean and
76872         realclean, remove entries duplicated in common-mostlyclean, add
76873         stamp-libm-err and stamp-version.
76874         (generated-dirs): Add libc directory.
76875         ($(inst_infodir)/libc.info): Install files from build dir.
76877         * manual/install.texi (Configuring and compiling): Adjust since
76878         the info files are not part of the tar ball anymore.
76880 2012-05-14  Andreas Jaeger  <aj@suse.de>
76882         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
76883         variable.
76885 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
76887         [BZ #13717]
76888         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
76889         to 2.2.0 where earlier.
76890         * sysdeps/unix/sysv/linux/configure: Regenerated.
76891         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
76892         Remove conditional code.
76893         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
76894         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
76895         Remove conditional code.
76896         [!__NR_lchown]: Likewise.
76897         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
76898         [__NR_lchown]: Likewise.
76899         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
76900         comment referencing __ASSUME_LCHOWN_SYSCALL.
76901         * sysdeps/unix/sysv/linux/i386/sigaction.c
76902         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
76903         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
76904         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
76905         Remove conditional code.
76906         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
76907         (__protocol_available): Remove #if 0 code.
76908         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
76909         conditional code.
76910         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
76911         * sysdeps/unix/sysv/linux/kernel-features.h
76912         (__ASSUME_GETCWD_SYSCALL): Don't define.
76913         (__ASSUME_REALTIME_SIGNALS): Likewise.
76914         (__ASSUME_PREAD_SYSCALL): Likewise.
76915         (__ASSUME_PWRITE_SYSCALL): Likewise.
76916         (__ASSUME_POLL_SYSCALL): Likewise.
76917         (__ASSUME_LCHOWN_SYSCALL): Likewise.
76918         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
76919         non-SPARC.
76920         (__ASSUME_SIOCGIFNAME): Don't define.
76921         (__ASSUME_MSG_NOSIGNAL): Likewise.
76922         (__ASSUME_SENDFILE): Define unconditionally.
76923         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
76924         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
76925         conditional code.
76926         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
76927         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
76928         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
76929         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
76930         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
76931         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
76932         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
76933         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
76934         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
76935         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
76936         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
76937         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
76938         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
76939         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
76940         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
76941         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
76942         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
76943         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
76944         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
76945         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
76946         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
76947         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
76948         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
76949         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
76950         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
76951         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
76952         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
76953         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
76954         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
76955         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
76956         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
76957         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
76958         Remove conditional code.
76959         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
76960         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
76961         Remove conditional code.
76962         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
76963         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
76964         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
76965         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
76966         Remove conditional code.
76967         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
76968         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
76969         Remove conditional code.
76970         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
76971         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
76972         Remove conditional code.
76973         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
76974         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
76975         Remove conditional code.
76976         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
76977         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
76978         Remove conditional code.
76979         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
76980         * sysdeps/unix/sysv/linux/sh/pwrite64.c
76981         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
76982         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
76983         * sysdeps/unix/sysv/linux/sigaction.c
76984         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
76985         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
76986         * sysdeps/unix/sysv/linux/sigpending.c
76987         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
76988         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
76989         * sysdeps/unix/sysv/linux/sigprocmask.c
76990         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
76991         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
76992         * sysdeps/unix/sysv/linux/sigsuspend.c
76993         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
76994         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
76995         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
76996         (__libc_missing_rt_sigs): Remove.
76997         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
76998         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
76999         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
77000         Remove conditional code.
77001         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
77002         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
77003         return 1.
77004         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
77005         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
77006         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
77007         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
77009 2012-05-14  Andreas Jaeger  <aj@suse.de>
77011         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
77012         it's not used in glibc.
77013         (__coshm1): Likewise.
77014         (__acosh1p): Likewise.
77015         (__sgn): Likewise.
77017         * manual/string.texi (Copying and Concatenation): Add missing
77018         variable in concat example.
77019         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
77021 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
77023         [BZ #14103]
77024         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
77025         __builtin_clzl with __builtin_clzll.
77027 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
77029         [BZ #14104]
77030         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
77031         libc_freeres_ptr.
77033 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
77035         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
77036         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
77037         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
77038         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
77040 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
77042         * NEWS: Update ia64 info.
77044 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
77046         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
77047         used as bcopy.
77049 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
77051         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
77052         * sysdeps/unix/syscalls.list (dup3): Likewise.
77053         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
77054         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
77056 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
77058         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
77059         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
77061 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
77063         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
77064         thread pointer.
77065         (TLS_IE): Use mov/add instead of movq/addq to load thread
77066         pointer.
77067         (TLS_GD_PREFIX): New.
77068         (TLS_GD): Use it.
77070 2012-05-11  David S. Miller  <davem@davemloft.net>
77072         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
77073         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
77074         (_FPU_SETCW): Likewise.
77076 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
77078         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
77079         is 32-byte aligned.
77081 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
77083         [BZ #11837]
77084         * iconvdata/gb18030.c: Update tables.
77085         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
77086         characters specially.
77087         (BODY for TO_LOOP): Add encoding of missing ranges.
77089 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
77091         [BZ #13673]
77092         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
77093         * sysdeps/mach/hurd/dup3.c: Likewise.
77094         * sysdeps/mach/hurd/readlinkat.c: Likewise.
77095         * sysdeps/powerpc/memmove.c:: Likewise.
77097 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
77099         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
77100         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
77102 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
77104         * elf/elf.h (R_X86_64_RELATIVE64): New.
77105         (R_X86_64_NUM): Updated.
77106         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
77107         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
77108         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
77109         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
77110         tst-quad1pie tst-quad2pie
77111         (modules-names): Add tst-quadmod1 tst-quadmod2.
77112         ($(objpfx)tst-quad1): New dependency.
77113         ($(objpfx)tst-quad2): Likewise.
77114         ($(objpfx)tst-quad1pie): Likewise.
77115         ($(objpfx)tst-quad2pie): Likewise.
77116         * sysdeps/x86_64/tst-quad1.c: New file.
77117         * sysdeps/x86_64/tst-quad1pie.c: New file.
77118         * sysdeps/x86_64/tst-quad2.c: Likewise.
77119         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
77120         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
77121         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
77122         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
77123         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
77125 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
77127         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
77128         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
77129         * streams/stropts.h (t_scalar_t): Define type.
77131         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
77132         (_PATH_PRESERVE): Set to "/var/lib".
77133         (_PATH_RWHODIR): Set to "/var/spool/rwho".
77135         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
77136         instead of int.
77138         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
77139         if __dir_mkfile succeeded.
77141         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
77142         checking for _hurd_dtablesize.  Unlock it right after having
77143         finished _hurd_dtable allocation.
77145 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
77147         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
77148         * sysdeps/mach/hurd/configure: Regenerated.
77149         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
77150         special-casing to...
77151         * sysdeps/gnu/configure.in: ... this new file.
77152         * sysdeps/unix/sysv/linux/configure: Regenerated.
77153         * sysdeps/gnu/configure: New generated file.
77155         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
77156         for Linux: use nsec instead of usec, as well as:
77157         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
77158         members of type struct timespec.
77159         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
77160         New macros.
77161         (struct stat64): Likewise.
77162         (_STATBUF_ST_NSEC): New macro.
77163         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
77165         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
77166         __strtoul_internal rather than strtoul.
77168 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
77170         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
77171         and reject them.
77173 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
77175         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
77176         which preserves existing values.
77177         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
77179 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
77181         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
77182         TIMEOUT values.  Return EINVAL for NFDS values either negative or
77183         greater than FD_SETSIZE.
77185 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
77187         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
77188         allocated, call __vm_protect to finish enabling the existing space, and
77189         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
77190         allocate the remainder.
77192 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
77194         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
77195         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
77197 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
77199         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
77200         sysdeps/mach/hurd/readlink.c.
77202         * posix/tst-sysconf.c (posix_options): Only use
77203         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
77204         _POSIX_SYNCHRONIZED_IO when they are defined
77205         * sysdeps/mach/hurd/bits/posix_opt.h:
77206         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
77207         (_XOPEN_REALTIME): Undefine macro.
77208         (_XOPEN_REALTIME_THREADS): Undefine macro.
77209         (_XOPEN_SHM): Undefine macro.
77210         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
77211         macro to -1.
77212         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
77213         macro to -1.
77214         (_POSIX_ASYNC_IO): Undefine macro.
77215         (_POSIX_PRIORITIZED_IO): Undefine macro.
77216         (_POSIX_SPIN_LOCKS): Define macro to -1.
77218         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
77219         SA_NODEFER, SA_RESETHAND.
77220         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
77221         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
77222         F_DUPFD_CLOEXEC.
77224 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
77226         * elf/Makefile (pldd-modules): Define unconditionally.
77228 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
77230         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
77232 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
77234         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
77235         Return ENOENT when name is empty.
77236         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
77238 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
77240         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
77242         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
77244 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
77246         Fix mlock in all cases except non-readable pages.
77247         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
77248         instead of VM_PROT_ALL as parameter to __vm_wire function.
77250         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
77251         (__mkdir): When path is `/', just fail with EEXIST.
77252         * sysdeps/mach/hurd/mkdirat.c: Likewise.
77254 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
77256         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
77257         <sys/uio.h> (for writev).
77258         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
77259         and <sys/param.h> (for MIN).
77261 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
77263         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
77264         REQUESTED_TIME.  Properly set the remaining time and return EINTR
77265         if interrupted.
77267 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
77269         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
77270         Depend on against $(link-rpcuserlibs).
77272 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
77274         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
77275         (__libc_stack_end): Do not use attribute_relro.
77276         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
77277         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
77278         to libthread-provided value.
77279         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
77280         attribute_relro.
77282 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
77284         [BZ #3748]
77285         * bits/libc-lock.h (__libc_once_get): New macro.
77286         * sysdeps/mach/bits/libc-lock.h: Likewise.
77287         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
77288         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
77289         instead of using implementation details.
77291         * libio/fileops.c: Unconditionally include <kernel-features.h>.
77292         * libio/freopen.c: Likewise.
77293         * libio/freopen64.c: Likewise.
77294         * misc/syslog.c: Likewise.
77295         * nscd/connections.c: Likewise.
77296         * nscd/netgroupcache.c: Likewise.
77297         * sysdeps/posix/getcwd.c: Likewise.
77299 2012-05-10  Roland McGrath  <roland@hack.frob.com>
77301         * math/w_ilogbf.c: Add #include <limits.h>.
77303 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
77305         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
77306         path instead of returning without unlocking.
77308         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
77309         immediate-write ioctls.
77310         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
77312 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
77314         * sysdeps/mach/hurd/i386/init-first.c (init): Use
77315         __builtin_frame_address instead of making assumptions about the
77316         location of the return address relative to DATA.  Force early load of
77317         the return address.
77318         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
77319         __builtin_frame_address.
77321         dup3 for GNU Hurd.
77322         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
77323         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
77324         implement dup3 and do some further code clean-ups.
77325         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
77326         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
77328 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
77330         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
77332         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
77333         HURD_CRITICAL_END around holding _hurd_dtable_lock.
77334         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
77335         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
77336         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
77337         d->port.lock.
77339         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
77340         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
77341         when handler == SIG_ERR, not when handler != SIG_ERR.
77343 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
77345         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
77346         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
77347         definitions.
77349         accept4 for GNU Hurd.
77350         * include/sys/socket.h (__libc_accept4): New prototype.
77351         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
77352         to implement __libc_accept4.
77353         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
77354         __libc_accept4.
77355         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
77357         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
77358         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
77359         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
77360         signal-defines.sym.
77362 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
77364         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
77366 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
77368         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
77369         assertion on O_CLOEXEC flag.
77370         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
77371         * hurd/intern-fd.c: Likewise.
77372         * hurd/port2fd.c: Likewise.
77374 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
77376         [BZ #3906]
77377         * bits/in.h (IPV6_PKTINFO): Define new macro.
77378         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
77380 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
77382         [BZ #13954]
77383         [BZ #13955]
77384         [BZ #13956]
77385         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
77386         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
77387         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
77388         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
77389         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
77390         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
77391         * math/libm-test.inc (logb_test) : Additional logb tests.
77393 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
77394             Andreas Jaeger  <aj@suse.de>
77396         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
77397         * configure: Regenerated.
77398         * config.h.in (LINK_OBSOLETE_RPC): New macro.
77399         * config.make.in (link-obsolete-rpc): New substituted variable.
77400         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
77401         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
77402         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
77403         (shared-only-routines): Don't set it under [link-obsolete-rpc],
77404         so that libc.a contains the symbols.
77405         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
77406         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
77407         * sunrpc/auth_none.c: Likewise.
77408         * sunrpc/auth_unix.c: Likewise.
77409         * sunrpc/authdes_prot.c: Likewise.
77410         * sunrpc/authuxprot.c: Likewise.
77411         * sunrpc/clnt_gen.c: Likewise.
77412         * sunrpc/clnt_perr.c: Likewise.
77413         * sunrpc/clnt_raw.c: Likewise.
77414         * sunrpc/clnt_simp.c: Likewise.
77415         * sunrpc/clnt_tcp.c: Likewise.
77416         * sunrpc/clnt_udp.c: Likewise.
77417         * sunrpc/clnt_unix.c: Likewise.
77418         * sunrpc/des_crypt.c: Likewise.
77419         * sunrpc/des_soft.c: Likewise.
77420         * sunrpc/get_myaddr.c: Likewise.
77421         * sunrpc/key_call.c: Likewise.
77422         * sunrpc/key_prot.c: Likewise.
77423         * sunrpc/netname.c: Likewise.
77424         * sunrpc/pm_getmaps.c: Likewise.
77425         * sunrpc/pm_getport.c: Likewise.
77426         * sunrpc/pmap_clnt.c: Likewise.
77427         * sunrpc/pmap_prot.c: Likewise.
77428         * sunrpc/pmap_prot2.c: Likewise.
77429         * sunrpc/pmap_rmt.c: Likewise.
77430         * sunrpc/publickey.c: Likewise.
77431         * sunrpc/rpc_cmsg.c: Likewise.
77432         * sunrpc/rpc_common.c: Likewise.
77433         * sunrpc/rpc_dtable.c: Likewise.
77434         * sunrpc/rpc_prot.c: Likewise.
77435         * sunrpc/rpc_thread.c: Likewise.
77436         * sunrpc/rtime.c: Likewise.
77437         * sunrpc/svc.c: Likewise.
77438         * sunrpc/svc_auth.c: Likewise.
77439         * sunrpc/svc_raw.c: Likewise.
77440         * sunrpc/svc_run.c: Likewise.
77441         * sunrpc/svc_tcp.c: Likewise.
77442         * sunrpc/svc_udp.c: Likewise.
77443         * sunrpc/svc_unix.c: Likewise.
77444         * sunrpc/svcauth_des.c: Likewise.
77445         * sunrpc/xcrypt.c: Likewise.
77446         * sunrpc/xdr.c: Likewise.
77447         * sunrpc/xdr_array.c: Likewise.
77448         * sunrpc/xdr_float.c: Likewise.
77449         * sunrpc/xdr_intXX_t.c: Likewise.
77450         * sunrpc/xdr_mem.c: Likewise.
77451         * sunrpc/xdr_rec.c: Likewise.
77452         * sunrpc/xdr_ref.c: Likewise.
77453         * sunrpc/xdr_sizeof.c: Likewise.
77454         * sunrpc/xdr_stdio.c: Likewise.
77456 2012-05-10  Roland McGrath  <roland@hack.frob.com>
77458         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
77459         change.  Update copyright years.
77461 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
77463         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
77465 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
77466             Joseph Myers  <joseph@codesourcery.com>
77467             Paul Pluzhnikov  <ppluzhnikov@google.com>
77469         [BZ #14012]
77470         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
77471         requiring rpcgen.
77472         [cross-compiling] (extra-libs): Likewise.
77473         [cross-compiling] (extra-libs-others): Likewise.
77474         [cross-compiling] (librpcsvc-routines): Likewise.
77475         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
77476         [cross-compiling] (omit-deps): Likewise.
77477         (sunrpc-CPPFLAGS): New variable.
77478         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
77479         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
77480         (cross-rpcgen-objs): New variable.
77481         (extra-objs): Append $(cross-rpcgen-objs).
77482         ($(cross-rpcgen-objs)): New rule.
77483         ($(objpfx)cross-rpcgen): Likewise.
77484         (rpcgen-cmd): Define to use $(built-program-file).  Expand
77485         comment.
77486         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
77487         ($(objpfx)x%.stmp): Likewise.
77488         * sunrpc/proto.h [IS_IN_build] (_): Define.
77489         [IS_IN_build] (_libc_intl_domainname): Likewise.
77491 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
77493         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
77494         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
77495         and R_X86_64_TPOFF64.
77497 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
77499         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
77500         sysdeps/unix/sysv/syscalls.list.
77501         (stime): Likewise.
77502         (utime): Likewise.
77503         * sysdeps/unix/sysv/syscalls.list: Remove file.
77505 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
77507         [BZ #3440]
77508         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
77509         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
77510         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
77511         (__LC_IDENTIFICATION): Make these macros useful in #if
77512         expressions, as required by C99.
77514 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
77516         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
77517         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
77518         after this.
77520 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
77522         * stdlib/longlong.h: Updated from GCC.
77524 2012-05-09  Andreas Jaeger  <aj@suse.de>
77526         * nscd/nscd.c (run_modes): Make named enum, reorder so that
77527         default is first entry.
77528         (run_mode): Set type.
77529         (main): Remove informal message about syslog.
77530         (options): Fix typo.
77532         [BZ #14053]
77533         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
77534         to asm.
77535         (lrint): Likewise.
77536         (llrintf): Likewise.
77537         (llrint): Likewise.
77538         (rint): Likewise.
77539         (rintf): Likewise.
77540         (nearbyint): Likewise.
77541         (nearbyintf): Likewise.
77543 2012-05-09  Andreas Jaeger  <aj@suse.de>
77544             Pedro Alves  <palves@redhat.com>
77546         * nscd/nscd.c (run_mode): Use enum.
77547         (main): Cleanup coding style issue.
77549 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
77550             Andreas Jaeger  <aj@suse.de>
77552         * nscd/nscd.c (go_background): Replaced with...
77553         (run_mode): ... this.
77554         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
77555         (options): Add -F --foreground.
77556         (main): Implement it.
77557         (parse_opt): Parse it.
77559 2012-05-09  Andreas Jaeger  <aj@suse.de>
77561         [BZ #14083]
77562         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
77563         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
77564         -Wconversion warning.
77565         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
77566         Likewise.
77568 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
77570         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
77571         == 0.
77572         (LC_ALL): Use macro-int-constant.
77573         (LC_COLLATE): Likewise.
77574         (LC_CTYPE): Likewise.
77575         (LC_MESSAGES): Likewise.
77576         (LC_MONETARY): Likewise.
77577         (LC_NUMERIC): Likewise.
77578         (LC_TIME): Likewise.
77579         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
77580         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
77581         [ISO || ISO99 || ISO11] (*_t): Do not allow.
77582         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
77583         Specify type.
77584         [C99-based standards] (float_t): Expect type.
77585         [C99-based standards] (double_t): Expect type.
77586         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
77587         type.
77588         [C99-based standards] (HUGE_VALL): Likewise.
77589         [C99-based standards] (INFINITY): Likewise.
77590         [C99-based standards] (NAN): Likewise.
77591         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
77592         [C99-based standards] (FP_NAN): Likewise.
77593         [C99-based standards] (FP_NORMAL): Likewise.
77594         [C99-based standards] (FP_SUBNORMAL): Likewise.
77595         [C99-based standards] (FP_ZERO): Likewise.
77596         [C99-based standards] (FP_FAST_FMA): Use
77597         optional-macro-int-constant.  Specify type.  Require == 1.
77598         [C99-based standards] (FP_FAST_FMAF): Likewise.
77599         [C99-based standards] (FP_FAST_FMAL): Likewise.
77600         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
77601         [C99-based standards] (FP_ILOGBNAN): Likewise.
77602         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
77603         Specify type.
77604         [C99-based standards] (MATH_ERREXCEPT): Likewise.
77605         [C99-based standards] (math_errhandling): Specify type.
77606         [ISO99 || ISO11] (signgam): Do not allow.
77607         [non-C99-based standards] (copysignf): Do not allow.
77608         [non-C99-based standards] (exp2f): Likewise.
77609         [non-C99-based standards] (log2f): Likewise.
77610         [non-C99-based standards] (modff): Allow.
77611         [non-C99-based standards] (erff): Do not allow.
77612         [non-C99-based standards] (erfcf): Likewise.
77613         [non-C99-based standards] (gammaf): Likewise.
77614         [non-C99-based standards] (hypotf): Likewise.
77615         [non-C99-based standards] (j0f): Likewise.
77616         [non-C99-based standards] (j1f): Likewise.
77617         [non-C99-based standards] (jnf): Likewise.
77618         [non-C99-based standards] (lgammaf): Likewise.
77619         [non-C99-based standards] (tgammaf): Likewise.
77620         [non-C99-based standards] (y0f): Likewise.
77621         [non-C99-based standards] (y1f): Likewise.
77622         [non-C99-based standards] (ynf): Likewise.
77623         [non-C99-based standards] (isnanf): Likewise.
77624         [non-C99-based standards] (acoshf): Likewise.
77625         [non-C99-based standards] (asinhf): Likewise.
77626         [non-C99-based standards] (atanhf): Likewise.
77627         [non-C99-based standards] (cbrtf): Likewise.
77628         [non-C99-based standards] (expm1f): Likewise.
77629         [non-C99-based standards] (ilogbf): Likewise.
77630         [non-C99-based standards] (log1pf): Likewise.
77631         [non-C99-based standards] (logbf): Likewise.
77632         [non-C99-based standards] (nextafterf): Likewise.
77633         [non-C99-based standards] (remainderf): Likewise.
77634         [non-C99-based standards] (rintf): Likewise.
77635         [non-C99-based standards] (scalbf): Likewise.
77636         [non-C99-based standards] (copysignl): Likewise.
77637         [non-C99-based standards] (exp2l): Likewise.
77638         [non-C99-based standards] (log2l): Likewise.
77639         [non-C99-based standards] (modfl): Allow.
77640         [non-C99-based standards] (erfl): Do not allow.
77641         [non-C99-based standards] (erfcl): Likewise.
77642         [non-C99-based standards] (gammal): Likewise.
77643         [non-C99-based standards] (hypotl): Likewise.
77644         [non-C99-based standards] (j0l): Likewise.
77645         [non-C99-based standards] (j1l): Likewise.
77646         [non-C99-based standards] (jnl): Likewise.
77647         [non-C99-based standards] (lgammal): Likewise.
77648         [non-C99-based standards] (tgammal): Likewise.
77649         [non-C99-based standards] (y0l): Likewise.
77650         [non-C99-based standards] (y1l): Likewise.
77651         [non-C99-based standards] (ynl): Likewise.
77652         [non-C99-based standards] (isnanl): Likewise.
77653         [non-C99-based standards] (acoshl): Likewise.
77654         [non-C99-based standards] (asinhl): Likewise.
77655         [non-C99-based standards] (atanhl): Likewise.
77656         [non-C99-based standards] (cbrtl): Likewise.
77657         [non-C99-based standards] (expm1l): Likewise.
77658         [non-C99-based standards] (ilogbl): Likewise.
77659         [non-C99-based standards] (log1pl): Likewise.
77660         [non-C99-based standards] (logbl): Likewise.
77661         [non-C99-based standards] (nextafterl): Likewise.
77662         [non-C99-based standards] (remainderl): Likewise.
77663         [non-C99-based standards] (rintl): Likewise.
77664         [non-C99-based standards] (scalbl): Likewise.
77665         [ISO || ISO99 || ISO11] (*_t): Do not allow.
77666         [non-C99-based standards] (FP_*): Do not allow.
77667         [C99-based standards] (FP_*): Change to
77668         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
77669         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
77670         allow.
77671         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
77672         (SIG_ERR): Likewise.
77673         [X/Open-based standards] (SIG_HOLD): Likewise.
77674         (SIG_IGN): Likewise.
77675         (SIGABRT): Use macro-int-constant.  Specify type.  Require
77676         positive value.
77677         (SIGFPE): Likewise.
77678         (SIGILL): Likewise.
77679         (SIGINT): Likewise.
77680         (SIGSEGV): Likewise.
77681         (SIGTER): Likewise.
77682         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
77683         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
77684         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
77685         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
77686         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
77687         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
77688         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
77689         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
77690         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
77691         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
77692         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
77693         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
77694         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
77695         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
77696         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
77697         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
77698         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
77699         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
77700         [X/Open-based standards] (SIGTRAP): Likewise.
77701         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
77702         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
77703         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
77704         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
77705         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
77706         allow.
77708 2012-05-08  Ian Wienand  <ianw@vmware.com>
77710         [BZ #14080]
77711         * time/tzset.c (__tzset_parse_tz): Update default rules for
77712         daylight time changes in the Energy Policy Act of 2005.
77714 2012-05-09  Andreas Jaeger  <aj@suse.de>
77716         [BZ #13983]
77717         * elf/ldconfig.c (parse_conf): Change string to make clear that
77718         ldconfig only issued a warning if ld.so.conf does not exist.
77720 2012-05-08  David S. Miller  <davem@davemloft.net>
77722         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
77723         movxtod instead of popping the value on the stack.
77725         * sysdeps/sparc/fpu/libm-test-ulps: Update.
77727 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
77729         * config.h.in: Add HAVE_ARM_PCS_VFP.
77731 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
77733         [BZ #13979]
77734         * include/features.h: Warn if user requests __FORTIFY_SOURCE
77735         checking but the checks are disabled for any reason.
77737 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
77739         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
77740         and ELF64_R_TYPE with ELFW(R_TYPE).
77742 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
77744         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
77745         (ulimit): Likewise.
77747         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
77748         (settimeofday): Likewise.
77750 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
77752         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
77753         a struct th_u2 inside the union, and move tu_block/tu_code into
77754         a new th_u3 union of tu_block/tu_code inside of that.  Move
77755         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
77756         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
77757         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
77758         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
77759         (th_stuff): Change to th_u1.tu_stuff.
77760         (th_data): Define.
77761         (th_msg): Change to th_u1.th_u2.tu_data.
77763 2012-05-07  David S. Miller  <davem@davemloft.net>
77765         * sysdeps/sparc/fpu/libm-test-ulps: Update.
77767         [BZ #14074]
77768         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
77769         (SETUP_PIC_REG): Use it.
77770         (SETUP_PIC_REG_LEAF): Use it.
77772 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
77774         [BZ #13885]
77775         [BZ #13923]
77776         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
77777         USE_AS_EXPM1L.
77778         (EXPL_FINITE): Likewise.
77779         (FLDLOG): Likewise.
77780         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
77781         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
77782         e_expl.S.
77783         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
77784         USE_AS_EXPM1L.
77785         (EXPL_FINITE): Likewise.
77786         (FLDLOG): Likewise.
77787         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
77788         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
77789         e_expl.S.
77790         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
77791         test of -max_value argument for long double.
77792         * sysdeps/i386/fpu/libm-test-ulps: Update.
77793         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
77795 2012-05-06  David S. Miller  <davem@davemloft.net>
77797         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
77798         quad soft-float symbols whose references which are compiler
77799         generated.
77800         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
77802 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
77804         [BZ #13884]
77805         [BZ #13914]
77806         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
77807         USE_AS_EXP10L.
77808         (EXPL_FINITE): Likewise.
77809         (FLDLOG): Likewise.
77810         (c0): Likewise.
77811         (c1): Likewise.
77812         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
77813         Adjust comments for base varying.
77814         (__expl_finite): Change alias to EXPL_FINITE.
77815         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
77816         e_expl.S.
77817         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
77818         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
77819         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
77820         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
77821         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
77822         USE_AS_EXP10L.
77823         (EXPL_FINITE): Likewise.
77824         (FLDLOG): Likewise.
77825         (c0): Likewise.
77826         (c1): Likewise.
77827         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
77828         Adjust comments for base varying.
77829         (__expl_finite): Change alias to EXPL_FINITE.
77830         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
77831         tests for bugs.
77832         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
77834         [BZ #14064]
77835         * math/libm-test.inc (check_float_internal): Correct ulp
77836         calculation for subnormal expected results.
77838 2012-05-06  Andreas Jaeger  <aj@suse.de>
77840         * Makeconfig (+math-flags): New, set to -frounding-math.
77841         (+cflags): Add +math-flags so that all of glibc gets compiled with
77842         it.
77844         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
77846 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
77848         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
77849         Disable one test.
77851         [BZ #13787]
77852         [BZ #13922]
77853         [BZ #14036]
77854         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
77855         (__ieee754_expl): Allow for and saturate large arguments.
77856         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
77857         (u_threshold): Likewise.
77858         (__exp): Call __ieee754_exp before checking for overflow and
77859         underflow.
77860         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
77861         (u_threshold): Likewise.
77862         (__expf): Call __ieee754_expf before checking for overflow and
77863         underflow.
77864         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
77865         (u_threshold): Likewise.
77866         (__expl): Call __ieee754_expl before checking for overflow and
77867         underflow.
77868         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
77869         (__ieee754_expl): Allow for and saturate large arguments.
77870         * math/libm-test.inc (exp_test): Add another test.  Do not allow
77871         missing overflow exception on overflow.
77872         (expm1_test): Do not allow missing overflow exception on overflow.
77874         * sysdeps/i386/fpu/e_expl.c: Move to ...
77875         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
77876         rather than using inline asm.
77877         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
77878         * sysdeps/x86_64/fpu/e_expl.S: Copy from
77879         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
77881         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
77882         (nice): Likewise.
77883         (poll): Likewise.
77884         (signal): Likewise.
77885         (time): Likewise.
77886         (times): Likewise.
77888 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
77890         * sysdeps/unix/syscalls.list (adjtime): Add entry from
77891         sysdeps/unix/common/syscalls.list.
77892         (fchmod): Likewise.
77893         (fchown): Likewise.
77894         (ftruncate): Likewise.
77895         (getrusage): Likewise.
77896         (gettimeofday): Likewise.
77897         (setpgid): Likewise.
77898         (setregid): Likewise.
77899         (setreuid): Likewise.
77900         (sigaction): Likewise.
77901         (truncate): Likewise.
77902         (vhangup): Likewise.
77903         * sysdeps/unix/common/syscalls.list: Remove file.
77904         * sysdeps/unix/bsd/Implies: Don't include unix/common.
77905         * sysdeps/unix/sysv/linux/Implies: Likewise.
77907 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
77909         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
77910         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
77911         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
77912         Moved to ...
77913         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
77914         Here.
77915         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
77916         to ...
77917         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
77918         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
77919         to ...
77920         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
77921         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
77922         to ...
77923         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
77924         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
77925         to ...
77926         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
77927         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
77928         to ...
77929         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
77930         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
77931         to ...
77932         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
77933         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
77934         to ...
77935         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
77936         Here.
77937         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
77938         to ...
77939         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
77940         Here.
77941         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
77942         to ...
77943         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
77944         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
77945         Moved to ...
77946         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
77947         Here.
77948         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
77949         to ...
77950         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
77952 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
77954         * sysdeps/unix/common/bits/dirent.h: Remove file.
77955         * sysdeps/unix/common/bits/fcntl.h: Likewise.
77957         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
77958         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
77959         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
77960         * sysdeps/unix/bsd/isatty.c: Likewise.
77961         * sysdeps/unix/bsd/tcdrain.c: Likewise.
77962         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
77963         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
77965 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
77967         [BZ #13563]
77968         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
77969         long double comparison inaccuracies.
77970         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
77971         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
77973 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
77975         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
77976         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
77978 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
77980         [BZ #14049]
77981         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
77982         nonzero digits before rounding a hex value.
77983         * stdlib/tst-strtod.c (tests): Add another test.
77985 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
77987         * sysdeps/s390/fpu/libm-test-ulps: Update.
77989 2012-05-03  Andreas Jaeger  <aj@suse.de>
77991         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
77992         does not get optimized out.
77993         (malloc_opt_barrier): New.
77995 2012-05-03  Andreas Jaeger  <aj@suse.de>
77996             Roland McGrath  <roland@hack.frob.com>
77998         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
77999         intermediate file deletion.
78000         (generated): Add .symlist files.
78002 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
78004         [BZ #13775]
78005         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
78006         Redirect under this condition.
78007         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
78008         [__USE_GNU] (__dprintf_chk): Not under this condition.
78009         [__USE_GNU] (__vdprintf_chk): Likewise.
78010         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
78011         under this condition.
78012         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
78013         [__USE_XOPEN2K8] (dprintf): Define under this condition.
78014         [__USE_XOPEN2K8] (vdprintf): Likewise.
78015         [__USE_GNU] (__dprintf_chk): Not under this condition.
78016         [__USE_GNU] (__vdprintf_chk): Likewise.
78017         [__USE_GNU] (dprintf): Likewise.
78018         [__USE_GNU] (vdprintf): Likewise.
78020 2012-05-03  Roland McGrath  <roland@hack.frob.com>
78022         * elf/Makefile (common-generated): Set this instead of generated for
78023         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
78024         $(all-built-dso)-derived lists.
78026 2012-05-03  Andreas Jaeger  <aj@suse.de>
78028         * sysdeps/i386/fpu/libm-test-ulps: Update.
78030         * FAQ: Removed.
78031         * FAQ.in: Likewise.
78032         * scripts/gen-FAQ.pl: Likewise.
78033         * manual/install.texi (Installation): Point to online location of
78034         FAQ.
78035         * Makefile (files-for-dist): Remove FAQ.
78036         (FAQ): Remove.
78038 2012-05-02  Allan McRae  <allan@archlinux.org>
78040         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
78041         (LDFLAGS-reldepmod5.so): Likewise.
78042         (LDFLAGS-reldep6mod1.so): Likewise.
78043         (LDFLAGS-reldep6mod4.so): Likewise.
78044         (LDFLAGS-reldep8mod3.so): Likewise.
78045         (LDFLAGS-unload4mod1.so): Likewise.
78046         (LDFLAGS-unload4mod2.so): Likewise.
78047         (LDFLAGS-tst-initorder): Likewise.
78048         (LDFLAGS-tst-initordera2.so): Likewise.
78049         (LDFLAGS-tst-initordera3.so): Likewise.
78050         (LDFLAGS-tst-initordera4.so): Likewise.
78051         (LDFLAGS-tst-initorderb2.so): Likewise.
78052         (LDFLAGS-noload): Likewise.
78053         (LDFLAGS-next): Likewise.
78054         (LDFLAGS-order2mod1.so): Likewise.
78055         (LDFLAGS-order2mod2.so): Likewise.
78056         (LDFLAGS-tst-initorder2): Likewise.
78057         (LDFLAGS-tst-initorder2a.so): Likewise.
78058         (LDFLAGS-tst-initorder2b.so): Likewise.
78059         (LDFLAGS-tst-initorder2c.so): Likewise.
78060         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
78062 2012-05-02  David S. Miller  <davem@davemloft.net>
78064         * sysdeps/sparc/fpu/libm-test-ulps: Update.
78066 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
78068         [BZ #14055]
78069         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
78071 2012-05-02  Andreas Jaeger  <aj@suse.de>
78073         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
78074         since we manipulate rounding mode.
78075         (CPPFLAGS-test-idouble.c): Likewise.
78076         (CPPFLAGS-test-ifloat.c): Likewise.
78077         (CFLAGS-test-ldouble.c): Likewise.
78078         (CFLAGS-test-double.c): Likewise.
78079         (CFLAGS-test-float.c): Likewise.
78080         (CFLAGS-test-misc.c): Likewise.
78081         (CFLAGS-test-test-fenv.c): Likewise.
78083 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
78085         [BZ #2550]
78086         [BZ #2570]
78087         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
78088         comparisons to determine direction to adjust input.
78090 2012-05-01  Roland McGrath  <roland@hack.frob.com>
78092         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
78093         output to the target.
78095         * scripts/localplt.awk: New file.
78096         * elf/Makefile ($(objpfx)check-localplt): Target removed.
78097         (check-localplt-CFLAGS): Variable removed.
78098         ($(all-built-dso:=.jmprel)): New static pattern rule.
78099         (generated): Add those targets.
78100         (localplt-built-dso): New variable.
78101         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
78103         * elf/check-localplt.c: File removed.
78105         * scripts/check-execstack.awk: New file.
78106         * elf/Makefile ($(objpfx)check-execstack): Target removed.
78107         (check-execstack-CFLAGS): Variable removed.
78108         ($(objpfx)check-execstack.h): Target removed.
78109         ($(objpfx)execstack-default): New target.
78110         (generated): Add that instead of check-execstack.h.
78111         ($(all-built-dso:=.phdr)): New static pattern rule.
78112         (generated): Add those targets.
78113         * elf/check-execstack.c: File removed.
78115         * scripts/check-textrel.awk: New file.
78116         * elf/Makefile ($(objpfx)check-textrel): Target removed.
78117         (check-textrel-CFLAGS): Variable removed.
78118         (all-built-dso): Use := to define.o
78119         ($(all-built-dso:=.dyn)): New static pattern rule.
78120         (generated): Add those targets.
78121         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
78122         * config.make.in (READELF): New substituted variable.
78123         * elf/check-textrel.c: File removed.
78125 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
78127         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
78128         allow.
78129         * conform/data/ctype.h-data [C99-based standards] (isblank):
78130         Expect function.
78131         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
78132         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
78133         [ISO || ISO99 || ISO11] (*_t): Do not allow.
78134         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
78135         Specify type.  Require positive value.
78136         (EILSEQ): Likewise.
78137         (ERANGE): Likewise.
78138         [ISO || POSIX] (EILSEQ): Do not expect.
78139         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
78140         Specify type.  Require positive value.
78141         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
78142         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
78143         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
78144         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
78145         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
78146         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
78147         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
78148         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
78149         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
78150         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
78151         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
78152         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
78153         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
78154         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
78155         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
78156         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
78157         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
78158         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
78159         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
78160         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
78161         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
78162         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
78163         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
78164         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
78165         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
78166         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
78167         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
78168         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
78169         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
78170         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
78171         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
78172         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
78173         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
78174         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
78175         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
78176         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
78177         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
78178         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
78179         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
78180         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
78181         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
78182         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
78183         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
78184         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
78185         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
78186         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
78187         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
78188         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
78189         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
78190         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
78191         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
78192         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
78193         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
78194         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
78195         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
78196         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
78197         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
78198         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
78199         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
78200         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
78201         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
78202         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
78203         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
78204         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
78205         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
78206         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
78207         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
78208         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
78209         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
78210         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
78211         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
78212         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
78213         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
78214         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
78215         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
78216         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
78217         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
78218         Require >= 2.
78219         (FLT_ROUNDS): Expect as macro, not constant.
78220         (FLT_MANT_DIG): Use macro-int-constant.
78221         (DBL_MANT_DIG): Likewise.
78222         (LDBL_MANT_DIG): Likewise.
78223         (FLT_DIG): Likewise.
78224         (DBL_DIG): Likewise.
78225         (LDBL_DIG): Likewise.
78226         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
78227         (DBL_MIN_EXP): Likewise.
78228         (LDBL_MIN_EXP): Likewise.
78229         (FLT_MAX_EXP): Use macro-int-constant.
78230         (DBL_MAX_EXP): Likewise.
78231         (LDBL_MAX_EXP): Likewise.
78232         (FLT_MAX_10_EXP): Likewise.
78233         (DBL_MAX_10_EXP): Likewise.
78234         (LDBL_MAX_10_EXP): Likewise.
78235         (FLT_MAX): Use macro-constant.
78236         (DBL_MAX): Likewise.
78237         (LDBL_MAX): Likewise.
78238         (FLT_EPSILON): Use macro-constant.  Give upper bound.
78239         (DBL_EPSILON): Likewise.
78240         (LDBL_EPSILON): Likewise.
78241         (FLT_MIN): Likewise.
78242         (DBL_MIN): Likewise.
78243         (LDBL_MIN): Likewise.
78244         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
78245         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
78246         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
78247         [ISO11] (FLT_HAS_SUBNORM): Likewise.
78248         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
78249         [ISO11] (DBL_DECIMAL_DIG): Likewise.
78250         [ISO11] (FLT_DECIMAL_DIG): Likewise.
78251         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
78252         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
78253         [ISO11] (FLT_TRUE_MIN): Likewise.
78254         [ISO11] (LDBL_TRUE_MIN): Likewise.
78255         [ISO || ISO99 || ISO11] (*_t): Do not allow.
78256         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
78257         (SCHAR_MIN): Use macro-int-constant.  Specify type.
78258         (SCHAR_MAX): Likewise.
78259         (UCHAR_MAX): Likewise.
78260         (CHAR_MIN): Likewise.
78261         (CHAR_MAX): Likewise.
78262         (MB_LEN_MAX): Use macro-int-constant.
78263         (SHRT_MIN): Use macro-int-constant.  Specify type.
78264         (SHRT_MAX): Likewise.
78265         (USHRT_MAX): Likewise.
78266         (INT_MAX): Likewise.
78267         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
78268         bound negative.
78269         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
78270         bound with "U".
78271         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
78272         bound with "L".
78273         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
78274         bound negative.  Suffix upper bound with "L".
78275         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
78276         bound with "UL".
78277         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
78278         Specify type.
78279         [C99-based standards] (LLONG_MAX): Likewise.
78280         [C99-based standards] (ULLONG_MAX): Likewise.
78281         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
78282         == 0.
78283         [ISO11] (max_align_t): Require type.
78284         [ISO || ISO99 || ISO11] (*_t): Do not allow.
78286         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
78287         from $CFLAGS, without defining away __attribute__ calls.
78288         (checknamespace): Use $CFLAGS_namespace.
78290         * conform/conformtest.pl (@keywords): Only include C99 keywords
78291         for standards based on C99 or C11.
78293         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
78294         Disable tests.
78295         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
78296         UNIX98]: Likewise.
78298         * conform/conformtest.pl: Handle "macro-int-constant" and test for
78299         usability of symbols in #if.
78301         * conform/conformtest.pl: If macro or constant types start
78302         "promoted:", expect the symbol to be of the following type
78303         promoted by the integer promotions.
78305         * conform/conformtest.pl: Parse all "constant" and "macro" lines
78306         in one place.  Also handle "macro-constant".
78308         * conform/conformtest.pl: Only accept expected macro values with
78309         "==".  Parse all "macro" lines in one place.
78310         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
78312         * conform/conformtest.pl: Handle braced types on "constant" lines
78313         instead of handling "typed-constant".
78314         * conform/data/signal.h-data: Use "constant" instead of
78315         "typed-constant".
78317         * conform/conformtest.pl: Handle "optional-" at start of lines in
78318         one place rather than duplicating several cases.  Handle each
78319         format of "macro" line with initial "optional-".
78321         * conform/conformtest.pl: Only accept expected constant or
78322         optional-constant values with "==".  Parse all "constant" lines in
78323         one place.  Parse all "optional-constant" lines in one place.
78324         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
78325         * conform/data/fmtmsg.h-data: Likewise.
78326         * conform/data/netinet/in.h-data: Likewise.
78327         * conform/data/tar.h-data: Likewise.
78328         * conform/data/limits.h-data: Use "==" form on "constant" and
78329         "optional-constant" lines.
78331         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
78332         Use -std=c99 for XOPEN2K.
78333         (@knownproblems): Remove.
78334         (newtoken): Don't check %isknown.
78336         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
78337         Do not expect macro.
78338         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
78339         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
78340         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
78341         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
78342         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
78343         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
78344         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
78345         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
78346         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
78347         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
78348         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
78349         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
78350         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
78351         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
78352         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
78353         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
78354         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
78355         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
78356         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
78357         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
78358         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
78359         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
78360         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
78361         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
78362         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
78363         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
78364         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
78365         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
78366         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
78367         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
78368         [XPG3] (acosh): Likewise.
78369         [XPG3] (asinh): Likewise.
78370         [XPG3] (atanh): Likewise.
78371         [XPG3] (cbrt): Likewise.
78372         [XPG3] (expm1): Likewise.
78373         [XPG3] (ilogb): Likewise.
78374         [XPG3] (log1p): Likewise.
78375         [XPG3] (logb): Likewise.
78376         [XPG3] (nextafter): Likewise.
78377         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
78378         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
78379         [XPG3] (remainder): Likewise.
78380         [XPG3] (rint): Likewise.
78381         [XPG3 || XPG4 || UNIX98] (round): Likewise.
78382         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
78383         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
78384         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
78385         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
78386         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
78387         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
78388         [UNIX98 || XOPEN2K] (scalb): Expect.
78389         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
78390         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
78391         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
78392         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
78393         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
78394         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
78395         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
78396         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
78397         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
78398         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
78399         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
78400         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
78401         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
78402         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
78403         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
78404         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
78405         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
78406         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
78407         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
78408         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
78409         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
78410         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
78411         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
78412         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
78413         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
78414         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
78415         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
78416         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
78417         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
78418         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
78419         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
78420         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
78421         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
78422         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
78423         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
78424         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
78425         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
78426         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
78427         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
78428         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
78429         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
78430         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
78431         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
78432         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
78433         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
78434         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
78435         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
78436         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
78437         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
78438         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
78439         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
78440         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
78441         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
78442         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
78443         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
78444         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
78445         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
78446         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
78447         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
78448         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
78449         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
78450         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
78451         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
78452         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
78453         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
78454         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
78455         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
78456         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
78457         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
78458         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
78459         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
78460         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
78461         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
78462         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
78463         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
78464         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
78465         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
78466         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
78467         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
78468         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
78469         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
78470         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
78471         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
78472         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
78473         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
78474         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
78475         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
78476         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
78477         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
78478         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
78479         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
78480         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
78481         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
78482         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
78483         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
78484         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
78485         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
78486         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
78487         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
78488         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
78489         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
78490         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
78491         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
78492         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
78493         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
78494         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
78495         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
78496         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
78497         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
78498         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
78499         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
78500         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
78501         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
78502         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
78503         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
78504         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
78505         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
78506         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
78507         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
78508         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
78509         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
78510         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
78511         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
78512         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
78513         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
78514         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
78515         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
78516         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
78517         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
78518         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
78519         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
78520         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
78521         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
78522         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
78523         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
78524         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
78525         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
78527         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
78528         _XOPEN_SOURCE_EXTENDED for XPG4.
78530         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
78532         * Makeconfig (localtime): Remove variable.
78533         (inst_localtime-file): Likewise.
78535 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
78537         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
78538         Update.
78539         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
78540         Update.
78541         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
78542         Update.
78543         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
78544         Update.
78545         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
78546         Update.
78547         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
78548         Update.
78549         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
78550         Update.
78551         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
78552         Update.
78553         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
78554         Update.
78556 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
78558         [BZ #2550]
78559         [BZ #2570]
78560         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
78561         comparisons to determine direction to adjust input.
78562         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
78563         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
78564         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
78565         Likewise.
78566         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
78567         Likewise.
78568         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
78569         Likewise.
78570         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
78571         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
78572         Likewise.
78573         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
78574         Likewise.
78575         * math/libm-test.inc (nexttoward_test): Add more tests.
78577 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
78579         [BZ #14040]
78580         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
78581         in version GLIBC_2.1, not GLIBC_2.0.
78582         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
78583         Likewise.
78585 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
78587         [BZ #13942]
78588         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
78589         (1 - x) * (1 + x).
78590         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
78591         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
78592         * math/libm-test.inc (acos_test): Add more tests.
78593         (asin_test): Likewise.
78594         * sysdeps/i386/fpu/libm-test-ulps: Update.
78595         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
78597         [BZ #14034]
78598         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
78599         of square root.
78600         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
78601         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
78602         * math/libm-test.inc (acos_test_tonearest): New function.
78603         (acos_test_towardzero): Likewise.
78604         (acos_test_downward): Likewise.
78605         (acos_test_upward): Likewise.
78606         (asin_test_tonearest): Likewise.
78607         (asin_test_towardzero): Likewise.
78608         (asin_test_downward): Likewise.
78609         (asin_test_upward): Likewise.
78610         (main): Call the new functions.
78611         * sysdeps/i386/fpu/libm-test-ulps: Update.
78612         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
78614         [BZ #13884]
78615         [BZ #13924]
78616         * math/e_exp10.c: Include <float.h>.
78617         (__ieee754_exp10): Handle underflow here rather than multiplying
78618         large negative argument by M_LN10.
78619         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
78620         of __ieee754_expf.
78621         * math/e_exp10l.c: Include <float.h>.
78622         (__ieee754_exp10l): Handle underflow here rather than multiplying
78623         large negative argument by M_LN10l.
78624         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
78625         spurious overflow exception on underflow.
78627 2012-04-29  Marek Polacek  <polacek@redhat.com>
78629         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
78630         (__fortify_function): New macro.
78631         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
78632         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
78633         __extern_always_inline.
78634         * libio/bits/stdio2.h: Likewise.
78635         * libio/bits/stdio.h: Likewise.
78636         * string/string.h: Likewise.
78637         * string/bits/string3.h: Likewise.
78638         * include/stdio.h: Likewise.
78639         * stdlib/bits/stdlib.h: Likewise.
78640         * stdlib/stdlib.h: Likewise.
78641         * rt/bits/mqueue2.h: Likewise.
78642         * rt/mqueue.h: Likewise.
78643         * posix/bits/unistd.h: Likewise.
78644         * posix/unistd.h: Likewise.
78645         * io/bits/poll2.h: Likewise.
78646         * io/bits/fcntl2.h: Likewise.
78647         * io/fcntl.h: Likewise.
78648         * io/sys/poll.h: Likewise.
78649         * misc/bits/syslog.h: Likewise.
78650         * misc/bits/syslog-ldbl.h: Likewise.
78651         * misc/sys/syslog.h: Likewise.
78652         * socket/bits/socket2.h: Likewise.
78653         * socket/sys/socket.h: Likewise.
78654         * debug/tst-chk1.c: Likewise.
78655         * wcsmbs/bits/wchar2.h: Likewise.
78656         * wcsmbs/bits/wchar-ldbl.h: Likewise.
78657         * wcsmbs/wchar.h: Likewise.
78659 2012-04-29  Andreas Jaeger  <aj@suse.de>
78661         * Makerules (tests): Remove enable-check-abi protection.
78662         (check-abi-warn): Remove.
78663         (check-abi-%): Remove check-abi-warn usage.
78665         * configure.in: Remove check-abi configure option.
78666         * configure: Regenerated.
78667         * config.make.in (enable-check-abi): Remove.
78669 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
78671         [BZ #14033]
78672         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
78673         double functions to double *_finite functions.
78675         [BZ #13941]
78676         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
78677         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
78678         LDBL_MIN_EXP.
78679         * stdio-common/Makefile (tests): Add tst-sprintf3.
78680         * stdio-common/tst-sprintf3.c: New file.
78682         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
78683         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
78685 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
78687         * conform/conformtest.pl: Remove duplicate typed-constant
78688         handling.
78690 2012-04-28  David S. Miller  <davem@davemloft.net>
78692         * Makerules (%.abilist): Add vpath on sysdep_dirs.
78693         (check-abi-%): Remove AWK script prerequisite and explicit
78694         abilist directory.
78695         (check-abi): Rewrite to just diff the symlist with the abilist.
78696         (config-tls, config-abi-config): Delete, no longer used.
78697         (update-abi-%): Remove AWK script and explicit abilist directory.
78698         (update-abi): Rewrite to simply compare and conditionally copy the
78699         symlist and the sysdep abilist file.  Remove update-abi-config
78700         checks.
78701         * abilist/ld.abilist: Remove.
78702         * abilist/libBrokenLocale.abilist: Remove.
78703         * abilist/libanl.abilist: Remove.
78704         * abilist/libcrypt.abilist: Remove.
78705         * abilist/libdl.abilist: Remove.
78706         * abilist/librt.abilist: Remove.
78707         * abilist/libthread_db.abilist: Remove.
78708         * abilist/libutil.abilist: Remove.
78709         * scripts/extract-abilist.awk: Remove.
78710         * scripts/merge-abilist.awk: Remove.
78711         * sysdeps/generic/libcidn.abilist: New file.
78712         * sysdeps/generic/libnss_compat.abilist: New file.
78713         * sysdeps/generic/libnss_db.abilist: New file.
78714         * sysdeps/generic/libnss_dns.abilist: New file.
78715         * sysdeps/generic/libnss_files.abilist: New file.
78716         * sysdeps/generic/libnss_hesiod.abilist: New file.
78717         * sysdeps/generic/libnss_nis.abilist: New file.
78718         * sysdeps/generic/libnss_nisplus.abilist: New file.
78719         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
78720         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
78721         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
78722         file.
78723         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
78724         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
78725         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
78726         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
78727         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
78728         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
78729         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
78730         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
78731         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
78732         file.
78733         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
78734         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
78735         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
78736         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
78737         file.
78738         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
78739         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
78740         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
78741         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
78742         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
78743         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
78744         file.
78745         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
78746         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
78747         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
78748         file.
78749         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
78750         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
78751         New file.
78752         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
78753         New file.
78754         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
78755         New file.
78756         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
78757         New file.
78758         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
78759         New file.
78760         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
78761         New file.
78762         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
78763         New file.
78764         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
78765         New file.
78766         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
78767         New file.
78768         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
78769         New file.
78770         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
78771         New file.
78772         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
78773         New file.
78774         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
78775         New file.
78776         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
78777         file.
78778         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
78779         New file.
78780         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
78781         New file.
78782         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
78783         file.
78784         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
78785         New file.
78786         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
78787         New file.
78788         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
78789         file.
78790         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
78791         New file.
78792         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
78793         New file.
78794         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
78795         New file.
78796         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
78797         New file.
78798         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
78799         New file.
78800         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
78801         New file.
78802         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
78803         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
78804         file.
78805         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
78806         New file.
78807         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
78808         file.
78809         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
78810         file.
78811         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
78812         file.
78813         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
78814         file.
78815         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
78816         file.
78817         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
78818         New file.
78819         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
78820         file.
78821         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
78822         file.
78823         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
78824         New file.
78825         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
78826         file.
78827         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
78828         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
78829         file.
78830         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
78831         New file.
78832         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
78833         file.
78834         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
78835         file.
78836         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
78837         file.
78838         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
78839         file.
78840         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
78841         file.
78842         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
78843         New file.
78844         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
78845         file.
78846         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
78847         file.
78848         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
78849         New file.
78850         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
78851         file.
78852         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
78853         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
78854         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
78855         file.
78856         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
78857         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
78858         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
78859         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
78860         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
78861         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
78862         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
78863         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
78864         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
78865         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
78866         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
78867         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
78868         file.
78869         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
78870         New file.
78871         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
78872         file.
78873         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
78874         file.
78875         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
78876         file.
78877         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
78878         file.
78879         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
78880         file.
78881         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
78882         New file.
78883         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
78884         New file.
78885         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
78886         file.
78887         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
78888         New file.
78889         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
78890         file.
78891         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
78892         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
78893         file.
78894         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
78895         New file.
78896         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
78897         file.
78898         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
78899         file.
78900         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
78901         file.
78902         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
78903         file.
78904         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
78905         file.
78906         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
78907         New file.
78908         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
78909         New file.
78910         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
78911         file.
78912         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
78913         New file.
78914         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
78915         file.
78917 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
78919         * conform/conformtest.pl: Fix typo in handling typed-constant from
78920         allow-header.
78922 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
78924         * README: Cut down references to pre-2.6 Linux kernels and
78925         Linuxthreads.  Update lists of configurations in libc and ports
78926         and sort alphabetically.  Say "or newer" with Linux kernel version
78927         requirements.
78929         * config.h.in [IS_IN_build]: Allow compiling without optimization.
78931 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
78933         [BZ #887]
78934         * math/libm-test.inc (logb_test_downward): New test to expose
78935         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
78936         rounding mode.
78938 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
78940         [BZ #14027]
78941         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
78942         to be done.
78943         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
78944         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
78946 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
78948         * sysdeps/unix/i386/brk.S: Remove file.
78949         * sysdeps/unix/i386/dl-brk.S: Likewise.
78950         * sysdeps/unix/i386/pipe.S: Likewise.
78951         * sysdeps/unix/i386/sigreturn.S: Likewise.
78952         * sysdeps/unix/i386/syscall.S: Likewise.
78953         * sysdeps/unix/i386/vfork.S: Likewise.
78954         * sysdeps/unix/i386/wait.S: Likewise.
78956         * sysdeps/unix/common/tcsendbrk.c: Move to ...
78957         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
78959         * configure.in (arm*-none*): Do not allow without
78960         --enable-hacker-mode.
78961         (netbsd*): Remove case setting base_os.
78962         (386bsd*): Likewise.
78963         (freebsd*): Likewise.
78964         (bsdi*): Likewise.
78965         (osf*): Likewise.
78966         (sunos*): Likewise.
78967         (ultrix*): Likewise.
78968         (newsos*): Likewise.
78969         (dynix*): Likewise.
78970         (*bsd*): Likewise.
78971         (sysv*): Likewise.
78972         (isc*): Likewise.
78973         (esix*): Likewise.
78974         (sco*): Likewise.
78975         (minix*): Likewise.
78976         (irix4*): Likewise.
78977         (irix6*): Likewise.
78978         (solaris[2-9]*): Likewise.
78979         (none): Likewise.
78980         * configure: Regenerated.
78982 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
78984         [BZ #11521]
78985         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
78986         overflow or cancellation in calculating denominator.
78987         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
78988         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
78989         down expression to avoid unexpected rounding in newer GCCs.
78990         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
78992 2012-04-26  David S. Miller  <davem@davemloft.net>
78994         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
78995         long-double compat symbols.
78996         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
78997         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
78998         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
78999         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
79000         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
79001         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
79002         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
79003         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
79004         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
79005         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
79006         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
79007         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
79008         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
79010 2012-04-25  David S. Miller  <davem@davemloft.net>
79012         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
79013         HWCAP_* values only after the memory barriers have been defined.
79014         (atomic_full_barrier): Define.
79015         (atomic_read_barrier): Define.
79016         (atomic_write_barrier): Define.
79018 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
79020         * shlib-versions: Add libgcc_s version information.
79021         * sysdeps/generic/libgcc_s.h: Remove.
79022         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
79023         libgcc_s.h.
79024         * sysdeps/gnu/unwind-resume.c: Likewise.
79025         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
79027 2012-04-25  David S. Miller  <davem@davemloft.net>
79029         * sysdeps/unix/sparc/brk.S: Delete.
79030         * sysdeps/unix/sparc/dl-brk.S: Delete.
79031         * sysdeps/unix/sparc/pipe.S: Delete.
79032         * sysdeps/unix/sparc/sysdep.S: Delete.
79033         * sysdeps/unix/sparc/sysdep.h: Delete.
79034         * sysdeps/unix/sparc/vfork.S: Delete.
79035         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
79036         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
79037         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
79038         (ret_ERRVAL, r0, r1, MOVE): Define.
79039         (JUMPTARGET): Remove.
79040         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
79041         sysdeps/unix/sparc/sysdep.h
79042         (ENTRY, END): Remove.
79043         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
79045 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
79047         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
79048         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
79049         -DIS_IN_build.
79051         * timezone/README: Update upstream location and email address for
79052         tzcode and tzdata.
79053         * timezone/zdump.c: Update from tzcode 2012b.
79054         * timezone/zic.c: Likewise.
79056         * configure.in (libc_cv_as_needed): Remove test.
79057         * configure: Regenerated.
79058         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
79059         conditional definition.
79060         [$(have-as-needed) != yes] (no-as-needed): Likewise.
79061         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
79062         * config.make.in (have-as-needed): Remove variable.
79064 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
79065             Paul Pluzhnikov  <ppluzhnikov@google.com>
79067         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
79068         strings correctly.
79070 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
79072         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
79073         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
79074         * sysdeps/sh/strlen.S: Likewise.
79076 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
79078         * sysdeps/unix/fork.S: Remove file.
79079         * sysdeps/unix/i386/fork.S: Likewise.
79080         * sysdeps/unix/sparc/fork.S: Likewise.
79082         * sysdeps/unix/system.c: Remove file.
79083         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
79085         * sysdeps/unix/getegid.S: Remove file.
79086         * sysdeps/unix/geteuid.S: Likewise.
79088 2012-04-24  Roland McGrath  <roland@hack.frob.com>
79090         * scripts/check-localplt.awk: New file.
79091         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
79092         of diff.
79093         * scripts/data/localplt-generic.data: Add a comment.
79095         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
79096         NODE when __dir_mkfile failed.
79097         * sysdeps/mach/hurd/symlinkat.c: Likewise.
79098         Reported by Ludovic Courtès <ludo@gnu.org>.
79100 2012-04-24  Andreas Jaeger  <aj@suse.de>
79102         * Makerules (common-clean): Also remove gen-as-const-headers
79103         files.
79105 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
79107         * Makerules (native-compile): Do not change working directory for
79108         build.  Use $(OUTPUT_OPTION) in command.
79109         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
79111 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
79113         [BZ #13886]
79114         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
79115         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
79116         * math/libm-test.inc (floor_test): Add more tests.
79117         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
79119 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
79121         * sysdeps/unix/getdents.c: Remove file.
79122         * sysdeps/unix/sysv/getdents.c: Likewise.
79123         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
79125         * sysdeps/unix/syscalls.list (madvise): Add syscall from
79126         sysdeps/unix/mman/syscalls.list.
79127         (mmap): Likewise.
79128         (mprotect): Likewise.
79129         (msync): Likewise.
79130         (munmap): Likewise.
79131         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
79132         * sysdeps/unix/mman/syscalls.list: Remove.
79133         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
79135         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
79136         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
79137         * configure: Regenerated.
79138         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
79139         $(libgcc_s_suffix).
79140         * config.make.in (libgcc_s_suffix): Remove variable.
79142 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
79144         * sysdeps/unix/sysv/gethostname.c: Move to ...
79145         * sysdeps/posix/gethostname.c: ... here.
79147         * sysdeps/unix/execve.S: Remove file.
79149         * sysdeps/unix/_exit.S: Remove file.
79151 2012-04-23  Andreas Jaeger  <aj@suse.de>
79153         [BZ #13739]
79154         * manual/Makefile: Remove make dist support, there's no
79155         need for a stand-alone documentation tar ball.
79156         (TEXI2DVI): Define always, it's not in Makeconfig.
79157         (dist): Removed.
79158         (tar-it): Removed.
79159         (edition): Removed.
79160         (glibc-doc-$(edition).tar): Removed
79161         (%.Z): Removed.
79162         (%.gz): Removed.
79163         (%.uu): Removed.
79164         (ETAGS): Remove, it's in Makeconfig.
79165         (move-if-change): Remove, it's in Makeconfig.
79167 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
79169         [BZ #13970]
79170         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
79171         (strtod, strtof, strtold, strtol, strtoul, strtoq)
79172         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
79173         (strtod_l, strtof_l, strtold_l): Remove __wur.
79174         It is not necessarily an error to ignore strtol's return value.
79175         One can reliably look at the stored endptr to decide whether
79176         the number had valid syntax.
79178 2012-04-21  Andreas Jaeger  <aj@suse.de>
79180         [BZ #13739]
79181         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
79183 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
79185         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
79186         * sysdeps/unix/sysv/Versions: Remove file.
79188 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
79190         [BZ #13927]
79191         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
79193 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
79195         [BZ #7064]
79196         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
79197         version from __vm86.
79199 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
79201         * sysdeps/unix/common/lxstat.c: Remove file.
79202         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
79204         * sysdeps/unix/sysv/Makefile: Remove file.
79206         * sysdeps/unix/sysv/direct.h: Remove file.
79208         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
79209         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
79210         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
79211         * sysdeps/unix/sysv/bits/signum.h: Likewise.
79212         * sysdeps/unix/sysv/bits/stat.h: Likewise.
79213         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
79214         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
79216         * sysdeps/unix/sysv/setrlimit.c: Remove file.
79218         * sysdeps/unix/xmknod.c: Remove file.
79219         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
79221         * sysdeps/unix/sysv/settimeofday.c: Remove file.
79223         * sysdeps/unix/sysv/i386/time.S: Remove file.
79225         * sysdeps/unix/fxstat.c: Remove file.
79226         * sysdeps/unix/xstat.c: Likewise.
79227         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
79229         * sysdeps/unix/sysv/sigaction.c: Remove file.
79231         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
79232         (sysdep_headers): Remove variable.
79233         [termio.h not in sysdep_headers] (generated): Likewise.
79234         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
79235         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
79236         * sysdeps/unix/sysv/tcdrain.c: Likewise.
79237         * sysdeps/unix/sysv/tcflow.c: Likewise.
79238         * sysdeps/unix/sysv/tcflush.c: Likewise.
79239         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
79240         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
79241         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
79242         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
79243         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
79245         * sysdeps/unix/siglist.c: Remove file.
79247         * sysdeps/unix/getppid.S: Remove file.
79249         * sysdeps/unix/mkdir.c: Remove file.
79250         * sysdeps/unix/rmdir.c: Likewise.
79252 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
79254         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
79255         ERR_MAX value.
79256         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
79257         errlist-compat value.
79259 2012-04-18  David S. Miller  <davem@davemloft.net>
79261         * sysdeps/generic/memcopy.h (reg_char): Delete.
79262         * debug/strcat_chk.c: Use char, not reg_char.
79263         * debug/strcpy_chk.c: Likewise.
79264         * debug/strncat_chk.c: Likewise.
79265         * debug/strncpy_chk.c: Likewise.
79266         * string/memchr.c: Likewise.
79267         * string/memrchr.c: Likewise.
79268         * string/rawmemchr.c: Likewise.
79269         * string/strcat.c: Likewise.
79270         * string/strchr.c: Likewise.
79271         * string/strchrnul.c: Likewise.
79272         * string/strcmp.c: Likewise.
79273         * string/strcpy.c: Likewise.
79274         * string/strncat.c: Likewise.
79275         * string/strncmp.c: Likewise.
79276         * string/strncpy.c: Likewise.
79278 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
79280         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
79281         __builtin_memcopy is called when src and dest ranges are known to not
79282         overlap.
79284 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
79286         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
79287         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
79288         fwd_align_merge macro call.
79289         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
79290         bwd_align_merge macro call.
79291         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
79293 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
79295         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
79296         bwd_align_merge macros.
79297         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
79298         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
79299         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
79301 2012-04-18  David S. Miller  <davem@davemloft.net>
79303         * sysdeps/sparc/sparc64/memcopy.h: Delete.
79305 2012-04-18  Andreas Jaeger  <aj@suse.de>
79307         [BZ #6794]
79308         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
79309         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
79310         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
79312         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
79313         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
79314         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
79316         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
79317         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
79318         Adjust for changed ldbl-128 files.
79320         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
79321         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
79322         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
79324 2012-04-17  David S. Miller  <davem@davemloft.net>
79326         * sysdeps/sparc/sparc32/memcopy.h: Delete.
79328 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
79330         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
79331         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
79332         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
79333         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
79334         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
79335         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
79337 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
79339         [BZ #6794]
79340         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
79341         * math/libm-test.inc: Add ilogb errno and exception tests.
79342         * math/w_ilogb.c: New file: ilogb wrapper.
79343         * math/w_ilogbf.c: New file: ilogbf wrapper.
79344         * math/w_ilogbl.c: New file: ilogbl wrapper.
79345         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
79346         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
79347         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
79348         exception being thrown with 0.0 as argument.
79349         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
79350         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
79351         exception being thrown with 0.0 as argument.
79352         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
79353         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
79354         exception being thrown with 0.0 as argument.
79355         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
79356         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
79357         exception being thrown with 0.0 as argument.
79358         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
79359         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
79360         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
79361         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
79362         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
79363         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
79364         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
79365         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
79366         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
79368 2012-04-17  Petr Baudis  <pasky@ucw.cz>
79370         * include/sys/uio.h: Change __vector to __iovec to avoid clash
79371         with altivec.
79373 2012-04-16  Marek Polacek  <polacek@redhat.com>
79375         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
79377 2012-04-16  Marek Polacek  <polacek@redhat.com>
79379         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
79380         operands of fdivp instruction.
79382 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
79384         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
79385         * elf/tst-auditmod3b.c: Likewise.
79386         * elf/tst-auditmod4b.c: Likewise.
79387         * elf/tst-auditmod5b.c: Likewise.
79388         * elf/tst-auditmod6b.c: Likewise.
79389         * elf/tst-auditmod6c.c: Likewise.
79390         * elf/tst-auditmod7b.c: Likewise.
79391         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
79392         * sysdeps/x86_64/preconfigure.in: Likewise.
79393         * sysdeps/x86_64/preconfigure: Regenerated.
79395 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
79397         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
79398         __ILP32__.
79400 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
79402         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
79403         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
79405 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
79407         [BZ #13973]
79408         * locale/iso-639.def: Fix gl language name. Spotted by
79409         Yaron Shahrabani.
79411 2012-04-12  Roland McGrath  <roland@hack.frob.com>
79413         [BZ #2074]
79414         * libio/libio.h (__io_write_fn): Update comment.
79416 2012-04-12  Petr Baudis  <pasky@ucw.cz>
79418         [BZ #2074]
79419         * stdio.texi (Hook Functions): The user provided writer function
79420         is not allowed to return -1.
79422 2012-04-11  David S. Miller  <davem@davemloft.net>
79424         * sysdeps/sparc/fpu/libm-test-ulps: Update.
79426 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
79428         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
79429         Add a leading slash to rtkaio.
79431 2012-04-11  Jim Meyering  <meyering@redhat.com>
79433         [BZ #11959]
79434         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
79435         It is not necessarily an error to ignore fwrite's return
79436         value.  One can reliably use ferror to test for errors after
79437         the fact.
79439 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
79441         * bits/types.h (__snseconds_t): New type.
79442         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
79444         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
79445         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
79446         (__SNSECONDS_T_TYPE): Likewise.
79447         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
79448         (__SNSECONDS_T_TYPE): Likewise.
79449         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
79450         (__SNSECONDS_T_TYPE): Likewise.
79452 2012-04-10  Andreas Jaeger  <aj@suse.de>
79454         [BZ #2636]
79455         * manual/time.texi (Processor Time): Return type of times is
79456         elapsed real time since an arbitrary point in the past.
79457         (CPU Time): Move CLK_TCK from here...
79458         (Processor Time): ...to here.  Correct description.
79459         * manual/conf.texi (Constants for Sysconf): Correct description of
79460         _SC_CLK_TCK.
79462 2012-04-10  David S. Miller  <davem@davemloft.net>
79464         [BZ #13967]
79465         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
79466         where the is a gap between DT_REL(A) and DT_JMPREL.
79468 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
79470         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
79471         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
79472         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
79474 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
79476         * elf/dl-support.c (_dl_inhibit_cache): New variable.
79477         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
79478         (dl_main): Handle --inhibit-cache.
79479         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
79480         _dl_inhibit_cache.
79481         * elf/dl-load.c (_dl_map_object): Use it.
79482         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
79484 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
79486         [BZ #13872]
79487         * sysdeps/i386/fpu/e_powl.S (p78): New object.
79488         (__ieee754_powl): Saturate large exponents rather than testing for
79489         overflow of y*log2(x).
79490         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
79491         * math/libm-test.inc (pow_test): Do not permit spurious overflow
79492         exceptions.
79494         [BZ #11521]
79495         * math/s_ctan.c: Include <float.h>.
79496         (__ctan): Avoid internal overflow or cancellation in calculating
79497         denominator.
79498         * math/s_ctanf.c: Likewise.
79499         * math/s_ctanl.c: Likewise.
79500         * math/s_ctanh.c: Likewise.
79501         * math/s_ctanhf.c: Likewise.
79502         * math/s_ctanhl.c: Likewise.
79503         * math/libm-test.inc (ctan_test): Add more tests.
79504         (ctanh_test): Likewise.
79505         * sysdeps/i386/fpu/libm-test-ulps: Update.
79506         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
79508 2012-04-09  Andreas Jaeger  <aj@suse.de>
79510         [BZ #6894]
79511         * manual/filesys.texi (Directory Entries): Mention that d_namlen
79512         is an optional BSD extension.
79514         [BZ #10254]
79515         * manual/stdio.texi (Opening Streams): Document additional fopen
79516         parameters.
79518 2012-04-09  Roland McGrath  <roland@hack.frob.com>
79520         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
79521         %eax without telling the compiler.
79523 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
79525         [BZ # 13963]
79526         * manual/install.texi: Use sourceware.org.
79528 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
79530         [BZ #13873]
79531         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
79532         (__ieee754_pow): Generate overflow and underflow using huge*huge
79533         and tiny*tiny rather than just returning constant infinity or zero
79534         for large exponents.
79535         * math/libm-test.inc (pow_test): Require overflow exceptions for
79536         applicable cases of large exponents.
79538         [BZ #706]
79539         * sysdeps/i386/fpu/e_pow.S (p10): New object.
79540         (__ieee754_pow): Use iterative multiplication algorithm only for
79541         integer exponents with absolute value below 1024.  Check for odd
79542         integer exponents when using algorithm for real exponents.
79543         * math/libm-test.inc (pow_test): Add more tests.
79544         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
79546 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
79548         [BZ #13705]
79549         * math/libm-test.inc (exp_test): Do not allow overflow exception
79550         on underflow test.
79552 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
79554         [BZ #13705]
79555         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
79556         instead of __kernel_standard_f.
79558 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
79560         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
79561         * sysdeps/x86_64/memset_chk.S: Likewise.
79563 2012-04-08  Andreas Jaeger  <aj@suse.de>
79565         [BZ #10153]
79566         * manual/startup.texi (Environment Access): Describe return value
79567         for putenv and setenv.
79569         [BZ #6895]
79570         * manual/filesys.texi (Directory Entries): Add description for
79571         DT_LNK.
79573         [BZ #6890]
79574         * manual/filesys.texi (Directory Entries): Clarify that it's file
79575         system not operating system in the description of DT_UNKNOWN.
79577         [BZ #6578]
79578         * manual/syslog.texi (closelog): Fix reference, it's openlog.
79580 2012-04-08  Stephen Compall  <s11@member.fsf.org>
79582         [BZ #6649]
79583         * manual/llio.texi (Opening and Closing Files): Add cross
79584         reference to explain mode argument.
79586 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
79588         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
79589         * sysdeps/x86_64/memset_chk.S: Likewise.
79591 2012-04-07  David S. Miller  <davem@davemloft.net>
79593         * elf/elf.h (R_SPARC_WDISP10): Define.
79594         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
79595         R_SPARC_SIZE32.
79596         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
79597         R_SPARC_SIZE64 and R_SPARC_H34.
79599 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
79601         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
79602         conditions and remove no longer applicable assertion.
79604 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
79606         * bits/byteswap.h: Include <features.h>.
79607         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
79608         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
79610 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
79612         * bits/byteswap.h (__bswap_16): Removed.
79613         Include <bits/byteswap-16.h> to get __bswap_16.
79614         * sysdeps/i386/bits/byteswap.h: Likewise.
79615         * sysdeps/s390/bits/byteswap.h: Likewise.
79616         * sysdeps/x86_64/bits/byteswap.h: Likewise.
79617         * bits/byteswap-16.h: New file.
79618         * sysdeps/i386/bits/byteswap-16.h: Likewise.
79619         * sysdeps/s390/bits/byteswap-16.h: Likewise.
79620         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
79621         * string/Makefile (headers): Add bits/byteswap-16.h.
79623 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
79625         [BZ #13895]
79626         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
79627         extra indirection.
79628         * nss/Makefile (tests-static, tests): Add tst-nss-static.
79629         * nss/tst-nss-static.c: New.
79631 2012-04-06  Robert Millan  <rmh@gnu.org>
79633         [BZ #6486]
79634         * manual/llio.texi (File Position Primitive): lseek
79635         refers to WHENCE when it really means OFFSET.
79637 2012-04-06  Andreas Jaeger  <aj@suse.de>
79639         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
79640         strncmp declarations.
79642         * abilist/libc.abilist: Add __poll and __ppoll.
79644 2012-04-05  David S. Miller  <davem@davemloft.net>
79646         * scripts/check-local-headers.sh: Accept a host triplet in the
79647         path matched by the exclude regexp.
79649         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
79650         definition.
79651         * sysdeps/powerpc/powerpc32/dl-machine.h
79652         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
79653         * sysdeps/s390/s390-32/dl-machine.h
79654         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
79655         * sysdeps/sparc/sparc32/dl-machine.h
79656         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
79657         * sysdeps/sparc/sparc64/dl-machine.h
79658         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
79660         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
79661         lazy binding.
79662         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
79663         undefined symbol errors.
79665         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
79666         DT_NEEDED entries.
79668 2012-04-05  Michael Matz  <matz@suse.de>
79670         [BZ #13592]
79671         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
79673 2012-04-05  Andreas Jaeger  <aj@suse.de>
79675         [BZ #13908]
79676         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
79677         comment.
79679 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
79681         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
79682         which ROUND is no valid rounding mode.
79684 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
79686         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
79687         read again.
79688         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
79690 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
79692         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
79693         an exception using FPU order intentionally.
79695 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
79697         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
79698         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
79699         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
79700         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
79702 2012-04-05  Simon Josefsson  <simon@josefsson.org>
79704         [BZ #12340]
79705         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
79706         EINVAL when BUFLEN is too smal.
79708 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
79710         [BZ #13553]
79711         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
79712         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
79714 2012-04-03  Andreas Jaeger  <aj@suse.de>
79716         [BZ #13938]
79717         * manual/setjmp.texi (System V contexts): Fix sentence.
79719         [BZ #13926]
79720         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
79721         New macro for this case.
79722         [!__GNUC__] (__bswap_64): New inline function for this case.
79723         * sysdeps/x86_64/bits/byteswap.h: Likewise.
79724         * bits/byteswap.h: Likewise.
79725         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
79726         ull, guard with __GLIBC_HAVE_LONG_LONG.
79728         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
79729         __GLIBC_HAVE_LONG_LONG.
79731         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
79732         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
79734 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
79736         [BZ #13691]
79737         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
79738         inptr and inend, rather than using last_ch.
79740 2012-04-02  David S. Miller  <davem@davemloft.net>
79742         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
79743         * stdio-common/printf-parse.h (read_int): Change return type to
79744         'int', return -1 on INT_MAX overflow.
79745         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
79746         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
79747         overflows INT_MAX.  Check for overflow of in-format-string precision
79748         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
79749         SIZE_MAX not INT_MAX for integer overflow test.
79750         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
79751         skip the construct in the format string but do not record anything.
79752         * stdio-common/bug22.c: Adjust to test both width/prevision
79753         INT_MAX overflow as well as total length INT_MAX overflow.  Check
79754         explicitly for proper errno values.
79756 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
79758         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
79759         CHAR_MAX.
79760         * string/test-strcmp.c [! WIDE]: Likewise.
79761         * time/tst-mktime2.c: Likewise for INT_MAX.
79762         * string/test-string.h: #include <sys/param.h> for MIN.
79764         * csu/init-first.c (__libc_init_first): Call __ctype_init.
79765         * sysdeps/i386/init-first.c (init): Likewise.
79766         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
79767         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
79768         * sysdeps/sh/init-first.c (init): Likewise.
79770 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
79772         * po/ru.po: Update from translation team.
79773         * po/vi.po: Likewise.
79775 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
79777         * resolv/nss_dns/dns-host.c: Merge copyright years.
79779 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
79781         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
79782         Optimize memcpy with prefetch if
79783         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
79784         src, dst pointers have unequal 16 byte alignments.
79786 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
79788         [BZ #13928]
79789         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
79790         from a CNAME entry and return the minimum ttl for the query.
79791         (gaih_getanswer_slice): Likewise.
79793 2012-03-30  Jeff Law  <law@redhat.com>
79795         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
79796         due to long keys.
79797         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
79798         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
79800         * resolv/nss_dns/dns-host.c: Update copyright year.
79802 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
79804         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
79805         requests to save a system call.  Fix check that all bytes are sent.
79807         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
79808         comments for sendmmsg.
79810 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
79812         [BZ #13691]
79813         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
79814         with only 1 character between 0x0041 and 0x01b0.
79815         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
79816         * wcsmbs/tst-mbsnrtowcs.c: New file.
79818 2012-03-29  David S. Miller  <davem@davemloft.net>
79820         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
79821         small copies by hand.
79823 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
79825         [BZ #13761]
79826         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
79827         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
79828         group memberships.
79830 2012-03-28  David S. Miller  <davem@davemloft.net>
79832         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
79833         that branches into memcpy.
79834         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
79835         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
79836         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
79837         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
79838         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
79839         bits.
79840         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
79841         implementation too.
79842         * sysdeps/sparc/mempcpy.S: New file.
79844         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
79845         the IFUNC routine in the libc case.
79846         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
79848         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
79849         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
79850         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
79851         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
79852         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
79853         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
79854         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
79855         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
79857         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
79858         loop to 256 bytes instead of 64 bytes and fix test signedness.
79860         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
79861         * sysdeps/sparc/sparc32/Makefile: rather than here...
79862         * sysdeps/sparc/sparc64/Makefile: and here.
79864 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
79866         * malloc/mallocbug.c: Avoid warnings about unused variables.
79868 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
79870         [BZ #13760]
79871         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
79872         in the right place. Discard and retry query if response is
79873         larger than input buffer size.
79875 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
79877         [BZ #369]
79878         [BZ #2678]
79879         [BZ #3866]
79880         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
79881         x for large integer exponent.
79882         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
79883         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
79884         sign of result as needed afterwards.
79885         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
79886         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
79887         result for underflowing pow the same as for overflow.
79888         (__kernel_standard_l): Handle powl overflow and underflow here
79889         rather than calling __kernel_standard.
79890         * math/libm-test.inc (pow_test): Add more tests.
79892         [BZ #3868]
79893         [BZ #13879]
79894         [BZ #13910]
79895         [BZ #13911]
79896         [BZ #13912]
79897         [BZ #13913]
79898         [BZ #13915]
79899         [BZ #13916]
79900         [BZ #13917]
79901         [BZ #13918]
79902         [BZ #13919]
79903         [BZ #13920]
79904         [BZ #13921]
79905         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
79906         * sysdeps/ieee754/k_standard.c: Include <float.h>.
79907         (__kernel_standard_l): New function.
79908         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
79909         __kernel_standard.
79910         * math/w_acosl.c (__acosl): Likewise.
79911         * math/w_asinl.c (__asinl): Likewise.
79912         * math/w_atan2l.c (__atan2l): Likewise.
79913         * math/w_atanhl.c (__atanhl): Likewise.
79914         * math/w_coshl.c (__coshl): Likewise.
79915         * math/w_exp10l.c (__exp10l): Likewise.
79916         * math/w_exp2l.c (__exp2l): Likewise.
79917         * math/w_fmodl.c (__fmodl): Likewise.
79918         * math/w_hypotl.c (__hypotl): Likewise.
79919         * math/w_j0l.c (__j0l, __y0l): Likewise.
79920         * math/w_j1l.c (__j1l, __y1l): Likewise.
79921         * math/w_jnl.c (__jnl, __ynl): Likewise.
79922         * math/w_lgammal.c (__lgammal): Likewise.
79923         * math/w_log10l.c (__log10l): Likewise.
79924         * math/w_log2l.c (__log2l): Likewise.
79925         * math/w_logl.c (__logl): Likewise.
79926         * math/w_powl.c (__powl): Likewise.
79927         * math/w_remainderl.c (__remainderl): Likewise.
79928         * math/w_scalbl.c (sysv_scalbl): Likewise.
79929         * math/w_sinhl.c (__sinhl): Likewise.
79930         * math/w_sqrtl.c (__sqrtl): Likewise.
79931         * math/w_tgammal.c (__tgammal): Likewise.
79932         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
79933         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
79934         * math/libm-test.inc (acos_test): Add more tests.
79935         (acosh_test): Likewise.
79936         (asin_test): Likewise.
79937         (atanh_test): Likewise.
79938         (exp_test): Likewise.
79939         (exp10_test): Likewise.
79940         (exp2_test): Likewise.
79941         (expm1_test): Likewise.
79942         (lgamma_test): Likewise.
79943         (log_test): Likewise.
79944         (log10_test): Likewise.
79945         (log1p_test): Likewise.
79946         (log2_test): Likewise.
79947         (pow_test): Do not allow some spurious overflow exceptions.
79948         (sqrt_test): Add more tests.
79949         (tgamma_test): Likewise.
79950         (y0_test): Likewise.
79951         (y1_test): Likewise.
79952         (yn_test): Likewise.
79954 2012-03-27  Anton Blanchard  <anton@samba.org>
79956         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
79957         MAP_HUGETLB.
79958         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
79959         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
79960         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
79962 2012-03-27  David S. Miller  <davem@davemloft.net>
79964         * conform/Makefile: Run run-conformtest.sh using $(BASH).
79966         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
79967         have-as-vis3 check.
79969 2012-03-27  Andreas Jaeger  <aj@suse.de>
79971         * sysdeps/x86_64/elf/configure.in: Moved to ...
79972         * sysdeps/x86_64/configure.in: ... here.
79973         * sysdeps/x86_64/elf/start.S: Moved to ...
79974         * sysdeps/x86_64/start.S: ... here.
79975         * sysdeps/x86_64/elf/configure: Delete.
79977         * sysdeps/x86_64/configure.in: Merge contents from
79978         sysdeps/i386/configure.in (without i686 check).
79980         * sysdeps/i386/elf/Versions: Merge into ...
79981         * sysdeps/i386/Versions: ... this.
79982         * sysdeps/i386/elf/Versions: Delete file.
79983         * sysdeps/i386/elf/start.S: Moved to ...
79984         * sysdeps/i386/start.S: ...here.
79985         * sysdeps/i386/elf/configure.in: Merge into...
79986         * sysdeps/i386/configure.in: ...here.
79987         * sysdeps/i386/elf/configure.in: Delete file.
79988         * sysdeps/i386/elf/configure: Delete file.
79990         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
79991         * debug/backtracesyms.c: ... here.
79992         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
79993         * debug/backtracesymsfd.c: ... here.
79994         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
79995         * sysdeps/generic/ifunc-sel.h: ... here.
79997         * sysdeps/unix/i386/start.c: Delete file.
79998         * sysdeps/unix/sparc/start.c: Delete file.
79999         * sysdeps/unix/start.c: Delete file.
80001         * sysdeps/sh/elf/configure.in: Moved to ...
80002         * sysdeps/sh/configure.in: ... here.
80003         * sysdeps/sh/elf/start.S: Moved to ...
80004         * sysdeps/sh/start.S: ... here.
80005         * sysdeps/sh/elf/configure: Delete file.
80007         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
80008         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
80009         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
80010         * sysdeps/powerpc/powerpc64/entry.h: ... here.
80011         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
80012         * sysdeps/powerpc/powerpc64/start.S: here.
80013         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
80014         * sysdeps/powerpc/powerpc64/Makefile: ... this.
80015         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
80016         * sysdeps/powerpc/powerpc64/configure.in: ... this.
80017         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
80019         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
80020         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
80021         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
80022         * sysdeps/powerpc/powerpc32/start.S: ... here.
80023         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
80024         * sysdeps/powerpc/powerpc32/configure.in: ... this.
80025         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
80027         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
80028         * sysdeps/powerpc/ifunc-sel.h: ... here.
80029         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
80030         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
80032         * sysdeps/sparc/elf/configure.in: Moved to ...
80033         * sysdeps/sparc/configure.in: ... here.
80034         * sysdeps/sparc/elf/configure: Delete file.
80035         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
80036         * sysdeps/sparc/sparc32/start.S: ... here.
80037         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
80038         * sysdeps/sparc/sparc64/start.S: ... here.
80039         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
80040         * sysdeps/sparc/sparc32/Makefile: ... this.
80041         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
80042         * sysdeps/sparc/sparc64/Makefile: ... this.
80044         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
80045         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
80046         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
80047         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
80048         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
80049         * sysdeps/s390/s390-32/setjmp.S: ... here.
80050         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
80051         * sysdeps/s390/s390-32/configure.in: ... here.
80052         * sysdeps/s390/s390-32/elf/configure: Delete file.
80053         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
80054         * sysdeps/s390/s390-32/start.S: ... here.
80056         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
80057         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
80058         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
80059         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
80060         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
80061         * sysdeps/s390/s390-64/setjmp.S: ... here.
80062         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
80063         * sysdeps/s390/s390-64/configure.in: ... here
80064         * sysdeps/s390/s390-64/elf/configure: Delete file.
80065         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
80066         * sysdeps/s390/s390-64/start.S: ... here.
80067         * sysdeps/s390/s390-64/elf/configure: Delete.
80069         * configure.in: Remove support for elf directories in sysdeps.
80071         * configure: Regenerated.
80072         * sysdeps/i386/configure: Regenerated.
80073         * sysdeps/powerpc/powerpc32/configure: Regenerated.
80074         * sysdeps/powerpc/powerpc64/configure: Regenerated.
80075         * sysdeps/s390/s390-32/configure: Regenerated.
80076         * sysdeps/s390/s390-64/configure: Regenerated.
80077         * sysdeps/sh/configure: Regenerated.
80078         * sysdeps/sparc/configure: Regenerated.
80079         * sysdeps/x86_64/configure: Regenerated.
80081 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
80083         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
80085         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
80086         denormal result into account.
80088 2012-03-25  Roland McGrath  <roland@hack.frob.com>
80090         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
80091         Reported by Allan McRae <allan@archlinux.org>.
80093 2012-03-23  Jeff Law  <law@redhat.com>
80095         * nss/getnssent.c (__nss_getent): Fix typo.
80097 2012-03-23  David S. Miller  <davem@davemloft.net>
80099         * sysdeps/sparc/fpu/libm-test-ulps: Update.
80101 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
80103         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
80104         to pad to uint64_t for each field.
80105         (dl_tls_index): Replace unsigned long with uint64_t.
80107 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
80108         Paul Pluzhnikov  <ppluzhnikov@google.com>
80110         [BZ #6528]
80111         * grp/Makefile (otherlibs): Don't set it.
80112         * inet/Makefile (otherlibs): Likewise.
80113         * login/Makefile (otherlibs): Likewise.
80114         * nscd/Makefile (otherlibs): Likewise.
80115         * posix/Makefile (otherlibs): Likewise.
80116         * pwd/Makefile (otherlibs): Likewise.
80117         * rt/Makefile (otherlibs): Likewise.
80118         * sunrpc/Makefile (otherlibs): Likewise.
80119         * nss/Makefile (otherlibs): Likewise.
80120         Add libnss_files to routines and static-only-routines.
80121         ($(objpfx)getent): Remove rule.
80122         * resolv/Makefile: Add libnss_dns and libresolv to routines and
80123         static-only-routines.
80125 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
80127         [BZ #13892]
80128         * math/s_cexp.c: Include <float.h>.
80129         (__cexp): Handle exp result overflowing not necessarily
80130         overflowing both real and imaginary parts of result.
80131         * math/s_cexpf.c: Likewise.
80132         * math/s_cexpl.c: Likewise.
80133         * math/libm-test.inc (cexp_test): Add more tests.
80134         * sysdeps/i386/fpu/libm-test-ulps: Update.
80135         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
80137 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
80139         * include/link.h (ELFW): New macro.
80140         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
80141         Replace ELF64_R_TYPE with ELFW(R_TYPE).
80143 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
80145         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
80146         with uint64_t.
80148 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
80150         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
80151         declaration.
80152         (struct La_x32_retval): Likewise.
80154 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
80156         * sysdeps/x86_64/preconfigure.in: New file.
80157         * sysdeps/x86_64/preconfigure: New generated file.
80159 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
80161         [BZ #13824]
80162         * math/e_exp2l.c: Include <float.h>.
80163         (__ieee754_exp2l): Handle overflow and underflow cases
80164         separately.  Only pass fractional part of argument to
80165         __ieee754_expl.
80166         * math/libm-test.inc (exp2_test): Add more tests.
80168         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
80169         negating x to take absolute value.
80170         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
80171         Likewise.
80172         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
80173         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
80174         Likewise.
80175         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
80176         computing low part if x was negated.
80177         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
80179 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
80181         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
80182         la_x32_gnu_pltexit.
80183         (pltexit): Cast int_retval to ptrdiff_t.
80184         * elf/tst-auditmod3b.c: Likewise.
80185         * elf/tst-auditmod4b.c: Likewise.
80186         * elf/tst-auditmod5b.c: Likewise.
80187         * elf/tst-auditmod6b.c: Likewise.
80188         * elf/tst-auditmod6c.c: Likewise.
80189         * elf/tst-auditmod7b.c: Likewise.
80191         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
80192         and x32_gnu_pltexit.
80194         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
80195         __ELF_NATIVE_CLASS.
80196         (La_x32_regs): New macro.
80197         (La_x32_retval): Likewise.
80198         (la_x32_gnu_pltenter): New function prototype.
80199         (la_x32_gnu_pltexit): Likewise.
80201 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
80203         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
80204         exponent.
80206         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
80208         * configure.in (libc_cv_cc_nofma): Check for option to disable
80209         generation of FMA instructions.
80210         * configure: Regenerate.
80211         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
80212         * sysdeps/ieee754/dbl-64/Makefile: New file.
80213         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
80214         Remove brandred-fma4.
80215         (CFLAGS-brandred-fma4.c): Remove.
80216         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
80217         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
80218         define.
80219         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
80220         define.
80222 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
80224         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
80225         LLONG_MAX != LONG_MAX.
80226         (_itoa_word): Use _ITOA_WORD_TYPE on value.
80227         (_fitoa_word): Likewise.
80228         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
80229         LLONG_MAX != LONG_MAX.
80230         * stdio-common/_itowa.h: Include <_itoa.h>.
80231         (_itowa_word): Use _ITOA_WORD_TYPE on value.
80232         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
80233         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
80234         only if not defined.
80235         (_ITOA_WORD_TYPE): Likewise.
80236         (_itoa_word): Use _ITOA_WORD_TYPE on value.
80237         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
80239 2012-03-21  David S. Miller  <davem@davemloft.net>
80241         * sysdeps/sparc/fpu/libm-test-ulps: Update.
80243 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
80245         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
80246         of x86_64 when setting libc_cv_slibdir, libdir and
80247         libc_cv_localedir.
80248         * sysdeps/unix/sysv/linux/configure: Regenerated.
80250 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
80252         * manual/lang.texi (Old Varargs): Remove section.
80253         (How Variadic): Update menu.
80254         (va_start): Do not mention varargs.h.
80256 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
80257             Joseph Myers  <joseph@codesourcery.com>
80259         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
80260         link test.
80261         * configure: Regenerated.
80263 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
80265         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
80266         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
80267         conformtest.pl
80269 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
80271         * NOTES: Remove.
80272         * Makefile (files-for-dist): Remove NOTES.
80273         (NOTES): Remove rule.
80274         * README: Don't refer to NOTES.
80275         * manual/creature.texi: Don't include macros.texi.
80276         * manual/intro.texi (creature.texi): Remove comment referring to
80277         NOTES.
80279         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
80280         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
80281         * configure: Regenerated.
80282         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
80283         LIBC_TRY_CC_OPTION.
80284         (libc_cv_as_i686): Likewise.
80285         (libc_cv_cc_avx): Likewise.
80286         (libc_cv_cc_sse2avx): Likewise.
80287         (libc_cv_cc_fma4): Likewise.
80288         (libc_cv_cc_novzeroupper): Likewise.
80289         * sysdeps/i386/configure: Regenerated.
80291         [BZ #13883]
80292         * sysdeps/i386/fpu/s_cexp.S: Remove.
80293         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
80294         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
80295         * math/libm-test.inc (cexp_test): Add more tests.
80296         * sysdeps/i386/fpu/libm-test-ulps: Update.
80297         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
80299 2012-03-21  Allan McRae  <allan@archlinux.org>
80301         * timezone/Makefile: Do not install iso3166.tab and zone.tab
80303 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
80305         [BZ #13871]
80306         * math/w_exp2.c: Do not include <float.h>.
80307         (o_threshold, u_threshold): Remove.
80308         (__exp2): Calculate result before checking finiteness and calling
80309         __kernel_standard.
80310         * math/w_exp2f.c: Likewise.
80311         * math/w_exp2l.c: Likewise.
80312         * math/libm-test.inc (exp2_test): Require overflow exception for
80313         1e6 input.
80315         [BZ #3866]
80316         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
80317         range of signed 64-bit integers before using fistpll.  Remove
80318         checks for whether integers fit in mantissa bits.
80319         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
80320         the range of signed 32-bit integers before using fistpl.  Remove
80321         checks for whether integers fit in mantissa bits.
80322         * sysdeps/i386/fpu/e_powl.S (p64): New object.
80323         (__ieee754_powl): Test for y outside the range of signed 64-bit
80324         integers before using fistpll.  Reduce 64-bit values to 63-bit
80325         ones as needed.
80326         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
80327         divide-by-zero is raised for zero to large negative powers.
80328         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
80329         (__ieee754_powl): Test for y outside the range of signed 64-bit
80330         integers before using fistpll.  Reduce 64-bit values to 63-bit
80331         ones as needed.
80332         * math/libm-test.inc (pow_test): Add more tests.
80334 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
80336         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
80337         <stdio-common/_itoa.h>.
80338         * debug/segfault.c: Likewise.
80339         * elf/dl-cache.c: Likewise.
80340         * elf/dl-minimal.c: Likewise.
80341         * elf/dl-misc.c: Likewise.
80342         * elf/dl-sysdep.c: Likewise.
80343         * elf/dl-version.c: Likewise.
80344         * elf/rtld.c: Likewise.
80345         * hurd/hurdsock.c: Likewise.
80346         * hurd/lookup-retry.c: Likewise.
80347         * malloc/malloc.c: Likewise.
80348         * malloc/mtrace.c: Likewise.
80349         * nscd/nscd_getgr_r.c: Likewise.
80350         * nscd/nscd_getpw_r.c: Likewise.
80351         * nscd/nscd_getserv_r.c: Likewise.
80352         * posix/getopt_init.c: Likewise.
80353         * posix/wordexp.c: Likewise.
80354         * stdio-common/_itoa.c: Likewise.
80355         * stdio-common/printf_fphex.c: Likewise.
80356         * stdio-common/vfprintf.c: Likewise.
80357         * string/_strerror.c: Likewise.
80358         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
80359         * sysdeps/i386/i686/hp-timing.h: Likewise.
80360         * sysdeps/mach/_strerror.c: Likewise.
80361         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
80362         * sysdeps/mach/hurd/sethostid.c: Likewise.
80363         * sysdeps/mach/hurd/xmknodat.c: Likewise.
80364         * sysdeps/mach/xpg-strerror.c: Likewise.
80365         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
80366         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
80367         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
80368         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
80369         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
80370         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
80371         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
80372         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
80373         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
80374         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
80375         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
80376         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
80377         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
80378         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
80379         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
80380         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
80381         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
80382         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
80383         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
80384         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
80385         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
80387         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
80389         * stdio-common/_itoa.h: Moved to ...
80390         * sysdeps/generic/_itoa.h: Here.
80392         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
80394         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
80395         instead of "_itoa.h" and "_itowa.h".
80396         * stdio-common/vfprintf.: Likewise.
80398 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
80400         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
80401         <bits/wordsize.h>.
80402         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
80403         (__signbit): Likewise.
80404         (llrintf): Likewise.
80405         (llrint): Likewise.
80407 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
80409         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
80410         __WORDSIZE != 64.
80412 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
80414         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
80415         OVERFLOW_EXCEPTION_OK.
80416         * math/libm-test.inc ("Philosophy"): Update comment about
80417         exception testing.
80418         (OVERFLOW_EXCEPTION): Define.
80419         (OVERFLOW_EXCEPTION_OK): Likewise.
80420         (INVALID_EXCEPTION_OK): Renumber.
80421         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
80422         (IGNORE_ZERO_INF_SIGN): Likewise.
80423         (test_exceptions): Handle FE_OVERFLOW.
80424         (exp10_test): Expect overflow exceptions.
80425         (exp2_test): Likewise.
80426         (expm1_test): Likewise.
80427         (nextafter_test): Likewise.
80428         (pow_test): Likewise.
80429         (scalbn_test): Likewise.
80430         (scalbln_test): Likewise.
80432 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
80434         * sysdeps/x86_64/bits/atomic.h
80435         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
80436         64bit integer.
80437         (atomic_exchange_acq): Likewise.
80438         (__arch_exchange_and_add_body): Likewise.
80439         (__arch_add_body): Likewise.
80440         (atomic_add_negative): Likewise.
80441         (atomic_add_zero): Likewise.
80443 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
80445         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
80446         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
80448 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
80450         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
80451         Check __x86_64__ instead of __WORDSIZE.
80453 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
80455         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
80457 2012-03-19  David S. Miller  <davem@davemloft.net>
80459         * sysdeps/sparc/fpu/libm-test-ulps: Update.
80461         * sysdeps/sparc/fpu/fenv_private.h: New file.
80462         * sysdeps/sparc/fpu/math_private.h: Use it.
80463         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
80464         Remove.
80465         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
80466         (libc_feholdexcept_setroundl): Remove.
80467         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
80468         Remove.
80469         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
80470         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
80472 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
80474         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
80475         int64_t instead of long int.
80476         (INSERT_WORDS64): Likewise.
80478 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
80480         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
80481         _Unwind_GetCFA return to _Unwind_Ptr first.
80483 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
80485         [BZ #13629]
80486         * math/s_clog.c: Include <float.h>.
80487         (__clog): Scale large or subnormal inputs.
80488         * math/s_clogf.c: Likewise.
80489         * math/s_clogl.c: Likewise.
80490         * math/s_clog10.c: Include <float.h>.
80491         (M_LOG10_2): Define.
80492         (__clog10): Scale large or subnormal inputs.
80493         * math/s_clog10f.c: Likewise.
80494         * math/s_clog10l.c: Likewise.
80495         * math/libm-test.inc (clog_test): Add more tests.
80496         (clog10_test): Likewise.
80497         * sysdeps/i386/fpu/libm-test-ulps: Update.
80498         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
80500         [BZ #11451]
80501         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
80502         x and y.
80503         * math/libm-test.inc (atan2_test): Add another test.
80505         * Makerules (common-objdir-compile): Remove.
80506         * sysdeps/unix/Makefile (config-generated): Do not add
80507         $(unix-generated) to variable.
80508         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
80509         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
80510         Remove rule.
80511         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
80512         Likewise.
80513         [generic bits/local_lim.h] (before-compile): Do not append to
80514         variable.
80515         [generic bits/local_lim.h] (common-generated): Likewise.
80516         [generic sys/param.h] (before-compile): Do not append to variable.
80517         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
80518         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
80519         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
80520         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
80521         include.
80522         [generic sys/param.h] (sys/param.h-includes): Remove variable.
80523         [generic sys/param.h] (sys/param.h-includes): Remove rule.
80524         [generic sys/param.h] ($(addprefix
80525         $(common-objpfx),$(sys/param.h-includes))): Likewise.
80526         [generic sys/param.h] (common-generated): Do not append to
80527         variable.
80528         [generic sys/param.h] (sysdep_headers): Likewise.
80529         [generic bits/errno.h] (before-compile): Do not append to
80530         variable.
80531         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
80532         rule.
80533         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
80534         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
80535         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
80536         [generic bits/errno.h] (common-generated): Do not append to
80537         variable.
80538         [generic bits/ioctls.h] (before-compile): Do not append to
80539         variable.
80540         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
80541         rule.
80542         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
80543         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
80544         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
80545         rule.
80546         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
80547         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
80548         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
80549         [generic bits/ioctls.h] (common-generated): Do not append to
80550         variable.
80551         [generic sys/syscall.h] (syscall.h): Remove variable.
80552         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
80553         rule.
80554         [generic sys/syscall.h] (before-compile): Do not append to
80555         variable.
80556         [generic sys/syscall.h] (common-generated): Likewise.
80557         * sysdeps/unix/errnos-tmpl.c: Remove file.
80558         * sysdeps/unix/errnos.awk: Likewise.
80559         * sysdeps/unix/ioctls-tmpl.c: Likewise.
80560         * sysdeps/unix/ioctls.awk: Likewise.
80561         * sysdeps/unix/mk-local_lim.c: Likewise.
80562         * sysdeps/unix/snarf-ioctls: Likewise.
80564 2012-03-19  Richard Henderson  <rth@twiddle.net>
80566         * sysdeps/i386/fpu/fenv_private.h: New file.
80567         * sysdeps/i386/fpu/math_private.h: Use it.
80568         (math_opt_barrier, math_force_eval): Remove.
80569         (libc_feholdexcept_setround_53bit): Remove.
80570         (libc_feupdateenv_53bit): Remove.
80571         * sysdeps/x86_64/fpu/math_private.h: Likewise.
80572         (math_opt_barrier, math_force_eval): Remove.
80573         (libc_feholdexcept): Remove.
80574         (libc_feholdexcept_setround): Remove.
80575         (libc_fetestexcept, libc_fesetenv): Remove.
80576         (libc_feupdateenv_test): Remove.
80577         (libc_feupdateenv, libc_feholdsetround): Remove.
80578         (libc_feresetround): Remove.
80580         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
80581         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
80583         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
80584         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
80585         (libc_feupdateenv_testl): New.
80586         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
80587         (libc_feupdateenv_testf): New.
80588         (libc_feupdateenv): Use libc_feupdateenv_test.
80589         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
80590         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
80592         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
80593         (libc_feholdsetroundf, libc_feholdsetroundl): New.
80594         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
80595         (libc_feresetround_noex): New.
80596         (libc_feresetround_noexf): New.
80597         (libc_feresetround_noexl): New.
80598         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
80599         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
80600         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
80601         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
80602         SET_RESTORE_ROUND.
80603         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
80604         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
80605         (__cos): Likewise.
80606         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
80607         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
80608         SET_RESTORE_ROUND_NOEX.
80609         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
80610         SET_RESTORE_ROUND_NOEXF.
80611         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
80612         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
80613         (libc_feholdsetroundf): New.
80614         (libc_feresetround, libc_feresetroundf): New.
80616         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
80617         (libc_feholdexcept_setround_53bit): Convert from macro to function.
80618         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
80620         * sysdeps/generic/math_private.h: Include <fenv.h>.
80621         (default_libc_feholdexcept): New.
80622         (default_libc_feholdexcept_setround): New.
80623         (default_libc_fesetenv, default_libc_feupdateenv): New.
80624         (libc_feholdexcept): Only define if undefined.
80625         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
80626         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
80627         (libc_feholdexcept_setroundl): Likewise.
80628         (libc_feholdexcept_setround_53bit): Likewise.
80629         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
80630         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
80631         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
80632         (libc_feupdateenv_53bit): Likewise.
80633         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
80634         (libc_feholdexcept): Convert from macro to inline function.
80635         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
80636         (libc_fesetenv, libc_feupdateenv): Likewise.
80638         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
80639         not previously defined.
80640         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
80641         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
80642         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
80643         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
80644         * sysdeps/ieee754/flt-32/math_private.h: New file.
80645         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
80646         math_private.h below SET_FLOAT_WORD.
80647         (__isnan, __isinf_ns, __finite): Remove.
80648         (__isnanf, __isinf_nsf, __finitef): Remove.
80650 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
80652         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
80654 2012-03-17  David S. Miller  <davem@davemloft.net>
80656         [BZ #6471]
80657         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
80658         for 2.16.
80660 2012-03-16  David S. Miller  <davem@davemloft.net>
80662         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
80663         warnings.
80665         [BZ #6471]
80666         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
80667         properly.
80668         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
80669         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
80670         sysdep_routines when subdir is sysvipc.
80671         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
80672         __getshmlba helper.
80674         * sysdeps/sparc/fpu/libm-test/ulps: Update.
80676 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
80678         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
80679         [__LP64__].
80681 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
80683         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
80684         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
80685         (__lround): Renamed to ...
80686         (__llround): This.  Replace long int with long long int.
80687         Define lround functions as aliases of llround functions.
80688         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
80690 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
80692         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
80693         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
80694         adresses to uintptr_t.  Replace "long int" and "unsigned long
80695         int" with "greg_t" on va_arg.
80697 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
80699         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
80700         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
80702         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
80703         Move e_machine check before EI_CLASS check.  Handle x32
80704         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
80705         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
80706         SKIP_EM_IA_64 and include
80707         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
80709         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
80710         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
80711         (add_system_dir): New macro.
80713         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
80714         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
80716 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
80718         [BZ #2551]
80719         [BZ #2552]
80720         [BZ #2553]
80721         [BZ #2554]
80722         [BZ #2562]
80723         [BZ #2563]
80724         [BZ #2565]
80725         [BZ #2566]
80726         [BZ #2576]
80727         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
80728         (y0): Likewise.
80729         * math/w_j0f.c (j0f): Likewise.
80730         (y0f): Likewise.
80731         * math/w_j0l.c (__j0l): Likewise.
80732         (__y0l): Likewise.
80733         * math/w_j1.c (j1): Likewise.
80734         (y1): Likewise.
80735         * math/w_j1f.c (j1f): Likewise.
80736         (y1f): Likewise.
80737         * math/w_j1l.c (__j1l): Likewise.
80738         (__y1l): Likewise.
80739         * math/w_jn.c (jn): Likewise.
80740         (yn): Likewise.
80741         * math/w_jnf.c (jnf): Likewise.
80742         (ynf): Likewise.
80743         * math/w_jnl.c (__jnl): Likewise.
80744         (__ynl): Likewise.
80745         * math/libm-test.inc (j0_test): Add more tests.
80746         (j1_test): Likewise.
80747         (jn_test): Likewise.  Add trailing semicolon to existing test.
80748         (y0_test): Likewise.
80749         (y1_test): Likewise.
80750         * sysdeps/i386/fpu/libm-test-ulps: Update.
80751         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
80753         [BZ #13851]
80754         [BZ #13854]
80755         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
80756         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
80757         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
80758         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
80759         (__tanl): Set errno for infinite argument.
80760         * sysdeps/i386/fpu/mptan.c: Remove.
80761         * sysdeps/i386/fpu/s_tan.S: Likewise.
80762         * sysdeps/i386/fpu/s_tanl.S: Likewise.
80763         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
80764         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
80765         * math/libm-test.inc (tan_test): Add more tests and enable more
80766         tests for double and long double.
80767         * sysdeps/i386/fpu/libm-test-ulps: Update.
80768         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
80770 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
80772         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
80773         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
80775 2012-03-16  Roland McGrath  <roland@hack.frob.com>
80777         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
80778         * configure.in: Use it for both main tree and add-ons.
80779         * configure: Regenerated.
80781 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
80783         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
80785 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
80787         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
80788         in comment.
80790         [BZ #13851]
80791         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
80792         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
80793         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
80794         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
80795         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
80796         infinite argument.
80797         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
80798         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
80799         != 0 for prec == 2.
80800         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
80801         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
80802         * sysdeps/i386/fpu/s_cosl.S: Likewise.
80803         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
80804         * sysdeps/i386/fpu/s_sinl.S: Likewise.
80805         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
80806         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
80807         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
80808         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
80809         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
80810         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
80811         * math/libm-test.inc (cos_test): Add more tests and enable more
80812         tests for long double.
80813         (sin_test): Likewise.
80814         (sincos_test): Likewise.
80815         * sysdeps/i386/fpu/libm-test-ulps: Update.
80816         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
80818 2012-03-16  David S. Miller  <davem@davemloft.net>
80820         * sysdeps/sparc/fpu/math_private.h: New file.
80822 2012-03-15  David S. Miller  <davem@davemloft.net>
80824         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
80825         file.
80826         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
80827         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
80828         file.
80829         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
80830         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
80831         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
80832         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
80833         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
80834         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
80835         sysdep routines.
80836         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
80838         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
80839         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
80841         * sysdeps/sparc/sparc-ifunc.h: New file.
80842         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
80843         sparc-ifunc.h
80844         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
80845         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
80846         Likewise.
80847         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
80848         Likewise.
80849         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
80850         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
80851         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
80852         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
80853         Likewise.
80854         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
80855         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
80856         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
80857         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
80858         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
80859         Likewise.
80860         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
80861         Likewise.
80862         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
80863         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
80864         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
80865         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
80866         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
80867         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
80868         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
80869         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
80870         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
80871         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
80872         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
80873         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
80874         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
80875         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
80876         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
80877         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
80878         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
80879         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
80880         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
80881         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
80882         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
80883         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
80884         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
80885         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
80887 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
80889         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
80890         scaling.
80891         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
80893 2012-03-15  Andreas Jaeger  <aj@suse.de>
80895         [BZ #13852]
80896         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
80897         ieee754/flt-32 implementation for sin, cos and sincos.
80898         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
80899         * sysdeps/i386/fpu/s_cosf.S: Likewise.
80900         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
80901         * sysdeps/i386/fpu/s_sinf.S: Likewise.
80902         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
80903         ieee754/flt-32 implementation for tan.
80905         * math/libm-test.inc (cos_test): Enable some large input tests for
80906         float as well
80907         (sin_test): Likewise.
80908         (sincos_test): Likewise.
80909         (tan_test): Add tests for large input.
80911         * sysdeps/i386/fpu/libm-test-ulps: Update.
80913 2012-03-15  Andreas Jaeger  <aj@suse.de>
80915         [BZ #13658]
80916         * math/libm-test.inc (cos_test): Add more test cases.
80917         (sin_test): Likewise.
80918         (sincos_test): Likewise.
80920 2012-03-15  Andreas Jaeger  <aj@suse.de>
80922         [BZ #13837]
80923         * math/libm-test.inc (cos_test): Add a test case for large input
80924         value.
80925         (sin_test): Likewise.
80926         (sincos_test): Likewise.
80928 2012-03-15  Andreas Jaeger  <aj@suse.de>
80929             Joseph Myers  <joseph@codesourcery.com>
80931         [BZ #13658]
80932         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
80933         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
80934         * sysdeps/i386/fpu/branred.c: Likewise.
80935         * sysdeps/i386/fpu/dosincos.c: Likewise.
80936         * sysdeps/i386/fpu/mpa.c: Likewise.
80937         * sysdeps/i386/fpu/s_cos.S: Likewise.
80938         * sysdeps/i386/fpu/s_sin.S: Likewise.
80939         * sysdeps/i386/fpu/s_sincos.S: Likewise.
80940         * sysdeps/i386/fpu/sincos32.c: Likewise.
80942         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
80943         Define.
80944         (libc_feupdateenv_53bit): Define.
80945         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
80946         Define.
80947         (libc_feupdateenv_53bit): Define.
80949         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
80950         53 bit (without extend i386 double precision).
80952         * math/libm-test.inc (sincos_test): Add tests for large input.
80953         (sin): Likewise.
80954         (cos): Likewise.
80956         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
80958 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
80960         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
80962 2012-03-15  David S. Miller  <davem@davemloft.net>
80964         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
80965         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
80966         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
80967         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
80968         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
80969         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
80970         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
80971         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
80972         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
80973         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
80974         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
80975         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
80976         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
80977         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
80978         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
80979         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
80980         file.
80981         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
80982         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
80983         file.
80984         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
80985         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
80986         file.
80987         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
80988         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
80989         file.
80990         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
80991         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
80992         fmin/fmax sysdep routines.
80993         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
80995 2012-03-14  David S. Miller  <davem@davemloft.net>
80997         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
80998         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
80999         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
81000         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
81001         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
81002         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
81003         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
81004         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
81005         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
81006         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
81007         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
81008         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
81009         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
81010         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
81011         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
81012         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
81013         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
81014         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
81015         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
81016         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
81017         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
81018         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
81019         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
81020         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
81021         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
81022         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
81023         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
81024         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
81025         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
81026         routines.
81027         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
81028         file.
81029         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
81030         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
81031         file.
81032         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
81033         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
81034         file.
81035         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
81036         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
81037         file.
81038         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
81039         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
81040         file.
81041         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
81042         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
81043         file.
81044         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
81045         file.
81046         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
81047         file.
81048         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
81049         file.
81050         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
81051         New file.
81052         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
81053         file.
81054         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
81055         file.
81056         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
81057         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
81058         file.
81059         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
81060         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
81061         file.
81062         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
81063         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
81064         file.
81065         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
81066         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
81067         VIS3 routines.
81069         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
81070         New file.
81072         * sysdeps/sparc/fpu/libm-test-ulps: Update.
81074         * sysdeps/sparc/configure.in: New file.
81075         * sysdeps/sparc/configure: Generate.
81076         * configure.in (libc_cv_sparc_as_vis3): Substitute.
81077         * configure: Regenerate.
81078         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
81079         * config.make.in (have-as-vis3): New.
81080         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
81081         available use -Av9d instead of -Av9a.
81082         * sysdeps/sparc/sparc64/Makefile: Likewise.
81083         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
81084         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
81085         New file.
81086         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
81087         file.
81088         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
81089         New file.
81090         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
81091         file.
81092         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
81093         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
81094         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
81095         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
81096         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
81098         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
81099         fzeros/fnegs to load 0x80000000 into a float register instead of
81100         using the stack.
81101         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
81103 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
81105         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
81106         bits/syscall.h.
81107         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
81108         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
81109         ($(inst_includedir)/bits/syscall.h): Remove rule.
81110         ($(objpfx)bits/syscall.d): Include instead of
81111         $(objpfx)syscall-list.d.
81112         (generated): Change syscall-list.h and syscall-list.d to
81113         bits/syscall.h and bits/syscall.d.
81115 2012-03-14  Roland McGrath  <roland@hack.frob.com>
81117         [BZ #13846]
81118         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
81120 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
81122         [BZ #13841]
81123         * math/s_csqrt.c: Include <float.h>.
81124         (__csqrt): Scale large or subnormal inputs.
81125         * math/s_csqrtf.c: Likewise.
81126         * math/s_csqrtl.c: Likewise.
81127         * math/libm-test.inc (csqrt_test): Add more tests.
81128         * sysdeps/i386/fpu/libm-test-ulps: Update.
81129         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
81131         [BZ #13840]
81132         * math/libm-test.inc (hypot_test): Add more tests.
81134 2012-03-13  David S. Miller  <davem@davemloft.net>
81136         [BZ #13840]
81137         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
81138         double-precision for the calculation instead of scaling.
81140 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
81142         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
81143         manipulate bits before adding and subtracting TWO52[sx].
81144         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
81145         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
81146         Likewise.
81147         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
81149 2012-03-13  David S. Miller  <davem@davemloft.net>
81151         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
81152         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
81153         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
81154         rtld-global-offsets.h
81155         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
81157         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
81158         large parameters.
81160         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
81162         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
81163         'err' in the ifdef scope in which it is actually used.
81165         * nss/nss_db/db-init.c: Include string.h
81167 2012-03-12  David S. Miller  <davem@davemloft.net>
81169         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
81170         masking out of the most significant byte of random value used.
81171         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
81172         Fix coding style in previous change.
81174         * sysdeps/unix/sysv/linux/kernel-features.h
81175         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
81176         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
81177         expression.
81178         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
81179         later.
81181 2012-03-11  David S. Miller  <davem@davemloft.net>
81183         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
81184         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
81185         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
81186         for 'resultvar' otherwise things get truncated on 64-bit.
81188         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
81189         Fix masking out of the most significant byte of random value used.
81191         * sysdeps/sparc/fpu/libm-test-ulps: Update.
81193 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
81195         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
81197 2012-03-09  David S. Miller  <davem@davemloft.net>
81199         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
81200         variables with appropriate CPP guards.
81201         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
81202         from the frame pointer, not the stack pointer.  Correct layout
81203         comments.  Fix test on resulting framesize and the management of
81204         the outregs buffer for pltexit.  Preserve floating point return
81205         values across _dl_call_pltexit call.
81206         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
81207         framesize and the management of the outregs buffer for pltexit.
81208         Preserve floating point return values across _dl_call_pltexit
81209         call.
81210         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
81211         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
81212         (la_sparc64_gnu_pltexit): New functions.
81213         (print_exit): Fix format string for return register value.
81215 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
81217         * sunrpc/Makefile (others): Add rpcgen.
81218         ($(objpfx)rpcgen): Remove special build rule and dependency on
81219         libc.
81220         * sunrpc/rpcgen.c: New file.
81222 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
81224         [BZ #13673]
81225         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
81226         * stdio-common/bug-vfprintf-nargs.c: Likewise.
81227         * sysdeps/i386/crti.S: Likewise.
81228         * sysdeps/i386/crtn.S: Likewise.
81229         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
81230         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
81231         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
81232         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
81233         * sysdeps/sh/crti.S: Likewise.
81234         * sysdeps/sh/crtn.S: Likewise.
81235         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
81237         [BZ #13673]
81238         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
81239         with URL.
81240         * locale/programs/locfile-kw.gperf: Likewise.
81241         * locale/programs/charmap-kw.h: Regenerated.
81242         * locale/programs/locfile-kw.h: Likewise.
81244         [BZ #13673]
81245         * intl/plural.y: Replace FSF snail mail address with URL.
81246         * intl/plural.c: Regenerated.
81248 2012-03-09  Richard Henderson  <rth@twiddle.net>
81250         * include/math_private.h: Remove file.
81251         * math/math_private.h: Move file ...
81252         * sysdeps/generic/math_private.h: ... here.
81254         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
81255         * sysdeps/powerpc/fpu/math_private.h: Likewise.
81256         * sysdeps/x86_64/fpu/math_private.h: Likewise.
81258         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
81259         and <math_private.h>.
81260         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
81261         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
81262         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
81263         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
81264         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
81265         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
81266         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
81267         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
81268         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
81269         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
81270         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
81271         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
81272         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
81273         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
81274         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
81275         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
81276         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
81277         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
81278         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
81279         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
81280         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
81281         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
81282         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
81283         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
81284         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
81285         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
81286         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
81287         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
81288         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
81289         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
81290         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
81291         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
81292         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
81293         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
81294         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
81295         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
81296         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
81297         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
81298         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
81299         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
81300         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
81301         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
81302         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
81303         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
81304         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
81305         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
81306         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
81307         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
81308         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
81309         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
81310         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
81311         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
81312         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
81313         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
81314         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
81315         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
81316         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
81317         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
81318         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
81319         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
81320         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
81321         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
81322         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
81323         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
81324         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
81325         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
81326         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
81327         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
81328         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
81329         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
81330         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
81331         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
81332         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
81333         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
81334         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
81335         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
81336         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
81337         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
81338         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
81339         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
81340         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
81341         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
81342         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
81343         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
81344         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
81345         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
81346         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
81347         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
81348         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
81349         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
81350         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
81351         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
81352         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
81353         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
81354         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
81355         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
81356         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
81357         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
81358         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
81359         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
81360         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
81361         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
81362         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
81363         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
81364         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
81365         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
81366         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
81367         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
81368         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
81369         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
81370         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
81371         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
81372         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
81373         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
81374         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
81375         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
81376         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
81377         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
81378         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
81379         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
81380         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
81381         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
81382         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
81383         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
81384         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
81385         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
81386         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
81387         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
81388         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
81389         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
81390         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
81391         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
81392         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
81393         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
81394         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
81395         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
81396         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
81397         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
81398         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
81399         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
81400         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
81401         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
81402         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
81403         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
81404         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
81405         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
81406         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
81407         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
81408         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
81409         * sysdeps/ieee754/k_standard.c: Likewise.
81410         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
81411         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
81412         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
81413         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
81414         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
81415         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
81416         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
81417         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
81418         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
81419         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
81420         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
81421         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
81422         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
81423         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
81424         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
81425         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
81426         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
81427         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
81428         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
81429         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
81430         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
81431         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
81432         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
81433         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
81434         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
81435         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
81436         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
81437         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
81438         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
81439         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
81440         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
81441         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
81442         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
81443         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
81444         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
81445         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
81446         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
81447         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
81448         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
81449         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
81450         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
81451         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
81452         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
81453         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
81454         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
81455         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
81456         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
81457         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
81458         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
81459         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
81460         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
81461         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
81462         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
81463         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
81464         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
81465         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
81466         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
81467         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
81468         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
81469         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
81470         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
81471         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
81472         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
81473         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
81474         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
81475         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
81476         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
81477         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
81478         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
81479         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
81480         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
81481         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
81482         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
81483         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
81484         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
81485         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
81486         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
81487         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
81488         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
81489         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
81490         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
81491         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
81492         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
81493         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
81494         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
81495         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
81496         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
81497         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
81498         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
81499         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
81500         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
81501         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
81502         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
81503         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
81504         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
81505         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
81506         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
81507         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
81508         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
81509         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
81510         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
81511         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
81512         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
81513         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
81514         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
81515         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
81516         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
81517         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
81518         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
81519         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
81520         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
81521         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
81522         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
81523         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
81524         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
81525         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
81526         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
81527         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
81528         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
81529         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
81530         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
81531         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
81532         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
81533         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
81534         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
81535         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
81536         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
81537         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
81538         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
81539         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
81540         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
81541         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
81542         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
81543         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
81544         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
81545         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
81546         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
81547         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
81548         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
81549         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
81550         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
81551         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
81552         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
81553         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
81554         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
81555         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
81556         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
81557         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
81558         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
81559         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
81560         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
81561         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
81562         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
81563         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
81564         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
81565         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
81566         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
81567         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
81568         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
81569         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
81570         * sysdeps/ieee754/s_lib_version.c: Likewise.
81571         * sysdeps/ieee754/s_matherr.c: Likewise.
81572         * sysdeps/ieee754/s_signgam.c: Likewise.
81573         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
81574         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
81575         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
81576         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
81577         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
81578         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
81579         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
81580         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
81581         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
81582         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
81583         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
81584         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
81585         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
81586         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
81587         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
81588         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
81589         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
81590         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
81591         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
81592         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
81593         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
81595 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
81597         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
81598         * sunrpc/rpc_main.c: Likewise.
81599         * sunrpc/rpc_svcout.c: Likewise.
81601 2012-03-09  David S. Miller  <davem@davemloft.net>
81603         * include/math_private.h: New file.
81605 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
81607         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
81608         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
81609         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
81610         from <bits/socket_type.h>.
81611         (enum __socket_type): Don't define here.
81612         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
81613         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
81614         bits/socket_type.h.
81616         [BZ #13566]
81617         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
81618         checking __USE_GNU.
81620         * Makerules ($(inst_includedir)/%.h): New rule.
81621         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
81622         (install-others): Remove variable setting.
81623         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
81625 2012-03-08  Richard Henderson  <rth@twiddle.net>
81627         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
81628         from macro to inline function; merge with the
81629         !__LIBC_INTERNAL_MATH_INLINES version.
81630         (__ieee754_sqrtf): Likewise.
81632         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
81633         to inline function.
81634         (__rintf, __floor, __floorf): Likewise.
81636         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
81637         macro to inline function.
81638         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
81640         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
81641         not <math/math_private.h>.
81643 2012-03-08  David S. Miller  <davem@davemloft.net>
81645         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
81646         copyright year.
81647         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
81649 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
81651         * resolv/gai_misc.c (handle_requests): Fix struct timespec
81652         normalization.
81653         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
81654         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
81656 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
81658         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
81659         be defined individually, they must be defined as a block.  Define
81660         S for printing a string instead of hidint the different by using a
81661         macro for adding the 'l'.
81662         * stdio-common/tst-fphex-wide.c: Adjust.
81664 2012-03-07  Marek Polacek  <polacek@redhat.com>
81666         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
81668 2012-03-08  Marek Polacek  <polacek@redhat.com>
81670         [BZ #13806]
81671         * stdio-common/Makefile (tests): Add tst-fphex-wide.
81672         * stdio-common/tst-fphex.c: Define a few macros to make the
81673         test reusable.  Use them.
81674         * stdio-common/tst-fphex-wide.c: New file.
81676 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
81678         [BZ #6911]
81679         * manual/macros.texi (gnusystems): New macro.
81680         (nongnusystems): Likewise.
81681         (gnulinuxhurdsystems): Likewise.
81682         (gnuhurdsystems): Likewise..
81683         (gnulinuxsystems): Likewise.
81684         * manual/charset.texi: Use new macros or @theglibc{} to refer to
81685         variants of the GNU system, not "GNU system".
81686         * manual/conf.texi: Likewise.
81687         * manual/errno.texi: Likewise.  Update example of errno macro
81688         expansion.
81689         * manual/filesys.texi: Likewise.
81690         (getumask): Document as specific to GNU/Hurd.
81691         * manual/install.texi: Likewise.  Reword some references to
81692         GNU/Linux.
81693         * manual/intro.texi: Likewise.
81694         * manual/io.texi: Likewise.
81695         (File Name Portability): Detail which constraints are inapplicable
81696         to all GNU systems and which are only inapplicable to GNU/Hurd.
81697         * manual/job.texi: Likewise.
81698         * manual/llio.texi: Likewise.
81699         (O_NOCTTY): Document as present on GNU/Linux.
81700         * manual/maint.texi: Likewise.
81701         * manual/memory.texi: Likewise.
81702         * manual/pattern.texi: Likewise.
81703         * manual/pipe.texi: Likewise.
81704         * manual/process.texi: Likewise.
81705         * manual/resource.texi: Likewise.
81706         (RUSAGE_CHILDREN): Remove statement about specifying a particular
81707         child on GNU/Hurd.
81708         * manual/setjmp.texi: Likewise.
81709         * manual/signal.texi: Likewise.
81710         * manual/startup.texi: Likewise.
81711         * manual/stdio.texi: Likewise.
81712         * manual/terminal.texi: Likewise.
81713         (ONLCR): Document as POSIX.
81714         (OXTABS): Document availability on GNU/Linux as XTABS.
81715         (ONOEOT): Document availability separately from other bits.
81716         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
81717         * manual/time.texi: Likewise.
81718         * manual/users.texi: Likewise.
81719         * INSTALL: Regenerated.
81720         * sysdeps/gnu/errlist.c: Regenerated.
81722         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
81723         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
81724         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
81725         puts.
81726         * configure: Regenerated.
81728 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
81730         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
81731         default includes instead of AC_HEADER_CHECK.
81732         * sysdeps/i386/configure: Regenerated.
81734         [BZ #10716]
81735         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
81736         * math/s_cacoshf.c (__cacoshf): Likewise.
81737         * math/s_cacoshl.c (__cacoshl): Likewise.
81738         * math/s_casinh.c (__casinh): Set signs of result from argument.
81739         * math/s_casinhf.c (__casinhf): Likewise.
81740         * math/s_casinhl.c (__casinhl): Likewise.
81741         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
81742         (casinh_test): Add more tests.
81743         * sysdeps/i386/fpu/libm-test-ulps: Update.
81744         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
81746 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
81748         * po/zh_TW.po: Update from translation team.
81750         * login/Makefile (distribute): Remove variable.
81751         * catgets/Makefile: Likewise.
81752         * mach/Makefile: Likewise.
81753         * malloc/Makefile: Likewise.
81754         * misc/Makefile: Likewise.
81755         * iconv/Makefile: Likewise.
81756         * nscd/Makefile: Likewise.
81757         * hurd/Makefile: Likewise.
81758         * manual/Makefile: Likewise.
81759         * locale/Makefile: Likewise.
81760         * intl/Makefile: Likewise.
81761         * conform/Makefile: Likewise.
81762         * nss/Makefile: Likewise.
81763         * time/Makefile: Likewise.
81764         * soft-fp/Makefile: Likewise.
81765         * dirent/Makefile: Likewise.
81766         * gmon/Makefile: Likewise.
81767         * po/Makefile: Likewise.
81768         * rt/Makefile: Likewise.
81769         * socket/Makefile: Likewise.
81770         * math/Makefile: Likewise.
81771         * signal/Makefile: Likewise.
81772         * debug/Makefile: Likewise.
81773         * elf/Makefile: Likewise.
81774         * timezone/Makefile: Likewise.
81775         * stdlib/Makefile: Likewise.
81776         * iconvdata/Makefile: Likewise.
81777         * sunrpc/Makefile: Likewise.
81778         * io/Makefile: Likewise.
81779         * argp/Makefile: Likewise.
81780         * inet/Makefile: Likewise.
81781         * hesiod/Makefile: Likewise.
81782         * grp/Makefile: Likewise.
81783         * csu/Makefile: Likewise.
81784         * wctype/Makefile: Likewise.
81785         * crypt/Makefile: Likewise.
81786         * libio/Makefile: Likewise.
81787         * string/Makefile: Likewise.
81788         * nis/Makefile: Likewise.
81789         * resolv/Makefile: Likewise.
81790         * stdio-common/Makefile: Likewise.
81791         * wcsmbs/Makefile: Likewise.
81792         * dlfcn/Makefile: Likewise.
81793         * posix/Makefile: Likewise.
81795         [BZ #6959]
81796         * timezone/Makefile: Don't install timezone files, just the programs
81797         and scripts.
81799 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
81801         * nss/databases.def: Add missing gshadow entry.
81803         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
81805 2012-03-06  Marek Polacek  <polacek@redhat.com>
81807         [BZ #13726]
81808         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
81809         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
81810         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
81811         * stdio-common/tst-long-dbl-fphex.c: New file.
81813 2012-03-06  David S. Miller  <davem@davemloft.net>
81815         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
81816         (set_obp_int): New function.
81817         (get_obp_int): New function.
81818         (__get_clockfreq_via_dev_openprom): Likewise.
81819         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
81820         Avoid unused variable warnings on 'val' and use builtin_expect.
81821         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
81822         __builtin_expect.
81823         (INLINE_CLONE_SYSCALL): Likewise.
81825 2012-03-05  David S. Miller  <davem@davemloft.net>
81827         * sysdeps/sparc/fpu/libm-test-ulps: Update.
81829 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
81831         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
81833         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
81834         only for |x| >= 40.
81835         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
81837 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
81839         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
81840         Replace gettimeofday with __vdso_gettimeofday.
81842         * sysdeps/unix/sysv/linux/x86_64/init-first.c
81843         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
81844         __vdso_clock_gettime and __vdso_getcpu.
81846         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
81847         time with __vdso_time.
81849 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
81851         * manual/lang.texi (size_t): Note types to which size_t may be
81852         equivalent with the GNU C Library, but do not describe when
81853         differences between them are significant.
81855 2012-03-05  Andreas Jaeger  <aj@suse.de>
81857         * sysdeps/i386/fpu/libm-test-ulps: Update.
81859 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
81861         [BZ #3976]
81862         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
81863         (__ieee754_pow): Save and restore rounding mode and use
81864         round-to-nearest for main computations.
81865         * math/libm-test.inc (pow_test_tonearest): New function.
81866         (pow_test_towardzero): Likewise.
81867         (pow_test_downward): Likewise.
81868         (pow_test_upward): Likewise.
81869         (main): Call the new functions.
81870         * sysdeps/i386/fpu/libm-test-ulps: Update.
81871         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
81873         [BZ #3976]
81874         * math/libm-test.inc (cosh_test_tonearest): New function.
81875         (cosh_test_towardzero): Likewise.
81876         (cosh_test_downward): Likewise.
81877         (cosh_test_upward): Likewise.
81878         (sinh_test_tonearest): Likewise.
81879         (sinh_test_towardzero): Likewise.
81880         (sinh_test_downward): Likewise.
81881         (sinh_test_upward): Likewise.
81882         (main): Call the new functions.
81883         * sysdeps/i386/fpu/libm-test-ulps: Update.
81884         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
81886 2012-03-05  Tom de Vries  <tom@codesourcery.com>
81888         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
81889         default stack guard is set in last bytes.
81890         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
81892 2012-03-05  Kees Cook  <keescook@chromium.org>
81894         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
81896         [BZ #13656]
81897         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
81898         possibly allocate from heap instead of stack.
81899         * stdio-common/bug-vfprintf-nargs.c: New file.
81900         * stdio-common/Makefile (tests): Add nargs overflow test.
81902 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
81904         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
81906 2012-03-03  Marek Polacek  <polacek@redhat.com>
81908         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
81909         * math/math_private.h: Likewise.
81910         * stdlib/tst-strtod.c: Likewise.
81911         * sysdeps/i386/i486/bits/atomic.h: Likewise.
81912         * sysdeps/x86_64/bits/atomic.h: Likewise.
81914 2012-03-02  David S. Miller  <davem@davemloft.net>
81916         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
81917         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
81918         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
81919         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
81920         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
81921         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
81922         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
81923         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
81925 2012-03-02  Roland McGrath  <roland@hack.frob.com>
81927         [BZ #13792]
81928         * manual/examples/README: New file, says the example source files
81929         can be used under GPL>=2.
81930         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
81931         line containing just "*/".
81932         * manual/examples/add.c: Add copyright header (GPL>=2).
81933         * manual/examples/argp-ex1.c: Likewise.
81934         * manual/examples/argp-ex2.c: Likewise.
81935         * manual/examples/argp-ex3.c: Likewise.
81936         * manual/examples/argp-ex4.c: Likewise.
81937         * manual/examples/atexit.c: Likewise.
81938         * manual/examples/db.c: Likewise.
81939         * manual/examples/dir.c: Likewise.
81940         * manual/examples/dir2.c: Likewise.
81941         * manual/examples/execinfo.c: Likewise.
81942         * manual/examples/filecli.c: Likewise.
81943         * manual/examples/filesrv.c: Likewise.
81944         * manual/examples/fmtmsgexpl.c: Likewise.
81945         * manual/examples/genpass.c: Likewise.
81946         * manual/examples/inetcli.c: Likewise.
81947         * manual/examples/inetsrv.c: Likewise.
81948         * manual/examples/isockad.c: Likewise.
81949         * manual/examples/longopt.c: Likewise.
81950         * manual/examples/memopen.c: Likewise.
81951         * manual/examples/memstrm.c: Likewise.
81952         * manual/examples/mkfsock.c: Likewise.
81953         * manual/examples/mkisock.c: Likewise.
81954         * manual/examples/mygetpass.c: Likewise.
81955         * manual/examples/pipe.c: Likewise.
81956         * manual/examples/popen.c: Likewise.
81957         * manual/examples/rprintf.c: Likewise.
81958         * manual/examples/search.c: Likewise.
81959         * manual/examples/select.c: Likewise.
81960         * manual/examples/setjmp.c: Likewise.
81961         * manual/examples/sigh1.c: Likewise.
81962         * manual/examples/sigusr.c: Likewise.
81963         * manual/examples/stpcpy.c: Likewise.
81964         * manual/examples/strdupa.c: Likewise.
81965         * manual/examples/strftim.c: Likewise.
81966         * manual/examples/strncat.c: Likewise.
81967         * manual/examples/subopt.c: Likewise.
81968         * manual/examples/swapcontext.c: Likewise.
81969         * manual/examples/termios.c: Likewise.
81970         * manual/examples/testopt.c: Likewise.
81971         * manual/examples/testpass.c: Likewise.
81972         * manual/examples/timeval_subtract.c: Likewise.
81974         [BZ #13792]
81975         * manual/time.texi (Elapsed Time): Move timeval_subtract example
81976         function to ...
81977         * manual/timeval_subtract.c.texi: ... here, new file.
81979 2012-03-02  David S. Miller  <davem@davemloft.net>
81981         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
81983 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
81985         [BZ #3976]
81986         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
81987         (__sin): Save and restore rounding mode and use round-to-nearest
81988         for all computations.
81989         (__cos): Save and restore rounding mode and use round-to-nearest
81990         for all computations.
81991         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
81992         <fenv.h>.
81993         (tan): Save and restore rounding mode and use round-to-nearest for
81994         all computations.
81995         * math/libm-test.inc (cos_test_tonearest): New function.
81996         (cos_test_towardzero): Likewise.
81997         (cos_test_downward): Likewise.
81998         (cos_test_upward): Likewise.
81999         (sin_test_tonearest): Likewise.
82000         (sin_test_towardzero): Likewise.
82001         (sin_test_downward): Likewise.
82002         (sin_test_upward): Likewise.
82003         (tan_test_tonearest): Likewise.
82004         (tan_test_towardzero): Likewise.
82005         (tan_test_downward): Likewise.
82006         (tan_test_upward): Likewise.
82007         (main): Call the new functions.
82008         * sysdeps/i386/fpu/libm-test-ulps: Update.
82009         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
82011         [BZ #10135]
82012         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
82013         small n, then large n, before computing and testing k+n.
82014         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
82015         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
82016         Likewise.
82017         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
82018         Likewise.
82019         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
82020         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
82021         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
82022         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
82023         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
82024         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
82025         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
82026         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
82027         * math/libm-test.inc (scalbn_test): Add more tests.
82028         (scalbln_test): Likewise.
82030         * manual/filesys.texi (mode_t): Describe constraints on size and
82031         signedness, not exact equivalence to a particular type.
82032         (ino_t): Likewise.
82033         (ino64_t): Likewise.
82034         (dev_t): Likewise.
82035         (nlink_t): Likewise.
82036         (blkcnt_t): Likewise.
82037         (blkcnt64_t): Likewise.
82038         * manual/llio.texi (off_t): Likewise.
82040         [BZ #3976]
82041         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
82042         (__ieee754_exp): Save and restore rounding mode and use
82043         round-to-nearest for all computations.
82044         * math/libm-test.inc (exp_test_tonearest): New function.
82045         (exp_test_towardzero): Likewise.
82046         (exp_test_downward): Likewise.
82047         (exp_test_upward): Likewise.
82048         (main): Call the new functions.
82049         * sysdeps/i386/fpu/libm-test-ulps: Update.
82050         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
82052 2012-03-01  Chris Demetriou  <cgd@google.com>
82054         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
82055         have predictable order.
82057 2012-03-01  David S. Miller  <davem@davemloft.net>
82059         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
82061         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
82062         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
82063         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
82064         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
82066         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
82067         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
82068         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
82069         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
82070         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
82071         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
82072         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
82073         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
82074         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
82076         * sysdeps/sparc/fpu/libm-test-ulps: Update.
82078         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
82079         * sysdeps/sparc/fpu/libm-test-ulps: to here.
82080         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
82082         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
82083         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
82084         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
82085         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
82086         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
82087         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
82088         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
82089         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
82090         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
82091         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
82092         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
82093         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
82094         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
82095         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
82096         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
82097         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
82098         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
82099         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
82100         * sysdeps/sparc/elf/configure: Regenerated.
82102 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
82104         * configure.in (AS, LD): Require binutils 2.20 or later.
82105         * configure: Regenerated.
82106         * manual/install.texi (Tools for Compilation): Give binutils 2.20
82107         as required minimum version.
82108         * INSTALL: Regenerated.
82110         [BZ #2541]
82111         [BZ #4108]
82112         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
82113         before squaring exponent.
82114         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
82115         bottom long double and 27 bits of top long double before squaring
82116         exponent.
82117         * math/libm-test.inc (erfc_test): Add more tests.
82118         * sysdeps/i386/fpu/libm-test-ulps: Update.
82119         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
82120         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
82122 2012-03-01  Kai Tietz  <ktietz@redhat.com>
82124         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
82125         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
82126         containing bit-fields.
82127         * soft-fp/extended.h (_FP_UNION_E): Likewise.
82128         * soft-fp/single.h (_FP_UNION_S): Likewise.
82129         * soft-fp/double.h (_FP_UNION_D): Likewise.
82131 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
82133         [BZ #13786]
82134         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
82135         not include ../strcmp.S.
82136         [USE_AS_STRNCASECMP_L]: Likewise.
82137         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
82138         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
82139         * sysdeps/i386/i686/multiarch/strncase_l-c.c
82140         (__strncasecmp_l_ia32): Define as alias to
82141         __strncasecmp_l_nonascii.
82143         [BZ #5794]
82144         * math/libm-test.inc (expm1_test): Add test for bug 5794.
82145         * sysdeps/i386/fpu/libm-test-ulps: Update.
82146         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
82148         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
82149         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
82151 2012-02-29  Jeff Law  <law@redhat.com>
82153         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
82154         out of bounds read.
82156 2012-02-29  Marek Polacek  <polacek@redhat.com>
82158         [BZ #13706]
82159         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
82160         * elf/Makefile: Add rules to run tst-unused-dep.out.
82162 2012-02-28  David S. Miller  <davem@davemloft.net>
82164         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
82165         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
82166         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
82167         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
82168         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
82169         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
82171 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
82173         * math/libm-test.inc (llround_test): Move one test from
82174         lround_test.  Use TEST_f_L in moved test.
82175         (lround_test): Move misplaced test to llround_test.  Add testcase
82176         from bug 2561.
82178 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
82180         * sysdeps/x86_64/fpu/e_expf.S: New file.
82181         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
82183 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
82185         [BZ #13637]
82186         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
82187         of remain_len that may cause incomplete multi-byte character and
82188         false match.
82189         * posix/bug-regex33.c: New file.
82190         * posix/Makefile (tests): Add bug-regex33.
82192 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
82194         * manual/macros.texi: New file.
82195         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
82196         * manual/libc.texinfo: Include macros.texi.
82197         * manual/creatute.texi: Likewise.
82198         * manual/install.texi: Likewise.
82199         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
82200         @glibcadj{} in references to the GNU C Library.
82201         * manual/charset.texi: Likewise.
82202         * manual/conf.texi: Likewise.
82203         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
82204         when not using those macros.
82205         * manual/creature.texi: Likewise.
82206         * manual/crypt.texi: Likewise.
82207         * manual/errno.texi: Likewise.
82208         * manual/filesys.texi: Likewise.
82209         * manual/header.texi: Likewise.
82210         * manual/install.texi: Likewise.
82211         * manual/intro.texi: Likewise.
82212         * manual/io.texi: Likewise.
82213         * manual/job.texi: Likewise.
82214         * manual/lang.texi: Likewise.
82215         * manual/libc.texiinfo: Likewise.
82216         * manual/llio.texi: Likewise.
82217         * manual/locale.texi: Likewise.
82218         * manual/maint.texi: Likewise.
82219         * manual/math.texi: Likewise.
82220         * manual/memory.texi: Likewise.
82221         * manual/message.texi: Likewise.
82222         * manual/nss.texi: Likewise.
82223         * manual/pattern.texi: Likewise.
82224         * manual/process.texi: Likewise.
82225         * manual/resource.texi: Likewise.
82226         * manual/search.texi: Likewise.
82227         * manual/setjmp.texi: Likewise.
82228         * manual/signal.texi: Likewise.
82229         * manual/socket.texi: Likewise.
82230         * manual/startup.texi: Likewise.
82231         * manual/stdio.texi: Likewise.
82232         * manual/string.texi: Likewise.
82233         * manual/sysinfo.texi: Likewise.
82234         * manual/syslog.texi: Likewise.
82235         * manual/terminal.texi: Likewise.
82236         * manual/time.texi: Likewise.
82237         * manual/users.texi: Likewise.
82238         * INSTALL: Regenerated.
82239         * NOTES: Regenerated.
82240         * sysdeps/gnu/errlist.c: Regenerated.
82242 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
82244         * include/dirent.h: Include <dirstream.h> before
82245         <dirent/dirent.h>.
82247 2012-02-28  David S. Miller  <davem@davemloft.net>
82249         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
82250         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
82251         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
82252         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
82254 2012-02-27  David S. Miller  <davem@davemloft.net>
82256         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
82257         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
82258         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
82259         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
82261         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
82262         frame pointer instead of stack pointer relative arg slot.
82263         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
82264         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
82265         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
82267 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
82269         [BZ #3992]
82270         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
82272 2012-02-27  David S. Miller  <davem@davemloft.net>
82274         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
82275         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
82276         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
82277         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
82278         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
82279         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
82280         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
82281         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
82283 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
82285         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
82286         later.  Allow versions 5-9.
82287         * configure: Regenerated.
82288         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
82289         required minimum version and 4.6 as recommended version.  Do not
82290         mention bugs in GCC 2.7 and 2.8.
82291         * INSTALL: Regenerated.
82293 2012-02-27  David S. Miller  <davem@davemloft.net>
82295         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
82296         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
82297         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
82298         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
82299         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
82300         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
82301         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
82302         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
82304         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
82305         manipulate bits before adding and subtracting TWO112[sx].
82306         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
82308 2012-02-27  Roland McGrath  <roland@hack.frob.com>
82310         [BZ #13775]
82311         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
82312         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
82313         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
82314         being in POSIX, because they are in 1003.1-2008.
82316         * rt/tst-aio.c: Include <fcntl.h>.
82317         * rt/tst-aio7.c: Likewise.
82318         * rt/tst-aio64.c: Likewise.
82320         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
82322 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
82324         * manual/install.texi (--with-headers): Describe headers as
82325         interface headers, not private headers.
82326         (Specific advice for GNU/Linux systems): Describe use of headers
82327         from "make headers_install", not private headers from older
82328         kernels.
82329         * INSTALL: Regenerated.
82330         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
82331         Change to 2.6.19.
82332         * sysdeps/unix/sysv/linux/configure: Regenerated.
82334         * manual/llio.texi (fclean): Remove documentation.
82336         * manual/Makefile (libc-texi-generated): New variable.  Include
82337         version.texi.
82338         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
82339         $(libc-texi-generated), not duplicated list of files.
82340         (version.texi, stamp-version): New rules.
82341         (realclean): Remove $(libc-texi-generated), not individual files
82342         from that list.  Do not remove dir-add.texinfo.
82343         * manual/libc.texinfo: Comment out uses of edition numbers and
82344         references to printed manual.  Remove last-updated dates.
82345         (EDITION): Comment out.
82346         (ISBN): Likewise.
82347         (VERSION, UPDATED): Remove.
82348         (version.texi): Include.
82350 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
82352         * sysdeps/posix/spawni.c: Include <signal.h>.
82353         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
82354         * sysdeps/pthread/aio_fsync.c: Likewise.
82356 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
82358         * conform/Makefile (tests): Run only when not cross-compiling and
82359         when fast-check is not defined.
82361         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
82362         * conform/data/limits.h-data: Fixes for POSIX2008.
82363         * conform/run-conformtest.sh: Run all tests.
82364         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
82365         headers.
82366         * include/bits/dlfcn.h: Likewise.
82367         * include/langinfo.h: Likewise.
82368         * include/monetary.h: Likewise.
82369         * include/sys/poll.h: Likewise.
82371         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
82372         for __USE_GNU.
82373         * posix/spawn.h: Define __need_sigset_t.
82374         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
82375         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
82376         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
82377         to get sigevent_t only.
82378         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
82379         only for __USE_GNU.
82380         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
82381         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
82382         process_vm_writev only for __USE_GNU.
82383         * termios/termios.h: Declare tcgetsid also for POSIX2008.
82385         * conform/Makefile: For now ignore errors from run-conformtest.
82386         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
82387         POSIX to avoid namespace pollution.  Don't prepend headers.
82388         * conform/data/aio.h-data: Fixes for POSIX testing.
82389         * conform/data/fcntl.h-data: Likewise.
82390         * conform/data/glob.h-data: Likewise.
82391         * conform/data/grp.h-data: Likewise.
82392         * conform/data/pthread.h-data: Likewise.
82393         * conform/data/pwd.h-data: Likewise.
82394         * conform/data/signal.h-data: Likewise.
82395         * conform/data/spawn.h-data: Likewise.
82396         * conform/data/stdio.h-data: Likewise.
82397         * conform/data/stdlib.h-data: Likewise.
82398         * conform/data/stropts.h-data: Likewise.
82399         * conform/data/sys/mman.h-data: Likewise.
82400         * conform/data/sys/stat.h-data: Likewise.
82401         * conform/data/sys/types.h-data: Likewise.
82402         * conform/data/sys/wait.h-data: Likewise.
82403         * conform/data/time.h-data: Likewise.
82404         * conform/data/unistd.h-data: Likewise.
82405         * conform/data/utime.h-data: Likewise.
82407         * io/sys/stat.h: fchmod was always in POSIX.
82408         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
82409         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
82410         * rt/aio.h: Define __need_timespec before including <time.h>.
82411         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
82412         struct.  Add forward declaration of pthread_attr_t and use it in
82413         sigevent.
82414         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
82415         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
82416         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
82417         always remove CLK_TCK definition.
82419 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
82421         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
82423 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
82425         * conform/run-conformtest.sh: New file.
82426         * conform/Makefile: Run run-conformtest for tests.
82427         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
82428         support.
82430         * conform/data/uchar.h-data: New file.
82431         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
82432         * conform/data/arpa/inet.h-data: Likewise.
82433         * conform/data/assert.h-data: Likewise.
82434         * conform/data/complex.h-data: Likewise.
82435         * conform/data/cpio.h-data: Likewise.
82436         * conform/data/ctype.h-data: Likewise.
82437         * conform/data/dirent.h-data: Likewise.
82438         * conform/data/dlfcn.h-data: Likewise.
82439         * conform/data/errno.h-data: Likewise.
82440         * conform/data/fcntl.h-data: Likewise.
82441         * conform/data/float.h-data: Likewise.
82442         * conform/data/fmtmsg.h-data: Likewise.
82443         * conform/data/fnmatch.h-data: Likewise.
82444         * conform/data/ftw.h-data: Likewise.
82445         * conform/data/glob.h-data: Likewise.
82446         * conform/data/grp.h-data: Likewise.
82447         * conform/data/iconv.h-data: Likewise.
82448         * conform/data/inttypes.h-data: Likewise.
82449         * conform/data/langinfo.h-data: Likewise.
82450         * conform/data/libgen.h-data: Likewise.
82451         * conform/data/limits.h-data: Likewise.
82452         * conform/data/locale.h-data: Likewise.
82453         * conform/data/math.h-data: Likewise.
82454         * conform/data/monetary.h-data: Likewise.
82455         * conform/data/mqueue.h-data: Likewise.
82456         * conform/data/ndbm.h-data: Likewise.
82457         * conform/data/net/if.h-data: Likewise.
82458         * conform/data/netdb.h-data: Likewise.
82459         * conform/data/netinet/in.h-data: Likewise.
82460         * conform/data/nl_types.h-data: Likewise.
82461         * conform/data/poll.h-data: Likewise.
82462         * conform/data/pthread.h-data: Likewise.
82463         * conform/data/pwd.h-data: Likewise.
82464         * conform/data/regex.h-data: Likewise.
82465         * conform/data/sched.h-data: Likewise.
82466         * conform/data/search.h-data: Likewise.
82467         * conform/data/semaphore.h-data: Likewise.
82468         * conform/data/setjmp.h-data: Likewise.
82469         * conform/data/signal.h-data: Likewise.
82470         * conform/data/spawn.h-data: Likewise.
82471         * conform/data/stdarg.h-data: Likewise.
82472         * conform/data/stdio.h-data: Likewise.
82473         * conform/data/stdlib.h-data: Likewise.
82474         * conform/data/string.h-data: Likewise.
82475         * conform/data/strings.h-data: Likewise.
82476         * conform/data/stropts.h-data: Likewise.
82477         * conform/data/sys/ipc.h-data: Likewise.
82478         * conform/data/sys/mman.h-data: Likewise.
82479         * conform/data/sys/msg.h-data: Likewise.
82480         * conform/data/sys/resource.h-data: Likewise.
82481         * conform/data/sys/select.h-data: Likewise.
82482         * conform/data/sys/sem.h-data: Likewise.
82483         * conform/data/sys/shm.h-data: Likewise.
82484         * conform/data/sys/socket.h-data: Likewise.
82485         * conform/data/sys/stat.h-data: Likewise.
82486         * conform/data/sys/statvfs.h-data: Likewise.
82487         * conform/data/sys/time.h-data: Likewise.
82488         * conform/data/sys/timeb.h-data: Likewise.
82489         * conform/data/sys/times.h-data: Likewise.
82490         * conform/data/sys/types.h-data: Likewise.
82491         * conform/data/sys/uio.h-data: Likewise.
82492         * conform/data/sys/un.h-data: Likewise.
82493         * conform/data/sys/utsname.h-data: Likewise.
82494         * conform/data/sys/wait.h-data: Likewise.
82495         * conform/data/syslog.h-data: Likewise.
82496         * conform/data/tar.h-data: Likewise.
82497         * conform/data/termios.h-data: Likewise.
82498         * conform/data/utime.h-data: Likewise.
82499         * conform/data/utmpx.h-data: Likewise.
82500         * conform/data/varargs.h-data: Likewise.
82501         * conform/data/wchar.h-data: Likewise.
82502         * conform/data/wctype.h-data: Likewise.
82503         * conform/data/wordexp.h-data: Likewise.
82505         * include/stropts.h: New file.
82506         * include/uchar.h: New file.
82507         * include/aio.h: Changes to allow conformtest.pl to use the headers.
82508         * include/assert.h: Likewise.
82509         * include/ctype.h: Likewise.
82510         * include/dirent.h: Likewise.
82511         * include/dlfcn.h: Likewise.
82512         * include/fcntl.h: Likewise.
82513         * include/fnmatch.h: Likewise.
82514         * include/glob.h: Likewise.
82515         * include/grp.h: Likewise.
82516         * include/libio.h: Likewise.
82517         * include/locale.h: Likewise.
82518         * include/math.h: Likewise.
82519         * include/net/if.h: Likewise.
82520         * include/netdb.h: Likewise.
82521         * include/netinet/in.h: Likewise.
82522         * include/pthread.h: Likewise.
82523         * include/pwd.h: Likewise.
82524         * include/regex.h: Likewise.
82525         * include/sched.h: Likewise.
82526         * include/search.h: Likewise.
82527         * include/setjmp.h: Likewise.
82528         * include/signal.h: Likewise.
82529         * include/stdio.h: Likewise.
82530         * include/stdlib.h: Likewise.
82531         * include/string.h: Likewise.
82532         * include/sys/cdefs.h: Likewise.
82533         * include/sys/mman.h: Likewise.
82534         * include/sys/msg.h: Likewise.
82535         * include/sys/resource.h: Likewise.
82536         * include/sys/select.h: Likewise.
82537         * include/sys/socket.h: Likewise.
82538         * include/sys/stat.h: Likewise.
82539         * include/sys/statvfs.h: Likewise.
82540         * include/sys/time.h: Likewise.
82541         * include/sys/times.h: Likewise.
82542         * include/sys/uio.h: Likewise.
82543         * include/sys/utsname.h: Likewise.
82544         * include/sys/wait.h: Likewise.
82545         * include/termios.h: Likewise.
82546         * include/time.h: Likewise.
82547         * include/ulimit.h: Likewise.
82548         * include/unistd.h: Likewise.
82549         * include/utime.h: Likewise.
82550         * include/wchar.h: Likewise.
82551         * include/wctype.h: Likewise.
82552         * include/wordexp.h: Likewise.
82554         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
82556         * time/time.h: TIME_UTC must be a macro.
82557         Make timespec_get available for ISO C11 only as well.
82559 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
82561         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
82562         Reported by Peng Haitao <penght@cn.fujitsu.com>.
82564 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
82566         * configure.in: Use -o not -a in test for unsupported multi-arch.
82568 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
82570         * manual/texinfo.tex: Update to version 2012-01-19.16.
82572 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
82574         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
82576 2012-02-24  Roland McGrath  <roland@hack.frob.com>
82578         [BZ #13738]
82579         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
82580         * manual/fdl-1.3.texi: New file.
82581         * manual/fdl-1.1.texi: File removed.
82583         [BZ #13738]
82584         * manual/libc.texinfo (FDL_VERSION): New @set.
82585         Use it for mention of FDL in cover text.
82586         (Documentation License): Use it in @include file name.
82588 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
82589             Roland McGrath  <roland@hack.frob.com>
82591         [BZ #5461]
82592         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
82593         (not LONG_LONG_MAX and LONG_LONG_MIN.
82594         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
82595         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
82596         name.
82597         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
82599 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
82601         [BZ #2547]
82602         [BZ #11365]
82603         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
82604         manipulate bits before adding and subtracting TWO23[sx].
82605         * math/libm-test.inc (nearbyint_test): Add more tests.
82607 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
82609         [BZ #2548]
82610         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
82611         bits before adding and subtracting TWO23[sx].
82612         * math/libm-test.inc (rint_test): Add more tests.
82613         (rint_test_tonearest): Likewise.
82614         (rint_test_towardzero): Likewise.
82615         (rint_test_downward): Likewise.
82616         (rint_test_upward: Likewise.
82618 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
82620         [BZ #10110]
82621         * include/stdc-predef.h: New file.  Extracted from features.h.
82622         * include/features.h: Include stdc-predef.h.
82623         * Makefile (headers): Add stdc-predef.h.
82624         * CONFORMANCE (Compiler limitations): Update.
82626 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
82628         * manual/libc.texinfo (VERSION, UPDATED): Revert.
82630 2012-02-21  David S. Miller  <davem@davemloft.net>
82632         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
82633         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
82635 2012-02-20  David S. Miller  <davem@davemloft.net>
82637         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
82638         using a normal save/restore sequence, rather than allocating a
82639         dummy stack frame just to store a frame pointer and restore.
82640         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
82642 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
82644         * manual/install.texi: Fix stray word in line-wrapped comment.
82646 2012-02-20  David S. Miller  <davem@davemloft.net>
82648         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
82649         both binutils and gcc support GOTDATA.
82651         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
82652         "rd %pc" in the PIC register setup sequences.
82654         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
82655         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
82656         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
82657         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
82658         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
82659         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
82660         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
82661         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
82662         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
82663         (SYSCALL_ERROR_HANDLER): Likewise.
82664         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
82665         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
82666         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
82667         (SYSCALL_ERROR_HANDLER): Likewise.
82669         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
82670         (HAVE_GCC_GOTDATA): New.
82671         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
82672         relocation support in both binutils and gcc.
82673         * sysdeps/sparc/elf/configure: Regenerate.
82675         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
82676         * sysdeps/sparc/sparc32/elf/configure: Delete.
82677         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
82678         * sysdeps/sparc/sparc64/elf/configure: Delete.
82679         * sysdeps/sparc/elf/configure.in: New file.
82680         * sysdeps/sparc/elf/configure: Generate.
82682         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
82683         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
82684         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
82685         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
82686         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
82688 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
82690         * manual/install.texi: Do not mention specific glibc version
82691         numbers.
82692         * manual/libc.texinfo (VERSION, UPDATED): Update.
82693         (@copying): Use @copyright{} and range of years.
82695 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
82697         [BZ #13695]
82698         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
82699         [crti.S not in sysdirs] (generated): Do not append.
82700         [crti.S not in sysdirs] (omit-deps): Likewise.
82701         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
82702         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
82703         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
82704         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
82705         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
82706         Likewise.
82707         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
82708         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
82709         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
82710         * csu/defs.awk: Remove file.
82711         * sysdeps/generic/initfini.c: Likewise.
82712         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
82713         variable.
82714         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
82715         Likewise.
82717 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
82719         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
82720         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
82721         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
82722         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
82723         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
82724         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
82725         <bits/epoll.h>.
82726         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
82727         (__EPOLL_PACKED): Define to empty if not defined by
82728         <bits/epoll.h>.
82729         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
82730         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
82731         bits/epoll.h.
82733 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
82735         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
82736         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
82737         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
82738         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
82739         <bits/timerfd.h>.
82740         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
82741         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
82742         bits/timerfd.h.
82744 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
82746         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
82747         in C locale.
82748         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
82749         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
82750         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
82751         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
82753 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
82755         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
82756         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
82758 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
82760         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
82761         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
82762         defined.
82763         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
82764         Likewise.
82765         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
82766         entry for 2.16.
82768 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
82770         * math/w_acos.c: Use non-signaling floating-point comparisons.
82771         * math/w_acosf.c: Likewise.
82772         * math/w_acosh.c: Likewise.
82773         * math/w_acoshf.c: Likewise.
82774         * math/w_acoshl.c: Likewise.
82775         * math/w_acosl.c: Likewise.
82776         * math/w_asin.c: Likewise.
82777         * math/w_asinf.c: Likewise.
82778         * math/w_asinl.c: Likewise.
82779         * math/w_atanh.c: Likewise.
82780         * math/w_atanhf.c: Likewise.
82781         * math/w_atanhl.c: Likewise.
82782         * math/w_exp2.c: Likewise.
82783         * math/w_exp2f.c: Likewise.
82784         * math/w_exp2l.c: Likewise.
82785         * math/w_j0.c: Likewise.
82786         * math/w_j0f.c: Likewise.
82787         * math/w_j0l.c: Likewise.
82788         * math/w_j1.c: Likewise.
82789         * math/w_j1f.c: Likewise.
82790         * math/w_j1l.c: Likewise.
82791         * math/w_jn.c: Likewise.
82792         * math/w_jnf.c: Likewise.
82793         * math/w_log.c: Likewise.
82794         * math/w_log10.c: Likewise.
82795         * math/w_log10f.c: Likewise.
82796         * math/w_log10l.c: Likewise.
82797         * math/w_log2.c: Likewise.
82798         * math/w_log2f.c: Likewise.
82799         * math/w_log2l.c: Likewise.
82800         * math/w_logf.c: Likewise.
82801         * math/w_logl.c: Likewise.
82802         * math/w_sqrt.c: Likewise.
82803         * math/w_sqrtf.c: Likewise.
82804         * math/w_sqrtl.c: Likewise.
82805         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
82806         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
82807         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
82808         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
82809         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
82811 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
82813         [BZ #9739]
82814         * manual/string.texi (strnlen): Use correct parameter name in
82815         equivalent expression.
82817 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
82819         [BZ #11174]
82820         * manual/users.texi (seteuid): Consistently use neweuid for
82821         argument name.
82823 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
82825         [BZ #13704]
82826         * manual/nss.texi (Services in the NSS configuration): Correct
82827         list of services in example configuration file.
82829 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
82831         [BZ #11322]
82832         * manual/arith.texi: Remove statements about negative zero
82833         behaving identically to zero.
82835 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
82837         [BZ #5993]
82838         * manual/install.texi: Do not document upgrading from libc5.
82840 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
82842         [BZ #4596]
82843         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
82845 2012-02-18  David S. Miller  <davem@davemloft.net>
82847         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
82848         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
82849         %o7 across the call.
82850         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
82851         instead.
82852         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
82853         SETUP_PIC_REG_LEAF.
82854         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
82855         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
82856         * sysdeps/sparc/crtn.S: Likewise.
82858 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
82860         * aout/Makefile: Remove.
82862 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
82864         [BZ #13058]
82865         * manual/examples/argp-ex1.c (main): Format definition in GNU
82866         style.
82867         * manual/examples/argp-ex2.c (main): Likewise.
82868         * manual/examples/argp-ex3.c (main): Likewise.
82869         * manual/examples/argp-ex4.c (main): Likewise.
82870         * manual/examples/longopt.c (main): Use new-style prototype
82871         definition.
82872         * manual/examples/strncat.c (main): Specify return type and use
82873         (void) for arguments.
82874         * manual/examples/subopt.c (main): Use char **argv argument.
82876 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
82878         [BZ #5077]
82879         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
82880         rounding modes.
82882 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
82884         [BZ #6907]
82885         * manual/string.texi (strchr): Change when strchrnul is
82886         recommended.
82888 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
82890         [BZ #174]
82891         * manual/locale.texi (setlocale): Document LOCPATH.
82893 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
82895         [BZ #10210]
82896         * manual/process.texi (execle): Move @dots{} before last argument.
82898 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
82900         [BZ #12047]
82901         * manual/charset.texi (Generic Charset Conversion): Fix typo
82902         (LC_TYPE -> LC_CTYPE).
82904 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
82906         [BZ #5805]
82907         * manual/arith.texi (scalbn): Use @var{} on parameter names.
82908         (scalbnf): Likewise.
82909         (scalbnl): Likewise.
82910         (scalbln): Likewise.
82911         (scalblnf): Likewise.
82912         (scalblnl): Likewise.
82913         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
82914         (vwarnx): Likewise.
82915         (verr): Likewise.
82916         (verrx): Likewise.
82917         * manual/filesys.texi (telldir): Use braces around return type.
82918         * manual/llio.texi (mmap): Add space after comma.
82919         (mmap64): Likewise.
82920         * manual/math.texi (jn): Use @var{} on parameter names.
82921         (jnf): Likewise.
82922         (jnl): Likewise.
82923         (yn): Likewise.
82924         (ynf): Likewise.
82925         (ynl): Likewise.
82926         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
82927         line.
82928         * manual/resource.texi (ulimit): Use @dots{} instead of literal
82929         "...".
82930         (sched_get_priority_min): Remove semicolon on @deftypefun line.
82931         (sched_get_priority_max): Likewise.
82932         * manual/signal.texi (sigvec): Add space after comma.
82933         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
82934         names.
82935         (if_indextoname): Likewise.
82936         (if_freenameindex): Likewise.
82937         (sendto): Use ',' instead of '.' in prototype.
82938         * manual/startup.texi (syscall): Use @dots{} instead of literal
82939         "...".
82940         * manual/stdio.texi (__fpending): Separate initial words of
82941         paragraph from @deftypefun line.
82942         * manual/syslog.texi (syslog): Use @dots{} instead of literal
82943         "...".
82944         (vsyslog): Use @var{} on parameter names.
82945         * manual/terminal.texi (stty): Use @var{} on parameter names.
82946         * manual/users.texi (getutmp): Use @var{} on parameter names.
82947         (getutmpx): Likewise.
82949 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
82951         [BZ #6884]
82952         * manual/stdio.texi (fopen): Fix typos in description of
82953         ",ccs=STRING".
82955 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
82957         [BZ #4026]
82958         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
82959         get clock_id definition.
82961 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
82963         [BZ #4822]
82964         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
82965         (madvise): Cast every argument to void on its own.
82967 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
82969         [BZ #9902]
82970         * manual/startup.texi (Exit Status): Fix typo.
82972 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
82974         [BZ #10140]
82975         * manual/examples/argp-ex1.c: Include <stdlib.h>.
82976         * manual/examples/argp-ex2.c: Likewise.
82977         * manual/examples/argp-ex3.c: Likewise.
82979 2012-02-16  Richard Henderson  <rth@redhat.com>
82981         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
82982         * sysdeps/s390/s390-32/initfini.c: Remove.
82983         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
82984         * sysdeps/s390/s390-64/initfini.c: Remove.
82986 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
82988         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
82989         compiler output for sysdeps/generic/initfini.c.
82990         * sysdeps/sh/elf/initfini.c: Remove file.
82992 2012-02-16  David S. Miller  <davem@davemloft.net>
82994         [BZ #11494]
82995         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
82997         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
82998         * sysdeps/sparc/crti.S: New file.
82999         * sysdeps/sparc/crtn.S: New file.
83000         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
83001         * sysdeps/sparc/sparc64/Makefile: Likewise.
83003 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
83005         [BZ #3335]
83006         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
83008 2012-02-15  Roland McGrath  <roland@hack.frob.com>
83010         [BZ #4822]
83011         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
83013         * mach/devstream.c (cookie_io_functions_t): Macro removed.
83014         (write, read, close): Likewise.
83015         Patch by Aurelien Jarno <aurelien@aurel32.net>.
83017 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
83019         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
83020         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
83021         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
83022         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
83023         <bits/signalfd.h>.
83024         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
83025         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
83026         bits/signalfd.h.
83028 2012-02-14  Marek Polacek  <polacek@redhat.com>
83030         * sysdeps/x86_64/crti.S: New file.
83031         * sysdeps/x86_64/crtn.S: New file.
83032         * sysdeps/x86_64/elf/initfini.c: Remove file.
83034 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
83036         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
83037         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
83038         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
83039         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
83040         <bits/inotify.h>.
83041         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
83042         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
83043         bits/inotify.h.
83045 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
83047         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
83048         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
83049         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
83050         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
83051         <bits/eventfd.h>.
83052         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
83053         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
83054         bits/eventfd.h.
83056 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
83058         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
83059         __feraiseexcept instead of feraiseexcept.
83061         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
83062         nanosleep invocations.
83063         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
83064         strings, and add error checking for a nanosleep invocations.
83066 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
83068         Replace FSF snail mail address with URLs, as per GNU coding standards.
83069         Most of the snail mail addresses were wrong anyway, and omitting
83070         them makes the source code easier to maintain.  Almost all of the
83071         changes are to license notices and to locale LC_IDENTIFICATION
83072         addresses, except for this one:
83073         * manual/libc.texinfo: In "Published by", give the FSF's URL,
83074         not its snail mail address.
83076 2012-02-09  Richard Henderson  <rth@twiddle.net>
83078         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
83079         of kernel-features.h.
83081         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
83083 2012-02-08  Marek Polacek  <polacek@redhat.com>
83085         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
83086         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
83087         * sysdeps/gnu/_G_config.h: Likewise.
83088         * sysdeps/generic/_G_config.h: Likewise.
83090 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
83092         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
83093         tests.
83094         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
83096         * sysdeps/powerpc/powerpc32/crti.S: New file.
83097         * sysdeps/powerpc/powerpc32/crtn.S: New file.
83098         * sysdeps/powerpc/powerpc64/crti.S: New file.
83099         * sysdeps/powerpc/powerpc64/crtn.S: New file.
83101         * Makeconfig (have-initfini): Don't set.
83102         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
83103         * configure.in (nopic_initfini): Don't substitute.
83104         * config.h.in (HAVE_INITFINI): Don't #undef.
83105         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
83106         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
83108 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
83110         Support crti.S and crtn.S provided directly by architectures.
83111         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
83112         [crti.S in sysdirs] (omit-deps): Likewise.
83113         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
83114         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
83115         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
83116         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
83117         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
83118         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
83119         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
83120         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
83121         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
83122         compiler output for sysdeps/generic/initfini.c.
83123         * sysdeps/i386/elf/Makefile: Remove file.
83124         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
83126 2012-02-07  Marek Polacek  <polacek@redhat.com>
83128         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
83129         * sysdeps/gnu/_G_config.h: Likewise.
83130         * sysdeps/mach/hurd/_G_config.h: Likewise.
83132 2012-02-07  Marek Polacek  <polacek@redhat.com>
83134         * math/Makefile (tests): Add tst-CMPLX2.
83135         * math/tst-CMPLX2.c: New file.
83137 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
83139         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
83141         * math/libm-test.inc (jn_test): Add missing L suffix.
83143 2012-02-06  Marek Polacek  <polacek@redhat.com>
83145         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
83146         * sysdeps/i386/fpu/e_powf.S: Likewise.
83147         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
83148         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
83149         * sysdeps/i386/fpu/e_acosh.S: Likewise.
83150         * sysdeps/i386/fpu/e_pow.S: Likewise.
83151         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
83152         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
83153         * sysdeps/i386/fpu/s_expm1.S: Likewise.
83154         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
83155         * sysdeps/i386/fpu/e_log2.S: Likewise.
83156         * sysdeps/i386/fpu/e_log2l.S: Likewise.
83157         * sysdeps/i386/fpu/e_scalb.S: Likewise.
83158         * sysdeps/i386/fpu/e_powl.S: Likewise.
83159         * sysdeps/i386/fpu/s_log1p.S: Likewise.
83160         * sysdeps/i386/fpu/e_log10f.S: Likewise.
83161         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
83162         * sysdeps/i386/fpu/e_logl.S: Likewise.
83163         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
83164         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
83165         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
83166         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
83167         * sysdeps/i386/fpu/e_log2f.S: Likewise.
83168         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
83169         * sysdeps/i386/fpu/e_log.S: Likewise.
83170         * sysdeps/i386/fpu/s_cexp.S: Likewise.
83171         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
83172         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
83173         * sysdeps/i386/fpu/e_logf.S: Likewise.
83174         * sysdeps/i386/fpu/e_log10l.S: Likewise.
83175         * sysdeps/i386/fpu/e_atanh.S: Likewise.
83176         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
83177         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
83178         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
83179         * sysdeps/i386/fpu/e_log10.S: Likewise.
83180         * sysdeps/i386/fpu/s_frexp.S: Likewise.
83181         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
83182         * sysdeps/i386/fpu/s_asinh.S: Likewise.
83183         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
83184         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
83185         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
83186         * sysdeps/i386/asm-syntax.h: Likewise.
83187         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
83188         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
83189         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
83190         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
83191         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
83192         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
83193         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
83194         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
83195         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
83196         * sysdeps/powerpc/sysdep.h: Likewise.
83197         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
83198         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
83200 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
83202         [BZ #411]
83203         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
83205 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
83207         * sysdeps/i386/sysdep.h: Include <features.h>.
83208         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
83209         version.
83211 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
83213         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
83214         Define.
83215         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
83216         LOAD_PIC_REG_STR.
83218 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
83220         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
83221         (SETUP_PIC_REG): Use GET_PC_THUNK.
83222         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
83223         macro.
83225 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
83227         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
83228         for non-PIC compilation.
83229         (SETUP_PIC_REG): Add .p2align directive.
83230         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
83231         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
83232         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
83233         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
83234         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
83235         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
83236         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
83237         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
83238         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
83239         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
83240         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
83241         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
83242         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
83243         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
83244         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
83245         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
83246         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
83247         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
83248         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
83249         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
83250         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
83251         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
83252         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
83253         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
83254         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
83255         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
83256         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
83257         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
83258         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
83259         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
83260         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
83261         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
83262         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
83263         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
83264         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
83265         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
83266         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
83267         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
83268         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
83269         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
83270         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
83272 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
83274         * math/tst-CMPLX.c: Include <stdio.h>.
83276 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
83278         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
83279         float.
83280         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
83281         * sysdeps/sparc/bits/mathdef.h: Likewise.
83283 2012-01-31  Marek Polacek  <polacek@redhat.com>
83285         * libio/libio.h: Don't define _PARAMS.
83286         * locale/programs/config.h: Don't define PARAMS.
83287         * stdlib/strtol_l.c: Likewise.
83288         (__strtol_l): Remove PARAMS from the prototype.
83290 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
83292         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
83293         names.  Just use the correct names.  Remove unnecessary wrapper
83294         functions.
83295         * malloc/arena.c: Likewise.
83296         * malloc/hooks.c: Likewise.
83298         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
83299         ARENA_TEST says not to.  Simplify test for creation of a new arena.
83300         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
83302 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
83304         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
83305         into tail calls.
83306         (update_get_addr): New function.
83307         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
83308         GET_ADDR_MODULE parameter.
83310 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
83312         * crypt/cert.c: Remove __STDC__ conditionals.
83313         * crypt/crypt-entry.c: Likewise.
83314         * crypt/crypt_util.c: Likewise.
83315         * libio/filedoalloc.c: Likewise.
83316         * libio/fileops.c: Likewise.
83317         * libio/genops.c: Likewise.
83318         * libio/iofclose.c: Likewise.
83319         * libio/iofdopen.c: Likewise.
83320         * libio/iofopen.c: Likewise.
83321         * libio/iofopen64.c: Likewise.
83322         * libio/iogetdelim.c: Likewise.
83323         * libio/iopopen.c: Likewise.
83324         * libio/obprintf.c: Likewise.
83325         * libio/oldfileops.c: Likewise.
83326         * libio/oldiofclose.c: Likewise.
83327         * libio/oldiofdopen.c: Likewise.
83328         * libio/oldiofopen.c: Likewise.
83329         * libio/oldiopopen.c: Likewise.
83330         * libio/wfiledoalloc.c: Likewise.
83331         * libio/wgenops.c: Likewise.
83332         * locale/programs/xmalloc.c: Likewise.
83333         * misc/syslog.c: Likewise.
83334         * stdio-common/xbug.c: Likewise.
83335         * string/memchr.c: Likewise.
83336         * string/memcmp.c: Likewise.
83337         * string/memrchr.c: Likewise.
83338         * string/rawmemchr.c: Likewise.
83339         * sysdeps/posix/getcwd.c: Likewise.
83340         * time/strftime_l.c: Likewise.
83342 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
83344         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
83345         * config.make.in (config-cflags-sse2avx): Define.
83346         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
83347         Fix typo.
83349 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
83351         * scripts/config.guess: Update from upstream config git repository.
83352         * scripts/config.sub: Likewise.
83354 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
83356         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
83357         (EM_NUM): Update.
83358         (R_TILEPRO_*, R_TILEGX_*): New macros.
83360         * scripts/firstversions.awk: Fix bug in version range handling.
83362         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
83364         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
83366         * include/sys/epoll.h: New file.
83367         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
83368         libc_hidden_def.
83370 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
83372         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
83373         Avoid unnecessary __WORDSIZE == 64 test.
83374         (fmaxf): Use VEX format if possible.
83375         (fmax): Likewise.
83376         (fminf): Likewise.
83377         (fmin): Likewise.
83379         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
83380         * math/math_private.h: Remove libc_fegetround* and
83381         libc_fesetround*.
83382         * sysdeps/i386/configure.in: Check for -msse2avx.
83383         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
83384         also if SSE2AVX is defined.
83385         Remove libc_fegetround* and libc_fesetround*.
83386         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
83387         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
83388         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
83389         of HAS_YMM_USABLE.
83390         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
83391         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
83392         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
83393         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
83394         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
83396         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
83398 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
83400         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
83401         size is not set.
83402         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
83404 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
83406         [BZ #13618]
83407         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
83408         relocation.
83409         * Makeconfig (libm): Define.
83410         * elf/Makefile: Add rules to build and run tst-relsort1.
83411         * elf/tst-relsort1.c: New file.
83412         * elf/tst-relsort1mod1.c: New file.
83413         * elf/tst-relsort1mod2.c: New file.
83415 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
83417         * math/s_ldexp.c: Remove __STDC__ conditionals.
83418         * math/s_ldexpf.c: Likewise.
83419         * math/s_ldexpl.c: Likewise.
83420         * math/s_nextafter.c: Likewise.
83421         * math/s_nexttowardf.c: Likewise.
83422         * math/s_significand.c: Likewise.
83423         * math/s_significandf.c: Likewise.
83424         * math/s_significandl.c: Likewise.
83425         * math/w_jnl.c: Likewise.
83426         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
83427         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
83428         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
83429         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
83430         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
83431         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
83432         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
83433         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
83434         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
83435         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
83436         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
83437         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
83438         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
83439         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
83440         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
83441         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
83442         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
83443         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
83444         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
83445         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
83446         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
83447         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
83448         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
83449         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
83450         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
83451         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
83452         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
83453         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
83454         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
83455         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
83456         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
83457         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
83458         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
83459         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
83460         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
83461         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
83462         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
83463         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
83464         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
83465         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
83466         * sysdeps/ieee754/k_standard.c: Likewise.
83467         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
83468         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
83469         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
83470         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
83471         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
83472         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
83473         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
83474         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
83475         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
83476         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
83477         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
83478         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
83479         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
83480         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
83481         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
83482         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
83483         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
83484         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
83485         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
83486         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
83487         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
83488         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
83489         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
83490         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
83491         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
83492         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
83493         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
83494         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
83495         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
83496         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
83497         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
83498         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
83499         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
83500         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
83501         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
83502         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
83503         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
83504         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
83505         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
83506         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
83507         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
83508         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
83509         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
83510         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
83511         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
83512         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
83513         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
83514         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
83515         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
83516         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
83517         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
83518         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
83519         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
83520         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
83521         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
83522         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
83523         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
83524         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
83525         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
83526         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
83527         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
83528         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
83529         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
83530         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
83531         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
83532         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
83533         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
83534         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
83535         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
83536         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
83537         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
83538         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
83539         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
83540         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
83541         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
83542         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
83543         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
83544         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
83545         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
83546         * sysdeps/ieee754/s_matherr.c: Likewise.
83547         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
83548         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
83549         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
83550         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
83552 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
83554         * crypt/md5.h: Remove __STDC__ conditionals.
83555         * libio/libioP.h: Likewise.
83556         * locale/programs/config.h: Likewise.
83557         * sysdeps/generic/sysdep.h: Likewise.
83558         * sysdeps/i386/asm-syntax.h: Likewise.
83559         * sysdeps/s390/asm-syntax.h: Likewise.
83560         * sysdeps/unix/sysdep.h: Likewise.
83561         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
83562         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
83564 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
83566         * libio/libio.h: Remove __STDC__ conditionals.
83567         * malloc/obstack.h: Likewise.
83568         * math/complex.h: Likewise.
83569         * math/math.h: Likewise.
83570         * sysdeps/generic/_G_config.h: Likewise.
83571         * sysdeps/gnu/_G_config.h: Likewise.
83572         * sysdeps/mach/hurd/_G_config.h: Likewise.
83573         * sysdeps/powerpc/bits/mathdef.h: Likewise.
83574         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
83575         * sysdeps/sparc/bits/mathdef.h: Likewise.
83577 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
83579         [BZ #13583]
83580         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
83581         Clean up HAS_* macros.
83582         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
83583         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
83584         possible.
83585         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
83586         HAS_AVX.
83587         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
83588         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
83589         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
83590         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
83591         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
83593 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
83595         * elf/tst-unique3.cc (gets): Remove declaration.
83596         * elf/tst-unique3lib.cc (gets): Likewise.
83597         * elf/tst-unique3lib2.cc (gets): Likewise.
83598         * elf/tst-unique4.cc (gets): Likewise.
83600 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
83602         * include/stdio.h: Add C++ protection.  Add gets declarations and
83603         definitions.
83604         * debug/tst-chk1.c: Don't declare gets here.
83605         * stdio-common/tst-gets.c: Likewise.
83607 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
83609         * posix/glob: Remove directory.
83611 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
83613         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
83615 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
83617         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
83618         of the non-standard EPFNOSUPPORT.
83620 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
83622         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
83623         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
83624         ANYWHERE set to 1 only on KERN_NO_SPACE error.
83626 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
83628         * wcsmbs/uchar.h: Test __STDC_VERSION__.
83630 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
83632         * nscd/aicache.c (addhstaiX): Do not cache negative results of
83633         transient errors.
83634         * nscd/grpcache.c (cache_addgr): Likewise.
83635         * nscd/hstcache.c (cache_addhst): Likewise.
83636         * nscd/initgrcache.c (addinitgroupsX): Likewise.
83637         * nscd/pwdcache.c (cache_addpw): Likewise.
83638         * nscd/servicescache.c (cache_addserv): Likewise.
83640 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
83642         * malloc/malloc.c: Various cleanups.
83643         * malloc/hooks.c: Likewise.
83645         * stdlib/Makefile (tests): Add bug-fmtmsg1.
83646         * stdlib/bug-fmtmsg1.c: New file.
83648         * stdlib/fmtmsg.c (init): Add missing unlock.
83649         Patch by Peng Haitao <penght@cn.fujitsu.com>.
83651 2012-01-12  Marek Polacek  <polacek@redhat.com>
83653         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
83654         and _GNU_SOURCE.
83656 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
83658         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
83659         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
83660         macro to ensure uniqueness of label name.
83661         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
83662         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
83664 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
83666         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
83668         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
83669         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
83670         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
83671         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
83673 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
83675         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
83677         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
83678         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
83679         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
83681         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
83683         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
83684         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
83685         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
83686         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
83688         * math/bits/math-finite.h: Add ldexp support.
83690 2012-01-10  Marek Polacek  <polacek@redhat.com>
83692         * locale/programs/localedef.h (show_archive_content): Add noreturn
83693         attribute.
83695 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
83697         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
83699 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
83701         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
83703         * io/Makefile (headers): Add bits/poll2.h.
83705 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
83707         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
83708         typo #include statement.
83710 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
83712         * include/sys/cdefs.h: Define __attribute_alloc_size.
83713         * catgets/gencat.c: Add alloc_size attribute and apply consistently
83714         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
83715         * elf/pldd.c: Likewise.
83716         * iconv/iconv_charmap.c: Likewise.
83717         * iconv/iconvconfig.c: Likewise.
83718         * iconv/strtab.c: Likewise.
83719         * locale/programs/locale.c: Likewise.
83720         * locale/programs/localedef.h: Likewise.
83721         * locale/programs/simple-hash.c: Likewise.
83722         * nscd/nscd.h: Likewise.
83723         * nss/makedb.c: Likewise.
83724         * sysdeps/generic/ldconfig.h: Likewise.
83725         * locale/programs/localedef.c: Remove xmalloc prototype.
83726         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
83728 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
83730         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
83731         appropriate.
83733 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
83735         * math/Makefile (tests): Add tst-CMPLX.
83736         * math/tst-CMPLX.c: New file.
83738         * math/complex.h (CMPLXL): Fix typo.
83740         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
83741         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
83742         GLIBC_2.16.
83743         * debug/tst-chk1.c: Add poll and ppoll tests.
83744         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
83745         * include/sys/poll.h: Add hidden proto for ppoll.
83746         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
83747         * sysdeps/mach/hurd/ppoll.c: Likewise.
83748         * io/ppoll.c: Likewise.
83749         * debug/poll_chk.c: New file.
83750         * debug/ppoll_chk.c: New file.
83751         * include/bits/poll2.h: New file.
83752         * io/bits/poll2.h: New file.
83754         [BZ #1350]
83755         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
83757         * configure.in: static is always set to yes.  Remove.
83758         * config.make.in: Don't set build-static.
83759         * Makeconfig: Remove use of build-static.
83760         * dlfcn/Makefile: Likewise.
83761         * elf/Makefile: Likewise.
83762         * math/Makefile: Likewise.
83763         * misc/Makefile: Likewise.
83764         * nptl/Makefile: Likewise.
83765         * sysdeps/mach/hurd/Makefile: Likewise.
83767         * configure.in: PWD_P is not used anymore.
83768         * config.make.in: Remove PWD_P entry.
83770         * configure.in: Remove last remnants of RANLIB.
83771         No need to check for signed size_t anymore.
83772         Don't set libc_commonpagesize and libc_relro_required here for Alpha
83773         and IA-64.
83774         Remove __builtin_expect test because we require at least gcc 3.4.
83775         * aclocal.m4: Likewise.
83777         * wcsmbs/mbrtoc16.c: Implement using towc function.
83778         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
83779         * wcsmbs/wcsmbsload.c: Likewise.
83780         * iconv/gconv_simple.c: Likewise.
83781         * iconv/gconv_int.h: Likewise.
83782         * iconv/gconv_builtin.h: Likewise.
83783         * iconv/iconv_prog.c: Remove CHAR16 handling.
83785         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
83787         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
83789         * configure.in: Remove --with-elf and --enable-bounded options.
83790         Dont set base_machine for ia64.  More non-ELF conditions removed.
83791         Remove testing and setting of leading underscore information.
83792         * config.make.in (build-bounded): Set to no.
83793         * config.h.in: Remove NO_UNDERSCORES entry.
83794         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
83795         them.
83796         * csu/start.c: Remove !NO_UNDERSCORE code.
83797         * locale/localeinfo.h: Likewise.
83798         * sysdeps/generic/machine-gmon.h: Likewise.
83799         * sysdeps/generic/sysdep.h: Likewise.
83800         * sysdeps/i386/sysdep.h: Likewise.
83801         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
83802         * sysdeps/mach/sysdep.h: Likewise.
83803         * sysdeps/s390/s390-32/sysdep.h: Likewise.
83804         * sysdeps/s390/s390-64/sysdep.h: Likewise.
83805         * sysdeps/sh/sysdep.h: Likewise.
83806         * sysdeps/sparc/sparc32/alloca.S: Likewise.
83807         * sysdeps/unix/i386/sysdep.S: Likewise.
83808         * sysdeps/unix/sparc/start.c: Likewise.
83809         * sysdeps/unix/sparc/sysdep.S: Likewise.
83810         * sysdeps/unix/sparc/sysdep.h: Likewise.
83811         * sysdeps/unix/start.c: Likewise.
83812         * sysdeps/unix/x86_64/sysdep.S: Likewise.
83813         * sysdeps/x86_64/sysdep.h: Likewise.
83815 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
83817         [BZ #13553]
83818         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
83819         for non-gcc.
83820         * argp/argp-fmtstream.h: Use const instead __const.
83821         * argp/argp.h: Likewise.
83822         * assert/assert.h: Likewise.
83823         * bits/fenv.h: Likewise.
83824         * bits/sched.h: Likewise.
83825         * bits/sigset.h: Likewise.
83826         * bits/sigthread.h: Likewise.
83827         * catgets/nl_types.h: Likewise.
83828         * conform/data/pthread.h-data: Likewise.
83829         * crypt/crypt-private.h: Likewise.
83830         * crypt/crypt.h: Likewise.
83831         * crypt/crypt_util.c: Likewise.
83832         * ctype/ctype.h: Likewise.
83833         * debug/execinfo.h: Likewise.
83834         * debug/mbsnrtowcs_chk.c: Likewise.
83835         * debug/mbsrtowcs_chk.c: Likewise.
83836         * debug/wcsnrtombs_chk.c: Likewise.
83837         * debug/wcsrtombs_chk.c: Likewise.
83838         * debug/wcstombs_chk.c: Likewise.
83839         * dirent/dirent.h: Likewise.
83840         * dlfcn/dlfcn.h: Likewise.
83841         * elf/neededtest4.c: Likewise.
83842         * grp/grp.h: Likewise.
83843         * gshadow/gshadow.h: Likewise.
83844         * iconv/gconv.h: Likewise.
83845         * iconv/gconv_int.h: Likewise.
83846         * iconv/gconv_simple.c: Likewise.
83847         * iconv/iconv.h: Likewise.
83848         * iconv/loop.c: Likewise.
83849         * iconv/skeleton.c: Likewise.
83850         * include/aio.h: Likewise.
83851         * include/aliases.h: Likewise.
83852         * include/argz.h: Likewise.
83853         * include/arpa/inet.h: Likewise.
83854         * include/assert.h: Likewise.
83855         * include/dirent.h: Likewise.
83856         * include/dlfcn.h: Likewise.
83857         * include/execinfo.h: Likewise.
83858         * include/fcntl.h: Likewise.
83859         * include/fenv.h: Likewise.
83860         * include/glob.h: Likewise.
83861         * include/grp.h: Likewise.
83862         * include/libintl.h: Likewise.
83863         * include/mntent.h: Likewise.
83864         * include/netdb.h: Likewise.
83865         * include/pwd.h: Likewise.
83866         * include/rpc/netdb.h: Likewise.
83867         * include/sched.h: Likewise.
83868         * include/search.h: Likewise.
83869         * include/shadow.h: Likewise.
83870         * include/signal.h: Likewise.
83871         * include/stdio.h: Likewise.
83872         * include/stdlib.h: Likewise.
83873         * include/string.h: Likewise.
83874         * include/sys/socket.h: Likewise.
83875         * include/sys/stat.h: Likewise.
83876         * include/sys/statfs.h: Likewise.
83877         * include/sys/statvfs.h: Likewise.
83878         * include/sys/syslog.h: Likewise.
83879         * include/sys/time.h: Likewise.
83880         * include/sys/uio.h: Likewise.
83881         * include/time.h: Likewise.
83882         * include/unistd.h: Likewise.
83883         * include/utmp.h: Likewise.
83884         * include/wchar.h: Likewise.
83885         * include/wctype.h: Likewise.
83886         * inet/aliases.h: Likewise.
83887         * inet/arpa/inet.h: Likewise.
83888         * inet/netinet/ether.h: Likewise.
83889         * inet/netinet/in.h: Likewise.
83890         * intl/libintl.h: Likewise.
83891         * io/bits/fcntl2.h: Likewise.
83892         * io/fcntl.h: Likewise.
83893         * io/ftw.h: Likewise.
83894         * io/sys/poll.h: Likewise.
83895         * io/sys/stat.h: Likewise.
83896         * io/sys/statfs.h: Likewise.
83897         * io/sys/statvfs.h: Likewise.
83898         * io/utime.h: Likewise.
83899         * libio/bits/stdio.h: Likewise.
83900         * libio/bits/stdio2.h: Likewise.
83901         * libio/libio.h: Likewise.
83902         * libio/libioP.h: Likewise.
83903         * libio/stdio.h: Likewise.
83904         * locale/lc-ctype.c: Likewise.
83905         * locale/locale.h: Likewise.
83906         * login/utmp.h: Likewise.
83907         * malloc/arena.c: Likewise.
83908         * malloc/malloc.c: Likewise.
83909         * malloc/malloc.h: Likewise.
83910         * malloc/mcheck.c: Likewise.
83911         * malloc/mtrace.c: Likewise.
83912         * math/bits/mathcalls.h: Likewise.
83913         * math/fenv.h: Likewise.
83914         * math/math_private.h: Likewise.
83915         * misc/bits/error.h: Likewise.
83916         * misc/bits/syslog.h: Likewise.
83917         * misc/err.h: Likewise.
83918         * misc/error.h: Likewise.
83919         * misc/fstab.h: Likewise.
83920         * misc/mntent.h: Likewise.
83921         * misc/regexp.h: Likewise.
83922         * misc/search.h: Likewise.
83923         * misc/sgtty.h: Likewise.
83924         * misc/sys/mman.h: Likewise.
83925         * misc/sys/syslog.h: Likewise.
83926         * misc/sys/uio.h: Likewise.
83927         * misc/sys/xattr.h: Likewise.
83928         * misc/ttyent.h: Likewise.
83929         * nis/rpcsvc/ypclnt.h: Likewise.
83930         * nss/nss.h: Likewise.
83931         * posix/bits/unistd.h: Likewise.
83932         * posix/fnmatch.h: Likewise.
83933         * posix/glob.h: Likewise.
83934         * posix/sched.h: Likewise.
83935         * posix/spawn.h: Likewise.
83936         * posix/sys/wait.h: Likewise.
83937         * posix/unistd.h: Likewise.
83938         * posix/wordexp.h: Likewise.
83939         * pwd/pwd.h: Likewise.
83940         * resolv/netdb.h: Likewise.
83941         * resource/sys/resource.h: Likewise.
83942         * rt/aio.h: Likewise.
83943         * rt/bits/mqueue2.h: Likewise.
83944         * rt/mqueue.h: Likewise.
83945         * shadow/shadow.h: Likewise.
83946         * signal/signal.h: Likewise.
83947         * socket/send.c: Likewise.
83948         * socket/sendto.c: Likewise.
83949         * socket/sys/socket.h: Likewise.
83950         * stdio-common/printf.h: Likewise.
83951         * stdlib/bits/stdlib.h: Likewise.
83952         * stdlib/fmtmsg.h: Likewise.
83953         * stdlib/monetary.h: Likewise.
83954         * stdlib/stdlib.h: Likewise.
83955         * stdlib/ucontext.h: Likewise.
83956         * streams/stropts.h: Likewise.
83957         * string/argz.h: Likewise.
83958         * string/bits/string2.h: Likewise.
83959         * string/string.h: Likewise.
83960         * string/strings.h: Likewise.
83961         * sunrpc/rpc/auth.h: Likewise.
83962         * sunrpc/rpc/auth_des.h: Likewise.
83963         * sunrpc/rpc/clnt.h: Likewise.
83964         * sunrpc/rpc/netdb.h: Likewise.
83965         * sunrpc/rpc/pmap_clnt.h: Likewise.
83966         * sunrpc/rpc/xdr.h: Likewise.
83967         * sysdeps/generic/inttypes.h: Likewise.
83968         * sysdeps/generic/net/if.h: Likewise.
83969         * sysdeps/generic/sys/swap.h: Likewise.
83970         * sysdeps/gnu/net/if.h: Likewise.
83971         * sysdeps/gnu/utmpx.h: Likewise.
83972         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
83973         * sysdeps/i386/i486/bits/string.h: Likewise.
83974         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
83975         * sysdeps/s390/bits/string.h: Likewise.
83976         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
83977         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
83978         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
83979         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
83980         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
83981         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
83982         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
83983         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
83984         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
83985         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
83986         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
83987         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
83988         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
83989         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
83990         * sysdeps/unix/sysv/linux/readv.c: Likewise.
83991         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
83992         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
83993         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
83994         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
83995         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
83996         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
83997         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
83998         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
83999         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
84000         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
84001         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
84002         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
84003         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
84004         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
84005         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
84006         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
84007         * sysvipc/sys/ipc.h: Likewise.
84008         * sysvipc/sys/msg.h: Likewise.
84009         * sysvipc/sys/sem.h: Likewise.
84010         * sysvipc/sys/shm.h: Likewise.
84011         * termios/termios.h: Likewise.
84012         * time/sys/time.h: Likewise.
84013         * time/time.h: Likewise.
84014         * wcsmbs/bits/wchar2.h: Likewise.
84015         * wcsmbs/uchar.h: Likewise.
84016         * wcsmbs/wchar.h: Likewise.
84017         * wctype/wctype.h: Likewise.
84019         [BZ #13551]
84020         * Makeconfig: Remove all but ELF support including AIX support.
84021         * Makerules: Likewise.
84022         * config.h.in: Likewise.
84023         * config.make.in: Likewise.
84024         * configure: Likewise.
84025         * configure.in: Likewise.
84026         * csu/Makefile: Likewise.
84027         * csu/version.c: Likewise.
84028         * debug/Makefile: Likewise.
84029         * dlfcn/Makefile: Likewise.
84030         * elf/Makefile: Likewise.
84031         * extra-lib.mk: Likewise.
84032         * iconv/Makefile: Likewise.
84033         * include/libc-symbols.h: Likewise.
84034         * include/shlib-compat.h: Likewise.
84035         * resolv/Makefile: Likewise.
84036         * resolv/res_libc.c: Likewise.
84037         * rt/Makefile: Likewise.
84038         * sysdeps/i386/asm-syntax.h: Likewise.
84039         * sysdeps/i386/sysdep.h: Likewise.
84040         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
84041         * sysdeps/mach/sysdep.h: Likewise.
84042         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
84043         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
84044         * sysdeps/s390/asm-syntax.h: Likewise.
84045         * sysdeps/s390/s390-32/sysdep.h: Likewise.
84046         * sysdeps/s390/s390-64/sysdep.h: Likewise.
84047         * sysdeps/sh/sysdep.h: Likewise.
84048         * sysdeps/unix/sparc/sysdep.h: Likewise.
84049         * sysdeps/wordsize-32/divdi3.c: Likewise.
84050         * sysdeps/x86_64/sysdep.h: Likewise.
84052         * argp/Versions: Remove _argp_unlock_xxx.
84054         [BZ #13559]
84055         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
84056         * abilist/libBrokenLocale.abilist: Likewise.
84057         * abilist/libanl.abilist: Likewise.
84058         * abilist/libc.abilist: Likewise.
84059         * abilist/libcrypt.abilist: Likewise.
84060         * abilist/libdl.abilist: Likewise.
84061         * abilist/libm.abilist: Likewise.
84062         * abilist/libnsl.abilist: Likewise.
84063         * abilist/libpthread.abilist: Likewise.
84064         * abilist/libresolv.abilist: Likewise.
84065         * abilist/librt.abilist: Likewise.
84066         * abilist/libthread_db.abilist: Likewise.
84067         * abilist/libutil.abilist: Likewise.
84068         * abilist/libnss_db.abilist: New file.
84070         * scripts/abilist.awk: Add support for indirect functions.
84072         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
84074         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
84076         * shlib-versions: Remove entries for ports architectures.
84078         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
84079         files in ports.
84080         * elf/stackguard-macros.h: Remove support for IA-64.
84081         * elf/tst-auditmod1.c: Likewise.
84082         * sysdeps/generic/ldsodefs.h: Likewise.
84084         * sysdeps/unix/sysv/linux/configure.in: Ports should define
84085         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
84086         configure files.
84088         [BZ #13552]
84089         * configure.in: Remove --enable-omitfp support.
84090         * FAQ.in: Adjust.
84091         * config.make.in: Likewise.
84092         * Makeconfig: Likewise.
84093         * manual/install.texi: Likewise.
84095         In case anyone cares, the IA-64 architecture could move to ports.
84096         * sysdeps/ia64/*: Removed.
84097         * sysdeps/unix/sysv/linux/ia64/*: Removed.
84098         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
84100         [BZ #13555]
84101         * configure.in: Remove entries for unsupported architectures.
84103         [BZ #13533]
84104         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
84105         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
84106         routines.
84107         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
84108         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
84109         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
84110         fall back to using wcrtomb.
84111         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
84112         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
84113         renaming.
84114         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
84115         * wcsmbs/tst-c16c32-1.c: New file.
84117         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
84118         local variable.
84120         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
84122         * elf/tst-unique3.cc: Add explicit declaration of gets.
84123         * elf/tst-unique3lib.cc: Likewise.
84124         * elf/tst-unique3lib2.cc: Likewise.
84125         * elf/tst-unique4.cc: Likewise.
84127         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
84129 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
84131         [BZ #13566]
84132         * assert/assert.h (static_assert): Don't define for C++.
84133         * libio/stdio.h (gets): Do declare for C++ <= C++11.
84134         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
84136 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
84138         * iconv/loop.c (single loop): Fix assertion in storing of
84139         remaining bytes.
84141         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
84143 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
84145         * posix/getconf.c: Update copyright year.
84146         * nss/getent.c: Likewise.
84147         * nss/makedb.c: Likewise.
84148         * iconv/iconvconfig.c: Likewise.
84149         * iconv/iconv_prog.c: Likewise.
84150         * elf/ldconfig.c: Likewise.
84151         * elf/pldd.c: Likewise.
84152         * elf/sotruss.ksh: Likewise.
84153         * catgets/gencat.c: Likewise.
84154         * csu/version.c: Likewise.
84155         * elf/ldd.bash.in: Likewise.
84156         * elf/sprof.c (print_version): Likewise.
84157         * locale/programs/locale.c: Likewise.
84158         * locale/programs/localedef.c: Likewise.
84159         * login/programs/pt_chown.c: Likewise.
84160         * nscd/nscd.c (print_version): Likewise.
84161         * debug/xtrace.sh: Likewise.
84162         * malloc/memusage.sh: Likewise.
84163         * malloc/mtrace.pl: Likewise.
84164         * debug/catchsegv.sh: Likewise.
84166 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
84168         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
84169         pure attribute.
84171 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
84173         [BZ #13533]
84174         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
84175         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
84176         transformations.
84177         * iconv/gconv_int.h: Likewise.
84178         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
84179         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
84180         from libc for GLIBC_2.16.
84181         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
84182         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
84183         * wcsmbs/uchar.h: Really define mbstate_t.
84184         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
84185         * wcsmbs/c16rtomb.c: New file.
84186         * wcsmbs/mbrtoc16.c: New file.
84187         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
84188         for C/POSIX locale.
84189         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
84190         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
84192         * wcsmbs/wchar.h: Add missing __restrict.
84194 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
84196         [BZ #13532]
84197         * time/Makefile (routines): Add timespec_get.
84198         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
84199         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
84200         timespec for ISO C11.
84201         * time/timespec_get.c: New file.
84202         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
84203         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
84205         [BZ #13531]
84206         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
84207         * stdlib/stdlib.h: Declare aligned_alloc.
84208         * Versions.def: Add GLIBC_2.16 for libc.
84209         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
84211         [BZ 13527]
84212         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
84213         ISO C11.
84215         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
84216         code.
84218         [BZ #13528]
84219         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
84221         [BZ #13529]
84222         * assert/assert.h (static_assert): Define.
84224         * version.h: Update for 2.16 development version.
84226         [BZ #13526]
84227         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
84228         _ISOC11_SOURCE.
84230         * version.h (RELEASE): Bump for 2.15 release.
84231         * include/features.h (__GLIBC_MINOR__): Bump to 15.
84233         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
84234         Patch by Marek Polacek <mpolacek@redhat.com>.
84236         * bits/byteswap.h: Protect long long constants with __extension__.
84237         * sysdeps/i386/bits/byteswap.h: Likewise.
84238         * sysdeps/ia64/bits/byteswap.h: Likewise.
84239         * sysdeps/s390/bits/byteswap.h: Likewise.
84240         * sysdeps/x86_64/bits/byteswap.h: Likewise.
84242 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
84244         [BZ #13540]
84245         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
84246         destination buffer.
84247         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
84249 2011-12-23  Marek Polacek  <polacek@redhat.com>
84251         * elf/dl-addr.c (determine_info): Add inline keyword.
84252         * elf/tst-auditmod4b.c (check_avx): Likewise.
84253         * elf/tst-auditmod6b.c (check_avx): Likewise.
84254         * elf/tst-auditmod6c.c (check_avx): Likewise.
84255         * elf/tst-auditmod7b.c (check_avx): Likewise.
84257 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
84259         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
84260         !__SSE_MATH__.
84262 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
84264         [BZ #13540]
84265         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
84266         processing for last bytes.
84268 2011-08-06  Bruno Haible  <bruno@clisp.org>
84270         [BZ #13061]
84271         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
84272         U+0385, not to U+1FEE.
84274         [BZ #13062]
84275         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
84276         entry for U+00A5 U+0301.
84278 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
84280         [BZ #13166]
84281         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
84282         buffer for the output is too small.
84284         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
84285         optimization.
84287         [BZ #13185]
84288         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
84289         SSE flags if possible.
84291 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
84293         [BZ #13540]
84294         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
84295         processing for last bytes.
84297 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
84299         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
84300         (syscall-list-default-options, syscall-list-default-condition)
84301         (syscall-list-includes): Define.
84302         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
84303         list of ABIs and options and #if conditions for each ABI.  Do not
84304         handle common syscalls between ABIs specially.
84305         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
84306         Remove.
84307         (syscall-list-variants, syscall-list-32bit-options)
84308         (syscall-list-32bit-condition, syscall-list-64bit-options)
84309         (syscall-list-64bit-condition): Define.
84310         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
84311         (syscall-list-variants, syscall-list-32bit-options)
84312         (syscall-list-32bit-condition, syscall-list-64bit-options)
84313         (syscall-list-64bit-condition): Define.
84314         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
84315         Remove.
84316         (syscall-list-variants, syscall-list-32bit-options)
84317         (syscall-list-32bit-condition, syscall-list-64bit-options)
84318         (syscall-list-64bit-condition): Define.
84319         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
84320         Remove.
84321         (syscall-list-variants, syscall-list-32bit-options)
84322         (syscall-list-32bit-condition, syscall-list-64bit-options)
84323         (syscall-list-64bit-condition): Define.
84325 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
84327         * locale/iso-639.def: Add brx entry.
84329         [BZ #13328]
84330         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
84331         Proposed by Mariusz_Cukr <marcukr@op.pl>.
84333         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
84334         __feraiseexcept_renamed.
84336 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
84338         [BZ #13538]
84339         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
84340         EPOLLET with unsigned values.
84341         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
84342         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
84344         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
84345         to large cancellation.
84346         * math/s_cacoshf.c: Likewise.
84347         * math/s_cacoshl.c: Likewise.
84349 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
84351         [BZ #13305]
84352         [BZ #12786]
84353         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
84354         * math/s_cacoshf.c: Likewise.
84355         * math/s_cacoshl.c: Likewise.
84357 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
84359         [BZ #13439]
84360         * iconv/gconv.h: Define __GCONV_SWAP.
84361         * iconvdata/unicode.c: The swap bit must be stored in __flags.
84362         * iconvdata/utf-16.c: Likewise.
84363         * iconvdata/utf-32.c: Likewise.
84365 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
84367         [BZ #13524]
84368         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
84369         numerator after shifting it by one limb.
84371 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
84373         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
84374         under [__USE_EXTERN_INLINES].
84376 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
84378         [BZ #13446]
84379         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
84381 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
84383         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
84384         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
84385         optimized code.
84386         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
84387         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
84388         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
84389         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
84390         for strncasecmp/strncasecmp_l compilation.
84391         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
84392         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
84394 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
84396         [BZ #13484]
84397         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
84398         of __asm__.
84400 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
84402         [BZ #13506]
84403         * time/tzfile.c (__tzfile_read): Check values from file header.
84405 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
84407         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
84408         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
84409         * powerpc/powerpc32/dl-start.S: Likewise.
84410         * powerpc/powerpc32/elf/start.S: Likewise.
84411         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
84412         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
84413         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
84414         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
84415         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
84416         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
84417         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
84418         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
84419         * powerpc/powerpc32/fpu/s_round.S: Likewise.
84420         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
84421         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
84422         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
84423         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
84424         * powerpc/powerpc32/memset.S: Likewise.
84425         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
84426         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
84427         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
84428         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
84429         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
84430         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
84431         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
84432         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
84433         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
84434         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
84435         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
84436         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
84437         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
84439 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
84441         * math/libm-test.inc: Added more nearbyint tests.
84442         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
84443         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
84444         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
84445         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
84447 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
84449         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
84450         FD_CLOEXEC.
84452 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
84454         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
84455         Add wcscpy-ssse3 wcscpy-c.
84456         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
84457         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
84458         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
84459         * sysdeps/x86_64/wcschr.S: New file.
84460         * sysdeps/x86_64/wcsrchr.S: New file.
84461         * string/test-strcmp.c: Remove checking of wcscmp function for
84462         wrong alignments.
84463         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
84464         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
84465         wcsrchr-sse2 wcsrchr-c.
84466         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
84467         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
84468         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
84469         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
84470         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
84471         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
84472         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
84473         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
84474         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
84475         * wcsmbc/wcschr.c (WCSCHR): New macro.
84477 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
84479         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
84480         * wcsmbs/test-wcsrchr.c: New file.
84481         * string/test-strrchr.c: Add wcsrchr support.
84482         (WIDE): New macro.
84483         * wcsmbs/test-wcscpy.c: New file.
84484         * string/test-strcpy.c: Add wcscpy support.
84485         (WIDE): New macro.
84487 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
84489         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
84490         the inner loop.
84492 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
84494         [BZ #13472]
84495         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
84497 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
84499         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
84500         Minor optimizations.
84502         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
84503         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
84504         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
84506 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
84508         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
84509         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
84510         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
84511         for gcc to avoid warnings.
84512         * inet/Makefile (tests): Add tst-checks.
84513         * inet/tst-checks.c: New file.
84515         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
84516         warning.
84518         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
84519         __wmemcmp_sse2.
84521         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
84522         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
84524         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
84526 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
84528         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
84529         problem.
84531         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
84533 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
84535         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
84536         conditional on GCC version.
84537         (__arch_compare_and_exchange_val_8_acq)
84538         (__arch_compare_and_exchange_val_16_acq)
84539         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
84540         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
84541         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
84543 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
84545         * sysdeps/sh/backtrace.c: New file.
84547 2011-12-02  Andreas Schwab  <schwab@redhat.com>
84549         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
84550         parenthesis.
84552 2011-12-01  Andreas Schwab  <schwab@redhat.com>
84554         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
84555         falling back to utime.
84557 2011-11-30  Andreas Schwab  <schwab@redhat.com>
84559         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
84560         expectations for float.
84562 2011-11-29  Andreas Schwab  <schwab@redhat.com>
84564         * locale/weight.h (findidx): Add parameter len.
84565         * locale/weightwc.h (findidx): Likewise.
84566         * posix/fnmatch_loop.c (FCT): Adjust caller.
84567         * posix/regcomp.c (build_equiv_class): Likewise.
84568         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
84569         * posix/regexec.c (check_node_accept_bytes): Likewise.
84570         * string/strcoll_l.c (STRCOLL): Likewise.
84571         * string/strxfrm_l.c (STRXFRM): Likewise.
84573 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
84575         * Makefile.in: Remove CVSOPT handling.
84576         * configure.in: Remove use of AC_REVISION.
84577         * iconvdata/Makefile (distribute): No need to filter out CVS.
84578         * scripts/list-sources.sh: Remove CVS, subversion and monotone
84579         handling.
84581 2011-11-16  Andreas Schwab  <schwab@redhat.com>
84583         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
84584         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
84585         [USE_AS_STRNCASECMP_L]: Likewise.
84586         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
84587         NO_TLS_DIRECT_SEG_REFS.
84588         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
84589         Fix argument offsets for non-PIC.
84590         [USE_AS_STRNCASECMP_L]: Likewise.
84591         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
84592         NO_TLS_DIRECT_SEG_REFS.
84594 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
84596         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
84597         O_CLOEXEC.
84598         * locale/loadlocale.c (_nl_load_locale): Likewise.
84600 2011-11-15  Andreas Schwab  <schwab@redhat.com>
84602         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
84603         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
84604         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
84605         (SYSCALL_GETTIME): Set errno on error.
84607         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
84608         count references to noai6ai_cached.
84610 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
84612         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
84614         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
84615         FD_CLOEXEC for /proc/self/maps.
84617         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
84618         FD_CLOEXEC for /proc/meminfo.
84620         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
84621         gai.conf.
84623         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
84624         FD_CLOEXEC for given file.
84626         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
84628         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
84629         FD_CLOEXEC for /etc/hosts.
84630         (_gethtent): Likewise.
84632         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
84634         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
84635         cancellation and set FD_CLOEXEC for /etc/netgroup.
84637         * nss/nss_files/files-key.c (search): Don't allow cancellation when
84638         reading /etc/publickey.
84640         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
84641         allow cancellation when reading /etc/group.
84643         * nss/nss_files/files-alias.c (internal_setent): Don't allow
84644         cancellation.
84645         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
84647         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
84648         when using data file.
84650         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
84652         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
84653         (write_nis_obj): Use "c" and "e" in fopen.
84655         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
84657         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
84659         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
84661         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
84663         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
84664         locale.alias.
84666         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
84668         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
84670         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
84672         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
84673         file parsing and set FD_CLOEXEC.
84675 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
84677         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
84679 2011-11-14  Andreas Schwab  <schwab@redhat.com>
84681         * malloc/arena.c (arena_get2): Don't call reused_arena when
84682         _int_new_arena failed.
84684 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
84686         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
84687         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
84688         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
84689         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
84690         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
84691         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
84692         to compile strcasecmp and strncasecmp.
84693         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
84694         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
84696         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
84698 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
84700         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
84701         locale-defines.sym to gen-as-const-headers.
84702         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
84703         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
84704         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
84705         to compile strcasecmp and strncasecmp.
84706         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
84707         strcasecmp_l and strncasecmp_l.
84708         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
84709         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
84710         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
84711         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
84712         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
84713         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
84714         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
84715         * sysdeps/i386/i686/multiarch/strncase.S: New file.
84716         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
84717         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
84718         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
84720 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
84722         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
84723         result of SYSDEP_GETTIME_CPU to retval.
84724         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
84725         parameter list to macro.  Remove trailing semicolon.  Adjust users.
84727         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
84728         variable.
84730         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
84731         mantissa words.
84732         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
84734         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
84735         from unused variable.
84737         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
84738         DWARF definitions.
84739         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
84740         for assembling.
84742         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
84743         over namespaces.
84745         * sunrpc/rpc_prot.c (rejected): Fix case value.
84747         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
84748         unsigned long long int to avoid warnings in shift.
84750         * posix/regex_internal.c (re_string_reconstruct): Actually use result
84751         of use of trans.
84752         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
84753         variable tmp.
84755         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
84756         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
84757         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
84759         * nis/nis_table.c (nis_list): Use variable of correct type for
84760         result of __follow_path call.
84762 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
84764         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
84765         of math functions ceil, trunc, floor, round, and sqrt, when
84766         avaliable on the platform.
84767         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
84768         name clash.
84769         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
84770         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
84771         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
84773 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
84775         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
84776         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
84778 2011-11-11  Roland McGrath  <roland@hack.frob.com>
84780         * include/unistd.h: Fix __readlink return type.
84781         Reported by Chris Metcalf <cmetcalf@tilera.com>.
84783 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
84785         * stdlib/ucontext.h: Undo last change for makecontext.
84787 2011-11-11  Andreas Schwab  <schwab@redhat.com>
84789         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
84791         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
84792         * setjmp/setjmp.h: Mark functions as non-leaf.
84793         * setjmp/bits/setjmp2.h: Likewise.
84794         * stdlib/ucontext.h: Likewise.
84796 2011-11-10  Andreas Schwab  <schwab@redhat.com>
84798         * malloc/arena.c (_int_new_arena): Don't increment narenas.
84799         (reused_arena): Don't check arena limit.
84800         (arena_get2): Atomically check arena limit.
84802 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
84804         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
84805         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
84807         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
84808         instructions.
84810 2011-11-07  Andreas Schwab  <schwab@redhat.com>
84812         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
84813         handler when locking.
84815         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
84816         Fix size of allocated buffer.
84818 2011-11-04  Andreas Schwab  <schwab@redhat.com>
84820         [BZ #10103]
84821         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
84822         declarations for long double functions.
84823         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
84825         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
84827 2011-11-03  Andreas Schwab  <schwab@redhat.com>
84829         * nscd/nscd.c (main): Don't start AVC thread until credentials are
84830         installed.
84832         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
84833         is disabled.
84835 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
84837         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
84839 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
84841         * include/alloca.h (stackinfo_alloca_round): Define.
84842         (extend_alloca): Use it.
84843         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
84844         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
84845         here.
84847         * scripts/check-local-headers.sh: Ignore libaudit.h.
84849         * nscd/Makefile (extra-objs): Make recursively expanded.
84851 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
84853         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
84854         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
84856         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
84857         * posix/tst-rfc3484-2.c: Likewise.
84858         * posix/tst-rfc3484-3.c: Likewise.
84860         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
84861         process_vm_writev.
84862         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
84863         process_vm_writev.
84864         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
84865         process_vm_writev from libc using GLIBC_2.15 version.
84867         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
84869 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
84871         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
84872         stack usage.
84874 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
84876         [BZ #13367]
84877         * nss/getent.c (initgroups_keys): Show error message in case no group
84878         names are given.
84880         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
84881         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
84882         __bump_nl_timestamp.
84883         * nscd/connections (nscd_init): When host database is served open
84884         netlink socket and request notification about configuration changes.
84885         (main_loop_poll): Track netlink file descriptor and bump timestamp
84886         in case data becomes available.
84887         (main_loop_epoll): Likewise.
84888         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
84889         (database_pers_head): Add extra_data fileds.
84890         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
84891         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
84892         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
84893         Adjust caller.
84894         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
84895         in6ai data, call __free_in6ai.
84896         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
84897         Add -DHAVE_NETLINK.
84898         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
84899         interface information.  Reuse previous data if netlink timestamp
84900         is not changed.
84901         (__bump_nl_timestamp): New function.
84902         (__free_in6ai): New function.
84904 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
84906         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
84907         close_not_cancel_no_status here.
84908         (__check_pf): Reorganize code a bit to not call close twice if OOM.
84910 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
84912         [BZ #13276]
84913         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
84914         return value.
84916         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
84917         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
84918         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
84920 2011-07-03  Andreas Jaeger  <aj@suse.de>
84922         [BZ #10709]
84923         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
84924         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
84925         * math/libm-test.inc (sin_test): Add test case.
84927 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
84929         [BZ #13337]
84930         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
84931         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
84933         * elf/chroot_canon.c (chroot_canon): Cleanups.
84935         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
84937         [BZ #13335]
84938         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
84939         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
84941         * string/test-strchr.c: Make usable for strchrnul testing.
84942         * string/test-strchrnul.c: New file.
84943         * string/Makefile (strop-tests): Add strchrnul.
84945         * po/it.po: Update from translation team.
84946         * po/es.po: Likewise.
84948 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
84950         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
84951         the three constants needed as parameters.  Drop the others.
84952         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
84953         __m128i_strloadu_tolower.
84954         Create and initialize variable zero and use it in all the places
84955         where _mm_setzero_si128 was used.
84957         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
84958         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
84959         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
84960         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
84961         anymore.
84962         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
84963         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
84964         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
84965         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
84966         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
84967         __mpranred, __mptan.
84968         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
84969         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
84970         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
84971         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
84972         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
84973         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
84974         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
84975         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
84976         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
84978 2011-10-28  Andreas Schwab  <schwab@redhat.com>
84980         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
84981         redefine if SHARED.
84982         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
84984         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
84985         wide char related routines to wcsmbs subdir.
84987 2011-10-27  Andreas Schwab  <schwab@redhat.com>
84989         [BZ #13344]
84990         * misc/sys/cdefs.h (__THROWNL): Define.
84991         * posix/unistd.h: Use __THREADNL instead of __THREAD
84992         for memory synchronization functions.
84994 2011-10-26  Roland McGrath  <roland@hack.frob.com>
84996         [BZ #13349]
84997         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
84998         doesn't exist.
84999         * manual/stdio.texi (Obstack Streams): Node removed.
85001 2011-10-26  Andreas Schwab  <schwab@redhat.com>
85003         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
85004         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
85005         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
85007         * math/math_private.h (math_force_eval): Allow non-addressable
85008         arguments.
85009         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
85011 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
85013         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
85014         file is not needed.
85016         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
85017         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
85018         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
85019         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
85020         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
85021         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
85022         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
85023         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
85024         Add AVX variants.
85025         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
85026         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
85027         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
85028         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
85029         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
85030         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
85031         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
85032         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
85033         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
85034         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
85035         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
85036         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
85037         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
85038         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
85039         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
85040         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
85041         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
85042         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
85043         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
85045         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
85046         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
85048         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
85049         place.  Use VEX encoding when compiling for AVX.
85051 2011-10-25  Andreas Schwab  <schwab@redhat.com>
85053         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
85054         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
85056         * string/test-strchr.c (do_test): Don't generate NUL bytes.
85058 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
85060         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
85061         useless if() expression.
85062         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
85063         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
85064         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
85065         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
85066         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
85067         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
85068         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
85069         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
85070         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
85071         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
85072         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
85073         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
85074         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
85075         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
85076         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
85077         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
85078         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
85079         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
85080         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
85082         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
85084 2011-10-25  Andreas Schwab  <schwab@redhat.com>
85086         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
85087         condition.
85088         * elf/dl-fini.c (_dl_sort_fini): Likewise.
85090 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
85092         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
85093         .text section.  Avoid duplicate constants.
85094         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
85095         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
85096         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
85097         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
85098         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
85099         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
85100         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
85101         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
85102         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
85103         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
85104         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
85105         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
85106         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
85107         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
85108         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
85109         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
85110         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
85111         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
85112         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
85113         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
85114         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
85115         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
85116         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
85117         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
85118         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
85119         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
85120         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
85121         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
85122         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
85123         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
85124         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
85125         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
85126         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
85127         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
85128         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
85129         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
85130         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
85131         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
85132         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
85133         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
85134         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
85135         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
85136         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
85137         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
85138         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
85140 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
85142         * sysdeps/x86_64/dla.h: Move to ...
85143         * sysdeps/x86_64/fpu/dla.h: ...here.
85144         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
85145         situations.  Use __builtin_fma only for gcc 4.6 and up.
85147         * config.make.in: Add have-mfma4 entry.
85148         * configure.in: Substitute libc_cv_cc_fma4.
85149         * math/Makefile (dbl-only-routines): Add sincostab.
85150         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
85151         Use __sincostab not sincos.
85152         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
85153         name is a macro.
85154         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
85155         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
85156         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
85157         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
85158         using __copysign.
85159         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
85160         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
85161         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
85162         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
85163         and __inv.
85164         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
85165         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
85166         __copysign.
85167         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
85168         define aliases when function name is a macro.
85169         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
85170         sysdeps/ieee754/dbl-64/sincos.tbl.
85171         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
85172         fma4-enabled routines.
85173         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
85174         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
85175         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
85176         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
85177         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
85178         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
85179         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
85180         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
85181         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
85182         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
85183         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
85184         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
85185         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
85186         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
85187         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
85188         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
85189         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
85190         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
85191         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
85192         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
85193         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
85194         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
85195         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
85196         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
85197         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
85198         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
85199         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
85200         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
85201         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
85202         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
85204         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
85205         rename.
85206         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
85207         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
85208         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
85209         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
85210         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
85211         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
85212         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
85213         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
85215 2011-10-24  Andreas Schwab  <schwab@redhat.com>
85217         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
85219 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
85221         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
85223         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
85224         prediction.
85225         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
85227         * string/strnlen.c: Don't define STRNLEN, reverse logic.
85228         Remove unused variable magic_bits.
85229         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
85231         * string/strnlen.c: Define and use STRNLEN macro.
85232         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
85233         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
85234         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
85235         * wcsmbs/wcslen.c: Define and use WCSLEN.
85236         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
85237         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
85238         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
85239         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
85240         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
85241         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
85242         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
85244 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
85246         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
85247         strnlen-sse2-no-bsf.
85248         Rename strlen-no-bsf to strlen-sse2-no-bsf.
85249         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
85250         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
85251         Add strnlen support.
85252         (USE_AS_STRNLEN): New macro.
85253         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
85254         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
85255         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
85256         * sysdeps/x86_64/wcslen.S: New file.
85258 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
85260         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
85261         XMM-moves are used for copying on small sizes.
85263 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
85265         * wcsmbs/Makefile (strop-tests): Add wcschr.
85266         * wcsmbs/test-wcschr.c: New file.
85267         * string/test-strchr.c: Update.
85268         Add wcschr support.
85269         (WIDE): New macro.
85271 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
85273         * wcsmbs/Makefile (strop-tests): Add wcslen.
85274         * wcsmbs/test-wcslen.c: New file.
85275         * string/test-strlen.c: Update.
85276         Add wcslen support.
85277         (WIDE): New macro.
85279 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
85281         * po/it.po: Update from translation team.
85283 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
85285         * sysdeps/x86_64/wcscmp.S: Update.
85286         Fix wrong comparison semantics.
85287         wcscmp shall use signed comparison not unsigned.
85288         Don't use substraction to avoid overflow bug.
85289         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
85290         * wcsmbc/wcscmp.c: Likewise.
85291         * string/test-strcmp.c: Likewise.
85292         Add new tests to check cases with negative values.
85294 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
85296         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
85297         * sysdeps/x86_64/dla.h: ...here.  New file.
85298         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
85299         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
85300         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
85301         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
85302         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
85303         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
85304         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
85305         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
85306         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
85308 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
85310         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
85311         __ynl_finite aliases.
85313 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
85315         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
85317         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
85318         define DLA_FMA.
85319         [DLA_FMA] (EMULV): Use DLA_FMA.
85320         [DLA_FMA] (MUL12): Use EMULV.
85321         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
85322         that are not needed.
85323         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
85324         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
85325         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
85326         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
85327         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
85328         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
85329         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
85331 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
85333         * math/s_nan.c: Undef __nan.
85334         * math/s_nanf.c: Undef __nanf.
85335         * math/s_nanl.c: Undef __nanl.
85336         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
85337         "math_private.h".
85339 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
85341         * math/s_catan.c: Add branch predictions.
85342         * math/s_catanf.c: Likewise.
85343         * math/s_catanh.c: Likewise.
85344         * math/s_catanhf.c: Likewise.
85345         * math/s_catanhl.c: Likewise.
85346         * math/s_catanl.c: Likewise.
85347         * math/s_cexp.c: Likewise.
85348         * math/s_cexpf.c: Likewise.
85349         * math/s_cexpl.c: Likewise.
85350         * math/s_clog.c: Likewise.
85351         * math/s_clog10.c: Likewise.
85352         * math/s_clog10f.c: Likewise.
85353         * math/s_clog10l.c: Likewise.
85354         * math/s_clogf.c: Likewise.
85355         * math/s_clogl.c: Likewise.
85356         * math/s_csqrt.c: Likewise.
85357         * math/s_csqrtf.c: Likewise.
85358         * math/s_csqrtl.c: Likewise.
85359         * math/s_ctanf.c: Likewise.
85360         * math/s_ctanh.c: Likewise.
85361         * math/s_ctanhf.c: Likewise.
85362         * math/s_ctanhl.c: Likewise.
85363         * math/s_ctanl.c: Likewise.
85365         * math/math_private.h: Define __nan, __nanf, __nanl.
85366         * math/s_cacosh.c: Include <math_private.h>.
85367         * math/s_cacoshl.c: Likewise.
85368         * math/s_casinh.c: Likewise.
85369         * math/s_casinhf.c: Likewise.
85370         * math/s_casinhl.c: Likewise.
85371         * math/s_ccos.c: Rely entire on ccosh.
85372         * math/s_ccosf.c: Rely entire on ccoshf.
85373         * math/s_ccosl.c: Rely entirely on ccoshl.
85374         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
85375         Remove tests for FE_INVALID.
85376         * math/s_ccoshf.c: Likewise.
85377         * math/s_ccoshl.c: Likewise.
85378         * math/s_csin.c: Likewise.
85379         * math/s_csinf.c: Likewise.
85380         * math/s_csinh.c Likewise.
85381         * math/s_csinhf.c: Likewise.
85382         * math/s_csinhl.c: Likewise.
85383         * math/s_csinl.c: Likewise.
85384         * math/s_ctan.c: Likewise.
85385         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
85386         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
85387         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
85389 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
85391         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
85392         compilation problems.
85394         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
85395         __builtin_expect.
85397 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
85399         * sysdeps/i386/configure.in: Test for -mfma4 option.
85400         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
85401         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
85402         COMMON_CPUID_INDEX_80000001.
85403         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
85404         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
85405         use it if FMA3 is not supported.
85406         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
85408         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
85409         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
85411 2011-10-20  Andreas Schwab  <schwab@redhat.com>
85413         [BZ #12892]
85414         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
85415         it would create a cycle with a link time dependency.
85417 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
85419         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
85420         instruction.
85421         * string/Makefile (strop-tests): Add rawmemchr.
85422         * string/test-rawmemchr.c: New file.
85424         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
85425         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
85426         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
85427         when compiling str{,n}casecmp and when AVX is available.  Hook up
85428         new optimized code in initializers.
85430 2011-10-19  Andreas Schwab  <schwab@redhat.com>
85432         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
85433         __feraiseexcept instead of feraiseexcept.
85435 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
85437         * math/math_private.h: Define defaults for libc_fetestexcept and
85438         libc_feupdateenv.
85439         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
85440         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
85441         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
85442         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
85443         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
85444         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
85445         libc_fetestexcept and libc_feupdateenv.
85447         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
85448         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
85449         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
85450         * sysdeps/x86_64/fpu/math_private.h: Define special version of
85451         libc_feholdexcept_setround.
85453         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
85454         Add s_nearbyint-c and s_nearbyintf-c.
85455         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
85456         nearbyintf inlines.
85457         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
85458         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
85459         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
85460         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
85462         * math/math_private.h: Define defaults for libc_fegetround,
85463         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
85464         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
85465         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
85466         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
85467         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
85468         standard functions.
85469         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
85470         Remove comments and hacks for old compiler versions.
85471         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
85472         libc_fegetround, libc_fesetround, libc_feholdexcept, and
85473         libc_feholdexceptl.
85475 2011-10-18  Andreas Schwab  <schwab@redhat.com>
85477         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
85478         (__feraiseexcept_renamed): Add __NTH.
85479         (feraiseexcept): Add __NTH.  Rename local variables to fix
85480         namespace violations.
85482 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
85484         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
85486         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
85488         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
85489         recently added interfaces.
85490         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
85492         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
85493         about macro parameter expansion.
85495         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
85496         __NO_MATH_INLINES is defined.  Cleanups.
85498         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
85499         and __floorf is target has SSE4.1.
85500         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
85501         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
85502         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
85503         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
85505         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
85506         name.
85507         (floorf): Likewise.
85509         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
85511 2011-10-17  Andreas Schwab  <schwab@redhat.com>
85513         * misc/sys/cdefs.h: Fix last change.
85515         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
85516         database lookup.
85518 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
85520         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
85522         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
85523         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
85524         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
85525         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
85526         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
85527         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
85528         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
85529         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
85530         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
85531         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
85532         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
85533         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
85534         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
85535         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
85536         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
85537         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
85538         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
85539         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
85540         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
85541         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
85542         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
85543         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
85545         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
85546         ceil, ceilf, floor, floorf.
85548         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
85549         Perform IRELATIVE relocations last.
85551         * elf/do-rel.h: Add another parameter nrelative, replacing the
85552         local variable with the same name.  Change name of the function
85553         to end in Rel or Rela (uppercase).
85554         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
85555         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
85556         elf_dynamic_do_##reloc function.
85558 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
85560         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
85561         is sufficient, at least on modern CPUs.
85563         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
85565         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
85566         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
85568         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
85569         __expl_finite.
85570         * math/bits/math-finite.h: Add entries for exp.
85571         * math/e_expl.c: Add __*_finite alias.
85572         * sysdeps/i386/fpu/e_exp.S: Likewise.
85573         * sysdeps/i386/fpu/e_expf.S: Likewise.
85574         * sysdeps/i386/fpu/e_expl.c: Likewise.
85575         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
85576         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
85577         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
85578         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
85579         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
85580         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
85581         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
85583         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
85584         is sufficient, at least on modern CPUs.
85586         * ctype/ctype-info.c (__ctype_init): Define.
85587         * include/ctype.h (__ctype_init): Declare.
85588         (__ctype_b_loc): The variable is always initialized.
85589         (__ctype_toupper_loc): Likewise.
85590         (__ctype_tolower_loc): Likewise.
85591         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
85592         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
85594 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
85596         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
85598         * configure.in: Also look in $cxxmachine/include for C++ system
85599         headers.
85601 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
85603         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
85604         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
85605         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
85606         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
85607         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
85608         (USE_AS_WMEMCMP): New macro.
85609         Fixing indents.
85610         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
85611         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
85612         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
85613         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
85614         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
85615         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
85616         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
85617         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
85618         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
85619         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
85620         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
85621         (USE_AS_WMEMCMP): New macro.
85622         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
85623         * sysdeps/string/test-memcmp.c: Update.
85624         Fix simple_wmemcmp.
85625         Add new tests.
85626         * wcsmbs/wmemcmp.c: Update.
85627         (WMEMCMP): New macro.
85628         Fix overflow bug.
85630 2011-10-12  Andreas Jaeger  <aj@suse.de>
85632         [BZ #13268]
85633         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
85635 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
85637         * libio/iofwide.c (do_length): Avoid warning.
85639         * ctype/ctype.h (__isctype_f): Add missing __THROW.
85641 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
85643         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
85645         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
85646         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
85647         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
85648         * sysdeps/i386/i686/fpu/e_log.S: New file.
85649         * sysdeps/i386/i686/fpu/e_logf.S: New file.
85650         * sysdeps/i386/i686/fpu/e_logl.S: New file.
85652         * ctype/ctype.h: Add support for inlined isXXX functions when
85653         compiling C++ code.
85655 2011-10-14  Andreas Schwab  <schwab@redhat.com>
85657         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
85659         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
85661 2011-10-13  Roland McGrath  <roland@hack.frob.com>
85663         [BZ #13291]
85664         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
85666 2011-10-13  Andreas Schwab  <schwab@redhat.com>
85668         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
85669         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
85670         feraiseexcept.
85672         * sysdeps/x86_64/memrchr.S: Check for zero size.
85674         * string/stratcliff.c: Add memrchr tests.
85676 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
85678         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
85679         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
85680         rawmemchr-sse2 rawmemchr-sse2-bsf.
85681         * sysdeps/i386/i686/multiarch/memchr.S: New file.
85682         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
85683         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
85684         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
85685         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
85686         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
85687         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
85688         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
85689         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
85690         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
85691         * string/memrchr.c (MEMRCHR): New macro.
85693 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
85695         Add integration with gcc's -ffinite-math-only and optimize wrapper
85696         functions in libm.
85697         * Versions.def: Define GLIBC_2.15 version for libm.
85698         * math/Makefile (headers): Add bits/math-finite.h.
85699         * math/bits/math-finite.h: New file.
85700         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
85701         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
85702         * math/e_acoshl.c: Add __*_finite alias.
85703         * math/e_acosl.c: Likewise.
85704         * math/e_asinl.c: Likewise.
85705         * math/e_atan2l.c: Likewise.
85706         * math/e_atanhl.c: Likewise.
85707         * math/e_coshl.c: Likewise.
85708         * math/e_exp10.c: Likewise.
85709         * math/e_exp10f.c: Likewise.
85710         * math/e_exp10l.c: Likewise.
85711         * math/e_exp2l.c: Likewise.
85712         * math/e_fmodl.c: Likewise.
85713         * math/e_gammal_r.c: Likewise.
85714         * math/e_hypotl.c: Likewise.
85715         * math/e_j0l.c: Likewise.
85716         * math/e_j1l.c: Likewise.
85717         * math/e_jnl.c: Likewise.
85718         * math/e_lgammal_r.c: Likewise.
85719         * math/e_log10l.c: Likewise.
85720         * math/e_log2l.c: Likewise.
85721         * math/e_logl.c: Likewise.
85722         * math/e_powl.c: Likewise.
85723         * math/e_sinhl.c: Likewise.
85724         * math/e_sqrtl.c: Likewise.
85725         * math/e_scalb.c: Completely rewritten and optimized.
85726         * math/e_scalbf.c: Likewise.
85727         * math/e_scalbl.c: Likewise.
85728         * math/w_acos.c: Likewise.
85729         * math/w_acosf.c: Likewise.
85730         * math/w_acosl.c: Likewise.
85731         * math/w_acosh.c: Likewise.
85732         * math/w_acoshf.c: Likewise.
85733         * math/w_acoshl.c: Likewise.
85734         * math/w_asin.c: Likewise.
85735         * math/w_asinf.c: Likewise.
85736         * math/w_asinl.c: Likewise.
85737         * math/w_atan2.c: Likewise.
85738         * math/w_atan2f.c: Likewise.
85739         * math/w_atan2l.c: Likewise.
85740         * math/w_atanh.c: Likewise.
85741         * math/w_atanhf.c: Likewise.
85742         * math/w_atanhl.c: Likewise.
85743         * math/w_exp10.c: Likewise.
85744         * math/w_exp10f.c: Likewise.
85745         * math/w_exp10l.c: Likewise.
85746         * math/w_fmod.c: Likewise.
85747         * math/w_fmodf.c: Likewise.
85748         * math/w_fmodl.c: Likewise.
85749         * math/w_j0.c: Likewise.
85750         * math/w_j0f.c: Likewise.
85751         * math/w_j0l.c: Likewise.
85752         * math/w_j1.c: Likewise.
85753         * math/w_j1f.c: Likewise.
85754         * math/w_j1l.c: Likewise.
85755         * math/w_jn.c: Likewise.
85756         * math/w_jnf.c: Likewise.
85757         * math/w_log.c: Likewise.
85758         * math/w_logf.c: Likewise.
85759         * math/w_logl.c: Likewise.
85760         * math/w_log10.c: Likewise.
85761         * math/w_log10f.c: Likewise.
85762         * math/w_log10l.c: Likewise.
85763         * math/w_log2.c: Likewise.
85764         * math/w_log2f.c: Likewise.
85765         * math/w_log2l.c: Likewise.
85766         * math/w_pow.c: Likewise.
85767         * math/w_powf.c: Likewise.
85768         * math/w_powl.c: Likewise.
85769         * math/w_remainder.c: Likewise.
85770         * math/w_remainderf.c: Likewise.
85771         * math/w_remainderl.c: Likewise.
85772         * math/w_scalb.c: Likewise.
85773         * math/w_scalbf.c: Likewise.
85774         * math/w_scalbl.c: Likewise.
85775         * math/w_sqrt.c: Likewise.
85776         * math/w_sqrtf.c: Likewise.
85777         * math/w_sqrtl.c: Likewise.
85778         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
85779         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
85780         used.
85781         * math/math_private.h: Declare __kernel_standard_f.
85782         * math/w_cosh.c: Remove cruft and optimize a bit.
85783         * math/w_coshf.c: Likewise.
85784         * math/w_coshl.c: Likewise.
85785         * math/w_exp2.c: Likewise.
85786         * math/w_exp2f.c: Likewise.
85787         * math/w_exp2l.c: Likewise.
85788         * math/w_hypot.c: Likewise.
85789         * math/w_hypotf.c: Likewise.
85790         * math/w_hypotl.c: Likewise.
85791         * math/w_lgamma.c: Likewise.
85792         * math/w_lgamma_r.c: Likewise.
85793         * math/w_lgammaf.c: Likewise.
85794         * math/w_lgammaf_r.c: Likewise.
85795         * math/w_lgammal.c: Likewise.
85796         * math/w_lgammal_r.c: Likewise.
85797         * math/w_sinh.c: Likewise.
85798         * math/w_sinhf.c: Likewise.
85799         * math/w_sinhl.c: Likewise.
85800         * math/w_tgamma.c: Likewise.
85801         * math/w_tgammaf.c: Likewise.
85802         * math/w_tgammal.c: Likewise.
85803         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
85804         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
85805         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
85806         Minor optimizations.  Pretty printing.  Remove cruft.
85807         * sysdeps/i386/fpu/e_acosf.S: Likewise.
85808         * sysdeps/i386/fpu/e_acosh.S: Likewise.
85809         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
85810         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
85811         * sysdeps/i386/fpu/e_acosl.c: Likewise.
85812         * sysdeps/i386/fpu/e_asin.S: Likewise.
85813         * sysdeps/i386/fpu/e_asinf.S: Likewise.
85814         * sysdeps/i386/fpu/e_atan2.S: Likewise.
85815         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
85816         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
85817         * sysdeps/i386/fpu/e_atanh.S: Likewise.
85818         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
85819         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
85820         * sysdeps/i386/fpu/e_exp10.S: Likewise.
85821         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
85822         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
85823         * sysdeps/i386/fpu/e_exp2.S: Likewise.
85824         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
85825         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
85826         * sysdeps/i386/fpu/e_fmod.S: Likewise.
85827         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
85828         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
85829         * sysdeps/i386/fpu/e_hypot.S: Likewise.
85830         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
85831         * sysdeps/i386/fpu/e_log.S: Likewise.
85832         * sysdeps/i386/fpu/e_log10.S: Likewise.
85833         * sysdeps/i386/fpu/e_log10f.S: Likewise.
85834         * sysdeps/i386/fpu/e_log10l.S: Likewise.
85835         * sysdeps/i386/fpu/e_log2.S: Likewise.
85836         * sysdeps/i386/fpu/e_log2f.S: Likewise.
85837         * sysdeps/i386/fpu/e_log2l.S: Likewise.
85838         * sysdeps/i386/fpu/e_logf.S: Likewise.
85839         * sysdeps/i386/fpu/e_logl.S: Likewise.
85840         * sysdeps/i386/fpu/e_pow.S: Likewise.
85841         * sysdeps/i386/fpu/e_powf.S: Likewise.
85842         * sysdeps/i386/fpu/e_powl.S: Likewise.
85843         * sysdeps/i386/fpu/e_remainder.S: Likewise.
85844         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
85845         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
85846         * sysdeps/i386/fpu/e_scalb.S: Likewise.
85847         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
85848         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
85849         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
85850         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
85851         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
85852         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
85853         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
85854         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
85855         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
85856         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
85857         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
85858         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
85859         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
85860         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
85861         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
85862         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
85863         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
85864         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
85865         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
85866         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
85867         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
85868         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
85869         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
85870         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
85871         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
85872         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
85873         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
85874         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
85875         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
85876         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
85877         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
85878         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
85879         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
85880         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
85881         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
85882         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
85883         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
85884         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
85885         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
85886         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
85887         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
85888         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
85889         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
85890         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
85891         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
85892         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
85893         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
85894         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
85895         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
85896         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
85897         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
85898         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
85899         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
85900         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
85901         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
85902         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
85903         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
85904         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
85905         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
85906         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
85907         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
85908         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
85909         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
85910         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
85911         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
85912         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
85913         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
85914         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
85915         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
85916         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
85917         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
85918         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
85919         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
85920         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
85921         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
85922         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
85923         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
85924         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
85925         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
85926         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
85927         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
85928         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
85929         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
85930         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
85931         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
85932         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
85933         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
85934         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
85935         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
85936         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
85937         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
85938         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
85939         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
85940         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
85941         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
85942         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
85943         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
85944         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
85945         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
85946         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
85947         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
85948         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
85949         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
85950         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
85951         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
85952         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
85953         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
85954         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
85955         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
85956         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
85957         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
85958         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
85959         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
85960         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
85961         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
85962         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
85963         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
85964         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
85965         (__isnanf): Likewise.
85966         (__isinf_ns): Likewise.
85967         (__isinf_nsf): Likewise.
85968         (__finite): Likewise.
85969         (__finitef): Likewise.
85970         (__ieee754_sqrt): Define as macro.
85971         (__ieee754_sqrtf): Define as macro.
85972         (__ieee754_sqrtl): Define as macro.
85973         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
85974         inlined copy.
85975         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
85976         __FINITE_MATH_ONLY__ consistent.
85977         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
85979 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
85981         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
85982         of rawmemchr.
85984         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
85986 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
85988         * po/ja.po: Update from translation team.
85990 2011-10-08  Roland McGrath  <roland@hack.frob.com>
85992         * locale/programs/locarchive.c (prepare_address_space): New function.
85993         (create_archive, enlarge_archive, open_archive): Use it.
85995         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
85996         inside [SHARED], where it is used.
85998         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
86000         * nss/getent.c (netgroup_keys): Remove unused variable.
86001         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
86003 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
86005         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
86006         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
86007         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
86008         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
86009         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
86010         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
86011         * math/Makefile (libm-calls): Add s_isinf_ns.
86012         * math/divtc3.c: Use __isinf_nsl instead of isinf.
86013         * math/multc3.c: Likewise.
86014         * math/s_casin.c: Likewise.
86015         * math/s_casinf.c: Likewise.
86016         * math/s_casinl.c: Likewise.
86017         * math/s_ccos.c: Likewise.
86018         * math/s_ccosf.c: Likewise.
86019         * math/s_ccosl.c: Likewise.
86020         * math/s_ctan.c: Likewise.
86021         * math/s_ctanf.c: Likewise.
86022         * math/s_ctanh.c: Likewise.
86023         * math/s_ctanhf.c: Likewise.
86024         * math/s_ctanhl.c: Likewise.
86025         * math/s_ctanl.c: Likewise.
86026         * math/w_fmod.c: Likewise.
86027         * math/w_fmodf.c: Likewise.
86028         * math/w_fmodl.c: Likewise.
86029         * math/w_remainder.c: Likewise.
86030         * math/w_remainderf.c: Likewise.
86031         * math/w_remainderl.c: Likewise.
86032         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
86033         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
86034         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
86035         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
86036         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
86037         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
86038         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
86039         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
86041         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
86042         of the number.
86043         * stdio-common/printf_fphex.c: Likewise.
86044         * stdio-common/printf_size.c: Likewise.
86046         * math/e_exp10.c: Include math_private.h using <...> not "...".
86047         * math/e_exp10f.c: Likewise.
86048         * math/e_exp10l.c: Likewise.
86049         * math/e_exp2l.c: Likewise.
86050         * math/e_j0l.c: Likewise.
86051         * math/e_j1l.c: Likewise.
86052         * math/e_jnl.c: Likewise.
86053         * math/e_lgammal_r.c: Likewise.
86054         * math/e_rem_pio2l.c: Likewise.
86055         * math/e_scalb.c: Likewise.
86056         * math/e_scalbf.c: Likewise.
86057         * math/e_scalbl.c: Likewise.
86058         * math/k_cosl.c: Likewise.
86059         * math/k_sinl.c: Likewise.
86060         * math/k_tanl.c: Likewise.
86061         * math/s_cacoshf.c: Likewise.
86062         * math/s_catan.c: Likewise.
86063         * math/s_catanf.c: Likewise.
86064         * math/s_catanh.c: Likewise.
86065         * math/s_catanhf.c: Likewise.
86066         * math/s_catanhl.c: Likewise.
86067         * math/s_catanl.c: Likewise.
86068         * math/s_ccosh.c: Likewise.
86069         * math/s_ccoshf.c: Likewise.
86070         * math/s_ccoshl.c: Likewise.
86071         * math/s_cexp.c: Likewise.
86072         * math/s_cexpf.c: Likewise.
86073         * math/s_cexpl.c: Likewise.
86074         * math/s_clog.c: Likewise.
86075         * math/s_clog10.c: Likewise.
86076         * math/s_clog10f.c: Likewise.
86077         * math/s_clog10l.c: Likewise.
86078         * math/s_clogf.c: Likewise.
86079         * math/s_clogl.c: Likewise.
86080         * math/s_csin.c: Likewise.
86081         * math/s_csinf.c: Likewise.
86082         * math/s_csinh.c: Likewise.
86083         * math/s_csinhf.c: Likewise.
86084         * math/s_csinhl.c: Likewise.
86085         * math/s_csinl.c: Likewise.
86086         * math/s_csqrt.c: Likewise.
86087         * math/s_csqrtf.c: Likewise.
86088         * math/s_csqrtl.c: Likewise.
86089         * math/s_ctan.c: Likewise.
86090         * math/s_ctanf.c: Likewise.
86091         * math/s_ctanh.c: Likewise.
86092         * math/s_ctanhf.c: Likewise.
86093         * math/s_ctanhl.c: Likewise.
86094         * math/s_ctanl.c: Likewise.
86095         * math/s_ldexp.c: Likewise.
86096         * math/s_ldexpf.c: Likewise.
86097         * math/s_ldexpl.c: Likewise.
86098         * math/s_significand.c: Likewise.
86099         * math/s_significandf.c: Likewise.
86100         * math/s_significandl.c: Likewise.
86101         * math/w_acos.c: Likewise.
86102         * math/w_acosf.c: Likewise.
86103         * math/w_acosh.c: Likewise.
86104         * math/w_acoshf.c: Likewise.
86105         * math/w_acoshl.c: Likewise.
86106         * math/w_acosl.c: Likewise.
86107         * math/w_asin.c: Likewise.
86108         * math/w_asinf.c: Likewise.
86109         * math/w_asinl.c: Likewise.
86110         * math/w_atan2.c: Likewise.
86111         * math/w_atan2f.c: Likewise.
86112         * math/w_atan2l.c: Likewise.
86113         * math/w_atanh.c: Likewise.
86114         * math/w_atanhf.c: Likewise.
86115         * math/w_atanhl.c: Likewise.
86116         * math/w_cosh.c: Likewise.
86117         * math/w_coshf.c: Likewise.
86118         * math/w_coshl.c: Likewise.
86119         * math/w_dremf.c: Likewise.
86120         * math/w_exp10.c: Likewise.
86121         * math/w_exp10f.c: Likewise.
86122         * math/w_exp10l.c: Likewise.
86123         * math/w_exp2.c: Likewise.
86124         * math/w_exp2f.c: Likewise.
86125         * math/w_fmod.c: Likewise.
86126         * math/w_fmodf.c: Likewise.
86127         * math/w_fmodl.c: Likewise.
86128         * math/w_hypot.c: Likewise.
86129         * math/w_hypotf.c: Likewise.
86130         * math/w_hypotl.c: Likewise.
86131         * math/w_j0.c: Likewise.
86132         * math/w_j0f.c: Likewise.
86133         * math/w_j0l.c: Likewise.
86134         * math/w_j1.c: Likewise.
86135         * math/w_j1f.c: Likewise.
86136         * math/w_j1l.c: Likewise.
86137         * math/w_jn.c: Likewise.
86138         * math/w_jnf.c: Likewise.
86139         * math/w_jnl.c: Likewise.
86140         * math/w_lgamma.c: Likewise.
86141         * math/w_lgamma_r.c: Likewise.
86142         * math/w_lgammaf.c: Likewise.
86143         * math/w_lgammaf_r.c: Likewise.
86144         * math/w_lgammal.c: Likewise.
86145         * math/w_lgammal_r.c: Likewise.
86146         * math/w_log.c: Likewise.
86147         * math/w_log10.c: Likewise.
86148         * math/w_log10f.c: Likewise.
86149         * math/w_log10l.c: Likewise.
86150         * math/w_log2.c: Likewise.
86151         * math/w_log2f.c: Likewise.
86152         * math/w_log2l.c: Likewise.
86153         * math/w_logf.c: Likewise.
86154         * math/w_logl.c: Likewise.
86155         * math/w_pow.c: Likewise.
86156         * math/w_powf.c: Likewise.
86157         * math/w_powl.c: Likewise.
86158         * math/w_remainder.c: Likewise.
86159         * math/w_remainderf.c: Likewise.
86160         * math/w_remainderl.c: Likewise.
86161         * math/w_scalb.c: Likewise.
86162         * math/w_scalbf.c: Likewise.
86163         * math/w_scalbl.c: Likewise.
86164         * math/w_sinh.c: Likewise.
86165         * math/w_sinhf.c: Likewise.
86166         * math/w_sinhl.c: Likewise.
86167         * math/w_sqrt.c: Likewise.
86168         * math/w_sqrtf.c: Likewise.
86169         * math/w_sqrtl.c: Likewise.
86170         * math/w_tgamma.c: Likewise.
86171         * math/w_tgammaf.c: Likewise.
86172         * math/w_tgammal.c: Likewise.
86174         * po/ja.po: Update from translation team.
86176 2011-09-29  Andreas Jaeger  <aj@suse.de>
86178         [BZ #13179]
86179         * sunrpc/netname.c (netname2host): Fix logic.
86181         [BZ #6779]
86182         [BZ #6783]
86183         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
86184         correctly.
86185         * math/w_remainder.c (__remainder): Likewise.
86186         * math/w_remainderf.c (__remainderf): Likewise.
86187         * math/libm-test.inc (remainder_test): Add test cases.
86189 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
86191         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
86192         sdiv_qrnnd.
86194 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
86196         * string/test-memcmp.c: Avoid unncessary #defines.
86197         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
86199 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
86201         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
86202         Use new sse2 version for core i3 - i7 as it's faster
86203         than sse42 version.
86204         (bit_Prefer_PMINUB_for_stringop): New.
86205         * sysdeps/x86_64/rawmemchr.S: Update.
86206         Replace with faster SSE2 version.
86207         * sysdeps/x86_64/memrchr.S: New file.
86208         * sysdeps/x86_64/memchr.S: Update.
86209         Replace with faster SSE2 version.
86211 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
86213         * elf/dl-load.c (lose): Add cast to avoid warning.
86215 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
86217         * po/ca.po: Update from translation team.
86219         * inet/getnetgrent_r.c: Hook up nscd.
86220         * nscd/Makefile (routines): Add nscd_netgroup.
86221         (nscd-modules): Add netgroupcache.
86222         (CFLAGS-netgroupcache.c): Define.
86223         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
86224         (cache_search): Add const to second parameter.
86225         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
86226         INNETGR.
86227         (dbs): Add netgrdb entry.
86228         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
86229         (verify_persistent_db): Handle netgrdb.
86230         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
86231         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
86232         GETFDNETGR.
86233         (netgroup_response_header): Define.
86234         (innetgroup_response_header): Define.
86235         (datahead): Add netgroup_response_header and innetgroup_response_header
86236         elements.
86237         * nscd/nscd.conf: Add entries for netgroup cache.
86238         * nscd/nscd.h (dbtype): Add netgrdb.
86239         (_PATH_NSCD_NETGROUP_DB): Define.
86240         (netgroup_iov_disabled): Declare.
86241         (xmalloc, xcalloc, xrealloc): Move declarations here.
86242         (cache_search): Adjust prototype.
86243         Add netgroup-related prototypes.
86244         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
86245         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
86246         (__nscd_innetgr): Declare.
86247         * nscd/selinux.c (perms): Use access_vector_t as element type and
86248         add netgroup-related initializers.
86249         * nscd/netgroupcache.c: New file.
86250         * nscd/nscd_netgroup.c: New file.
86251         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
86252         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
86253         For four parameters use innetgr.
86254         * nss/nss_files/files-init.c: Add definition and callback for netgr.
86255         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
86256         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
86257         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
86259         * nscd/connections.c (register_traced_file): Don't register file
86260         for disabled databases.
86262 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
86264         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
86266         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
86267         from tree and freeing node.
86269 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
86271         * nss/nsswitch.c (__nss_database_lookup): Handle
86272         nss_parse_service_list out of memory case.
86274 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
86276         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
86277         out of memory case.
86279 2011-10-04  Andreas Schwab  <schwab@redhat.com>
86281         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
86282         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
86283         pass it down.
86284         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
86285         elf_machine_rela, elf_machine_lazy_rel.
86286         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
86287         (ELF_DYNAMIC_DO_REL): Likewise.
86288         (ELF_DYNAMIC_DO_RELA): Likewise.
86289         (ELF_DYNAMIC_RELOCATE): Likewise.
86290         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
86291         to ELF_DYNAMIC_DO_REL.
86292         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
86293         (dl_main): In trace mode always set __RTLD_NOIFUNC.
86294         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
86295         elf_machine_rela.
86296         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
86297         skip_ifunc, don't call ifunc function if non-zero.
86298         (elf_machine_rela): Likewise.
86299         (elf_machine_lazy_rel): Likewise.
86300         (elf_machine_lazy_rela): Likewise.
86301         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
86302         (elf_machine_lazy_rel): Likewise.
86303         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
86304         Likewise.
86305         (elf_machine_lazy_rel): Likewise.
86306         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
86307         Likewise.
86308         (elf_machine_lazy_rel): Likewise.
86309         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
86310         (elf_machine_lazy_rel): Likewise.
86311         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
86312         (elf_machine_lazy_rel): Likewise.
86313         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
86314         (elf_machine_lazy_rel): Likewise.
86315         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
86316         (elf_machine_lazy_rel): Likewise.
86317         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
86318         (elf_machine_lazy_rel): Likewise.
86319         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
86320         (elf_machine_lazy_rel): Likewise.
86322 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
86324         * nss/nss_files/files-init.c (_nss_files_init): Use static
86325         initialization for all the *_traced_file variables.
86327 2011-09-28  Andreas Schwab  <schwab@redhat.com>
86329         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
86331 2011-09-27  Roland McGrath  <roland@hack.frob.com>
86333         [BZ #13226]
86334         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
86336 2011-09-27  Andreas Schwab  <schwab@redhat.com>
86338         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
86339         Reread the line before reparsing it.
86341 2011-09-26  Andreas Schwab  <schwab@redhat.com>
86343         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
86345 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
86346             Maxim Kuvyrkov  <maxim@codesourcery.com>
86347             Joseph Myers  <joseph@codesourcery.com>
86349         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
86350         if needed for __stack_chk_guard.
86352 2011-09-19  Roland McGrath  <roland@hack.frob.com>
86354         * sysdeps/posix/spawni.c (script_execute): Always define it.
86355         It will be optimized away if unused.
86356         (maybe_script_execute): New function.
86357         (__spawni): Call it.
86359         * Makerules: Don't include tls.make.
86360         (config-tls): Always set to thread.
86361         * tls.make.c: File removed.
86363 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
86365         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
86366         * config.make.in (CPPFLAGS-config): New substituted variable.
86368 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
86370         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
86372         [BZ #13192]
86373         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
86374         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
86376 2011-09-15  Roland McGrath  <roland@hack.frob.com>
86378         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
86379         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
86380         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
86381         (CALL_FAIL): Likewise.
86382         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
86383         (CALL_FAIL): Macro removed.
86384         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
86386 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
86388         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
86389         for __FINITE_MATH_ONLY__ == 1.
86391 2011-09-15  Andreas Schwab  <schwab@redhat.com>
86393         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
86394         __ieee754_sqrt instead of sqrt.
86395         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
86396         __ieee754_sqrtf instead of sqrtf.
86397         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
86398         __floorf instead of floorf.
86399         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
86400         __floorf, __truncf instead of floorf, truncf.
86402 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
86404         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
86406         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
86407         __extern_always_inline.
86408         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
86409         32-bit.
86411 2011-09-14  Andreas Schwab  <schwab@redhat.com>
86413         * elf/rtld.c (dl_main): Also relocate in dependency order when
86414         doing symbol dependency testing.
86416 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
86418         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
86419         Always define `refsym'.
86421 2011-09-13  Andreas Schwab  <schwab@redhat.com>
86423         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
86424         (__FD_ELT): Renamed from __FDELT.
86425         * misc/bits/select2.h (__FD_ELT): Likewise.
86426         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
86427         __FD_MASK instead of __FDELT, __FDMASK.
86428         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
86429         Likewise.
86430         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
86431         Likewise.
86433         * elf/Makefile (gen-ldd): Fix pattern.
86435         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
86436         (init_tls): Likewise.
86438 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
86440         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
86442 2011-09-12  Andreas Schwab  <schwab@redhat.com>
86444         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
86445         `struct cmsghdr *' instead of `void *'.
86446         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
86447         Likewise.
86449 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
86451         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
86452         if non-absolute.
86453         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
86454         ldd_rewrite_script.
86456 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
86458         * configure.in: Remove --with-tls option.
86459         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
86460         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
86461         out in case it is missing.
86462         * sysdeps/ia64/elf/configure.in: Likewise.
86463         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
86464         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
86465         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
86466         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
86467         * sysdeps/sh/elf/configure.in: Likewise.
86468         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
86469         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
86470         * sysdeps/x86_64/elf/configure.in: Likewise.
86471         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
86472         * sysdeps/mach/hurd/tls.h: Likewise.
86474         [BZ #13067]
86475         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
86477         [BZ #13090]
86478         * configure.in: Fix use of AC_INIT.
86480         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
86482 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
86484         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
86485         __set_errno.
86486         * malloc/hooks.c: Likewise.
86488         [BZ #11929]
86489         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
86490         variables statically.
86491         (narenas): Initialize.
86492         (list_lock): Initialize.
86493         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
86494         initializtion of main_arena and list_lock.  Small cleanups.
86495         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
86496         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
86497         Add initializers to main_arena and mp_.
86498         (malloc_state): Remove pagesize member.  Change all users to use
86499         GLRO(dl_pagesize).
86501         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
86502         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
86503         is always initialized.
86505         * malloc/malloc.c: Removed unused configurations and dead code.
86506         * malloc/arena.c: Likewise.
86507         * malloc/hooks.c: Likewise.
86508         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
86510         * include/tls.h: Removed.  USE___THREAD must always be defined.
86511         * bits/libc-tsd.h: Don't handle !USE___THREAD.
86512         * elf/dl-libc.c: Likewise.
86513         * elf/dl-tsd.c: Likewise.
86514         * include/errno.h: Likewise.
86515         * include/netdb.h: Likewise.
86516         * include/resolv.h: Likewise.
86517         * inet/herrno-loc.c: Likewise.
86518         * inet/herrno.c: Likewise.
86519         * malloc/arena.c: Likewise.
86520         * malloc/hooks.c: Likewise.
86521         * malloc/malloc.c: Likewise.
86522         * resolv/res-state.c: Likewise.
86523         * resolv/res_libc.c: Likewise.
86524         * sysdeps/i386/dl-machine.h: Likewise.
86525         * sysdeps/ia64/dl-machine.h: Likewise.
86526         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
86527         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
86528         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
86529         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
86530         * sysdeps/sh/dl-machine.h: Likewise.
86531         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
86532         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
86533         * sysdeps/unix/i386/sysdep.S: Likewise.
86534         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
86535         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
86536         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
86537         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
86538         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
86539         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
86540         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
86541         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
86542         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
86543         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
86544         * sysdeps/unix/x86_64/sysdep.S: Likewise.
86545         * sysdeps/x86_64/dl-machine.h: Likewise.
86546         * tls.make.c: Likewise.
86548         * configure.in: Remove --with-__thread option.  Make tests for
86549         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
86550         tls_model attribute fail if no support is available.  Remove
86551         USE_IN_LIBIO.
86552         * Makeconfig: Adjust for dropped configure option.  All features are
86553         now mandatory.
86554         * Makerules: Likewise.
86555         * Versions.def: Likewise.
86556         * argp/argp-fmtstream.c: Likewise.
86557         * argp/argp-fmtstream.h: Likewise.
86558         * argp/argp-help.c: Likewise.
86559         * assert/assert.c: Likewise.
86560         * config.h.in: Likewise.
86561         * config.make.in: Likewise.
86562         * configure: Likewise.
86563         * configure.in: Likewise.
86564         * csu/Versions: Likewise.
86565         * csu/init.c: Likewise.
86566         * elf/tst-audit2.c: Likewise.
86567         * elf/tst-tls10.c: Likewise.
86568         * elf/tst-tls10.h: Likewise.
86569         * elf/tst-tls11.c: Likewise.
86570         * elf/tst-tls12.c: Likewise.
86571         * elf/tst-tls14.c: Likewise.
86572         * elf/tst-tlsmod11.c: Likewise.
86573         * elf/tst-tlsmod12.c: Likewise.
86574         * elf/tst-tlsmod13.c: Likewise.
86575         * elf/tst-tlsmod13a.c: Likewise.
86576         * elf/tst-tlsmod14a.c: Likewise.
86577         * elf/tst-tlsmod15b.c: Likewise.
86578         * elf/tst-tlsmod16a.c: Likewise.
86579         * elf/tst-tlsmod16b.c: Likewise.
86580         * elf/tst-tlsmod7.c: Likewise.
86581         * elf/tst-tlsmod8.c: Likewise.
86582         * elf/tst-tlsmod9.c: Likewise.
86583         * gmon/gmon.c: Likewise.
86584         * grp/fgetgrent_r.c: Likewise.
86585         * grp/putgrent.c: Likewise.
86586         * hurd/fopenport.c: Likewise.
86587         * include/libc-symbols.h: Likewise.
86588         * include/tls.h: Likewise.
86589         * intl/gettextP.h: Likewise.
86590         * intl/loadinfo.h: Likewise.
86591         * locale/global-locale.c: Likewise.
86592         * locale/localeinfo.h: Likewise.
86593         * mach/devstream.c: Likewise.
86594         * malloc/arena.c: Likewise.
86595         * malloc/set-freeres.c: Likewise.
86596         * misc/err.c: Likewise.
86597         * misc/getttyent.c: Likewise.
86598         * misc/mntent_r.c: Likewise.
86599         * posix/getopt.c: Likewise.
86600         * posix/wordexp.c: Likewise.
86601         * pwd/fgetpwent_r.c: Likewise.
86602         * resolv/Versions: Likewise.
86603         * resolv/res_hconf.c: Likewise.
86604         * shadow/fgetspent_r.c: Likewise.
86605         * shadow/putspent.c: Likewise.
86606         * stdio-common/printf_fphex.c: Likewise.
86607         * stdio-common/tmpfile.c: Likewise.
86608         * stdlib/abort.c: Likewise.
86609         * stdlib/fmtmsg.c: Likewise.
86610         * sunrpc/auth_unix.c: Likewise.
86611         * sunrpc/clnt_perr.c: Likewise.
86612         * sunrpc/clnt_tcp.c: Likewise.
86613         * sunrpc/clnt_udp.c: Likewise.
86614         * sunrpc/clnt_unix.c: Likewise.
86615         * sunrpc/openchild.c: Likewise.
86616         * sunrpc/svc_simple.c: Likewise.
86617         * sunrpc/svc_tcp.c: Likewise.
86618         * sunrpc/svc_udp.c: Likewise.
86619         * sunrpc/svc_unix.c: Likewise.
86620         * sunrpc/xdr.c: Likewise.
86621         * sunrpc/xdr_array.c: Likewise.
86622         * sunrpc/xdr_rec.c: Likewise.
86623         * sunrpc/xdr_ref.c: Likewise.
86624         * sunrpc/xdr_stdio.c: Likewise.
86626 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
86628         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
86630 2011-07-03  Andreas Jaeger  <aj@suse.de>
86632         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
86633         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
86634         regenerate with gen-libm-tests.pl.
86636 2010-05-12  Petr Baudis  <pasky@suse.cz>
86638         [BZ #11589]
86639         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
86640         around j0() zero points by switching to j1().
86641         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
86642         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
86643         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
86644         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
86646 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
86648         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
86649         instead of 0.
86650         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
86651         instead of 0.
86652         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
86653         Patch in part by Pavel Roskin <proski@gnu.org>.
86655         [BZ #13138]
86656         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
86657         realloc.
86658         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
86659         Free memory block if necessary.
86661         [BZ #12847]
86662         * libio/genops.c (INTDEF): For string streams the _lock pointer can
86663         be NULL.  Don't lock in this case.
86665 2011-09-09  Roland McGrath  <roland@hack.frob.com>
86667         * elf/elf.h (ELFOSABI_GNU): New macro.
86668         (ELFOSABI_LINUX): Define to that.
86670 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
86672         * string/strncat.c (strncat): Undef the symbol in case it has been
86673         defined in bits/string.h.
86675 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
86677         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
86679         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
86680         link map.
86682 2011-08-17  Andreas Jaeger  <aj@suse.de>
86684         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
86686 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
86687             Ian Lance Taylor  <iant@google.com>
86689         * math/libm-test.inc (lround_test): New testcase.
86690         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
86692 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
86694         * Makefile: Remove support for automatic cvs check-ins.
86695         * Makerules: Likewise.
86696         * config.make.in: Likewise.
86697         * configure.in: Likewise.
86698         * intl/Makefile: Likewise.
86699         * locale/Makefile: Likewise.
86700         * po/Makefile: Likewise.
86701         * posix/Makefile: Likewise.
86702         * sysdeps/gnu/Makefile: Likewise.
86703         * sysdeps/mach/hurd/Makefile: Likewise.
86704         * sysdeps/sparc/sparc32/Makefile: Likewise.
86706         [BZ #13118]
86707         * posix/Makefile (bug-regex32-ENV): Define.
86708         Patch by John Stanley <jpsinthemix@verizon.net>.
86710         * misc/Makefile (headers): Add bits/select2.h.
86711         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
86712         * misc/bits/select2.h: New file.
86713         * include/bits/select2.h: New file.
86714         * debug/Makefile (routines): Add fdelt_chk.
86715         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
86716         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
86717         FD_ISSET.
86718         * debug/fdelt_chk.c: New file.
86720         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
86721         * wcsmbs/test-wmemcmp.c: Likewise.
86722         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
86723         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
86725 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
86727         * string/Makefile (strop-tests): Add memcmp.
86728         * string/test-wmemcmp.c: New file.
86729         * string/test-memcmp.c: Add wmemcmp support.
86731 2011-09-08  Roland McGrath  <roland@hack.frob.com>
86733         [BZ #13153]
86734         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
86735         2011-07-19 change.
86737         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
86738         garbage value in a __mach_port_mod_refs call in the cases of the
86739         task-self and thread-self ports.
86741 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
86743         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
86745 2011-09-08  Andreas Schwab  <schwab@redhat.com>
86747         * elf/dl-load.c (lose): Check for non-null L.
86749 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
86751         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
86753         * elf/dl-libc.c (dlerror_run): Pass back error code from
86754         dl_catch_error.
86756         [BZ #13123]
86757         * elf/dl-load.c (lose): Free l_origin if it is valid.
86759         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
86760         names.
86761         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
86762         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
86763         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
86764         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
86765         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
86766         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
86768 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
86770         * sysdeps/powerpc/fpu/e_hypot.c: New file.
86771         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
86772         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
86773         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
86774         * sysdeps/powerpc/fpu/k_cosf.c: New file.
86775         * sysdeps/powerpc/fpu/k_sinf.c: New file.
86776         * sysdeps/powerpc/fpu/s_cosf.c: New file.
86777         * sysdeps/powerpc/fpu/s_sinf.c: New file.
86778         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
86779         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
86781 2011-08-15  Alan Modra  <amodra@gmail.com>
86783         [BZ #13092]
86784         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
86785         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
86786         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
86787         ppc_mcount to static-only-routines.
86788         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
86789         __mcount_internal.
86790         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
86791         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
86793 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
86795         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
86796         for finite and infinity parameters.
86798 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
86800         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
86801         and add nop instructions for throughput optimization.
86802         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
86804 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
86806         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
86807         aligned copy for power7 with vector-scalar instructions.
86808         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
86810 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
86812         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
86813         AVX check.
86815 2011-09-07  Andreas Schwab  <schwab@redhat.com>
86817         [BZ #13144]
86818         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
86819         last change.
86821 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
86823         * sysdeps/unix/sysv/linux/x86_64/init-first.c
86824         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
86825         syscall wrapper around clock_gettime in __vdso_clock_gettime.
86826         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
86827         clock_gettime.
86829 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
86831         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
86832         Forgot to demangle the pointer.
86834         * sysdeps/i386/sysdep.h: Define atom_text_section.
86835         * sysdeps/x86_64/sysdep.h: Likewise.
86836         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
86837         section with atom_text_section.
86838         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
86839         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
86840         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
86841         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
86842         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
86844         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
86845         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
86846         already be defined.  Change to take two parameters and don't assign
86847         result to variable.  Adjust all users.
86848         Define INTERNAL_GETTIME if not already defined.
86849         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
86850         call.
86851         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
86852         HAVE_CLOCK_GETTIME_VSYSCALL.
86853         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
86855         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
86856         gettimeofday vsyscall, just use time.
86858 2011-09-06  Andreas Schwab  <schwab@redhat.com>
86860         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
86861         <errno.h>.
86863 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
86865         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
86866         syscall on x86-64.
86867         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
86868         syscall.
86869         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
86870         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
86871         syscall if possible.
86873 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
86875         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
86876         e_ident.  Don't pass to find_mapsXX.
86877         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
86879 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
86881         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
86882         strchr-sse2-no-bsf strrchr-sse2-no-bsf
86883         * sysdeps/x86_64/multiarch/strchr.S: Update.
86884         Check bit_slow_BSF bit.
86885         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
86886         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
86887         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
86889 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
86891         [BZ #13134]
86892         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
86893         before glibc 2.15.
86894         (tryshell): Define.
86895         (__spawni): Change last parameter to be flag.  Test
86896         SPAWN_XFLAGS_USE_PATH flag to use path or not.
86897         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
86898         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
86899         * posix/spawni.c: Likewise.
86900         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
86901         * posix/spawnp.c: Likewise.  Change normal version to use
86902         SPAWN_XFLAGS_USE_PATH.
86903         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
86904         SPAWN_XFLAGS_TRY_SHELL.
86906         [BZ #13150]
86907         * posix/glob.h: Remove gcc 1.x support.
86909         [BZ #13068]
86910         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
86912 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
86914         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
86915         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
86916         strrchr-sse2-bsf
86917         * sysdeps/i386/i686/multiarch/strchr.S: New file.
86918         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
86919         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
86920         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
86921         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
86922         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
86924 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
86926         * sysdeps/x86_64/wcscmp.S: New file.
86928         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
86929         wcscmp-c wcscmp-sse2
86930         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
86931         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
86932         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
86933         * wcsmbs/wcscmp.c: Allow renaming.
86935 2011-09-05  David S. Miller  <davem@davemloft.net>
86937         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
86938         stack slot, rather than the struct return pointer slot.
86939         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
86940         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
86941         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
86942         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
86944 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
86946         * po/ja.po: Update from translation team.
86948         [BZ #13144]
86949         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
86950         kernel in 64-bit binaries.
86952 2011-09-01  David S. Miller  <davem@davemloft.net>
86954         * elf/elf.h (HWCAP_SPARC_*): Move to..
86955         * sysdeps/sparc/sysdep.h: this new file and add new values.
86956         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
86957         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
86958         _DL_HWCAP_COUNT to 24.
86959         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
86960         entries.
86961         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
86962         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
86963         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
86964         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
86965         instead of magic constants.
86966         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
86968 2011-08-31  David S. Miller  <davem@davemloft.net>
86970         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
86971         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
86972         Reimplement to do errno handling inline.
86973         (SYSCALL_ERROR_HANDLER): New macro.
86974         (__SYSCALL_STRING): Do not do errno handling in asm.
86975         (__CLONE_SYSCALL_STRING): Delete.
86976         (__INTERNAL_SYSCALL_STRING): Delete.
86977         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
86978         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
86979         (PSEUDO): Reimplement to do errno handling inline.
86980         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
86981         (SYSCALL_ERROR_HANDLER): New macro.
86982         (__SYSCALL_STRING): Do not do errno handling in asm.
86983         (__CLONE_SYSCALL_STRING): Delete.
86984         (__INTERNAL_SYSCALL_STRING): Delete.
86985         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
86986         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
86987         i386.
86988         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
86989         (inline_syscall*): Add 'err' argument.
86990         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
86991         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
86992         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
86993         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
86995         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
86996         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
86998 2011-08-30  Andreas Schwab  <schwab@redhat.com>
87000         * elf/rtld.c (dl_main): Relocate objects in dependency order.
87002 2011-08-29  Jiri Olsa <jolsa@redhat.com>
87004         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
87005         directive.
87007 2011-08-24  David S. Miller  <davem@davemloft.net>
87009         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
87011 2011-08-24  Andreas Schwab  <schwab@redhat.com>
87013         * elf/Makefile: Add rules to build and run unload8 test.
87014         * elf/unload8.c: New file.
87015         * elf/unload8mod1.c: New file.
87016         * elf/unload8mod1x.c: New file.
87017         * elf/unload8mod2.c: New file.
87018         * elf/unload8mod3.c: New file.
87020         * elf/dl-close.c (_dl_close_worker): Reset private search list if
87021         it wasn't used.
87023 2011-08-23  David S. Miller  <davem@davemloft.net>
87025         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
87026         subtract stack bias.
87027         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
87028         %sp not %fp in calculations.
87029         (_JMPBUF_UNWINDS_ADJ): Likewise.
87031         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
87032         (aio_suspend): Call it to force an exception region around the
87033         AIO_MISC_WAIT() invocation.
87035 2011-08-23  Andreas Schwab  <schwab@redhat.com>
87037         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
87038         backslash.
87040 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
87042         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
87043         protection macro.
87044         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
87045         and <dl-machine.h>.
87046         (Elf64_FuncDesc): Remove.
87048 2011-08-22  David S. Miller  <davem@davemloft.net>
87050         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
87051         sigaltstack check, add missing cfi directives.
87052         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
87053         missing cfi directives, and sigaltstack handling.
87055 2011-08-16  Andreas Schwab  <schwab@redhat.com>
87057         [BZ #11724]
87058         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
87059         object is seen twice.
87060         * elf/dl-fini.c (_dl_sort_fini): Likewise.
87062         * elf/Makefile (distribute): Add tst-initorder2.c.
87063         (tests): Add tst-initorder2.
87064         (modules-names): Add tst-initorder2a tst-initorder2b
87065         tst-initorder2c tst-initorder2d.  Add rules to build them.
87066         ($(objpfx)tst-initorder2.out): New rule.
87067         * elf/tst-initorder2.c: New file.
87068         * elf/tst-initorder2.exp: New file.
87070 2011-08-22  Andreas Schwab  <schwab@redhat.com>
87072         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
87074         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
87075         dependencies back to end of function.
87077         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
87078         $(elfobjdir)/ld.so.
87080 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
87082         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
87083         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
87084         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
87085         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
87086         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
87087         of __vdso_gettimeofday.
87088         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
87089         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
87090         attribute_hidden.
87091         (_libc_vdso_platform_setup): Remove initialization of
87092         __vdso_gettimeofday and __vdso_time.
87094 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
87096         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
87097         and fgetc_unlocked.
87098         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
87099         getc_unlocked.
87101         * elf/dl-open.c (add_to_global): Report additions to the global scope
87102         for LD_DEBUG=scopes.
87103         (dl_open_worker): Also print scope of newly loaded dependencies.
87104         (_dl_show_scope): Indicate if there is no scope.
87106         [BZ #13114]
87107         * stdio-common/Makefile (tests): Add bug24.
87108         * stdio-common/bug24.c: New file.
87110 2011-08-19  Andreas Jaeger  <aj@suse.de>
87112         [BZ #13114]
87113         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
87114         non-existant file when using close-on-exec mode.
87116 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
87118         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
87119         the very first instruction.
87121         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
87122         the CFI state in the end.
87123         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
87124         inclusion of dl-trampoline.h.
87125         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
87127 2011-08-19  Andreas Schwab  <schwab@redhat.com>
87129         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
87130         expectations for long double.
87132         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
87133         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
87135 2011-08-14  David S. Miller  <davem@davemloft.net>
87137         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
87138         artificual limit depends upon the system page size.
87140 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
87142         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
87143         * resolv/Makefile: Define CFLAGS-libresolv.
87145 2011-08-17  Andreas Schwab  <schwab@redhat.com>
87147         * nss/makedb.c (compute_tables): Make variables used in nested
87148         function static.
87150 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
87152         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
87153         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
87154         if buffer was too small.
87156         * elf/pldd.c (main): Attach to all threads in the process.
87157         Rewrite /proc handling to use *at functions.
87159 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
87161         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
87162         specifies first scope to show.
87163         (dl_open_worker): Update callers.  Move printing scope of new
87164         object to before the relocation.
87165         * elf/rtld.c (dl_main): Update _dl_show_scope call.
87166         * sysdeps/generic/ldsodefs.h: Update declaration.
87168         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
87169         string for the scope number.
87171 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
87173         * nscd/servicescache.c (cache_addserv): Make sure written is always
87174         initialized.
87176 2011-08-14  Roland McGrath  <roland@hack.frob.com>
87178         * sysdeps/i386/i486/bits/atomic.h
87179         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
87180         statement expression, so as to suppress "set but not used" warning.
87181         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
87183         * string/strncat.c (STRNCAT): Use prototype definition.
87185         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
87186         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
87187         -Iprograms here.
87188         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
87189         (localedef-modules): Add localedef.
87190         (locale-modules): Add locale.
87192         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
87193         * elf/rtld.c (dl_main): Invert order of assignment in last change,
87194         to avoid a warning.
87196 2011-08-14  David S. Miller  <davem@davemloft.net>
87198         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
87199         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
87201 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
87203         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
87204         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
87205         * elf/rtld.c (dl_main): Set l_name of vDSO.
87206         Call _dl_show_scope when DL_DEBUG_SCOPES.
87207         (process_dl_debug): Recognize scopes flag and also set it for all.
87208         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
87209         Declare _dl_show_scope.
87211         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
87212         (do_dlopen): Pass caller_dlopen to dl_open.
87213         (__libc_dlopen_mode): Initialize caller_dlopen.
87215         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
87216         of libc.  Make tolower call locale-independent.  Optimize a bit by
87217         using isdigit instead of isalnum.
87218         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
87220 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
87222         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
87223         was a dependency or dynamically loaded.
87225 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
87227         * intl/l10nflist.c: Allow architecture-specific pop function.
87228         * sysdeps/x86_64/l10nflist.c: New file.
87230         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
87231         classification.
87233 2011-08-10  Andreas Schwab  <schwab@redhat.com>
87235         * include/dirent.h: Add libc_hidden_proto for scandirat and
87236         scandirat64.  Don't declare __scandirat64.
87237         * dirent/scandirat.c: Add libc_hidden_def.
87238         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
87239         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
87241 2011-08-10  David S. Miller  <davem@davemloft.net>
87243         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
87244         enum.
87245         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
87246         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
87247         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
87249 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
87251         * Versions.def [libc]: Add GLIBC_2.15.
87252         * dirent/Makefile (routines): Add scandirat and scandirat64.
87253         * dirent/Versions [libc]: Export scandirat and scandirat64 for
87254         GLIBC_2.15.
87255         * dirent/dirent.h: Declare scandirat and scandirat64.
87256         * dirent/scandirat.c: New file.
87257         * dirent/scandirat64.c: New file.
87258         * sysdeps/wordsize-64/scandirat.c: New file.
87259         * sysdeps/wordsize-64/scandirat64.c: New file.
87260         * dirent/opendir.c: Define opendirat.
87261         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
87262         using scandirat.
87263         * dirent/scandir64.c: Adjust for scandir.c change.
87264         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
87265         __scandirat64, and __scandir_cancel_handler.
87266         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
87267         additional parameter and use openat instead of open (outside of ld.so).
87268         Add new __opendir as wrapper around __opendirat.
87269         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
87270         here without requiring old scandirat implementation.
87272 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
87274         * dirent/scandir.c (cancel_handler): Renamed to
87275         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
87276         defined.  Adjust users.
87277         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
87278         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
87280 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
87282         * string/test-string.h (IMPL): Use __STRING to expand name and then
87283         stringify it.
87285         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
87286         of cleanups.
87288 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
87290         * string/Makefile: Update.
87291         (strop-tests): Append strncat.
87292         * string/test-wcscmp.c: New file.
87293         New comprehensive test for wcscmp.
87294         * string/test-strcmp.c: Update.
87295         (WIDE): New define.
87297 2011-07-22  Andreas Schwab  <schwab@redhat.com>
87299         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
87300         line.
87302 2011-07-26  Andreas Schwab  <schwab@redhat.com>
87304         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
87305         encoding to ACE if AI_IDN.
87307 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
87309         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
87310         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
87312 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
87314         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
87315         Fix overflow bug in strncat.
87316         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
87318         * string/test-strncat.c: Update.
87319         Add new tests for checking overflow bugs.
87321 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
87323         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
87324         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
87325         * sysdeps/i386/i686/multiarch/strcat.S: New file.
87326         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
87327         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
87328         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
87329         * sysdeps/i386/i686/multiarch/strncat.S: New file.
87330         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
87331         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
87333         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
87334         (USE_AS_STRCAT): Define.
87335         Add strcat and strncat support.
87336         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
87338 2011-07-25  Andreas Schwab  <schwab@redhat.com>
87340         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
87341         __n bigger than INT_MAX+1.
87342         (__strncmp_g): Likewise.
87344 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
87346         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
87347         * libio/stido.h: Likewise.
87349         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
87350         (AF_NFC): Define.
87351         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
87352         (AF_NFC): Define.
87354         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
87355         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
87356         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
87357         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
87358         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
87360         [BZ #13021]
87361         * scripts/test-installation.pl: Don't expect libnss_test1 to be
87362         installed.
87364         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
87365         typo.
87366         (_dl_x86_64_save_sse): Likewise.
87368 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
87370         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
87371         OSXSAVE.
87372         (_dl_x86_64_save_sse): Likewise.
87374         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
87376         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
87378 2011-07-21  Andreas Schwab  <schwab@redhat.com>
87380         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
87381         change.
87382         (_dl_x86_64_save_sse): Use correct AVX check.
87384 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
87386         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
87387         bug in strncpy/strncat.
87388         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
87390 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
87392         * string/tester.c (test_strcat): Add tests for different alignments
87393         of source and destination.
87394         (test_strncat): Likewise.
87396 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
87398         [BZ #12852]
87399         * posix/glob.c (glob): Check passed in values before using them in
87400         expressions to avoid some overflows.
87401         (glob_in_dir): Likewise.
87403         [BZ #13007]
87404         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
87405         check for AVX enablement so that we don't crash with old kernels and
87406         new hardware.
87407         * elf/tst-audit4.c: Add same checks here.
87408         * elf/tst-audit6.c: Likewise.
87410         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
87412 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
87414         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
87416 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
87418         * po/cs.po: Update from translation team.
87419         * po/bg.po: Likewise.
87421 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
87423         * misc/sys/cdefs.h: Add support for const attribute.
87424         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
87425         to gnu_dev_{major,minor,makedev} functions.
87427 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
87429         * intl/dcigettext.c (get_output_charset): Add missing bracket.
87431 2011-07-20  Andreas Schwab  <schwab@redhat.com>
87433         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
87434         strlen results.
87436 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
87438         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
87439         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
87440         register in order to avoid conflicts with the soft frame pointer
87441         being held in r11 when necessary.
87442         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
87443         (INTERNAL_VSYSCALL_NCS): Likewise.
87445 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
87447         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
87448         * elf/dl-fini.c (_dl_fini): Adjust caller.
87449         * elf/dl-close.c (_dl_close_worker): Likewise.
87450         * sysdeps/generic/ldsodefs.h: Adjust declaration.
87452 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
87454         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
87455         "aux_cache->nlibs < 0".
87457         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
87458         in the reload-count case.
87460 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
87462         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
87463         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
87464         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
87465         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
87466         * sysdeps/x86_64/multiarch/strcat.S: New file.
87467         * sysdeps/x86_64/multiarch/strncat.S: New file.
87468         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
87469         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
87470         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
87471         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
87472         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
87473         (USE_AS_STRCAT): Define.
87474         Add strcat and strncat support.
87475         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
87476         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
87477         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
87478         * string/strncat.c: Update.
87479         (USE_AS_STRNCAT): Define.
87480         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
87481         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
87482         and i7.
87483         * sysdeps/x86_64/multiarch/init-arch.h
87484         (bit_Prefer_PMINUB_for_stringop): New.
87485         (index_Prefer_PMINUB_for_stringop): Likewise.
87486         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
87487         bit_Prefer_PMINUB_for_stringop.
87489 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
87491         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
87492         buffer64.
87493         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
87494         of casting of buffer.
87495         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
87496         buffer32 and buffer64.
87497         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
87498         writes instead of casting of buffer.
87499         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
87500         buffer32.
87501         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
87502         casting of buffer.
87504 2011-07-19  Andreas Schwab  <schwab@redhat.com>
87506         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
87508 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
87510         * nscd/nscd.c (termination_handler): Don't do anything for a database
87511         if it has not yet been initialized.
87513 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
87515         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
87517 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
87519         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
87521 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
87523         * po/nl.po: Update from translation team.
87524         * po/sv.po: Likewise.
87526 2011-07-16  Roland McGrath  <roland@hack.frob.com>
87528         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
87529         now disallowed by GCC.
87531         * configure.in (use-default-link): Default to yes if a test -shared
87532         link meets our qualifications.
87533         * configure: Regenerated.
87535         * config.make.in (output-format): New variable.
87536         * configure.in: Check for ld --print-output-format support.
87537         * configure: Regenerated.
87538         * Makerules ($(common-objpfx)format.lds)
87539         [$(output-format) != unknown]: Just use $(output-format),
87540         instead of the linker-script munging.
87542 2011-07-14  Roland McGrath  <roland@hack.frob.com>
87544         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
87545         of $(common-objpfx)shlib.lds.
87546         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
87548         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
87549         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
87551         * configure.in (-z relro check): Adjust test code to add a large
87552         writable data section after it.
87553         * configure: Regenerated.
87555 2011-07-11  Roland McGrath  <roland@hack.frob.com>
87557         * configure.in (-z relro check): Fix test code to make the variable
87558         truly const.
87559         * configure: Regenerated.
87561 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
87563         * nscd/nscd.h (struct traced_file): Define.
87564         (struct database_dyn): Remove inotify_descr, reset_res, and filename
87565         elements.  Add traced_files.
87566         (inotify_fd): Declare.
87567         (register_traced_file): Declare.
87568         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
87569         (inotify_fd): Export.
87570         (resolv_conf_descr): Remove.
87571         (nscd_init): Move inotify descriptor creation to main.
87572         Don't register files for notification here.
87573         (register_traced_file): New function.
87574         (invalidate_cache): Don't use reset_res to determine whether to call
87575         res_init, go through the list of registered files.
87576         (main_loop_poll): The inotify descriptors are now stored in the
87577         structures for the traced files.
87578         (main_loop_epoll): Likewise.
87579         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
87580         to __nss_disable_nscd.
87581         * nscd/cache.c (prune_cache): There is no single inotify descriptor
87582         for a database anymore.  Check the records for all the registered
87583         files instead.
87584         * nss/Makefile (libnss_files-routines): Add files-init.
87585         (libnss_db-routines): Add db-init.
87586         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
87587         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
87588         * nss/nss_db/db-init.c: New file.
87589         * nss/nss_files/files-init.c: New file.
87590         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
87591         __nss_lookup_function.
87592         (__nss_lookup_function): Call nss_load_library.
87593         (nss_load_all_libraries): New function.
87594         (__nss_disable_nscd): Take parameter with callback function for files
87595         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
87596         used for the cached services.
87597         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
87598         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
87599         options for features to all the files in nscd.
87601         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
87603 2011-07-10  Roland McGrath  <roland@hack.frob.com>
87605         * csu/elf-init.c (__libc_csu_init): Comment typo.
87607 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
87609         * po/pl.po: Update from translation team.
87610         * po/ja.po: Likewise.
87611         * po/ru.po: Likewise.
87612         * po/ko.po: Likewise.
87613         * po/fr.po: Likewise.
87615 2011-07-09  Roland McGrath  <roland@hack.frob.com>
87617         * configure.in (.ctors/.dtors header and trailer check):
87618         Use an empirical test on a built program.
87619         * configure: Regenerated.
87621         * configure.in (-z relro check): Use an empirical test on a built DSO.
87622         Detect, but do not require, on ia64.
87623         * configure: Regenerated.
87625         * configure.in (READELF): Find it with AC_CHECK_TOOL.
87626         Update tests that use readelf to use $READELF instead.
87627         * configure: Regenerated.
87629 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
87631         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
87632         if the result is not used.
87634 2011-07-05  Andreas Jaeger  <aj@suse.de>
87636         [BZ #9696]
87637         * stdlib/tst-strtod.c: Add testcase.
87639 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
87641         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
87642         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
87643         The latter has a higher limit.  Take additional parameter to pass to
87644         the new function.
87645         (__pathconf): Pass file to __statfs_link_max.
87646         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
87647         __statfs_link_max.
87648         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
87649         __statfs_link_max.
87651         [BZ #12868]
87652         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
87653         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
87654         Handle Lustre.
87655         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
87656         (__statfs_filesize_max): Likewise.
87657         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
87659 2011-07-05  Andreas Jaeger  <aj@suse.de>
87661         * resolv/res_comp.c (dn_skipname): Remove unused variable.
87663 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
87665         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
87666         `status' variable.
87667         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
87668         Likewise.
87670 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
87672         * Makefile (strop-tests): Add strncat.
87673         * string/test-strncat.c: New file.
87675 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
87677         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
87679 2011-06-21  Andreas Jaeger  <aj@suse.de>
87681         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
87682         Copy rule from iconvdata/Makefile.
87684 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
87686         [BZ #12922]
87687         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
87688         but no long options are defined, just return 'W'.
87690 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
87692         [BZ #9696]
87693         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
87695 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
87697         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
87698         netgroups to read.
87699         (innetgr): Likewise.
87701 2011-07-05  Roland McGrath  <roland@hack.frob.com>
87703         * config.make.in (install_root): Default to $(DESTDIR).
87705 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
87707         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
87709 2011-07-02  Roland McGrath  <roland@hack.frob.com>
87711         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
87713         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
87714         containing directory rather than embedding absolute directory names.
87716         * scripts/check-local-headers.sh: Rewritten using awk.
87717         Match by word, not by line.  Print error messages for matches.
87718         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
87720         * Makerules [shlib-lds-flags empty]:
87721         ($(common-objpfx)libc_pic.opts): New target.
87722         ($(common-objpfx)libc_pic.os.clean): New target.
87723         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
87725         * config.make.in (OBJCOPY): New variable.
87726         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
87727         * configure: Regenerated.
87729         * config.make.in (use-default-link): New variable.
87730         * configure.in (use_default_link): Grok --with-default-link to set it.
87731         * configure: Regenerated.
87732         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
87733         (shlib-lds, shlib-lds-flags): Define to empty.
87735         * Makerules (shlib-lds): New variable.
87736         (shlib-lds-flags): New variable.
87737         (build-shlib, build-moduile, build-module-asneeded): Use it.
87738         ($(common-objpfx)libc.so): Use $(shlib-lds).
87739         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
87740         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
87742         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
87743         DT_FLAGS/DT_FLAGS_1 with zero flags.
87745         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
87746         linker script munging.
87748 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
87750         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
87751         as 128-bit value.
87752         * crypt/sha512.c (sha512_process_block): Perform total addition using
87753         128-bit if possible.
87754         (__sha512_finish_ctx): Likewise.
87755         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
87756         as 64-bit value.
87757         * crypt/sha256.c (SWAP64): Define.
87758         (sha256_process_block): Perform total addition using 64-bit if
87759         possible.
87760         (__sha256_finish_ctx): Likewise.
87762 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
87764         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
87765         * nscd/initgrcache.c (addinitgroupsX): Likewise.
87766         * nscd/hstcache.c (cache_addhst): Likewise.
87767         * nscd/grpcache.c (cache_addgr): Likewise.
87768         * nscd/aicache.c (addhstaiX): Likewise.
87769         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
87771 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
87773         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
87774         * nscd/initgrcache.c (addinitgroupsX): Likewise.
87775         * nscd/hstcache.c (cache_addhst): Likewise.
87776         * nscd/grpcache.c (cache_addgr): Likewise.
87777         * nscd/aicache.c (addhstaiX): Likewise.
87779 2011-07-01  Andreas Schwab  <schwab@redhat.com>
87781         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
87782         domain only when needed.
87784 2011-06-30  Andreas Schwab  <schwab@redhat.com>
87786         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
87787         is always restored.
87789 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
87791         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
87792         are re-adding the entry.
87793         * nscd/servicescache.c (cache_addserv): Likewise.
87795 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
87797         * sysdeps/generic/dl-irel.h: fix protection against multiple
87798         inclusions.
87799         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
87801 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
87803         [BZ #12935]
87804         * malloc/memusage.sh: Fix quoting in message.
87805         * debug/xtrace.sh: Likewise.
87807         * configure.in: Remove support for --experimental-malloc option, make
87808         it the default.
87809         * config.make.in: Likewise.
87810         * malloc/Makefile: Likewise.
87812 2011-06-27  Andreas Schwab  <schwab@redhat.com>
87814         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
87815         two-byte characters.
87817 2011-06-27  Roland McGrath  <roland@hack.frob.com>
87819         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
87820         AC_CACHE_CHECK invocation.
87821         * configure: Regenerated.
87823         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
87825 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
87827         [BZ #12350]
87828         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
87829         bit from old_res_options.
87831         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
87833         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
87834         value type for setfct.
87836 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
87838         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
87839         __gettimeofday instead of gettimeofday.
87841 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
87843         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
87845 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
87847         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
87849         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
87850         info.
87852 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
87854         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
87855         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
87856         strcpy-sse2-unaligned strncpy-sse2-unaligned
87857         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
87858         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
87859         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
87860         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
87861         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
87862         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
87863         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
87864         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
87865         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
87866         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
87867         (STRCPY): Support SSE2 and SSSE3 versions.
87869 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
87871         [BZ #12874]
87872         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
87873         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
87874         kernels which artificially limit size of requests.
87876 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
87878         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
87879         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
87880         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
87881         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
87882         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
87883         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
87884         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
87885         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
87886         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
87887         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
87888         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
87889         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
87890         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
87891         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
87892         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
87893         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
87894         Enable unaligned load optimization for Intel Core i3, i5 and i7
87895         processors.
87896         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
87897         Define.
87898         (index_Fast_Unaligned_Load): Define.
87899         (HAS_FAST_UNALIGNED_LOAD): Define.
87901 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
87903         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
87905 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
87907         [BZ #12907]
87908         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
87909         until it is clear that the information is realy needed.
87910         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
87912 2011-06-22  Andreas Schwab  <schwab@redhat.com>
87914         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
87916 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
87918         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
87919         /sys/devices/system/cpu/online if it is usable.
87921         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
87922         reading the information from the /proc filesystem to once a second.
87924 2011-06-21  Andreas Jaeger  <aj@suse.de>
87926         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
87927         NULL after inclusion of kernel headers.
87929 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
87931         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
87932         calls to internal_setent.
87934         [BZ #12885]
87935         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
87936         addresses using gethostbyname4_r ignore IPv4 addresses.
87938         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
87939         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
87941         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
87943 2011-06-20  David S. Miller  <davem@davemloft.net>
87945         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
87946         inclusions.
87947         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
87949         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
87950         (elf_irel): Use it.
87951         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
87952         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
87953         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
87954         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
87955         * sysdeps/x86_64/dl-irel.h: Likewise.
87957         * elf/dl-runtime.c: Use elf_ifunc_invoke.
87958         * elf/dl-sym.c: Likewise.
87960 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
87962         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
87963         need to dereference resplen2.
87965 2011-06-14  Andreas Schwab  <schwab@redhat.com>
87967         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
87969 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
87971         * Makeconfig: Define vardbdir and inst_vardbdir.
87972         * nss/Makefile: Add rules to install db-Makefile.
87974         * nss/nss_db/db-XXX.c: Cleanup.
87976         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
87977         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
87978         GLIBC_PRIVATE.
87979         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
87980         * nss/makedb.c: Implement -g option to specify that value strings
87981         are generated and should not be added to table iterated over for
87982         get*ent calls.
87983         * nss/nss_db/db-initgroups.c: New file.
87985         * nss/getent.c: Add support for initgroups lookups through getgrouplist
87986         interface.
87988         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
87989         (internal_getgrouplist): Adjust to name change.
87990         Update use_initgroups_entry if this is not the first call.
87991         * nss/databases.def: Add initgroups entry.
87993         * nss/makedb.c (compute_tables): Check result of multiple hash table
87994         sizes to minimize maximum chain length.
87996 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
87998         * Versions.def: Add entry for libnss_db.
87999         * shlib-versions: Likewise.
88000         * nss/Makefile: Add rules to build libnss_db.
88001         * nss/Versions: Add libnss_db information.  Organize libnss_files
88002         entries better.
88003         * nss/db-Makefile: Add gshadow support.  Change rules for the new
88004         makedb progra.  Some minor improvements to generate smaller files.
88005         * nss/nss_db/nss_db.h: Move NSS database header data structures to
88006         here from...
88007         * nss/makedb.c: ...here.
88008         Improve database format to be smaller and require less memory at
88009         runtime.
88010         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
88011         db anymore.
88012         * nss/nss_db/db-netgrp.c: Likewise.
88013         * nss/nss_db/db-open.c: Likewise.
88014         * nss/nss_files/flies-XXX.x: Adjust comments.
88015         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
88016         * nss/nss_files/files-grp.c: Likewise.
88017         * nss/nss_files/files-hosts.c: Likewise.
88018         * nss/nss_files/files-network.c: Likewise.
88019         * nss/nss_files/files-proto.c: Likewise.
88020         * nss/nss_files/files-pwd.c: Likewise.
88021         * nss/nss_files/files-rpc.c: Likewise.
88022         * nss/nss_files/files-service.c: Likewise.
88023         * nss/nss_files/files-sgrp.c: Likewise.
88024         * nss/nss_files/files-spwd.c: Likewise.
88025         * nss/nss_db/db-alias.c: Removed.
88026         * nss/nss_db/dummy-db.h: Removed.
88028 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
88030         * nss/makedb.c: Rewritten to not use database library.
88031         * nss/Makefile: Update to build new makedb program.
88033 2011-06-14  Andreas Jaeger  <aj@suse.de>
88035         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
88036         memset declaration.
88038 2011-06-10  Andreas Schwab  <schwab@redhat.com>
88040         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
88041         tmpbuf.
88043 2011-06-10  Roland McGrath  <roland@hack.frob.com>
88045         * Makerules (shlib.lds): Fail if the linker script comes out empty.
88046         * elf/Makefile ($(objpfx)ld.so): Likewise.
88048         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
88049         Don't list ld.so twice in dependencies.
88051         * posix/bug-regex31.c: Include <stdlib.h>.
88053         * nscd/hstcache.c (cache_addhst): Remove unused variable.
88055         * nis/nss_compat/compat-spwd.c
88056         (getspent_next_nss_netgr): Remove unused variable.
88057         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
88059         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
88060         nonmembers" output to use the right array.
88062         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
88064         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
88066         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
88067         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
88068         * catgets/gencat.c (read_input_file): Likewise.
88069         * locale/programs/locarchive.c (enlarge_archive): Likewise.
88071         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
88072         variable definition inside #if's controlling its use.
88074         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
88076         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
88078         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
88080         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
88081         unreachable code.
88083         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
88085         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
88086         * configure: Regenerated.
88088         * Makerules: Revert last change.
88089         * elf/Makefile: Likewise.
88091 2011-06-09  Roland McGrath  <roland@hack.frob.com>
88093         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
88094         * elf/Makefile ($(objpfx)librtld.os): Likewise.
88095         (reloc-link): Likewise.
88097 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
88099         * elf/Makefile: Add rules to build pldd.
88100         * elf/pldd.c: New file.
88101         * elf/pldd-xx.c: New file.
88103 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
88105         * version.h: Update for 2.15 development version.
88107 2011-06-07  David S. Miller  <davem@davemloft.net>
88109         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
88110         ifuncs.
88111         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
88112         elf_machine_lazy_rel): Likewise.
88113         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
88114         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
88115         elf_machine_lazy_rel): Likewise.
88116         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
88117         dl_hwcap via passed in argument.
88118         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
88119         Likewise.
88121 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
88123         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
88125 2011-06-06  Roland McGrath  <roland@hack.frob.com>
88127         [BZ #12849]
88128         * manual/fdl-1.1.texi: New file, verbatim from:
88129         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
88130         * manual/lgpl-2.1.texi: New file, verbatim from:
88131         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
88132         * manual/Makefile (licenses): New variable, list those new file names.
88133         (texis): Use it.
88134         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
88136         * manual/fdl.texi: File removed.
88137         * manual/lesser.texi: File removed.
88138         * manual/libc.texinfo (Copying, Documentation License):
88139         Use new @include file names, put @appendix directive before @include.
88141 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
88143         [BZ #12841]
88144         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
88145         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
88146         (mq_open): Add __NTH.
88148 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
88150         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
88151         Assume Intel Core i3/i5/i7 processor if AVX is available.
88153 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
88155         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
88156         typo.
88158 2011-05-31  Andreas Schwab  <schwab@redhat.com>
88160         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
88161         memory.  Use alloca_account.  Fix memory leak when retrying.
88163 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
88165         * version.h (RELEASE): Bump for 2.14 release.
88166         * include/features.h (__GLIBC_MINOR__): Bump to 14.
88168         * config.make.in (RANLIB): Remove entry.
88170 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
88172         * po/Makefile (po-sed-cmd): Add ksh to extensions.
88173         (libc.pot): Work around missing support for .ksh extension in xgettext.
88175         [BZ #12684]
88176         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
88177         if both request failed.
88178         (send_dg): In case of server errors clear resplen or *resplen2.
88180         [BZ #12454]
88181         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
88182         when there are multiple maps.
88183         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
88184         (_dl_fini): Remove test here.
88186         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
88188 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
88190         [BZ #12350]
88191         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
88192         bit from old_res_options.
88193         (gaih_inet): Likewise.
88195         [BZ #11099]
88196         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
88197         as signed.
88199         * resolv/res_init.c (res_setoptions): Make the code more compact.
88201         [BZ #11558]
88202         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
88203         set RES_USEVC.
88205         [BZ #11634]
88206         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
88208         * malloc/malloc.h: Mark malloc hook variables as deprecated.
88210         [BZ #11781]
88211         * malloc/malloc.h: Declare malloc hook variables as volatile.
88213         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
88214         in last patch.
88216         [BZ #11799]
88217         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
88218         raise in the comment.
88219         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
88220         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
88221         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
88223 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
88225         [BZ #12811]
88226         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
88227         grow the buffers more if it already has to be sufficient.
88228         (build_wcs_upper_buffer): Likewise.
88229         * posix/regexec.c (check_matching): Likewise.
88230         (clean_state_log_if_needed): Likewise.
88231         (extend_buffers): Don't enlarge buffers beyond size of the input
88232         buffer.
88233         Patches mostly by Emil Wojak <emil@wojak.eu>.
88234         * posix/bug-regex32.c: New file.
88235         * posix/Makefile (tests): Add bug-regex32.
88237         * locale/findlocale.c (_nl_find_locale): Return right away if
88238         _nl_explode_name failed.
88239         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
88241         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
88243         * debug/xtrace.sh: Unify messages.
88244         * malloc/memusage.sh: Likewise.
88246         [BZ #12813]
88247         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
88248         time symbol from vDSO.  Substitute with vsyscall if not available.
88249         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
88250         __vdso_time.
88252         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
88253         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
88254         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
88255         Add sendmmsg and internal_sendmmsg.
88256         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
88257         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
88258         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
88260         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
88261         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
88262         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
88264 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
88266         [BZ #12813]
88267         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
88268         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
88269         available.
88270         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
88271         __vdso_getcpu.
88273         [BZ #12814]
88274         * iconvdata/Makefile (tests): Add bug-iconv9.
88275         * iconvdata/bug-iconv9.c: New file.
88277 2011-05-27  Andreas Schwab  <schwab@redhat.com>
88279         [BZ #12814]
88280         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
88282 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
88284         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
88285         (struct user_regs_struct): Change intcs field back to cs.
88287 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
88289         * po/ja.po: Update from translation team.
88291 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
88293         [BZ #12795]
88294         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
88295         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
88297 2011-05-20  Andreas Schwab  <schwab@redhat.com>
88299         * stdlib/longlong.h: Update from GCC.
88301 2011-05-23  Andreas Schwab  <schwab@redhat.com>
88303         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
88304         parameter name.
88305         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
88306         Add parameter name.
88307         (__sysconf): Pass it down.
88309 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
88311         [BZ #12671]
88312         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
88313         some situations.
88314         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
88315         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
88316         add in in __libc_use_alloca calls.  Adjust callers.
88317         (glob): Use malloc in some situations.
88319         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
88320         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
88321         pltexit.
88323 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
88325         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
88326         and CLOCK_BOOTTIME_ALARM.
88328         [BZ #12782]
88329         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
88330         is returned.
88332         * string/_strerror.c (__strerror_r): Print negative errors as signed
88333         numbers.
88335         [BZ #12777]
88336         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
88337         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
88338         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
88340         * configure.in: Fix typo in redirection and correct removal of test
88341         files in two cases.
88343         [BZ #12788]
88344         * locale/setlocale.c (new_composite_name): Fix test to check for
88345         identical name of all categories.
88347         [BZ #12792]
88348         * libio/filedoalloc.c (local_isatty): New function.
88349         (_IO_file_doallocate): Use local_isatty.
88350         * stdio-common/perror.c (perror): In case a new stream is used
88351         forward the stream error.
88352         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
88353         error flag.
88355 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
88357         [BZ #11884]
88358         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
88359         alloca.
88360         * include/alloca.h (extend_alloca_account): Define.
88362         [BZ #11857]
88363         * posix/regex.h: Fix comments with documentation of user-accessible
88364         fields after compilation and describe correct free'ing of pattern
88365         after re_compile_pattern.
88366         Patch by Reuben Thomas <rrt@sc3d.org>.
88368 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
88370         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
88371         and -mno-altivec to prevent the compiler from using Altivec and/or
88372         VSX instructions when the corresponding registers are not available.
88374 2011-05-19  Andreas Schwab  <schwab@redhat.com>
88376         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
88378 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
88380         * libio/freopen.c (freopen): Use __dup2, not dup2.
88381         * libio/freopen64.c (freopen64): Likewise.
88383 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
88385         [BZ #12775]
88386         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
88387         * math/Makefile (tests): Add test-powl.
88388         (CFLAGS-test-powl.c): Define.
88389         * math/test-powl.c: New file.
88391 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
88393         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
88395 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
88397         [BZ #11837]
88398         * iconvdata/gb18030.c: Update to GB18020-2005.
88400 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
88402         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
88403         RE_SYNTAX_POSIX_AWK): Update to match recent development.
88404         Patch by Aharon Robbins <arnold@skeeve.com>.
88406         [BZ #11892]
88407         * stdlib/putenv.c (putenv): Don't always create copy of the variable
88408         on the stack.
88410         [BZ #11895]
88411         * misc/pselect.c (__pselect): Handle timeout value errors hidden
88412         through underflows.
88414         [BZ #12766]
88415         * misc/error.c (error_at_line): Ensure file_name and old_file_name
88416         point to strings before performing equality test for error_one_per_line
88417         mode.
88419         [BZ #11697]
88420         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
88422         [BZ #11820]
88423         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
88424         (struct user_fpregs_struct): Avoid __uint*_t types.
88426         [BZ #6420]
88427         * malloc/mtrace.c (tr_where): Add additional parameter to point to
88428         symbol info.  Use it instead of calling _dl_addr locally.
88429         (lock_and_info): New function.
88430         (tr_freehook): Call lock_and_info and pass symbol info as additional
88431         parameter to tr_where.
88432         (tr_mallochook): Likewise.
88433         (tr_reallochook): Likewise.
88434         (tr_memalignhook): Likewise.
88436         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
88437         used and couldn't be at all thread-safe.
88439 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
88441         * libio/freopen.c (freopen): Don't close old file descriptor
88442         before the new one is opened.  Instead dup the new file descriptor
88443         to the old one after the new stream is created.
88444         * libio/freopen64.c (freopen64): Likewise.
88445         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
88446         * libio/fileops.c (_IO_new_file_close_it): Handle new
88447         _IO_FLAGS2_NOCLOSE flag.
88448         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
88449         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
88450         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
88451         _IO_FLAGS2_NOCLOSE flag.
88452         * include/unistd.h: Add hidden_proto for dup3.
88453         Define __have_dup3.
88454         * io/dup3.c: Define hidden symbol.
88455         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
88457         [BZ #7101]
88458         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
88459         when an incomplete long option is used.
88460         * posix/tst-getopt_long1.c: New file.
88461         * posix/Makefile (tests): Add tst-getopt_long1.
88463         [BZ #10138]
88464         * scripts/config.guess: Update from autoconf-2.68.
88465         * scripts/config.sub: Likewise.
88467         [BZ #10157]
88468         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
88469         tests into ...
88470         (has_cpuclock): ...this.  New function.
88471         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
88472         macro here based on has_cpuclock code.
88474         [BZ #10149]
88475         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
88476         First byte (not low byte) is now always NUL.
88477         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
88479         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
88480         Use non-cancelable interfaces.
88482         [BZ #9809]
88483         * locale/iso-639.def: Add entry for Sorani.
88485         [BZ #11901]
88486         * include/stdlib.h: Move include protection to the right place.
88487         Define abort_msg_s.  Declare __abort_msg with it.
88488         * stdlib/abort.c (__abort_msg): Adjust type.
88489         * assert/assert.c (__assert_fail_base): New function.  Majority
88490         of code from __assert_fail.  Allocate memory for __abort_msg with
88491         mmap.
88492         (__assert_fail): Now call __assert_fail_base.
88493         * assert/assert-perr.c: Remove bulk of implementation.  Use
88494         __assert_fail_base.
88495         * include/assert.hL Declare __assert_fail_base.
88496         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
88497         mmap.
88498         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
88500 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
88502         [BZ #11952]
88503         [BZ #12453]
88504         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
88505         until all modules are registered in the DTV.
88506         * elf/Makefile: Add rules to build and run tst-tls19.
88507         * elf/tst-tls19.c: New file.
88508         * elf/tst-tls19mod1.c: New file.
88509         * elf/tst-tls19mod2.c: New file.
88510         * elf/tst-tls19mod3.c: New file.
88511         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
88513         [BZ #12083]
88514         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
88515         correctly.
88517         [BZ #12601]
88518         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
88519         two-byte sequence errors.
88520         * iconvdata/Makefile (tests): Add bug-iconv8.
88521         * iconvdata/bug-iconv8.c: New file.
88523         [BZ #12626]
88524         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
88525         buf2 definition.
88527         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
88529         [BZ #12432]
88530         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
88531         (dummy_getcfa): New function.
88532         (init): Get _Unwind_GetCFA address, use dummy if not found.
88533         (backtrace_helper): In recursion check, also check whether CFA changes.
88534         (__backtrace): Completely initialize arg.
88536         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
88537         storing incomplete byte sequence in state object.  Avoid testing for
88538         guaranteed too small input if we know there is enough data available.
88540 2011-05-11  Andreas Schwab  <schwab@redhat.com>
88542         * Makeconfig (+link-pie): Indent.
88543         * Rules (binaries-pie): Define if $(have-fpie) and
88544         $(build-shared).
88545         (binaries-shared): Also filter out $(binaries-pie).
88546         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
88547         * nscd/Makefile (others-pie): Add nscd.
88548         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
88549         ($(objpfx)nscd): Remove command override.
88550         * login/Makefile (others-pie): Add pt_chown.
88551         ($(objpfx)pt_chown): Remove command override.
88552         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
88553         remove command overrides.
88555 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
88557         * libio/tst_putwc.c: Fix error messages.
88559         [BZ #12724]
88560         * libio/fileops.c (_IO_new_file_close_it): Always flush when
88561         currently writing and seek to current position when not.
88562         * libio/Makefile (tests): Add bug-fclose1.
88563         * libio/bug-fclose1.c: New file.
88565 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
88567         [BZ #12511]
88568         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
88569         don't set DF_1_NODELETE here.
88570         (do_lookup_x): When entering new entry test for copy relocation
88571         and if necessary set DF_1_NODELETE flag.
88572         * elf/tst-unique4.cc: New file.
88573         * elf/tst-unique4.h: New file.
88574         * elf/tst-unique4lib.cc: New file.
88575         * elf/Makefile: Add rules to build and run tst-unique4.
88576         Patch by Piotr Bury <pbury@goahead.com>.
88578 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
88580         [BZ #12052]
88581         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
88583         [BZ #12625]
88584         * misc/mntent_r.c (addmntent): Flush the stream after the output
88586         [BZ #12393]
88587         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
88588         (is_trusted_path_normalize): Skip initial colon.  Append slash
88589         to empty buffer.  Duplicate is_trusted_path code but allow
88590         constructed patch to be prefix.
88591         (is_dst): Allow $ORIGIN followed by /.
88592         (_dl_dst_substitute): Correct clearing of check_for_trusted.
88593         Correct testing of result of is_trusted_path_normalize
88594         (decompose_rpath): Fix warning.
88596 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
88598         [BZ #11257]
88599         * grp/initgroups.c (internal_getgrouplist): When we found the service
88600         list through the initgroups entry in nsswitch.conf do not always
88601         continue on a successful lookup.  Don't always use the
88602         __nss_group_database value if it is set.
88603         * nss/nsswitch.conf (initgroups): Change action for successful db
88604         lookup to continue for compatibility.
88606 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
88608         [BZ #11532]
88609         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
88610         and CP774 modules.
88611         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
88612         and CP774 modules.
88613         * iconvdata/tst-tables.sh: Likewise.
88614         * iconvdata/cp770.c: New file.
88615         * iconvdata/cp771.c: New file.
88616         * iconvdata/cp772.c: New file.
88617         * iconvdata/cp773.c: New file.
88618         * iconvdata/cp774.c: New file.
88619         * iconvdata/testdata/CP770: New file.
88620         * iconvdata/testdata/CP770..UTF8: New file.
88621         * iconvdata/testdata/CP771: New file.
88622         * iconvdata/testdata/CP771..UTF8: New file.
88623         * iconvdata/testdata/CP772: New file.
88624         * iconvdata/testdata/CP772..UTF8: New file.
88625         * iconvdata/testdata/CP773: New file.
88626         * iconvdata/testdata/CP773..UTF8: New file.
88627         * iconvdata/testdata/CP774: New file.
88628         * iconvdata/testdata/CP774..UTF8: New file.
88630         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
88631         END CHARMAP line.
88632         * iconvdata/gen-8bit-gap.sh: Likewise.
88633         * iconvdata/gen-8bit.sh: Likewise.
88635         * locale/iso-639.def: Add ary entry.
88637         [BZ #11258]
88638         * locale/C-translit.h.in: Add U20A1 transliteration.
88640         [BZ #12178]
88641         * locale/iso-639.def: Add wae entry.
88642         Patch by Kevin Bortis <bortis@translate-wae.ch>.
88644         [BZ #12545]
88645         * locale/programs/localedef.c (construct_output_path): Use ssize_t
88646         for n.
88648         [BZ #12711]
88649         * locale/C-translit.h.in: Add entry for U20B9.
88650         Patch by pravin.d.s@gmail.com.
88652 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
88654         [BZ #12713]
88655         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
88656         ENAMETOOLONG use generic getcwd.
88657         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
88658         in rtld.  Use *stat64.
88659         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
88660         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
88661         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
88662         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
88663         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
88664         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
88665         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
88666         __fstatat64 macros.
88667         * include/dirent.h: Add libc_hidden_proto for rewinddir.
88668         * dirent/rewinddir.c: Add libc_hidden_def.
88669         * sysdeps/mach/hurd/rewinddir.c: Likewise.
88670         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
88672         * include/dirent.h (__alloc_dir): Add flags parameter.
88673         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
88674         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
88675         __alloc_dir.
88676         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
88677         from fdopendir if O_CLOEXEC is already set.
88679 2011-03-15  Alan Modra  <amodra@gmail.com>
88681         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
88682         l_tls_firstbyte_offset non-zero.  Save padding offset in
88683         l_tls_firstbyte_offset for later use.
88684         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
88685         freeing static tls block.
88687 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
88689         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
88690         where #ifdef was intended.  The intent is to prevent ARG_MAX from
88691         being defined by the kernel headers.
88693 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
88695         [BZ #12734]
88696         * resolv/resolv.h: Define RES_NOTLDQUERY.
88697         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
88698         no-tld-query and set RES_NOTLDQUERY.
88699         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
88700         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
88701         modern BIND to search name as TLD unless forbidden.
88703 2011-05-07  Petr Baudis  <pasky@suse.cz>
88704             Ulrich Drepper  <drepper@gmail.com>
88706         [BZ #12393]
88707         * elf/dl-load.c (fillin_rpath): Move trusted path check...
88708         (is_trusted_path): ...to here.
88709         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
88710         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
88711         using is_trusted_path_normalize() in setuid scripts.
88713 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
88715         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
88716         __BEGIN/__END_DECLS.
88718 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
88720         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
88721         NSS_STATUS_NOTFOUND if no record was found.
88723 2011-05-05  Andreas Schwab  <schwab@redhat.com>
88725         * sunrpc/Makefile (headers): Add rpc/netdb.h.
88726         (headers-not-in-tirpc): Remove rpc/netdb.h
88727         * resolv/netdb.h: Revert last change.
88729 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
88731         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
88732         circular dependency between libgcc.a and libc.a.
88734 2011-05-05  Andreas Schwab  <schwab@redhat.com>
88736         * resolv/netdb.h: Don't include <rpc/netdb.h>.
88737         * nis/Makefile: Don't install rpcsvc/*.
88738         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
88739         instead of <rpc/types.h>.
88740         (MAXHOSTNAMELEN): Define.
88742 2011-05-03  Andreas Schwab  <schwab@redhat.com>
88744         * elf/ldconfig.c (add_dir): Don't crash on empty path.
88746 2011-04-28  Maciej Babinski  <mbabinski@google.com>
88748         [BZ #12714]
88749         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
88750         gethostbyname4_r when IPv6 results are possible.
88752 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
88754         [BZ #12723]
88755         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
88756         _PC_PIPE_BUF handling.
88758 2011-04-30  Bruno Haible  <bruno@clisp.org>
88760         [BZ #12717]
88761         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
88762         * resolv/netdb.h (getnameinfo): Change type of flags parameter
88763         to 'int'.
88764         * inet/getnameinfo.c (getnameinfo): Likewise.
88766 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
88768         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
88769         to groups setting in database lookup.
88770         * nss/nsswitch.conf: Add initgroups entry.
88772 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
88774         [BZ #12685]
88775         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
88776         mode string.
88777         Patch by Eric Blake <eblake@redhat.com>.
88779 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
88781         * sunrpc/Makefile (need-export-routines): Add svc_run.
88782         (routines): Remove svc_run.
88783         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
88784         * sunrpc/clnt_perr.c (clnt_perrno): Export.
88785         * sunrpc/svc_run.c (svc_run): Likewise.
88786         * sunrpc/svc_udp.c (svcudp_create): Likewise.
88788 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
88790         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
88791         problem in reallocation in last patch.
88793 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
88795         * sunrpc/Makefile: Move inclusion of Rules.
88797 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
88799         * nss/nss_files/files-initgroups.c: New file.
88800         * nss/Makefile (libnss_files-routines): Add files-initgroups.
88801         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
88802         _nss_files_initgroups_dyn.
88804 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
88806         * elf/elf.h (R_ARM_IRELATIVE): Define.
88808 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
88810         * po/ru.po: Update from translation team.
88812 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
88814         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
88815         dependencies.
88817 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
88819         [BZ #12653]
88820         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
88821         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
88822         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
88823         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
88824         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
88826 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
88828         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
88829         differing bytes.
88830         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
88831         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
88832         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
88834 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
88836         [BZ #12420]
88837         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
88838         storing it.
88839         * stdlib/bug-getcontext.c: New file.
88840         * stdlib/Makefile: Add rules to build and run bug-getcontext.
88842 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
88844         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
88845         instructions into .machine "z9-109".
88846         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
88847         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
88849 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
88851         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
88852         between environment variables and auxiliary vector.
88854 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
88856         * Makefile: Add rules to build linkobj/libc.so.
88857         * include/libc-symbols.h: Define libc_hidden_nolink.
88858         * include/rpc/auth.h: Mark functions which are to be hidden.
88859         * include/rpc/auth_des.h: Likewise.
88860         * include/rpc/auth_unix.h: Likewise.
88861         * include/rpc/clnt.h: Likewise.
88862         * include/rpc/des_crypt.h: Likewise.
88863         * include/rpc/key_prot.h: Likewise.
88864         * include/rpc/pmap_clnt.h: Likewise.
88865         * include/rpc/pmap_prot.h: Likewise.
88866         * include/rpc/pmap_rmt.h: Likewise.
88867         * include/rpc/rpc_msg.h: Likewise.
88868         * include/rpc/svc.h: Likewise.
88869         * include/rpc/svc_auth.h: Likewise.
88870         * include/rpc/xdr.h: Likewise.
88871         * nis/Makefile: Link all DSOs against linkobj/libc.so.
88872         * nss/Makefile: Likewise.
88873         * sunrpc/Makefile: Don't install headers.  Build library with normal
88874         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
88875         * sunrpc/auth_des.c: Hide exported symbols by default, export some
88876         for the compat linking library.  Remove use of INTDEF/INTUSE.
88877         * sunrpc/auth_none.c: Likewise.
88878         * sunrpc/auth_unix.c: Likewise.
88879         * sunrpc/authdes_prot.c: Likewise.
88880         * sunrpc/authuxprot.c: Likewise.
88881         * sunrpc/clnt_gen.c: Likewise.
88882         * sunrpc/clnt_perr.c: Likewise.
88883         * sunrpc/clnt_raw.c: Likewise.
88884         * sunrpc/clnt_simp.c: Likewise.
88885         * sunrpc/clnt_tcp.c: Likewise.
88886         * sunrpc/clnt_udp.c: Likewise.
88887         * sunrpc/clnt_unix.c: Likewise.
88888         * sunrpc/des_crypt.c: Likewise.
88889         * sunrpc/des_soft.c: Likewise.
88890         * sunrpc/get_myaddr.c: Likewise.
88891         * sunrpc/key_call.c: Likewise.
88892         * sunrpc/key_prot.c: Likewise.
88893         * sunrpc/netname.c: Likewise.
88894         * sunrpc/pm_getmaps.c: Likewise.
88895         * sunrpc/pm_getport.c: Likewise.
88896         * sunrpc/pmap_clnt.c: Likewise.
88897         * sunrpc/pmap_prot.c: Likewise.
88898         * sunrpc/pmap_prot2.c: Likewise.
88899         * sunrpc/pmap_rmt.c: Likewise.
88900         * sunrpc/publickey.c: Likewise.
88901         * sunrpc/rpc_cmsg.c: Likewise.
88902         * sunrpc/rpc_common.c: Likewise.
88903         * sunrpc/rpc_dtable.c: Likewise.
88904         * sunrpc/rpc_prot.c: Likewise.
88905         * sunrpc/rpc_thread.c: Likewise.
88906         * sunrpc/rtime.c: Likewise.
88907         * sunrpc/svc.c: Likewise.
88908         * sunrpc/svc_auth.c: Likewise.
88909         * sunrpc/svc_authux.c: Likewise.
88910         * sunrpc/svc_raw.c: Likewise.
88911         * sunrpc/svc_run.c: Likewise.
88912         * sunrpc/svc_simple.c: Likewise.
88913         * sunrpc/svc_tcp.c: Likewise.
88914         * sunrpc/svc_udp.c: Likewise.
88915         * sunrpc/svc_unix.c: Likewise.
88916         * sunrpc/svcauth_des.c: Likewise.
88917         * sunrpc/xcrypt.c: Likewise.
88918         * sunrpc/xdr.c: Likewise.
88919         * sunrpc/xdr_array.c: Likewise.
88920         * sunrpc/xdr_float.c: Likewise.
88921         * sunrpc/xdr_intXX_t.c: Likewise.
88922         * sunrpc/xdr_mem.c: Likewise.
88923         * sunrpc/xdr_rec.c: Likewise.
88924         * sunrpc/xdr_ref.c: Likewise.
88925         * sunrpc/xdr_sizeof.c: Likewise.
88926         * sunrpc/xdr_stdio.c: Likewise.
88928 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
88930         [BZ #12650]
88931         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
88932         * sysdeps/ia64/dl-tls.h: Likewise.
88933         * sysdeps/powerpc/dl-tls.h: Likewise.
88934         * sysdeps/s390/dl-tls.h: Likewise.
88935         * sysdeps/sh/dl-tls.h: Likewise.
88936         * sysdeps/sparc/dl-tls.h: Likewise.
88937         * sysdeps/x86_64/dl-tls.h: Likewise.
88938         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
88940 2011-03-14  Andreas Schwab  <schwab@redhat.com>
88942         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
88943         rpath element also skip the following colon.
88944         (expand_dynamic_string_token): Add is_path parameter and pass
88945         down to DL_DST_REQUIRED and _dl_dst_substitute.
88946         (decompose_rpath): Call expand_dynamic_string_token with
88947         non-zero is_path.  Ignore empty rpaths.
88948         (_dl_map_object_from_fd): Call expand_dynamic_string_token
88949         with zero is_path.
88951 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
88953         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
88954         Make cancelable.
88956 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
88958         [BZ #12655]
88959         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
88960         Patch by Filipe David Manana <fdmanana@apache.org>.
88962 2011-04-07  Andreas Schwab  <schwab@redhat.com>
88964         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
88965         Maintain aligned stack.
88966         (CHECK_RSP): Remove unused macro.
88968 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
88970         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
88971         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
88973 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
88975         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
88977         * include/features.h: Mention __USE_XOPEN2K8 in comment.
88979 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
88981         [BZ #12518]
88982         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
88983         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
88984         * sysdeps/x86_64/memmove.c: New file.
88985         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
88986         (memcpy): Renamed to ...
88987         (__new_memcpy): This.
88988         (memcpy): Provide GLIBC_2_14 memcpy.
88989         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
88990         (memcpy): Provide GLIBC_2_2_5 memcpy.
88992 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
88994         [BZ #12631]
88995         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
88997 2011-03-30  Andreas Schwab  <schwab@redhat.com>
88999         * misc/syncfs.c: New file.
89000         * misc/Makefile (routines): Add syncfs.
89001         * posix/unistd.h: Declare syncfs.
89002         * sysdeps/unix/syscalls.list: Add syncfs.
89004 2011-04-01  Andreas Schwab  <schwab@redhat.com>
89006         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
89007         open_by_handle_at.
89008         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
89009         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
89010         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
89011         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
89012         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
89013         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
89014         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
89016 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
89018         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
89019         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
89020         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
89021         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
89022         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
89023         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
89024         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
89026         * io/Makefile: Compile fallocate.c, fallocate64.c, and
89027         sync_file_range.c with -fexceptions.
89028         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
89029         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
89030         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
89031         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
89032         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
89033         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
89034         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
89035         sync_file_range as cancellation point
89036         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
89037         now a wrapper around __call_sync_file_range with cancellation handling.
89038         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
89039         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
89040         function name to __call_sync_file_range.
89041         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
89042         Add call_sync_file_range.
89044 2011-04-01  Andreas Schwab  <schwab@redhat.com>
89046         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
89047         bits/timex.h.
89049 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
89051         * iconv/iconv.h: Fix typo in comment.
89052         * io/fcntl.h: Likewise.
89053         * libio/stdio.h: Likewise.
89054         * posix/spawn.h: Likewise.
89055         * posix/unistd.h: Likewise.
89056         * stdlib/stdlib.h: Likewise.
89057         * time/time.h: Likewise.
89058         * wcsmbs/wchar.h: Likewise.
89060         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
89061         open_by_handle): Add.
89062         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
89063         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
89064         Augment a few comments.
89065         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
89066         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
89067         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
89068         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
89069         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
89070         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
89071         open_by_handle.
89073         * io/fcntl.h (AT_EMPTY_PATH): Define.
89075 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
89077         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
89078         * sysdeps/unix/sysv/linux/bits/time.h: New file.
89079         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
89080         to...
89081         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
89082         * Versions.def: Add GLIBC_2.14.
89083         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
89084         Export.
89086 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
89088         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
89089         round counter.
89090         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
89092 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
89094         [BZ #12597]
89095         * string/test-strncmp.c (do_page_test): New function.
89096         (check2): Likewise.
89097         (test_main): Call check2.
89098         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
89100 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
89102         [BZ #12587]
89103         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
89104         Handle cache information in CPU leaf 4.
89105         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
89107 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
89109         [BZ #12583]
89110         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
89111         character representation.
89112         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
89114 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
89116         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
89117         END(__isnan) to END(__isnanf) to match function entry point/label
89118         EALIGN(__isnanf,...).
89120 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
89122         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
89124 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
89126         [BZ #12510]
89127         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
89128         copy from the symbol referenced in the relocation to initialize the
89129         used variable.
89130         Patch by Piotr Bury <pbury@goahead.com>.
89131         * elf/Makefile: Add rules to build and tst-unique3.
89132         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
89133         * elf/tst-unique3.cc: New file.
89134         * elf/tst-unique3.h: New file.
89135         * elf/tst-unique3lib.cc: New file.
89136         * elf/tst-unique3lib2.cc: New file.
89138         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
89140 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
89142         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
89143         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
89144         to _start.
89146 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
89148         * elf/dl-load.c (_dl_map_object): If we are looking for the first
89149         to-be-loaded object along a path to loader is ld.so.
89151 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
89152             Ulrich Drepper  <drepper@gmail.com>
89154         * sysdeps/x86_64/memset.S: After aligning destination, code
89155         branches to different locations depending on the value of
89156         misalignment, when multiarch is enabled. Fix this.
89158 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
89160         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
89161         Set _x86_64_preferred_memory_instruction for AMD processsors.
89162         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
89163         Set bit_Prefer_SSE_for_memop for AMD processors.
89165 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
89167         * libio/fmemopen.c (fmemopen): Optimize a bit.
89169 2011-03-03  Andreas Schwab  <schwab@redhat.com>
89171         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
89173 2011-03-03  Roland McGrath  <roland@redhat.com>
89175         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
89177 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
89179         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
89180         __bzero_ultra1 instead of __memset_ultra1.
89182 2011-02-23  Andreas Schwab  <schwab@redhat.com>
89183             Ulrich Drepper  <drepper@gmail.com>
89185         [BZ #12509]
89186         * include/link.h (struct link_map): Add l_orig_initfini.
89187         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
89188         returning unsuccessfully.
89189         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
89190         close of a file loaded at startup, restore the original l_initfini
89191         list.
89192         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
89193         list, store the pointer.
89194         * elf/Makefile ($(objpfx)noload-mem): New rule.
89195         (noload-ENV): Define.
89196         (tests): Add $(objpfx)noload-mem.
89197         * elf/noload.c: Include <memcheck.h>.
89198         (main): Call mtrace.  Close all opened handles.
89200 2011-02-17  Andreas Schwab  <schwab@redhat.com>
89202         [BZ #12454]
89203         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
89204         dependencies are missing.
89206 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
89208         Fix __if_freereq crash: Unlike the generic version which uses free,
89209         Hurd needs munmap.
89210         * sysdeps/mach/hurd/ifreq.h: New file.
89212 2011-01-27  Petr Baudis  <pasky@suse.cz>
89213             Ulrich Drepper  <drepper@gmail.com>
89215         [BZ 12445]#
89216         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
89217         to extend_alloca().
89218         * stdio-common/bug23.c: New file.
89219         * stdio-common/Makefile (tests): Add bug23.
89221 2010-09-28  Andreas Schwab  <schwab@redhat.com>
89222             Ulrich Drepper  <drepper@gmail.com>
89224         [BZ #12489]
89225         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
89226         before performing relro protection.  At old place add assertion
89227         to make sure nothing changed.
89229 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
89230             Glauber de Oliveira Costa  <glommer@gmail.com>
89232         * elf/elf.h: Add new ARM TLS relocs.
89234 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
89236         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
89237         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
89238         cast from r3.
89239         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
89240         'tests' variable.
89241         * sysdeps/wordsize-64/tst-writev.c: New file.
89243 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
89245         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
89246         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
89247         insns in _dl_start to prevent a TOC reference before relocs are
89248         resolved.
89250 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
89252         [BZ #12469]
89253         * Makeconfig: Remove RANLIB definition.
89254         * Makerules: Don't use RANLIB.
89255         * aclocal.m4: Remove ranlib test.
89256         * configure.in: No need to check for ranlib.
89257         * elf/rtld-Rules: Don't use RANLIB.
89259 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
89261         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
89262         protection macro.
89263         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
89264         inclusion protection macro.
89266         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
89267         SIGRTMIN and SIGRTMAX and print information in that case only when
89268         SIGRTMIN is defined.
89270 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
89272         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
89273         arginfo fn returning -1.
89275         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
89276         and thousands string is zero terminated.
89278 2011-02-03  Andreas Schwab  <schwab@redhat.com>
89280         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
89281         sysdeps/unix/sysv/linux/bits/socket.h.
89283 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
89285         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
89286         (__CPU_COUNT): Remove old macros.
89287         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
89288         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
89289         (__CPU_ALLOC, __CPU_FREE): Add macros.
89290         (__sched_cpualloc, __sched_cpufree): Add declarations.
89292 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
89294         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
89295         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
89296         * nscd/aicache.c (addhstaiX): Return timeout of added value.
89297         (readdhstai): Return value of addhstaiX call.
89298         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
89299         (addgrbyX): Return value returned by cache_addgr.
89300         (readdgrbyname): Return value returned by addgrbyX.
89301         (readdgrbygid): Likewise.
89302         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
89303         (addpwbyX): Return value returned by cache_addpw.
89304         (readdpwbyname): Return value returned by addhstbyX.
89305         (readdpwbyuid): Likewise.
89306         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
89307         (addservbyX): Return value returned by cache_addserv.
89308         (readdservbyname): Return value returned by addservbyX:
89309         (readdservbyport): Likewise.
89310         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
89311         (addhstbyX): Return value returned by cache_addhst.
89312         (readdhstbyname): Return value returned by addhstbyX.
89313         (readdhstbyaddr): Likewise.
89314         (readdhstbynamev6): Likewise.
89315         (readdhstbyaddrv6): Likewise.
89316         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
89317         (readdinitgroups): Return value returned by addinitgroupsX.
89318         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
89319         (prune_cache): Keep track of timeout value of re-added entries.
89320         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
89321         * nscd/nscd.h: Adjust prototypes of readd* functions.
89323 2011-02-04  Roland McGrath  <roland@redhat.com>
89325         * nis/nis_server.c (nis_servstate): Use the right name for 0.
89326         (nis_stats): Likewise.
89327         * nis/nis_modify.c (nis_modify): Likewise.
89328         * nis/nis_remove.c (nis_remove): Likewise.
89329         * nis/nis_add.c (nis_add): Likewise.
89331         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
89333         * posix/fnmatch_loop.c: Add some consts.
89335         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
89337 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
89339         [BZ #12460]
89340         * config.make.in (config-cflags-novzeroupper): Define.
89341         * configure.in: Substitute libc_cv_cc_novzeroupper.
89342         * elf/Makefile (AVX-CFLAGS): Define.
89343         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
89344         (CFLAGS-tst-auditmod4a.c): Likewise.
89345         (CFLAGS-tst-auditmod4b.c): Likewise.
89346         (CFLAGS-tst-auditmod6b.c): Likewise.
89347         (CFLAGS-tst-auditmod6c.c): Likewise.
89348         (CFLAGS-tst-auditmod7b.c): Likewise.
89349         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
89351 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
89353         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
89354         function to the callback.
89355         Patch partly by Jiri Olsa <jolsa@redhat.com>.
89357 2011-02-02  Andreas Schwab  <schwab@redhat.com>
89359         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
89360         of errno.
89362 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
89364         [BZ #11724]
89365         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
89366         of constructors.
89367         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
89368         of destructors.
89369         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
89371         [BZ #11724]
89372         * elf/Makefile: Add rules to build and run new test.
89373         * elf/tst-initorder.c: New file.
89374         * elf/tst-initorder.exp: New file.
89375         * elf/tst-initordera1.c: New file.
89376         * elf/tst-initordera2.c: New file.
89377         * elf/tst-initordera3.c: New file.
89378         * elf/tst-initordera4.c: New file.
89379         * elf/tst-initorderb1.c: New file.
89380         * elf/tst-initorderb2.c: New file.
89381         * elf/tst-order-a1.c: New file.
89382         * elf/tst-order-a2.c: New file.
89383         * elf/tst-order-a3.c: New file.
89384         * elf/tst-order-a4.c: New file.
89385         * elf/tst-order-b1.c: New file.
89386         * elf/tst-order-b2.c: New file.
89387         * elf/tst-order-main.c: New file.
89388         New test case by George Gensure <werkt0@gmail.com>.
89390 2010-10-01  Andreas Schwab  <schwab@redhat.com>
89392         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
89393         decoding ACE if AI_CANONIDN.
89395 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
89397         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
89399 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
89401         * version.h (RELEASE): Bump for 2.13 release.
89402         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
89404         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
89406         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
89407         MADV_NOHUGEPAGE.
89408         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
89409         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
89410         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
89411         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
89412         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
89413         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
89415         * posix/getconf.c: Update copyright year.
89416         * catgets/gencat.c: Likewise.
89417         * csu/version.c: Likewise.
89418         * debug/catchsegv.sh: Likewise.
89419         * debug/xtrace.sh: Likewise.
89420         * elf/ldconfig.c: Likewise.
89421         * elf/ldd.bash.in: Likewise.
89422         * elf/sprof.c (print_version): Likewise.
89423         * iconv/iconv_prog.c: Likewise.
89424         * iconv/iconvconfig.c: Likewise.
89425         * locale/programs/locale.c: Likewise.
89426         * locale/programs/localedef.c: Likewise.
89427         * malloc/memusage.sh: Likewise.
89428         * malloc/mtrace.pl: Likewise.
89429         * nscd/nscd.c (print_version): Likewise.
89430         * nss/getent.c: Likewise.
89432         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
89433         PF_CAIF, and PF_ALG.
89434         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
89436 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
89438         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
89439         (modules-names): Use them.
89440         (ifunc-test-modules, ifunc-pie-tests): Define.
89441         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
89442         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
89443         (test-extras): Likewise.
89444         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
89445         $(compile-command.c).
89446         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
89447         (all-built-dso): Define.
89448         (check-textrel.out, check-execstack.out): Depend on it.
89450         * configure.in: Don't override --enable-multi-arch.
89452 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
89454         [BZ #6812]
89455         * nscd/hstcache.c (tryagain): Define.
89456         (cache_addhst): Return tryagain not notfound for temporary errors.
89457         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
89458         failed.
89460 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
89462         [BZ #10563]
89463         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
89464         to make the syscall.
89465         * sysdeps/unix/sysv/linux/setgroups.c: New file.
89467         [BZ #12378]
89468         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
89469         and fall back to matching as normal character if the string ends before
89470         the matching ']' is found.  This is what POSIX requires.
89471         * posix/testfnm.c: Adjust test result.
89472         * posix/globtest.sh: Adjust test result.  Add new test.
89473         * posix/tst-fnmatch.input: Likewise.
89474         * posix/tst-fnmatch2.c: Add new test.
89476 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
89478         * elf/Makefile (check-execstack): Revert last change.  Depend on
89479         check-execstack.h.
89480         (check-execstack.h): New target.
89481         (generated): Add check-execstack.h.
89482         * elf/check-execstack.c: Include "check-execstack.h".
89483         (main): Revert last change.
89484         (handle_file): Return zero if GNU_STACK is absent and
89485         DEFAULT_STACK_PERMS doesn't include PF_X.
89487 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
89489         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
89490         in child fails because the descriptor is already closed.
89491         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
89492         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
89493         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
89495         [BZ #12397]
89496         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
89497         syscall.
89499         [BZ #10484]
89500         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
89501         temporary buffer used to handle multi lookups locally.
89502         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
89504 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
89506         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
89507         loader is ld.so.
89509 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
89511         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
89512         alignment for SSE2.
89514 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
89516         [BZ #12394]
89517         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
89518         characters.  When rounding increased number of integer digits recompute
89519         number of groups.
89520         * stdio-common/tst-grouping.c: New file.
89521         * stdio-common/Makefile: Add rules to build and run tst-grouping.
89523 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
89525         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
89526         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
89528         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
89529         void.
89530         * bits/select.h: Likewise.
89532 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
89534         * po/ja.po: Update from translation team.
89536 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
89538         [BZ #11155]
89539         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
89540         implementation just like for lxstat, fxstatat, et al.
89542 2010-12-27  Jim Meyering  <meyering@redhat.com>
89544         [BZ #12348]
89545         * posix/regexec.c (build_trtable): Return failure indication upon
89546         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
89548 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
89550         [BZ #12201]
89551         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
89552         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
89553         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
89554         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
89556         [BZ #12207]
89557         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
89559         [BZ #12204]
89560         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
89561         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
89563 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
89565         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
89566         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
89567         script has SORT_BY_INIT_PRIORITY.
89568         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
89569         NO_CTORS_DTORS_SECTIONS is defined.
89570         * elf/soinit.c: Likewise.
89571         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
89572         NO_CTORS_DTORS_SECTIONS is defined.
89573         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
89574         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
89575         * sysdeps/sh/init-first.c: Likewise.
89576         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
89578 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
89580         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
89581         always use the slow path.
89583 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
89585         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
89586         similar rule which adds the sysdep directories to the header search in
89587         order to pick up the correct platform stackinfo.h.
89588         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
89589         perform test if it is, otherwise return successfully without testing.
89590         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
89591         DEFAULT_STACK_PERMS define in stackinfo.h.
89592         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
89593         defined in stackinfo.h.
89594         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
89595         DEFAULT_STACK_PERMS defined in stackinfo.h.
89596         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
89597         * sysdeps/ia64/stackinfo.h: Likewise.
89598         * sysdeps/s390/stackinfo.h: Likewise.
89599         * sysdeps/sh/stackinfo.h: Likewise.
89600         * sysdeps/sparc/stackinfo.h: Likewise.
89601         * sysdeps/x86_64/stackinfo.h: Likewise.
89602         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
89603         PF_X for powerpc64.  Retain PF_X for powerpc32.
89605 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
89607         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
89608         accurately.
89609         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
89610         GETDENTS_64BIT_ALIGNED.
89612 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
89614         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
89616 2010-12-10  Andreas Schwab  <schwab@redhat.com>
89618         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
89619         _GNU_SOURCE.
89621         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
89622         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
89623         Remove __restrict.
89624         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
89625         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
89627 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
89629         [BZ #11655]
89630         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
89631         are initialized.
89633 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
89635         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
89637 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
89639         * po/it.po: Update from translation team.
89641 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
89643         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
89644         unused codes.
89646 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
89648         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
89650 2010-11-24  Andreas Schwab  <schwab@redhat.com>
89652         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
89653         specially.
89654         (gaih_getanswer_slice): Likewise.
89656 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
89658         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
89660 2010-05-31  Petr Baudis  <pasky@suse.cz>
89662         [BZ #11149]
89663         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
89664         silently even in the chroot mode.
89666 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
89668         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
89669         last patch a bit.  Pretty printing
89671 2010-05-31  Petr Baudis <pasky@suse.cz>
89673         [BZ #10085]
89674         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
89675         initialization of skip_initgroups_dyn.
89677 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
89679         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
89680         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
89682 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
89684         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
89686 2010-11-11  Andreas Schwab  <schwab@redhat.com>
89688         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
89689         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
89690         (tst-fnmatch-ENV): Set MALLOC_TRACE.
89691         ($(objpfx)tst-fnmatch-mem): New rule.
89692         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
89693         * posix/tst-fnmatch.c (main): Call mtrace.
89695 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
89697         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
89698         Support Intel processor model 6 and model 0x2c.
89700 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
89702         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
89703           signed comparison.
89705 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
89707         [BZ #12205]
89708         * string/test-strncasecmp.c (check_result): New function.
89709         (do_one_test): Use it.
89710         (check1): New function.
89711         (test_main): Use it.
89712         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
89713         Support strcasecmp and strncasecmp.
89715 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
89717         [BZ #12194]
89718         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
89719         * sysdeps/x86_64/bits/byteswap.h: Likewise.
89721 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
89723         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
89724         IFUNC support.
89725         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
89726         memset-x86-64.
89727         * sysdeps/x86_64/multiarch/bzero.S: New file.
89728         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
89729         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
89730         * sysdeps/x86_64/multiarch/memset.S: New file.
89731         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
89732         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
89733         Set bit_Prefer_SSE_for_memop for Intel processors.
89734         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
89735         Define.
89736         (index_Prefer_SSE_for_memop): Define.
89737         (HAS_PREFER_SSE_FOR_MEMOP): Define.
89739 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
89741         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
89742         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
89744 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
89746         [BZ #12191]
89747         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
89748         (__x86_64_raw_data_cache_size_half): Likewise.
89749         (__x86_64_raw_shared_cache_size): Likewise.
89750         (__x86_64_raw_shared_cache_size_half): Likewise.
89752         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
89753         (__x86_64_raw_data_cache_size_half): Likewise.
89754         (__x86_64_raw_shared_cache_size): Likewise.
89755         (__x86_64_raw_shared_cache_size_half): Likewise.
89756         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
89757         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
89758         and __x86_64_raw_shared_cache_size_half.  Round
89759         __x86_64_data_cache_size_half, __x86_64_data_cache_size
89760         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
89761         to multiple of 256 bytes.
89763 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
89765         [BZ #12167]
89766         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
89767         of inacessible symlinks.  Verify result of symlink before returning it.
89768         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
89769         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
89771 2010-10-28  Erich Ritz  <erichritz@gmail.com>
89773         * math/math.h (isinf): Fix typo in comment.
89775 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
89777         * po/da.po: Update from translation team.
89779 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
89781         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
89782         is added to the list.
89784 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
89785             Ulrich Drepper  <drepper@gmail.com>
89787         * elf/dl-object.c (_dl_new_object): Don't append the new object to
89788         the global list here.  Move code to...
89789         (_dl_add_to_namespace_list): ...here.  New function.
89790         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
89791         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
89792         * elf/dl-load.c (lose): Don't remove the element from the list.
89793         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
89794         (_dl_map_object): Likewise.
89796 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
89798         [BZ #12159]
89799         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
89800         into all bytes of SSE register.
89801         Patch by Richard Li <richardpku@gmail.com>.
89803 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
89805         [BZ #12140]
89806         * malloc/malloc.c (_int_free): Fill correct number of bytes when
89807         perturbing.
89809 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
89811         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
89812         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
89813         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
89814         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
89815         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
89816         submachine.
89817         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
89819 2010-10-22  Andreas Schwab  <schwab@redhat.com>
89821         * include/dlfcn.h (__RTLD_SECURE): Define.
89822         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
89823         mode & __RTLD_SECURE instead.
89824         (open_path): Rename preloaded parameter to secure.
89825         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
89826         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
89827         * elf/dl-deps.c (openaux): Likewise.
89828         * elf/rtld.c (struct map_args): Remove is_preloaded.
89829         (map_doit): Don't use it.
89830         (dl_main): Likewise.
89831         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
89832         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
89834 2010-09-09  Andreas Schwab  <schwab@redhat.com>
89836         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
89837         (sysd-rules-targets): Remove duplicates.
89838         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
89839         rtld-%.$o dependency.
89841 2010-10-18  Andreas Schwab  <schwab@redhat.com>
89843         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
89844         _dl_map_object do it.
89846 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
89848         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
89849         fast fma builtins, define the macros in the C99 standard.
89850         (FP_FAST_FMAF): Likewise.
89851         (FP_FAST_FMAL): Likewise.
89852         * sysdeps/x86_64/bits/mathdef.h: Likewise.
89854         * bits/mathdef.h: Update copyright year.
89855         * sysdeps/powerpc/bits/mathdef.h: Likewise.
89857 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
89859         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
89860         builtins, define the macros in the C99 standard.
89861         (FP_FAST_FMAF): Likewise.
89862         (FP_FAST_FMAL): Likewise.
89863         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
89864         multiply/add.
89865         (FP_FAST_FMAF): Likewise.
89867 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
89869         [BZ #3268]
89870         * math/libm-test.inc (fma_test): Some new testcases.
89871         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
89872         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
89873         y and infinite z.  Do multiplication by C already in long double.
89874         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
89875         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
89876         y and infinite z.  Do bitwise or of inexact bit into u.d.
89877         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
89878         * sysdeps/i386/fpu/s_fmaf.S: Removed.
89879         * sysdeps/i386/fpu/s_fma.S: Removed.
89880         * sysdeps/i386/fpu/s_fmal.S: Removed.
89882 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
89884         [BZ #3268]
89885         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
89886         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
89887         computation is not scheduled after fetestexcept.  Fix value
89888         of minimum denormal long double.
89890 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
89892         [BZ #3268]
89893         * math/libm-test.inc (fma_test): Add some more tests.
89894         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
89895         correctly.
89897 2010-10-15  Andreas Schwab  <schwab@redhat.com>
89899         * scripts/data/localplt-s390-linux-gnu.data: New file.
89900         * scripts/data/localplt-s390x-linux-gnu.data: New file.
89902 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
89904         [BZ #3268]
89905         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
89906         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
89907         instead of dbl-64.
89908         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
89909         inlines.
89910         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
89911         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
89912         if one of x and y is very large and the other is subnormal.
89913         * sysdeps/s390/fpu/s_fmaf.c: New file.
89914         * sysdeps/s390/fpu/s_fma.c: New file.
89915         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
89916         * sysdeps/powerpc/fpu/s_fma.S: New file.
89917         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
89918         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
89919         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
89921 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
89923         [BZ #3268]
89924         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
89925         fma tests.
89926         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
89927         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
89928         * sysdeps/i386/i686/multiarch/s_fma.c: Include
89929         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
89930         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
89931         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
89932         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
89934 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
89936         [BZ #12078]
89937         * posix/regcomp.c (parse_branch): One more memory leak plugged.
89938         * posix/bug-regex31.input: Add test case.
89940 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
89942         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
89943         * posix/bug-regex31.input: New file.
89945         [BZ #12078]
89946         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
89947         (parse_sub_exp): Fix last change, use postorder.
89949         * posix/bug-regex31.c: New file.
89950         * posix/Makefile: Add rules to build and run bug-regex31.
89952         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
89954         [BZ #12078]
89955         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
89957         [BZ #12108]
89958         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
89959         to have entries in sys_siglist.
89961         [BZ #12093]
89962         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
89963         be NULL.
89965 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
89967         [BZ #3268]
89968         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
89969         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
89970         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
89971         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
89972         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
89973         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
89974         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
89975         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
89976         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
89977         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
89978         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
89979         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
89980         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
89981         * math/ftestexcept.c (fetestexcept): Likewise.
89982         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
89983         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
89984         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
89985         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
89986         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
89987         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
89988         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
89990 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
89992         [BZ #12107]
89993         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
89994         newline.
89996 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
89998         * string/bug-strstr1.c: New file.
89999         * string/Makefile: Add rules to build and run bug-strstr1.
90001 2010-10-05  Eric Blake  <eblake@redhat.com>
90003         [BZ #12092]
90004         * string/str-two-way.h (two_way_long_needle): Always clear memory
90005         when skipping input due to the shift table.
90007 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
90009         [BZ #12005]
90010         * malloc/mcheck.c: Handle large requests.
90012         [BZ #12077]
90013         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
90014         for strncmp and strncasecmp.
90015         * string/stratcliff.c: Add tests for strcmp and strncmp.
90016         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
90018 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
90020         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
90021         __set_fpscr.
90023 2010-09-30  Andreas Jaeger  <aj@suse.de>
90025         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
90026         (CGROUP_SUPER_MAGIC): Define.
90027         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
90028         Handle btrfs and cgroup file systems.
90029         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
90030         Likewise.
90032 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
90034         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
90035         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
90037 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
90039         [BZ #12067]
90040         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
90041         trying to locate the ELF header.
90043 2010-09-27  Andreas Schwab  <schwab@redhat.com>
90045         [BZ #11611]
90046         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
90047         Mask out sign-bit copies when constructing f_fsid.
90049 2010-09-24  Petr Baudis <pasky@suse.cz>
90051         * debug/stack_chk_fail_local.c: Add missing licence exception.
90052         * debug/warning-nop.c: Likewise.
90054 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
90056         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
90057         implementing getdents64 using getdents syscall, set d_type if
90058         __ASSUME_GETDENTS32_D_TYPE.
90060 2010-09-16  Andreas Schwab  <schwab@redhat.com>
90062         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
90063         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
90065 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
90067         [BZ #12037]
90068         * posix/unistd.h: Undo change of feature selection for ftruncate from
90069         2010-01-11.
90071 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
90073         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
90074         detection.
90076 2010-09-20  Andreas Schwab  <schwab@redhat.com>
90078         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
90079         fanotify_mark.
90080         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
90082 2010-09-14  Andreas Schwab  <schwab@redhat.com>
90084         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
90085         variables after CHECK_SP call.
90086         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
90088 2010-09-13  Andreas Schwab  <schwab@redhat.com>
90089             Ulrich Drepper  <drepper@redhat.com>
90091         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
90092         re-relocationg ld.so.
90093         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
90094         _dl_init_paths call.
90095         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
90096         here anymore.
90098 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
90100         * resolv/res_init.c (__res_vinit): Count the default server we added.
90102 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
90103             Ulrich Drepper  <drepper@redhat.com>
90105         [BZ #11968]
90106         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
90107         (____longjmp_chk): Use %ebx for saving value across system call.
90108         Add unwind info.
90110 2010-09-06  Andreas Schwab  <schwab@redhat.com>
90112         * manual/Makefile: Don't mix pattern rules with normal rules.
90114 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
90116         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
90117         operation.
90118         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
90119         * libio/iofopncook.c (_IO_cookie_init): Likewise.
90120         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
90121         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
90122         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
90123         Likewise.
90125 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
90127         [BZ #11979]
90128         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
90129         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
90131 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
90133         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
90134         * sysdeps/x86_64/addmul_1.S: Likewise.
90135         * sysdeps/x86_64/lshift.S: Likewise.
90136         * sysdeps/x86_64/mul_1.S: Likewise.
90137         * sysdeps/x86_64/rshift.S: Likewise.
90138         * sysdeps/x86_64/sub_n.S: Likewise.
90139         * sysdeps/x86_64/submul_1.S: Likewise.
90141 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
90143         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
90144         Define __sched_param instead of SCHED_* and sched_param when
90145         <bits/sched.h> is included with __need_schedparam defined.
90146         * bits/sched.h [__need_schedparam]
90147         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
90148         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
90149         (__defined_schedparam): Define to 1.
90150         (__sched_param): New structure, identical to sched_param.
90151         (__need_schedparam): Undefine.
90153 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
90155         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
90156         (epoll_create1): Declare.
90158         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
90160 2010-08-31  Andreas Schwab  <schwab@redhat.com>
90162         [BZ #7066]
90163         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
90164         shifting retval into place.
90166 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
90168         * nis/rpcsvc/nis.h: Update copyright notice.
90169         * nis/rpcsvc/nis.x: Likewise.
90170         * nis/rpcsvc/nis_callback.h: Likewise.
90171         * nis/rpcsvc/nis_callback.x: Likewise.
90172         * nis/rpcsvc/nis_object.x: Likewise.
90173         * nis/rpcsvc/nis_tags.h: Likewise.
90174         * nis/rpcsvc/yp.h: Likewise.
90175         * nis/rpcsvc/yp.x: Likewise.
90176         * nis/rpcsvc/ypupd.h: Likewise.
90177         * nis/yp_xdr.c: Likewise.
90178         * nis/ypupdate_xdr.c: Likewise.
90180         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
90181         mainly the body of pmap_getport.  Add parameters to specify timeouts.
90182         (pmap_getport): Use __libc_rpc_getport.
90183         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
90184         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
90185         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
90187 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
90189         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
90190         fanotify_mark.
90192 2010-08-27  Roland McGrath  <roland@redhat.com>
90194         * sysdeps/i386/i686/multiarch/Makefile
90195         (CFLAGS-varshift.c): New variable.
90197 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
90199         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
90200         * sysdeps/i386/i686/multiarch/varshift.c: New file.
90202         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
90204         * sysdeps/x86_64/strlen.S: Minimal code improvement.
90206 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
90208         * sysdeps/x86_64/strlen.S: Unroll the loop.
90209         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
90210         strlen-sse2 strlen-sse2-bsf.
90211         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
90212         __strlen_no_bsf if bit_Slow_BSF is set.
90213         (__strlen_sse42): Removed.
90214         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
90215         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
90217 2010-08-25  Roland McGrath  <roland@redhat.com>
90219         * sysdeps/x86_64/multiarch/varshift.S: File removed.
90220         * sysdeps/x86_64/multiarch/varshift.c: New file.
90221         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
90222         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
90223         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
90224         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
90226 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
90228         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
90229         strlen-sse2 strlen-sse2-bsf.
90230         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
90231         __strlen_sse2_bsf if bit_Slow_BSF is unset.
90232         (__strlen_sse2): Removed.
90233         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
90234         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
90235         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
90236         bit_Slow_BSF for Atom.
90237         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
90238         (index_Slow_BSF): Define.
90239         (HAS_SLOW_BSF): Define.
90241 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
90243         [BZ #10851]
90244         * resolv/res_init.c (__res_vinit): When no server address at all
90245         is given default to loopback.
90247 2010-08-24  Roland McGrath  <roland@redhat.com>
90249         * configure.in: Remove config-name.h generation.
90250         * configure: Regenerated.
90251         * config-name.in: File removed.
90252         * scripts/config-uname.sh: New file.
90253         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
90254         ($(objdir)config-name.h): New target.
90256         * sunrpc/rpc_parse.h: Avoid nested comment.
90258 2010-08-24  Richard Henderson  <rth@redhat.com>
90259             Ulrich Drepper  <drepper@redhat.com>
90260             H.J. Lu  <hongjiu.lu@intel.com>
90262         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
90263         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
90264         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
90265         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
90266         _mm_alignr_epi8 with _mm_loadu_si128.
90267         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
90268         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
90269         (__m128i_shift_right): Removed.
90270         * sysdeps/i386/i686/multiarch/varshift.h: New file.
90271         * sysdeps/i386/i686/multiarch/varshift.S: New file.
90272         * sysdeps/x86_64/multiarch/varshift.h: New file.
90273         * sysdeps/x86_64/multiarch/varshift.S: New file.
90275 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
90277         * configure.in: Move assembler checks to before sysdep dir checking.
90279 2010-08-20  Petr Baudis  <pasky@suse.cz>
90281         * LICENSES: Sync the sunrpc license.
90283 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
90285         * sunrpc/auth_des.c: Update copyright notice once again.
90286         * sunrpc/auth_none.c: Likewise.
90287         * sunrpc/auth_unix.c: Likewise.
90288         * sunrpc/authdes_prot.c: Likewise.
90289         * sunrpc/authuxprot.c: Likewise.
90290         * sunrpc/bindrsvprt.c: Likewise.
90291         * sunrpc/clnt_gen.c: Likewise.
90292         * sunrpc/clnt_perr.c: Likewise.
90293         * sunrpc/clnt_raw.c: Likewise.
90294         * sunrpc/clnt_simp.c: Likewise.
90295         * sunrpc/clnt_tcp.c: Likewise.
90296         * sunrpc/clnt_udp.c: Likewise.
90297         * sunrpc/clnt_unix.c: Likewise.
90298         * sunrpc/des_crypt.c: Likewise.
90299         * sunrpc/des_soft.c: Likewise.
90300         * sunrpc/get_myaddr.c: Likewise.
90301         * sunrpc/getrpcport.c: Likewise.
90302         * sunrpc/key_call.c: Likewise.
90303         * sunrpc/key_prot.c: Likewise.
90304         * sunrpc/openchild.c: Likewise.
90305         * sunrpc/pm_getmaps.c: Likewise.
90306         * sunrpc/pm_getport.c: Likewise.
90307         * sunrpc/pmap_clnt.c: Likewise.
90308         * sunrpc/pmap_prot.c: Likewise.
90309         * sunrpc/pmap_prot2.c: Likewise.
90310         * sunrpc/pmap_rmt.c: Likewise.
90311         * sunrpc/rpc/auth.h: Likewise.
90312         * sunrpc/rpc/auth_unix.h: Likewise.
90313         * sunrpc/rpc/clnt.h: Likewise.
90314         * sunrpc/rpc/des_crypt.h: Likewise.
90315         * sunrpc/rpc/key_prot.h: Likewise.
90316         * sunrpc/rpc/netdb.h: Likewise.
90317         * sunrpc/rpc/pmap_clnt.h: Likewise.
90318         * sunrpc/rpc/pmap_prot.h: Likewise.
90319         * sunrpc/rpc/pmap_rmt.h: Likewise.
90320         * sunrpc/rpc/rpc.h: Likewise.
90321         * sunrpc/rpc/rpc_des.h: Likewise.
90322         * sunrpc/rpc/rpc_msg.h: Likewise.
90323         * sunrpc/rpc/svc.h: Likewise.
90324         * sunrpc/rpc/svc_auth.h: Likewise.
90325         * sunrpc/rpc/types.h: Likewise.
90326         * sunrpc/rpc/xdr.h: Likewise.
90327         * sunrpc/rpc_clntout.c: Likewise.
90328         * sunrpc/rpc_cmsg.c: Likewise.
90329         * sunrpc/rpc_common.c: Likewise.
90330         * sunrpc/rpc_cout.c: Likewise.
90331         * sunrpc/rpc_dtable.c: Likewise.
90332         * sunrpc/rpc_hout.c: Likewise.
90333         * sunrpc/rpc_main.c: Likewise.
90334         * sunrpc/rpc_parse.c: Likewise.
90335         * sunrpc/rpc_parse.h: Likewise.
90336         * sunrpc/rpc_prot.c: Likewise.
90337         * sunrpc/rpc_sample.c: Likewise.
90338         * sunrpc/rpc_scan.c: Likewise.
90339         * sunrpc/rpc_scan.h: Likewise.
90340         * sunrpc/rpc_svcout.c: Likewise.
90341         * sunrpc/rpc_tblout.c: Likewise.
90342         * sunrpc/rpc_util.c: Likewise.
90343         * sunrpc/rpc_util.h: Likewise.
90344         * sunrpc/rpcinfo.c: Likewise.
90345         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
90346         * sunrpc/rpcsvc/key_prot.x: Likewise.
90347         * sunrpc/rpcsvc/klm_prot.x: Likewise.
90348         * sunrpc/rpcsvc/mount.x: Likewise.
90349         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
90350         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
90351         * sunrpc/rpcsvc/rex.x: Likewise.
90352         * sunrpc/rpcsvc/rstat.x: Likewise.
90353         * sunrpc/rpcsvc/rusers.x: Likewise.
90354         * sunrpc/rpcsvc/sm_inter.x: Likewise.
90355         * sunrpc/rpcsvc/spray.x: Likewise.
90356         * sunrpc/rpcsvc/yppasswd.x: Likewise.
90357         * sunrpc/rtime.c: Likewise.
90358         * sunrpc/svc.c: Likewise.
90359         * sunrpc/svc_auth.c: Likewise.
90360         * sunrpc/svc_authux.c: Likewise.
90361         * sunrpc/svc_raw.c: Likewise.
90362         * sunrpc/svc_run.c: Likewise.
90363         * sunrpc/svc_simple.c: Likewise.
90364         * sunrpc/svc_tcp.c: Likewise.
90365         * sunrpc/svc_udp.c: Likewise.
90366         * sunrpc/svc_unix.c: Likewise.
90367         * sunrpc/svcauth_des.c: Likewise.
90368         * sunrpc/xcrypt.c: Likewise.
90369         * sunrpc/xdr.c: Likewise.
90370         * sunrpc/xdr_array.c: Likewise.
90371         * sunrpc/xdr_float.c: Likewise.
90372         * sunrpc/xdr_mem.c: Likewise.
90373         * sunrpc/xdr_rec.c: Likewise.
90374         * sunrpc/xdr_ref.c: Likewise.
90375         * sunrpc/xdr_sizeof.c: Likewise.
90376         * sunrpc/xdr_stdio.c: Likewise.
90378         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
90379         handling.
90381 2010-08-19  Andreas Schwab  <schwab@redhat.com>
90383         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
90385 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
90387         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
90388         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
90389         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
90390         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
90391         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
90392         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
90393         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
90394         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
90395         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
90396         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
90397         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
90398         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
90399         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
90400         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
90402 2010-07-26  Anton Blanchard  <anton@samba.org>
90404         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
90405         * malloc/arena.c (heap_trim): Likewise.
90407 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
90409         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
90410         here.  Not...
90411         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
90412         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
90414 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
90416         * sysdeps/i386/elf/Makefile: New file.
90418 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
90420         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
90421         from fanotify_init.
90422         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
90423         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
90425 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
90427         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
90428         of strncasecmp_l.
90429         * sysdeps/multiarch/strcmp.S: Likewise.
90431 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
90433         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
90434         strncase_l-nonascii.
90435         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
90436         Add strncase_l-ssse3.
90437         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
90438         * sysdeps/x86_64/strcmp.S: Likewise.
90439         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
90440         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
90441         * sysdeps/x86_64/strncase.S: New file.
90442         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
90443         * sysdeps/x86_64/strncase_l.S: New file.
90444         * string/Makefile (strop-tests): Add strncasecmp.
90445         * string/test-strncasecmp.c: New file.
90447         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
90448         warning.
90450         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
90451         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
90453 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
90455         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
90457 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
90459         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
90460         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
90461         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
90463 2010-05-01  Alan Modra  <amodra@gmail.com>
90465         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
90466         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
90467         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
90468         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
90469         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
90470         tidying.  Don't tail-call __sigjmp_save for static lib.
90471         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
90472         save location.
90473         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
90474         (CALL_MCOUNT): Add eh info, and nop after bl.
90475         (TAIL_CALL_SYSCALL_ERROR): New macro.
90476         (PSEUDO_RET): Use it.
90477         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
90478         Correct save location of integer regs and cr.
90479         (_dl_profile_resolve): Correct cr save location.  Delete nops
90480         after bl when SHARED.  Reduce cfi size a little by better
90481         placement of cfi directives.
90482         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
90483         make a stack frame.  Instead use parm save area as a temp.
90484         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
90485         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
90486         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
90487         Don't make a stack frame for parent, use parm save area.
90488         Increase child stack frame to 112 bytes.  Don't save unused reg,
90489         and adjust reg usage.  Set up cfi on error recovery and
90490         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
90491         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
90492         (__makecontext): Add dummy nop after jump to exit.
90493         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
90494         Use correct parm save area and cr save, reduce stack frame.
90495         Correct cfi for possible PSEUDO_RET frame setup.
90496         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
90497         Branch to local label emitted by PSEUDO_RET rather than
90498         __syscall_error.
90500 2010-08-12  Andreas Schwab  <schwab@redhat.com>
90502         [BZ #11904]
90503         * locale/programs/locale.c (print_assignment): New function.
90504         (show_locale_vars): Use it.
90506 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
90508         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
90509         field.
90510         (struct statfs64): Likewise.
90511         (_STATFS_F_FLAGS): Define.
90512         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
90513         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
90514         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
90515         (ST_VALID): Define locally.
90516         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
90517         __statvfs_getflags, use the provided value.
90518         * sysdeps/unix/sysv/linux/kernel-features.h: Define
90519         __ASSUME_STATFS_F_FLAGS.
90521         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
90523         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
90524         Add sys/fanotify.h.
90525         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
90526         fanotify_mask for GLIBC_2.13.
90527         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
90528         fanotify_init and fanotify_mark.
90529         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
90530         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
90532         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
90533         Add prlimit.
90534         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
90535         prlimit64 for GLIBC_2.13.
90536         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
90537         prlimit64.
90538         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
90539         syscall.
90540         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
90541         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
90542         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
90543         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
90544         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
90545         add prlimit alias.
90546         * sysdeps/unix/sysv/linux/prlimit.c: New file.
90548         [BZ #11903]
90549         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
90550         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
90552         * nss/Makefile: Add rules to build and run tst-nss-test1.
90553         * shlib-versions: Add entry for libnss_test1.
90554         * nss/nss_test1.c: New file.
90555         * nss/tst-nss-test1.c: New file.
90557         * nss/nsswitch.c (__nss_database_custom): Define new variable.
90558         (__nss_configure_lookup): Set appropriate entry in
90559         __nss_configure_lookup to true.
90560         * nss/nsswitch.h: Define enum with indeces of databases in
90561         databases and __nss_database_custom arrays.  Declare
90562         __nss_database_custom.
90563         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
90564         to avoid using nscd when custom rules are installed.
90565         * nss/getXXbyYY_r.c: Likewise.
90566         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
90568         * nss/nss_files/files-parse.c: Whitespace fixes.
90570 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
90572         [BZ #11883]
90573         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
90574         * posix/fnmatch_loop.c: Likewise.
90576 2010-07-17  Andi Kleen  <ak@linux.intel.com>
90578         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
90579         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
90580         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
90581         * Versions.def [GLIBC_2.13]: Add.
90583 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
90585         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
90586         Also fail if tpwd after pwuid call is NULL.
90588 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
90590         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
90591         when converting to ms.
90593 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
90595         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
90596         EOPNOTSUPP errors with ENOTTY.
90597         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
90598         EOPNOTSUPP errors with ENOTTY.
90600 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
90602         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
90603         Add strcasecmp_l-ssse3.
90604         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
90605         strcasecmp.
90606         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
90607         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
90608         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
90610 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
90612         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
90614         * string/Makefile (strop-tests): Add strcasecmp.
90615         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
90616         strcasecmp_l-nonascii.
90617         (gen-as-const-headers): Add locale-defines.sym.
90618         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
90619         * sysdeps/x86_64/strcasecmp.S: New file.
90620         * sysdeps/x86_64/strcasecmp_l.S: New file.
90621         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
90622         * sysdeps/x86_64/locale-defines.sym: New file.
90623         * string/test-strcasecmp.c: New file.
90625         * string/test-strcasestr.c: Test both ends of the range of characters.
90626         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
90628 2010-07-29  Roland McGrath  <roland@redhat.com>
90630         [BZ #11856]
90631         * manual/locale.texi (Yes-or-No Questions): Fix example code.
90633 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
90635         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
90636         for ld.so.
90638 2010-07-27  Andreas Schwab  <schwab@redhat.com>
90640         * manual/memory.texi (Malloc Tunable Parameters): Document
90641         M_PERTURB.
90643 2010-07-26  Roland McGrath  <roland@redhat.com>
90645         [BZ #11840]
90646         * configure.in (-fgnu89-inline check): Set and substitute
90647         gnu89_inline, not libc_cv_gnu89_inline.
90648         * configure: Regenerated.
90649         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
90651 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
90653         * string/test-strnlen.c: New file.
90654         * string/Makefile (strop-tests): Add strnlen.
90655         * string/tester.c (test_strnlen): Add a few more test cases.
90656         * string/tst-strlen.c: Better error reporting.
90658         * sysdeps/x86_64/strnlen.S: New file.
90660 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
90662         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
90663         lower-latency instructions.
90665 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
90667         * string/test-strcasestr.c: New file.
90668         * string/test-strstr.c: New file.
90669         * string/Makefile (strop-tests): Add strstr and strcasestr.
90670         * string/str-two-way.h: Don't undefine MAX.
90671         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
90673 2010-07-21  Andreas Schwab  <schwab@redhat.com>
90675         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
90676         strcasestr-nonascii.
90677         (CFLAGS-strcasestr-nonascii.c): Define.
90678         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
90679         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
90680         Remove unused attribute.
90682 2010-07-20  Roland McGrath  <roland@redhat.com>
90684         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
90685         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
90686         ld.so.cache was broken.  With it, there is no way to disable dsocaps
90687         like LD_HWCAP_MASK can disable hwcaps.
90689 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
90691         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
90693 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
90695         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
90696         call in strcasestr.
90697         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
90698         __strcasestr_sse42_nonascii.
90699         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
90700         strcasestr-nonascii.c.
90701         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
90703 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
90705         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
90706         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
90707         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
90708         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
90710 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
90712         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
90713         fcntl.
90715 2010-07-06  Andreas Schwab  <schwab@redhat.com>
90717         [BZ #11577]
90718         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
90719         dl_signal_cerror.
90721 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
90723         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
90724         _PC_PIPE_BUF using F_GETPIPE_SZ.
90726 2010-07-05  Roland McGrath  <roland@redhat.com>
90728         * manual/arith.texi (Rounding Functions): Fix rint description
90729         implicit in round description.
90731 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
90733         * elf/Makefile: Fix linking for a few tests to make recent linker
90734         happy.
90736 2010-06-30  Andreas Schwab  <schwab@redhat.com>
90738         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
90739         $(common-objpfx)libc_nonshared.a.
90741 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
90743         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
90744         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
90745         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
90746         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
90747         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
90748         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
90749         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
90750         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
90751         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
90752         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
90753         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
90754         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
90755         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
90756         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
90757         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
90758         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
90759         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
90760         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
90761         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
90762         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
90763         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
90764         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
90765         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
90766         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
90767         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
90768         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
90769         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
90770         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
90771         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
90772         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
90773         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
90774         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
90775         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
90776         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
90777         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
90778         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
90779         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
90780         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
90781         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
90782         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
90783         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
90784         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
90785         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
90786         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
90787         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
90788         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
90789         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
90790         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
90792 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
90794         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
90795         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
90796         * string/memmove.c (memmove): Renamed to ...
90797         (MEMMOVE): ...this.  Default to memmove.
90798         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
90799         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
90800         (END_CHK): Define.
90801         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
90802         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
90803         mempcpy-ssse3-back memmove-ssse3-back.
90804         * sysdeps/x86_64/multiarch/bcopy.S: New file .
90805         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
90806         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
90807         * sysdeps/x86_64/multiarch/memcpy.S: New file.
90808         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
90809         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
90810         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
90811         * sysdeps/x86_64/multiarch/memmove.c: New file.
90812         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
90813         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
90814         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
90815         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
90816         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
90817         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
90818         Define.
90819         (index_Fast_Copy_Backward): Define.
90820         (HAS_ARCH_FEATURE): Define.
90821         (HAS_FAST_REP_STRING): Define.
90822         (HAS_FAST_COPY_BACKWARD): Define.
90824 2010-06-21  Andreas Schwab  <schwab@redhat.com>
90826         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
90827         Restore proper fallback handling.
90829 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
90831         [BZ #11701]
90832         * posix/group_member.c (__group_member): Correct checking loop.
90834         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
90835         OOM in getpwuid_r correctly.  Return error number when the caller
90836         should return, otherwise -1.
90837         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
90838         call returning > 0 value.
90839         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
90841 2010-06-07  Andreas Schwab  <schwab@redhat.com>
90843         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
90844         libc_nonshared.a from targets in modules-names.
90846 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
90848         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
90849         requires it.
90851 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
90853         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
90854         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
90855         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
90856         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
90858 2010-06-02  Andreas Schwab  <schwab@redhat.com>
90860         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
90862 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
90864         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
90865         and F_GETPIPE_SZ.
90866         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
90867         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
90868         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
90869         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
90870         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
90871         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
90873 2010-06-14  Roland McGrath  <roland@redhat.com>
90875         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
90877 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
90879         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
90880         __REDIRECT followed by __THROW.
90881         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
90882         * posix/getopt.h (getopt): Likewise.
90884 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
90886         * hurd/lookup-at.c (__file_name_lookup_at): Accept
90887         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
90888         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
90889         in AT_FLAGS.
90890         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
90891         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
90893 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
90895         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
90897 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
90899         [BZ #11640]
90900         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
90901         Properly check family and model.
90903 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
90905         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
90907 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
90909         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
90911 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
90913         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
90914         symbol reference.
90916 2010-05-19  Andreas Schwab  <schwab@redhat.com>
90918         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
90919         symbol reference.
90921 2010-05-21  Andreas Schwab  <schwab@redhat.com>
90923         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
90924         and internal_recvmmsg.
90925         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
90926         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
90927         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
90928         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
90930         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
90931         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
90932         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
90934 2010-05-20  Andreas Schwab  <schwab@redhat.com>
90936         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
90938 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
90940         POWER7 optimizations.
90941         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
90942         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
90944 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
90946         * version.h: Update for 2.13 development version.
90948 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
90950         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
90951         exceptions.  Return 0.
90953 2010-05-07  Roland McGrath  <roland@redhat.com>
90955         * elf/ldconfig.c (main): Add a const.
90957 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
90959         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
90960         (args_options): Add no-idn option.
90961         (ahosts_keys_int): Add idn_flags to ai_flags.
90962         (parse_option): Handle 'i' option to clear idn_flags.
90964         * malloc/malloc.c (_int_free): Possible race in the most recently
90965         added check.  Only act on the data if no current modification
90966         happened.
90968 See ChangeLog.17 for earlier changes.